Actually, his patch was pushed up to a pull request, which has since been merged (see https://github.com/sympy/sympy/pull/632). This should now work in the official SymPy git master.
Aaron Meurer On Fri, Oct 7, 2011 at 11:31 AM, Scott <scotta_2...@yahoo.com> wrote: > > Mateuz, > > Did might you push your patch to a git fork? Where did your local > patch go? > > V/R > > Scott > On Oct 6, 1:04 pm, Mateusz Paprocki <matt...@gmail.com> wrote: >> Hi, >> >> On 6 October 2011 11:57, Scott <scotta_2...@yahoo.com> wrote: >> >> >> >> >> >> >> >> >> >> > How do I coerce integrate(a/(a**2+b*a+b*c*x**2),x) to yield. >> > This may be a double post. >> >> > Sqrt[b] Sqrt[c] x >> > Sqrt[a] ArcTan[-------------------] >> > Sqrt[a] Sqrt[a + b] >> > ----------------------------------- >> > Sqrt[b] Sqrt[a + b] Sqrt[c] >> >> > Rather than: >> > var('x,a,b,c') >> > integrate(a/(a**2+b*a+b*c*x**2),x) >> >> > a*((-b*c/(4*a*b**3*c**2 + 4*a**2*b**2*c**2))**(1/2)*log(x + (-b*c/ >> > (4*a*b**3*c**2 + 4*a**2*b**2*c**2))**(1/2)*(2*a*b + 2*a**2)) - (-b*c/ >> > (4*a*b**3*c**2 + 4*a**2*b**2*c**2))**(1/2)*log(x - (-b*c/ >> > (4*a*b**3*c**2 + 4*a**2*b**2*c**2))**(1/2)*(2*a*b + 2*a**2)) >> >> I would start from making x, a, b,c real, e.g.: >> >> In [4]: var('a:c,x', real=True) >> Out[4]: (a, b, c, x) >> >> In [5]: integrate(a/(a**2+b*a+b*c*x**2),x) >> >> but this fails, seehttp://code.google.com/p/sympy/issues/detail?id=2718. >> >> >> >> > Thanks >> >> > Scott >> >> > -- >> > 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. >> >> Mateusz > > -- > 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. > > -- 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.