Why is the derivative of |x| not defined at x=0?

  • Context: MHB 
  • Thread starter Thread starter Purplepixie
  • Start date Start date
  • Tags Tags
    Derivative
Click For Summary
SUMMARY

The derivative of the absolute value function |x| is defined as \(\frac{x}{|x|}\) for x ≠ 0, but does not exist at x = 0 due to differing one-sided limits. For the function |sin(t)|, the derivative can be derived by considering two cases: when sin(t) > 0, the derivative is cos(t), and when sin(t) < 0, the derivative is -cos(t). The discussion emphasizes the importance of understanding the underlying principles of differentiation rather than merely memorizing formulas.

PREREQUISITES
  • Understanding of basic calculus concepts, including limits and derivatives.
  • Familiarity with the sine function and its properties.
  • Knowledge of one-sided limits and their significance in calculus.
  • Ability to apply the definition of the derivative using first principles.
NEXT STEPS
  • Study the concept of one-sided limits in calculus.
  • Learn about the derivative of piecewise functions.
  • Explore the application of the chain rule in differentiation.
  • Investigate the implications of non-differentiable points in real analysis.
USEFUL FOR

Students of calculus, mathematics educators, and anyone seeking to deepen their understanding of differentiation and the behavior of absolute value functions.

Purplepixie
Messages
7
Reaction score
0
I would like to know how to differentiate |sin(t)| to obtain d(|sin(t)|)/d(t). Thank you!
 
Physics news on Phys.org
do you want the fact that $\dfrac{d (\sin{t})}{dt} = \cos{t}$, or do you want to find the derivative using first principles, i.e. from the limit below?

$\displaystyle \dfrac{d (\sin{t})}{dt} = \lim_{h \to 0} \dfrac{\sin(t+h)-\sin{t}}{h}$

Finding the derivative using first principles requires prior knowledge of values for the following limits ...

$\displaystyle \lim_{x \to 0} \dfrac{1-\cos{x}}{x} \text{ and } \lim_{x \to 0} \dfrac{\sin{x}}{x} $
 
Thank you Skeeter, I have managed to find the answer myself, using d(sin(t))/dt = cos(t)
 
To differentiate |sin(t)| separate it into two problems:
1) For sin(t)> 0 (so for t from $2n\pi$ to $(2n+ 1)\pi$ for any integer n) |sin(t)|= sin(t) and the derivative is cos(t).

2) For sin(t)< 0 (so for t from $(2n+ 1)\pi$ to $(2n+ 2)\pi$ for any integer n) |sin(t)|= -sin(t) and the derivative is -cos(t).
 
hmmm … didn’t notice the absolute value bars. Due for a vision check anyway.
 
Purplepixie said:
Thank you Country Boy, this is what I used: https://proofwiki.org/wiki/Derivative_of_Absolute_Value_Function
Yes, the derivative of |x| can be written as [math]\frac{x}{|x|}[/math] for x non-zero and does not exist at x= 0. Do you see why? It is not sufficient to memorize formulas. You need to understand why they are true!

If x> 0 |x|= x so the derivative of x is 1 and [math]\frac{x}{|x|}= \frac{x}{x}= 1[/math]. If x< 0, |x|= -x so the derivative of -x is -1 and [math]\frac{x}{|x|}= \frac{x}{-x}= -1[/math]. For x= 0, the derivative of |x| is given by [math]\lim_{h\to 0}\frac{|h|- 0}{h}= \lim_{h\to 0}\frac{|h|}{h}[/math]. But if h> 0 that fraction is 1 while if h< 0 that fraction is -1. The limit "from the right" (h> 0) is 1 while the limit "from the left" (h< 0) is -1. Since the two "one-sided limits" are different, the limit itself does not exist. |x| has no derivative at x= 0.[/math]
 
Last edited:

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
11K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K