Simplifying the result of integrate



On 1/30/2011 1:55 PM, Barton Willis wrote:
> This method requires insight:
>
>   (%i20) factor(integrate((3*t+2)^5,t,-2/3,x));
>   (%o20) (3*x+2)^6/18
>
> Sometime ago there were, I think, other suggestions for doing this on the list.
> I looked, but I wasn't able to find them...
>
> --Barton
>
> -----maxima-bounces at math.utexas.edu wrote: -----
>
>
>> Hi there!
>>
>> when I integrate the expression "(3*x+2)^5", maxima returns the fully 
>> expanded polynom "(81*x^6)/2+162*x^5+270*x^4+240*x^3+120*x^2+32*x". 
>> Albeit correct, I'd like to massage this into the form " 1/18(3x+2)^6". 
>> Is there any way to do this?
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
if you load partitions2deep.mac
and try
intfudu( (3*t+2)^5,t)

you get the factored answer for the indefinite integral.

This is produced initially, and not as a result of factoring afterward.

intfudu does lots of integrals, some that integrate cannot do, and 
sometimes produces a better form.
integrate does some integrals that intfudu cannot do.



RJF