I was doing some basic algebra with sage and encountered another
curiosity. I wish to solve for x in:

|x^2-x| = 3

My naive attempt in sage wasn't so fruitful

sage: eqn = maxima('abs(x^2-x)=3')
sage: eqn.solve('x')
[abs(x^2 - x) = 3]

Although, the subproblems are easy enough:

sage: eqn = maxima('x^2-x=-3')
sage: eqn.solve('x')
[x =  - (sqrt(11)*%i - 1)/2,x = (sqrt(11)*%i + 1)/2]
sage: eqn = maxima('x^2-x=3')
sage: eqn.solve('x')
[x =  - (sqrt(13) - 1)/2,x = (sqrt(13) + 1)/2]

How should such a difficulty be attacked? Is this a deficiency of
maxima?

-carson-

PS: Thanks for the helpful discussion of methods for computing the
conjugate tranpose of matrices.


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to