Whats the derivative of the absolute value to the power of p?

Click For Summary
SUMMARY

The derivative of the function |x|^p, where p > 0, is defined piecewise. For x > 0, the derivative is p * x^(p-1). For x < 0, it is -p * (-x)^(p-1). At x = 0, the derivative exists and is 0 for p > 1, 1 for p = 1, and approaches ±∞ for 0 < p < 1. The function |x|^p is continuous everywhere and differentiable at x = 0 for p > 1.

PREREQUISITES
  • Understanding of calculus concepts, specifically derivatives
  • Familiarity with piecewise functions
  • Knowledge of limits and continuity
  • Experience with the chain rule in differentiation
NEXT STEPS
  • Study the properties of piecewise functions in calculus
  • Learn about the chain rule in differentiation
  • Explore the implications of differentiability at points of discontinuity
  • Investigate the behavior of derivatives for various values of p in |x|^p
USEFUL FOR

Students studying calculus, mathematics educators, and anyone interested in understanding the behavior of absolute value functions and their derivatives.

michonamona
Messages
120
Reaction score
0

Homework Statement



Let p>0. What is the derivative of |x|^{p}?

Homework Equations


The Attempt at a Solution

I know that if p is even, then the derivative is just px^{p-1}. But what if x is odd? Would it turn out to be some piecewise function, such as

px^{p-1},\: if x \geq 0 and -px^{p-1}, \: if x &lt; 0

Any insights?

Thanks,
M
 
Physics news on Phys.org
Is the function |x|^n continuous everywhere ? How about differentiable ?
 
Ok, |x|^p is definitely continuous everywhere. I graphed it and it looks differentiable at x=0 (seems to be the local min). Is the following a valid proof?

Show that |x|^p, p>1 is differentiable at x=0

lim_{h-&gt;0^{+}} \frac{|0+h|^{p} - |0|^p}{h}= lim_{h-&gt;0^{+}} \frac{|h|^{p}}{h}=lim_{h-&gt;0^{+}} |h|^{p-1} = 0, since h is always positive as it approaches 0 from the right. Similarly

lim_{h-&gt;0^{-}} \frac{|0+h|^{p} - |0|^p}{h}=lim_{h-&gt;0^{-}} \frac{|h|^{p}}{h}=lim_{h-&gt;0^{-}} |h|^{p}h^{-1}.

Since h is always negative as it approaches zero from the right, then

lim_{h-&gt;0^{-}} |h|^{p}h^{-1}=lim_{h-&gt;0^{-}} (-h)^{p}h^{-1}=lim_{h-&gt;0^{-}} (-1)^{p}h^{p}h^{-1} = lim_{h-&gt;0^{-}} (-1)^{p}h^{p-1}=0

Since the left and right limits are equal then the limit exist and is finite at x=0. Therefore we can take the derivative of |x|^p as p|x|^(p-1).

Is this ok?

Thank you,
M
 
For p=1 the function is not even differentiable at 0.

The slope to the left of zero is negative that to the right of zero. Hence the "left and right" derievatives are unequal.
 
michonamona said:
...

lim_{h-&gt;0^{+}} \frac{|0+h|^{p} - |0|^p}{h}= lim_{h-&gt;0^{+}} \frac{|h|^{p}}{h}=lim_{h-&gt;0^{+}} |h|^{p-1} \,, since h is always positive as it approaches 0 from the right.
=\left\{\begin{array}{cc}0 \,,&amp;\mbox{ if } p&gt;1\\<br /> 1, &amp; \mbox{ if } p=1\\<br /> \to+\infty, &amp; \mbox{ if } p&lt;1 \end{array}\right.​
lim_{h-&gt;0^{-}}\ \frac{|0+h|^{p} - |0|^p}{h}=lim_{h-&gt;0^{-}}\ \frac{|h|^{p}}{h}=lim_{h-&gt;0^{-}}\ |h|^{p}h^{-1} .

Since h is always negative as it approaches zero from the [STRIKE]right[/STRIKE] left, then

lim_{h-&gt;0^{-}}\ |h|^{p}h^{-1}=lim_{h-&gt;0^{-}}\ (-h)^{p}h^{-1}

M
Hello M.

\lim_{h-&gt;0^{-}}\ (-h)^{p}h^{-1}=\lim_{h-&gt;0^{-}}\ (-h)^{p}(-1)(-h)^{-1}=\lim_{h-&gt;0^{-}}\ (-1)(-h)^{p-1}
=\left\{\begin{array}{cc}0 \,,&amp;\mbox{ if } p&gt;1\\<br /> -1, &amp; \mbox{ if } p=1\\<br /> \to-\infty, &amp; \mbox{ if } p&lt;1 \end{array}\right.​


You still need to find \textstyle \frac{d}{dx}\ \left|x\right|^p\, for x≠0 .

It shouldn't be a problem for x>0 .

For x<0, remember that |x|= ‒x .
 
Last edited:
If \textstyle p is real or rational, and x&lt;0 then you should avoid writing x^{p}.

\text{If }\ x&lt;0\,,\ \text{ then using the chain rule: }\ \frac{d}{dx}\ \left(-x\right)^p=p\left(-x\right)^{p-1}\cdot\frac{d}{dx}\left(-x\right)=-p\left(-x\right)^{p-1}\,.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
1K
Replies
3
Views
2K
Replies
8
Views
2K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K