Why is the derivative of |x| not equal to sgn(x) + 2xδ(x)?

  • Context: Graduate 
  • Thread starter Thread starter IniquiTrance
  • Start date Start date
  • Tags Tags
    Derivatives
Click For Summary

Discussion Overview

The discussion revolves around the derivative of the absolute value function |x| and its relationship to the sign function sgn(x) and the Dirac delta function δ(x). Participants explore the implications of applying the product rule to the expression for |x| and question the validity of certain derivative formulations, particularly at the point x=0.

Discussion Character

  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant references the Wikipedia article stating that the derivative of |x| is sgn(x) and questions why the expression d/dx |x| = sgn(x) + 2xδ(x) is not valid, suggesting it may relate to indeterminacy at x=0.
  • Another participant notes that the derivative of sgn(x) is defined as a distribution, indicating that the chain rule may not apply to distributions that are not differentiable functions.
  • A different participant argues that the formula d/dx |x| = sgn(x) + 2xδ(x) can be considered correct in a certain sense, as substituting 2xδ(x) = 0 leads back to the standard derivative sgn(x). They assert that the integral involving 2xδ(x) evaluates to zero, implying it holds for all x.
  • Another participant supports the previous claim by stating that x·δ is the zero distribution, reinforcing the idea that the expression is valid in the context of distributions.

Areas of Agreement / Disagreement

Participants express differing views on the validity of the derivative formulation involving 2xδ(x). While some argue that it is correct under certain interpretations, others highlight the limitations of applying traditional calculus rules to distributions, indicating that the discussion remains unresolved.

Contextual Notes

The discussion highlights the complexities of differentiating functions that involve distributions and the conditions under which certain derivative formulations may or may not hold true. The treatment of the Dirac delta function and its properties is central to the debate.

IniquiTrance
Messages
185
Reaction score
0
The wikipedia article on \sgn (x) (http://en.wikipedia.org/wiki/Sign_function) states that,

<br /> \frac{d}{dx}\vert x\vert = \sgn(x)<br />

and \frac{d}{dx}\sgn(x) = 2\delta(x). I'm wondering why the following is not true:

<br /> \begin{align*}<br /> \vert x\vert &amp;= x\sgn(x)\\<br /> \Longrightarrow \frac{d}{dx}\vert x \vert &amp;= \sgn(x) + 2x\delta(x) <br /> \end{align*}<br />

by the product rule for derivatives. Is it because this derivative is indeterminate at x=0, and 2x\delta(x) \equiv 0 for all x \neq 0?
 
Physics news on Phys.org
The stated derivative of ##\text{sgn}## is the derivative of ##\text{sgn}## as a distribution, but for distributions that are not identifiable with differentiable functions the chain rule don't apply in general.
 
Last edited:
  • Like
Likes   Reactions: 1 person
It is quite common that formal calculations still give correct results in some sense, even if they are not fully justified.

In this case I don't see anything wrong with the formula

<br /> \frac{d}{dx}|x| = \textrm{sgn}(x) + 2x\delta(x)<br />

Simply subsitute 2x\delta(x)=0 and you get the previous formula

<br /> \frac{d}{dx}|x| = \textrm{sgn}(x)<br />

For test function f we have

<br /> \int\limits_{-\infty}^{\infty} f(x) 2x\delta(x)dx = 0<br />

so in this sense 2x\delta(x)=0 holds "for all x", not only for x\neq 0.
 
  • Like
Likes   Reactions: 1 person
The formula is true, because x\cdot \delta is actually the zero distribution.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
Replies
3
Views
2K
Replies
0
Views
1K