[sympy] Re: Problem simplifying expression

2011-04-06 Thread Dave
On Apr 6, 9:43 am, Dave dspg...@netscape.net wrote: On Apr 5, 11:34 pm, smichr smi...@gmail.com wrote: Sorry about the previous post, I was responding via email and the messages which I though were being viewed together weren't...so I didn't see your response describing what you

Re: [sympy] Re: Problem simplifying expression

2011-04-05 Thread Aaron S. Meurer
SymPy is reluctant to do manipulations with the squareroots because they are not valid for complex x and y (this is assumed by default). If you assume that they are real, or even better, positive, it will work better (for example, you can then split sqrt(x*y) = sqrt(x)*sqrt(y) or reduce

[sympy] Re: Problem simplifying expression

2011-04-05 Thread smichr
Sorry about the previous post, I was responding via email and the messages which I though were being viewed together weren't...so I didn't see your response describing what you wanted. Basically, what you want is to simplify the insides of the radicals. With the right assumptions (as Aaron talks