expanding and comparing symbolic integrals



They are only equal if the individual integrals are convergent.  Consider
f(x)=1/x and g(x)= - 1/x from 0 to 1.

You can do

    declare(integrate,linear)

if you know that this will not cause you problems.

           -s

On Mon, Oct 3, 2011 at 09:20, Joseph Cusumano <jpc3 at psu.edu> wrote:

>
> Hi everyone.
>
> If I define something like
>
> F1:integrate(a*f(x)+b*g(x),x,c,d);
> F2:a*integrate(f(x),x,c,d)+b*integrate(g(x),x,c,d);
>
> These clearly are equal, but how do I get Maxima to recognize this? In
> general, how can I expand F1 to get F2?
>
> Thanks,
>
> Joe Cusumano
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>