|
|
last edited 16 years ago by japp |
1 2 3 4 5 6 7 8 | ||
Editor:
Time: 2007/11/17 22:25:13 GMT-8 |
||
Note: Yes, it is related to #293 |
changed: - The antiderivative should be $\atan(x)^2$, however: \begin{axiom} integrate(2*atan(x)/(1+x^2),x) D(%,x) D(atan(x)^2,x) \end{axiom} Maybe this is related to bug #293, i.e., Axiom choosing the wrong branch of $\atan$, or #141? From kratt6 Tue Aug 29 04:55:37 -0500 2006 From: kratt6 Date: Tue, 29 Aug 2006 04:55:37 -0500 Subject: Yes, it is related to #293 Message-ID: <20060829045537-0500@wiki.axiom-developer.org> Look at \begin{axiom} f x == 2*atan(x)+atan(2*x/(x^2-1)) \end{axiom} Differentiating, we see that $f$ is constant \begin{axiom} D(f x, x) \end{axiom} However, $f$ is not continuous at 1, and indeed, \begin{axiom} numeric f(%pi) \end{axiom} Drawing the function makes the situation quite clear...
The antiderivative should be , however:
axiomintegrate(2*atan(x)/(1+x^2),x)
![]() | (1) |
axiomD(%,x)
![]() | (2) |
axiomD(atan(x)^2,x)
![]() | (3) |
Maybe this is related to bug #293, i.e., Axiom choosing the wrong branch of , or #141?
axiomf x == 2*atan(x)+atan(2*x/(x^2-1))
Differentiating, we see that is constant
axiomD(f x, x)
Compiling function f with type Variable x -> Expression Integer
![]() | (4) |
However, is not continuous at 1, and indeed,
axiomnumeric f(%pi)
Compiling function f with type Pi -> Expression Integer
![]() | (5) |
Drawing the function makes the situation quite clear...