Yes, unfortunately SymPy currently does not do so well with integrals
of absolute values.

Aaron Meurer

On Jun 23, 2012, at 6:47 PM, Kjetil brinchmann Halvorsen
<kjetil1...@gmail.com> wrote:

> Here is one other integral sympy cannot do, but which shouls not be to
> difficult, it should be possible to do it symbolically,
> the last integral in the following output:
>
>
> In [1]: t1,t2,t3 = symbols('t1 t2 t3', real=True)
>
> In [2]: beta=symbols('beta', real=True)
>
> In [3]: integrate( (t1*t2*t3)**beta * (t1-t2)*(t1-t3)*(t2-t3),
> (t1,0,1),(t2,0,1),(t3,0,1))
> Out[3]: 0
>
> In [4]: integrate( (t1*t2*t3)**beta * abs((t1-t2)*(t1-t3)*(t2-t3)),
> (t1,0,1),(t2,0,1),(t3,0,1))
> Out[4]:
> 1 1 1
> ⌠ ⌠ ⌠
> ⎮ ⎮ ⎮           β
> ⎮ ⎮ ⎮ (t₁⋅t₂⋅t₃) ⋅│(t₁ - t₂)⋅(t₁ - t₃)⋅(t₂ - t₃)│ d(t₁) d(t₂) d(t₃)
> ⌡ ⌡ ⌡
> 0 0 0
>
>
> Kjetil
>
> --
> "If you want a picture of the future - imagine a boot stamping on the
> human face - forever."
>
> George Orwell (1984)
>
> --
> 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.

Reply via email to