Comment #1 on issue 3149 by asmeu...@gmail.com: solve() doesn't work when it should
http://code.google.com/p/sympy/issues/detail?id=3149
I think it might be related to calling logcombine with force=True inside dsolve. If you do that it works:
In [105]: print solve(logcombine(dsolve(2*x*f(x) + (x**2 + f(x)**2)*f(x).diff(x), f(x), hint='1st_homogeneous_coeff_best', simplify=False), force=True), f(x)) [x**2/(C1**3/2 + sqrt(C1**6/4 + x**6))**(1/3) - (C1**3/2 + sqrt(C1**6/4 + x**6))**(1/3), x**2/((-1/2 - sqrt(3)*I/2)*(C1**3/2 + sqrt(C1**6/4 + x**6))**(1/3)) - (-1/2 - sqrt(3)*I/2)*(C1**3/2 + sqrt(C1**6/4 + x**6))**(1/3), x**2/((-1/2 + sqrt(3)*I/2)*(C1**3/2 + sqrt(C1**6/4 + x**6))**(1/3)) - (-1/2 + sqrt(3)*I/2)*(C1**3/2 + sqrt(C1**6/4 + x**6))**(1/3)]
Is this one of those cases where solve() can ignore the assumptions rules so long as the final solution checks out?
-- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com. To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.