Absolute value function is the Heaviside step function

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 6K views
Ted123
Messages
428
Reaction score
0

Homework Statement



[PLAIN]http://img845.imageshack.us/img845/1706/delta.png

The Attempt at a Solution



This question has come after a chapter on Dirac's delta-function although the question doesn't say use it. Could I use it? If not how do I do it directly?
 
Last edited by a moderator:
Physics news on Phys.org


Yes you could. The derivative of the absolute value function is the Heaviside step function, which is the integral of Dirac's delta function.
 


"The derivative of the absolute value is the Heaviside function"- so use the basic sum property and chain rule to differentiate this sum of absolute values.

" the Heaviside step function is the integral of Dirac's delta function" so the derivative of the Heaviside function, and so the second derivative of the absolute value is the Dirac Delta function. You have a sum of three absolute values so the first derivative will be a sum of three Heaviside functions and the second derivative a sum of three delta functions.

As a check, you could also do this is a very basic way: If x< -1, then all of x+ 1, x, and x- 1 are negative: for x< -1, f(x)= -(x+1)- 3(-x)- (x- 1)= x. What is the derivative of that? What is the second derivative? If -1< x< 1, then x+ 1 is positive but x and x- 1 are still negative. f(x)= x+ 1- 3(-x)- (x- 1)= 3x+ 2. What is the derivative of that? What is the second derivative? If 0< x< 1, then x+1 and x are positive but x- 1 is still negative. f(x)= x+ 1- 3x- (x- 1)= -3x+ 2. What is the derivative of that? What is its second derivative? If x> 1, all three of x+1, x, and x-1 are positive so f(x)= x+ 1- 3x+ x- 1= -x. What is the derivative of that? What is its second derivative? Be sure to calculate the derivative and second derivative at x= -1, x= 0, and x= 1 separately.
 


[itex]\begin{displaymath} f(x) = \left\{ \begin{array}{lr} <br /> 0, & \;x\leq -1\\ <br /> 2x+2, & \;-1<x\leq0\\<br /> -2x +2, & \;0<x\leq1\\<br /> 0, & \;x > 1<br /> \end{array} <br /> \right.<br /> \end{displaymath}[/itex]

The function [itex]f(x)[/itex] being continuous and piecewise smooth, its first derivative can be obtained by piecewise differentiation:

[itex]\begin{displaymath} f'(x) = \left\{ \begin{array}{lr} <br /> 0, & \;x\leq -1\\ <br /> 2, & \;-1<x\leq 0\\<br /> -2, & \;0<x\leq1\\<br /> 0, & \;x > 1\\<br /> \end{array} <br /> \right.<br /> \end{displaymath}[/itex]

i.e. [itex]f'(x) = 2H(x+1) -4H(x) + 2H(x-1)[/itex] where H is the Heaviside function.

[itex]f'(x)[/itex] is piecewise constant, therefore [itex]f''(x)=0[/itex] for all [itex]x[/itex] except [itex]x=0,\pm 1[/itex].

The 3 points contribute to [itex]f''[/itex] the sum of delta-functions:

[itex]f''(x) = 2\delta(x+1) -4\delta(x) + 2\delta(x-1)[/itex]
 
Last edited:


Does this look right?