Kitonum

21845 Reputation

26 Badges

17 years, 235 days

MaplePrimes Activity


These are replies submitted by Kitonum

@Markiyan Hirnyk 

1. Of course, you are right in that. I just do not understand why any problem you want to solve exclusively with Maple. It's interesting, but not always effective. Even if the result is obtained by using Maple, it should be tested as sometimes bugs are possible.

2. For  x = -1  it is obvious that the total sum is 0 since each term of the series is 0. It can also be set with Maple, but it requires some effort. The fact is that Maple does not understand that  3^n  is odd for any non-negative integer. For the success the first term of the series should be calculated separately. See

 

is((3^n)::odd) assuming n::nonnegint;

                           FAIL

eval((x^(3^n)+(x^(3^n))^2)/(1-x^(3^(n+1))), {n = 0, x = -1})+eval(sum((x^(3^n)+(x^(3^n))^2)/(1-x^(3^(n+1))), n = 1 .. infinity), x = -1) ;

                              0

You can see that Maple is unable to find the sum, even taking into account the identity  a[n]=1/(1-x^(3^n)) - 1/(1-x^(3^(n+1))). It needs a little help.

From the identity follows that the partial sum of the series is  S_n = 1/(1-x) - 1/(1-x^(3^(n+1))) . However, even such a simple limit Maple does not finds. Only if we make a change  N=3^(n+1) , then the problem will be solved.

S_n := 1/(1-x)-1/(1-x^(3^(n+1))):

S_N := subs(3^(n+1) = N, S_n):

limit(S_N, N = infinity)  assuming  x::real, abs(x) < 1;

limit(S_N, N = infinity)  assuming  x::real, x < -1;

limit(S_N, N = infinity)  assuming  x::real, x > 1;

 

 

You can see that Maple is unable to find the sum, even taking into account the identity  a[n]=1/(1-x^(3^n)) - 1/(1-x^(3^(n+1))). It needs a little help.

From the identity follows that the partial sum of the series is  S_n = 1/(1-x) - 1/(1-x^(3^(n+1))) . However, even such a simple limit Maple does not finds. Only if we make a change  N=3^(n+1) , then the problem will be solved.

S_n := 1/(1-x)-1/(1-x^(3^(n+1))):

S_N := subs(3^(n+1) = N, S_n):

limit(S_N, N = infinity)  assuming  x::real, abs(x) < 1;

limit(S_N, N = infinity)  assuming  x::real, x < -1;

limit(S_N, N = infinity)  assuming  x::real, x > 1;

 

 

You need to give a concrete and precise formulation  of your problem. Only in this case, you can expect to receive useful advice.

I beg your pardon! I did not notice the condition "has four distinct solutions "

eq:= x^4 -(3*m+2)*x^2 + 3*m+1:

sol:=[solve(eq=0,x)]:

L:=[seq(1..nops(sol))]:

op(map(allvalues,[solve([seq(sol[i]<2, i=1..nops(sol)),seq(seq(`if`(i<>j, sol[i]<>sol[j], NULL),j in L), i in L)],m)]));

                                                {-1/3 < m, m < 0}, {0 < m, m < 1}

I beg your pardon! I did not notice the condition "has four distinct solutions "

eq:= x^4 -(3*m+2)*x^2 + 3*m+1:

sol:=[solve(eq=0,x)]:

L:=[seq(1..nops(sol))]:

op(map(allvalues,[solve([seq(sol[i]<2, i=1..nops(sol)),seq(seq(`if`(i<>j, sol[i]<>sol[j], NULL),j in L), i in L)],m)]));

                                                {-1/3 < m, m < 0}, {0 < m, m < 1}

@Carl Love

If you want to see the gridlines on the filled region then  transparency  option can be used. 

@Carl Love

If you want to see the gridlines on the filled region then  transparency  option can be used. 

According to Markiyan's idea:

l1:=[a1*t+x1, b1*t+y1, c1*t+z1]:

l2:=[a2*s+x2, b2*s+y2, c2*s+z2]:

minimize(add((l1[i]-l2[i])^2, i=1..3), s=-infinity..infinity, t=-infinity..infinity) assuming a1^2+b1^2+c1^2>0 and a2^2+b2^2+c2^2>0:

RealDomain[simplify](sqrt(%)); 

 

 

@Markiyan Hirnyk 

Let the questioner will decide himself which option is more suitable for him. Purely terminological distinction.

@Markiyan Hirnyk 

Let the questioner will decide himself which option is more suitable for him. Purely terminological distinction.

@Markiyan Hirnyk 
The questioner wrote "two positive solutions and two negative solutions". If  m=5/2  then we have one negative and two positive roots.

@Markiyan Hirnyk 
The questioner wrote "two positive solutions and two negative solutions". If  m=5/2  then we have one negative and two positive roots.

@Markiyan Hirnyk 

Of course, I understand that the field is not potential, so the path of integration should be specified.

@Markiyan Hirnyk 

Of course, I understand that the field is not potential, so the path of integration should be specified.

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