Consider the expression:

A = (-3.0*x**2*(x**2 + y**2 + z**2)**(-2.5) - 3.0*y**2*(x**2 + y**2 + z**2)**(-2.5) - 3.0*z**2*(x**2 + y**2 + z**2)**(-2.5) + 3*(x**2 + y**2 + z**2)**(-1.5))

It is zero, but sympy cannot simplify it.  Now consider

((x**2 + y**2 + z**2)**(2.5))*A = (-3.0*x**2 - 3.0*y**2 - 3.0*z**2 + 3*(x**2 + y**2 + z**2)**1.0)

which is again zero but sympy cannot simplify (x**2 + y**2 + z**2)**1.0 to (x**2 + y**2 + z**2)

Is there a good general strategy for simplifying sums of radicals which frequently occur in vector analysis.

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to