Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Abs function

  • To: mathgroup at
  • Subject: [mg47281] Re: Abs function
  • From: bobhanlon at (Bob Hanlon)
  • Date: Fri, 2 Apr 2004 03:30:28 -0500 (EST)
  • References: <c4ge4p$5a$>
  • Sender: owner-wri-mathgroup at

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>, nikmatz <nikmatz at> wrote:

<< i try to find the derivative of abs function


and Mathematica answer

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