On Sunday, October 12, 2014 1:27:27 PM UTC-7, Aaron Meurer wrote:
>
> I don't think integrate() tries any simplification. Ideally it 
> shouldn't have to. 
>

Why not?  It seems to me quite the opposite.  That is, integration is
much easier if the input is first converted to some   canonical form
(or one of a few canonical forms).

RJF 

>
> Aaron Meurer 
>
> On Sun, Oct 12, 2014 at 6:12 AM, Francesco Bonazzi 
> <[email protected] <javascript:>> wrote: 
> > 
> > 
> > On Sunday, October 12, 2014 1:50:10 AM UTC+2, Aaron Meurer wrote: 
> >> 
> >> That's correct. If integrate() returns an unevaluated Integral, it 
> >> means the algorithm couldn't compute an integral. The fu() function is 
> >> able to simplify this expression (it equals 2*sin(x)), so 
> >> integrate(fu(fx), x) works. 
> >> 
> > 
> > Why is fu( ) not attempted in the integrate( ) algorithm? 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "sympy" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at http://groups.google.com/group/sympy. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/sympy/6014ba22-a647-4e51-9905-730eadb5fd26%40googlegroups.com.
>  
>
> > 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/b04a7673-6ea0-4f3b-82ab-fef23babde38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to