Comment #89 on issue 1694 by nicolas.pourcelot: solve has many issues with fractions
http://code.google.com/p/sympy/issues/detail?id=1694

In fact, results are correct, but less simplified than there were previously.

This is a drawback of .as_numer_denom() use, which may lead to slightly different equations, and so solutions may be given in a less pleasant shape.

In test_1st_homogeneous_coeff_ode2(), I obtain now:

f(x) == pi*I*x + log(log(C1*x)**(-x))

instead of:
f(x) == log(log(C1/x)**(-x))

which is the same, since
 pi*I*x + log(log(C1*x)**(-x)) == log((-1)^x)  + log(log(C1*x)**(-x))
                               == log((-log(C1*x))**(-x))
                               == log(log(C2/x)**(-x))
(with C2 == 1/C1)

In test_tsolve_1(), I obtain now:

[log(-16 + 8*y*(-4 + y**2)**(1/2) + 8*y**2)/2 - log(16)/2, log(-16 - 8*y*(-4 + y**2)**(1/2) + 8*y**2)/2 - log(16)/2]

instead of:

[-log(4) + log(2*y + 2*sqrt(-4 + y**2)), -log(4) + log(2*y - 2*sqrt(-4 + y**2))]

which was much more simplified.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
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/sympy-issues?hl=en.

Reply via email to