|
|
last edited 9 years ago by Bill Page |
1 2 3 | ||
Editor: Bill Page
Time: 2015/01/30 18:33:28 GMT+0 |
||
Note: 2nd derivative |
changed: -abs is often defined in terms of the positive square root The *abs* function is often defined in terms of the positive square root added: The derivative of *abs* is often represented by the *signum* function (or *sign*) and the derivative of *signum* is the Dirac *delta* function which of course is not really a functions at all ... So what is the 2nd derivative of *abs*? \begin{axiom} differentiate(abs(x),[x,x]) differentiate(Abs(x),[x,x]) \end{axiom}
This is how FriCAS currently differentiates the absolute value function.
(1) -> differentiate(abs(x),x)
(1) |
The abs function is often defined in terms of the positive square root
Abs(x)==sqrt(x^2)
so comparison with the following is perhaps a surprize.
differentiate(Abs(x),x)
Compiling function Abs with type Variable(x) -> Expression(Integer)
(2) |
Are these expressions really equivalent?
The derivative of abs is often represented by the signum function (or sign) and the derivative of signum is the Dirac delta function which of course is not really a functions at all ... So what is the 2nd derivative of abs?
differentiate(abs(x),[x, x])
(3) |
differentiate(Abs(x),[x, x])
(4) |