The equation like that:
a*(x/sqrt(x^2-1)+2*x/(Pi*sqrt(x^2-1))-1-2/(Pi*x))=1
when i used solve command in Maple, the result is :
RootOf((-Pi^2-2*Pi^2*a)*_Z^6+(2*Pi^2+4*Pi^2*a+a^2*Pi^2)*_Z^4+(4*a*Pi+4*a^2*Pi)*_Z^3+(-a^2*Pi^2-2*Pi^2*a-Pi^2)*_Z^2+(-4*a*Pi-4*a^2*Pi)*_Z-4*a^2)
this result is not what i want, i need exactly solution.
Can anyone help me?
Thanks very much for your help!!
wallpaper
In Maple 11.02,
acer
hi, your method seems doesn't work in maple.
Dera acer:
I hve used your method just now. but it still doesn't work.
some wrong tips display:
sol:=[solve(eq,x)];
" Warning, solutions may have been lost "
Note: My maple version is maple 11.0.
Try updating
Since Maple updates have many fixes and other updates in them, it is possible that this may be fixed in one of the versions between 11.00 and 11.02 and that may be why it works for Acer and not you. You can download the update of Maple here (http://www.maplesoft.com/support/downloads/index.aspx).
Scott
about `a`
You might also help maple out, by informing it of some extra information about `a`. For example,
(I am not 100% sure, but the Warning may be related to Maple's not knowing anything about `a`. It might also actually be innocuous here.) Or perhaps you want a solution where x>1, or where x>Pi/2, etc, which could also be supplied as additional assumptions. Or, you could take your original RootOf() result, which represents the roots of a 4th degree polynomial, and try hitting that with allvalues(). It's just a question, but if you have no such extra information then how would you choose amongst the 4 explicit roots?
acer
thanks, but still wrong information.
Dear acer:
can u give me the result in your maple software?
thanks very much for ur help!
andy
show us, please
Can you please share with us EXACTLY what you are trying? Either upload your Maple file (worksheet or document) to MaplePrimes or cut-and-paste the input (and output) from your session. Then, we should be able to provide a solution that will definitely work for you.
Doug
sorry
> length(sol); 11401819So, no, I won't paste it. It's pages and pages and pages in length. Here's another way that you might obtain it, with some smarter management of the common subexpressions. Take that RootOf result, which I think was,
Now solve the general quartic, for explicit roots, and substitute in those coefficients. Test at some random value of `a`.
eq:=a*(x/sqrt(x^2-1)+2*x/(Pi*sqrt(x^2-1))-1-2/(Pi*x))=1; solg:=[solve(C0*x^4+C1*x^3+C2*x^2+C3*x+C4,x,Explicit)]: newsol:=subs({C0=(2*a*Pi^2+Pi^2-4*a^2*Pi-4*a^2), C1=(4*a*Pi+4*a^2*Pi),C2=(-Pi^2-2*a*Pi^2-a^2*Pi^2+4*a^2), C3=(-4*a*Pi-4*a^2*Pi),C4=-4*a^2},solg); seq(evalf(subs(x=newsol[i],a=3,lhs(eq)-rhs(eq))),i=1..nops(newsol));If I'm not mistaken, that newsol is a list of 4 elements, each of which satisfies `eq` the original eq.
acer
Equation
First of all, it's an algebraic equation, not a transcendental one. The only thing transcendental in it is the number Pi, but that doesn't make the equation transcendental.
The RootOf solution is almost certainly more informative than the solution using radicals, and better for numerical computation.
If you write 1/sqrt(x^2-1) = t and multiply by Pi*x, your equation becomes
The resultant of a*t*(Pi+2)*x^2 - (1+a)*Pi*x - 2*a and t^2*(x^2-1)-1 with respect to t
is
According to the theory of resultants, any x for which there exists t such that both equations are satisfied must be a root of P. So this is where the RootOf comes from.
The one question that is tricky is whether t will be 1/sqrt(x^2-1) or -1/sqrt(x^2-1). For example, if a = -15*Pi/(40*Pi+74) one of the roots of P is 5/4, but this is not a solution of your equation because the corresponding t is -1/sqrt(x^2-1) = -4/3 rather than 1/sqrt(x^2-1). It seems to me that for 0 < a < Pi/2 there will be a negative root of P that doesn't satisfy your equation, while for -Pi/(2*(Pi+1) < a < 0 there will be a positive root of P that doesn't satisfy your equation.
I don't know why there is the "Solutions may be lost" warning, but it could be related to that (so it's not really a matter of solutions being lost, but rather of bogus solutions being found).
nice analysis
This is a nice analysis. (Somehow I figured that the OP might not be interested in such forensics, but then I didn't have nearly as nice and clear a process as you've shown. I also goofed and typo'd x>Pi/2 instead of a>Pi/2, and so which wouldn't have helped.)
But now it raises a question. How much would be involved in training `solve` to be so smart (for a restricted class of problems, no doubt)? Even if I set _EnvConditionalSolutions to be 'true' I can't get `solve` to return a nice piecewise solution. It seems that `int` has made more progress in recent releases of Maple than has `solve`, in this sort of respect.
Hopefully the OP will also pay attention to your comment about RootOf and subsequent numeric evaluation. The same goes for quite a bit of subsequent symbolic computation too, of course (which is part of why we have RootOf). I should have been more clear about why I called an explicit solution wallpaper.
acer
Sorry, the Equations isn't right.
This is the right Equation:
eqns := a*(x/sqrt(x^2-1)+2*x/(Pi*(x^2-1))-1-2/(Pi*x)) = 1
it have the same problem with the first equation!
i am very sorry for waste someone's time!!
Similar story
Warning, solutions may have been lost
In this case we have a polynomial of degree 6 that, in general, is not solvable by radicals. So the option of an "exact" solution does not exist.
Again, there are branches of the RootOf solution that are not solutions of your equation: note that P has degree 2 in a, but eqns is of degree 1 in a. For almost all x with |x| > 1 there will be two real values of a satisfying P, but since eqns is only of degree 1 in a, only one of these can be a solution of eqns.