How to prove that the derivative f this function is |x|

  • Thread starter Thread starter transgalactic
  • Start date Start date
  • Tags Tags
    Derivative Function
Click For Summary

Homework Help Overview

The discussion revolves around proving that the derivative of a piecewise function, defined as f(x) = -1/2 x^2 for x < 0 and f(x) = 1/2 x^2 for x ≥ 0, is equal to |x|. Participants are exploring the calculations of the derivative at various points, particularly at x = 0.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants are attempting to calculate the derivative using limits and are questioning the validity of their calculations. There is discussion about the behavior of the derivative at x = 0 and for x < 0 and x > 0. Some participants are also checking the conditions under which the derivative exists.

Discussion Status

The discussion is ongoing, with participants providing calculations and questioning whether their results align with the expected outcome of f'(x) = |x|. There is a suggestion to compare the derived expression for the derivative with the definition of |x| to clarify the relationship.

Contextual Notes

Participants are navigating the piecewise nature of the function and the implications for the derivative, particularly at the transition point of x = 0. There is an emphasis on ensuring the correct interpretation of limits and the definition of the function in different intervals.

transgalactic
Messages
1,386
Reaction score
0
how to prove that the derivative of this expression


<br /> f(x)=-\frac12x^2,x&lt;0<br />
<br /> f(x)=\frac12x^2,x&gt;=0 <br />
is f'(x)=|x|

i tried
<br /> \lim _{x-&gt;0^-}\frac{f(x)-f(0)}{x}=\lim _{x-&gt;0^-}\frac{-\frac12x^2-0}{x}=\lim _{x-&gt;0^-}-\frac12x=0\\<br />
<br /> \lim _{x-&gt;0^-}\frac{f(x)-f(0)}{x}=\lim _{x-&gt;0^-}\frac{+\frac12x^2-0}{x}=\lim _{x-&gt;0^+}+\frac12x=0<br />
but i get values
it doesn't show that f'(x)=|x|
??
 
Last edited:
Physics news on Phys.org
You calculated f'(0) and found that it is 0. So this doesn't contradict f'(x) = |x|. Now calculate the derivative for all other x as well :-p
 
<br /> \lim _{h-&gt;0^-}\frac{f(x+h)-f(x)}{h}=\lim _{h-&gt;0^-}\frac{-\frac12(x+h)^2+\frac12x^2}{h}=\lim _{h-&gt;0^-}\frac{-\frac12(x^2+2xh+h^2)+\frac12x^2}{h}=\lim _{h-&gt;0^-}\frac{-\frac12(2x+h)}{1}=-x\\<br />
<br /> \lim _{h-&gt;0^+}\frac{f(x+h)-f(x)}{h}=\lim _{h-&gt;0^+}\frac{\frac12(x+h)^2-\frac12x^2}{h}=\lim _{h-&gt;0^+}\frac{\frac12(2xh+h^2)}{h}=\lim _{h-&gt;0^+}\frac{+\frac12(2x+h)}{1}=x\\<br />

what to write in order to finish this prove??
 
Almost... you didn't mean to write h \to 0^\pm under the limits, because both limits are two-sided. So, the first one is just
<br /> \lim _{h\to0}\frac{f(x+h)-f(x)}{h}=\lim _{h\to0}\frac{-\frac12(x+h)^2+\frac12x^2}{h}=\lim _{h\to0}\frac{-\frac12(x^2+2xh+h^2)+\frac12x^2}{h}=\lim _{h\to0}\frac{-\frac12(2x+h)}{1}=-x\\<br />
You probably meant to say, that the top line is for x < 0 and the bottom line is for x > 0 (because on the top line you are using the part of the definition for x < 0 and on the bottom line you are using the definition of f for x >= 0).

So now you have shown that f' exists everywhere and is equal to
f&#039;(x) = \begin{cases} -x &amp; \text{ if } x &lt; 0 \\ 0 &amp; \text{ if } x = 0 \\ x &amp; \text{ if } x &gt; 0 \end{cases}

Can you conclude now that f'(x) = |x| ?
 
can I ?
 
You should know. Compare his expression for f&#039;(x) with the definition of |x|.
 
transgalactic said:
can I ?

Look at robueler's post concerning y(x) = |x|.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 13 ·
Replies
13
Views
4K
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
15
Views
2K
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K