Problem with integration



Commercial macsyma gets the right answer.

C Y wrote:

> I've run into a problem with the Maxima integration ability.  I tried
> to integrate 3^log(x), and according to both hand and mathematica
> calculations the answer should be (x*3^log(x))/(1+log(3)).  Maxima,
> however, gives 3^(2*log(x))/(2*log(3)).  Here is a simple test to show
> the problem:
> 
> (C1) c:3^log(x);
> 
>                                      LOG(x)
> (D1)                                3
> (C2) diff(integrate(c,x),x);
> 
>                                     2 LOG(x)
>                                    3
> (D2)                               ---------
>                                        x
> 
> 
> CY
> 
>