login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Submitted by : (unknown) at: 2007-11-17T22:25:13-08:00 (17 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

The antiderivative should be \atan(x)^2, however:

fricas
(1) -> integrate(2*atan(x)/(1+x^2),x)

\label{eq1}{\arctan \left({x}\right)}^{2}(1)
Type: Union(Expression(Integer),...)
fricas
D(%,x)

\label{eq2}\frac{2 \ {\arctan \left({x}\right)}}{{{x}^{2}}+ 1}(2)
Type: Expression(Integer)
fricas
D(atan(x)^2,x)

\label{eq3}\frac{2 \ {\arctan \left({x}\right)}}{{{x}^{2}}+ 1}(3)
Type: Expression(Integer)

Maybe this is related to bug #293, i.e., Axiom choosing the wrong branch of \atan, or #141?

Yes, it is related to #293 --kratt6, Tue, 29 Aug 2006 04:55:37 -0500 reply
Look at
fricas
f x == 2*atan(x)+atan(2*x/(x^2-1))
Type: Void

Differentiating, we see that f is constant

fricas
D(f x, x)
fricas
Compiling function f with type Variable(x) -> Expression(Integer)

\label{eq4}0(4)
Type: Expression(Integer)

However, f is not continuous at 1, and indeed,

fricas
numeric f(%pi)
fricas
Compiling function f with type PiDomain -> Expression(Integer)

\label{eq5}3.1415926535 \<u> 897932385(5)
Type: Float

Drawing the function makes the situation quite clear...

Category: Aldor Library Compiler => Axiom Library Status: open => fix proposed

Status: fix proposed => fixed somewhere

no patch available

http://fricas.svn.sourceforge.net/viewvc/fricas/trunk/src/algebra/gaussian.spad.pamphlet?r1=257&r2=358&view=patch

This was done in rev 418 of wh-sandbox, not FriCAS...

Yes, but the link is to Fricas not the wh-sandbox.

Status: fixed somewhere => fix proposed




  Subject:   Be Bold !!
  ( 15 subscribers )  
Please rate this page: