Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium Integration

New issue 1301 by [email protected]: Exception while integrating x**n *  
log(x)
http://code.google.com/p/sympy/issues/detail?id=1301

With the symbols x and n defined:

>>> integrate((x**n)*ln(x),x)
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "sympy/utilities/decorator.py", line 55, in threaded_decorator
     return func(expr, *args, **kwargs)
   File "sympy/integrals/integrals.py", line 381, in integrate
     return integral.doit()
   File "sympy/integrals/integrals.py", line 132, in doit
     antideriv = self._eval_integral(function, x)
   File "sympy/integrals/integrals.py", line 306, in _eval_integral
     h = heurisch(g, x, hints=[])
   File "sympy/integrals/risch.py", line 216, in heurisch
     denom = reduce(lambda p, q: lcm(p, q, V), denoms)
   File "sympy/integrals/risch.py", line 216, in <lambda>
     denom = reduce(lambda p, q: lcm(p, q, V), denoms)
   File "<string>", line 3, in lcm
   File "sympy/polys/wrappers.py", line 39, in _map_basic
     result = f(*_conv_args(n, args), **kwargs)
   File "sympy/polys/algorithms.py", line 354, in poly_lcm
     f, g = f.unify_with(g)
   File "sympy/polys/polynomial.py", line 1512, in unify_with
     other = cls(other, *symbols, **flags)
   File "sympy/polys/polynomial.py", line 400, in __new__
     terms = Poly._decompose(poly, *symbols)
   File "sympy/polys/polynomial.py", line 543, in _decompose
     raise PolynomialError("Can't decompose %s" % factor)
sympy.polys.polynomial.PolynomialError: Can't decompose _x0**(2 - n)



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
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