On Mar 15, 4:37 pm, tvn <[email protected]> wrote:
> Hi, assuming the variables x,y,z are non-zero, is there a function to
> simplify 3*x^2*y*z + x*y*z + y*z == 0 to 3*x^2 + x + 1 == 0 ? The
> function simplify_full() doesn't seem to be the right one for this .
Hi. This is not a simplification, per se, but this could get you
closer:
sage: var('y,z')
(y, z)
sage: F = 3*x^2*y*z + x*y*z + y*z == 0
sage: F.factor()
(3*x^2 + x + 1)*y*z
It also is smart enough to do this:
sage: F.solve(x)
[x == -1/6*I*sqrt(11) - 1/6, x == 1/6*I*sqrt(11) - 1/6]
sage: solve(F,y)
[y == 0]
sage: solve(F,z)
[z == 0]
I can't see anything immediate in Maxima that would automatically
simply omit the y and z, though.
- kcrisman
--
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-support
URL: http://www.sagemath.org