Updates:
        Status: Accepted
        Labels: Integration

Comment #1 on issue 2559 by asmeurer: lack definite integral of |x^2-1|
http://code.google.com/p/sympy/issues/detail?id=2559

First off, x^2 does not create x squared. You need to use x**2. See http://docs.sympy.org/0.7.0/gotchas.html#mathematical-operators.

But anyway, I can confirm this. It seems that integrating absolute values is not supported. Can we assert that integrate(abs(expr)) == abs(integrate(expr))?

In [1]: integrate(abs(x**2 - 1), x)
Out[1]:
⌠
⎮ │     2│
⎮ │1 - x │ dx
⌡

In [2]: integrate(abs(x), x)
Out[2]:
⌠
⎮ │x│ dx
⌡


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