Kitonum

21435 Reputation

26 Badges

17 years, 23 days

MaplePrimes Activity


These are replies submitted by Kitonum

I didn't realize what  P[0] and  plotofmaxmin  stand for?

@Axel Vogt 

If we set

a:=cos(3*Pi/19)+cos(5*Pi/19)+cos(17*Pi/19):

b:=cos(Pi/19)+cos(7*Pi/19)+cos(11*Pi/19):

c:=cos(9*Pi/19)+cos(13*Pi/19)+cos(15*Pi/19):

then with Maple easily find

simplify([a+b+c, a*b*c, a*b+a*c+b*c]);

                    [1/2, -7/8, -3/2]

This result gave me the idea to associate in a single system known symmetric expressions  a+b+c, a*b*c, a*b+a*c+b*c  and unknown  expressions  a^(1/3)+b^(1/3)+c^(1/3),   a^(2/3)+b^(2/3)+c^(2/3)   and   a^(1/3)*b^(1/3)+a^(1/3)*c^(1/3)+b^(1/3)*c^(1/3) .  

To make up such a system, I used three identities, which are valid for any reals

(a^(1/3)+b^(1/3)+c^(1/3))^3=3*(a^(1/3)+b^(1/3)+c^(1/3))*(a^(2/3)+b^(2/3)+c^(2/3))-2*(a+b+c)+6*a^(1/3)*b^(1/3)*c^(1/3),

a^(2/3)+b^(2/3)+c^(2/3)=(a^(1/3)+b^(1/3)+c^(1/3))^2-2*(a^(1/3)*b^(1/3)+a^(1/3)*c^(1/3)+b^(1/3)*c^(1/3)),

(a^(1/3)*b^(1/3)+a^(1/3)*c^(1/3)+b^(1/3)*c^(1/3))^3=(a*b+a*c+b*c)+6*a^(2/3)*b^(2/3)*c^(2/3)+3*a^(1/3)*b^(1/3)*c^(1/3)*(a^(1/3)+b^(1/3)+c^(1/3))*(a^(2/3)+b^(2/3)+c^(2/3))-3*(a+b+c)*a^(1/3)*b^(1/3)*c^(1/3)

Firstly I got these identities by hand and then checked in Maple. They based on the theory of symmetric polynomials. It is known that any symmetric polynomial can be expressed as a polynomial in the elementary symmetric polynomials. My first two identities follow from the expressions

x^3 + y^3 + z^3 = 3*x*y*z + (x + y + z)^3 - 3 (x + y + z)*(x*y + x*z + y*z)  and

x^2 + y^2 + z^2 = (x + y + z)^2 - 2*(x*y + x*z + y*z) 

in which it was substituted

x = a^(1/3) ,  y = b^(1/3) ,  z = c^(1/3)   and

the third identity is obtained by hand through expansion of

 (a^(1/3)*b^(1/3)+a^(1/3)*c^(1/3)+b^(1/3)*c^(1/3))^3

 

Carl Love! 

Thanks for the elegant proof. I wonder whether can your approach  find the value of LHS in the real radicals if RHS is unknown?

I propose a different proof of this remarkable identity in which  directly constructed a polynomial, whose root is the value of LHS, and this is expressed in radicals. As this approach is completely unrelated to your method, I am creating a separate post.

@Carl Love

I mean only real radicals without complex numbers.

 

@Markiyan Hirnyk

Yes, you are right! With my method of counting, there are duplicates. The method will be true only if  nops(A intersect B)=3 . 

 

@Markiyan Hirnyk

Yes, you are right! With my method of counting, there are duplicates. The method will be true only if  nops(A intersect B)=3 . 

 

@Markiyan Hirnyk

Let  A union B ={a, b, c, d, e} is a subset of  S. Then  A  and  B  are subsets of  {a, b, c, d, e} .  From the second condition about the intersection follows that  nops(A intersect B)>=3 . Suppose  nops(A intersect B)=3 . The number of such pairs  A  and  B  is  m (see code). Set C, which intersects with (A intersect B) in these 3 elements can be chosen in 2^(30-3) ways  and so on. 

@Markiyan Hirnyk

Let  A union B ={a, b, c, d, e} is a subset of  S. Then  A  and  B  are subsets of  {a, b, c, d, e} .  From the second condition about the intersection follows that  nops(A intersect B)>=3 . Suppose  nops(A intersect B)=3 . The number of such pairs  A  and  B  is  m (see code). Set C, which intersects with (A intersect B) in these 3 elements can be chosen in 2^(30-3) ways  and so on. 

@Carl Love 

You are right. But this inaccuracy can be easily fixed.

@Carl Love 

Thank you for a shorter and more elegant version of the procedure.

 

@Axel Vogt

The original problem is not a problem of interpolation. It was necessary to find a pattern in the first eight terms of the sequence and find a general term of this sequence to this pattern persisted on the next terms.

The procedure  GeneralTerm  finds  n_nd term of your sequence:


GeneralTerm := proc (n)

local a, i;

a[1] := 2;  a[2] := 1;

for i from 3 to n do

if irem(i, 3) = 0 then a[i] := a[i-2]+a[i-1] elif

irem(i, 3) = 1 then a[i] := a[i-2]+a[i-1]+2 elif

irem(i, 3) = 2 then a[i] := a[i-1]-1;

end if; end do;

a[n];

end proc:


Example:  the first 20 members of your sequence:


seq(CommonTerm(k), k = 1 .. 20);

2, 1, 3, 6, 5, 11, 18, 17, 35, 54, 53, 107, 162, 161, 323, 486, 485, 971, 1458, 1457

 

@Markiyan Hirnyk 

I do not see any problems to write code this animation, but I'm not going to do it for you.

@Markiyan Hirnyk

It is not necessary to build the animations having explicit parametric equations. Maple can plot this curve, for example, by plots:-intersectplot . Therefore it is possible to extract the data by, for example,  plottools:-getdata  and use them in the future for animation.

 

@Markiyan Hirnyk 

Why do not you ask your question to the author of this animation?

There specified an equation of a space curve, on which green hinge moves.

{(x1-2)^2+x2^2+(x3-2)^2-9=0, x1^6+x2^6+x3^6-4=0}

Therefore, there is no problem to write code for the animation.

Markiyan Hirnyk  

If you  in your post use the result obtained by not you, but another person, you should give the link. Since you did not, then I will have to do

http://forum.exponenta.ru/viewtopic.php?t=11284&postdays=0&postorder=asc&start=30

 

 

 

 

First 119 120 121 122 123 124 125 Last Page 121 of 132