MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Abs function


It means that it does not know the derivative of Abs.  You need to express Abs
in terms of a function for which it knows the derivative.

D[x(2UnitStep[x]-1), x]

2*x*DiracDelta[x] + 2*UnitStep[x] - 1

Simplify[%, #]& /@ {x<0, x>=0}

{-1, 1}

D[If[x<0, -x, x], x]

If[x < 0, -1, 1]


Bob Hanlon

In article <c4ge4p$5a$1 at smc.vnet.net>, nikmatz <nikmatz at math.ntua.gr> wrote:

<< i try to find the derivative of abs function

D[Abs[x],x]

and Mathematica answer
Abs`[x]

what mean that


  • Prev by Date: Re: Abs function
  • Next by Date: Consolidated method for solution of strange character in output metafile?
  • Previous by thread: Re: Abs function
  • Next by thread: Re: Abs function