Problem with integration



integrate with ev and 'risch option returns the right answer.

(C1) c:3^log(x);
                                     LOG(x)
(D1)                                3
(C2) ev(integrate(c,x),'risch);
                                   LOG(3) LOG(x)
                               x %E
(D2)                           -----------------
                                  LOG(3) + 1
(C3) diff(%,x);
                            LOG(3) LOG(x)     LOG(3) LOG(x)
                   LOG(3) %E                %E
(D3)               ---------------------- + ---------------
                         LOG(3) + 1           LOG(3) + 1
(C4) factor(%);
                                  LOG(3) LOG(x)
(D4)                            %E
(C5) 


On Fri, 5 Apr 2002 12:36:22 -0800 (PST)
C Y <smustudent1@yahoo.com> 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
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
> 


-- 
   @ @       $B2#ED(B $BGn;K(B
  (---)      e-mail  ponpoko@cap.bekkoame.ne.jp
  (|_|)      URI     http://www.bekkoame.ne.jp/~ponpoko
  "" ""