Need help showing this difference quotient is a derivative

Click For Summary

Homework Help Overview

The discussion revolves around proving that the limit of the difference quotient, specifically ##\lim_{h \rightarrow 0}\frac{f(x+h)-f(x-h)}{2h}##, exists and equals the derivative ##f'(x)## for a function ##f## that is differentiable at a point ##x##. Participants also explore examples of functions where this limit exists but the function itself is not differentiable.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants attempt to manipulate the limit expression and relate it to left and right derivatives. Questions arise about the implications of differentiability and the behavior of specific functions, such as the absolute value function.

Discussion Status

The discussion is active, with participants providing insights and questioning assumptions about the limit and differentiability. Some participants suggest examples and counterexamples, while others express uncertainty about the existence of the limit under certain conditions.

Contextual Notes

There is mention of a specific function, ##f(x)=|x|##, which serves as an example of a function that is not differentiable at a certain point, raising questions about how to formally show the limit exists in such cases. Participants also discuss the implications of modifying the function to explore differentiability further.

Eclair_de_XII
Messages
1,082
Reaction score
91

Homework Statement


"Suppose ##f:(a,b) \rightarrow ℝ## is differentiable at ##x\in (a,b)##. Prove that ##lim_{h \rightarrow 0}\frac{f(x+h)-f(x-h)}{2h}## exists and equals ##f'(x)##. Give an example of a function where this limit exists, but the function is not differentiable."

Homework Equations


Differentiability: Let ##f:D\rightarrow ℝ## with ##x_0\in D'\cap D## (##D'## represents the set of ##D##'s accumulation points). For each ##t\in ℝ## such that ##x_0+t \in D## and ##t\neq 0##, define ##Q(t)=\frac{f(x_0+t)-f(x_0)}{t}##. The function ##f## is said to be differentiable at ##x_0## iff ##Q## has a limit at zero.

The Attempt at a Solution


I know it's not really anything at all, but this is what I came up with for the first part:

##lim_{h\rightarrow 0} \frac{f(x+h)-f(x-h)}{2h}=lim_{h\rightarrow 0} \frac{f((x-h)+2h)-f(x-h)}{2h}=f'(x-h)##
 
Physics news on Phys.org
You have still a limit in ##f\,'(x-h)## which makes it a left derivative. Now can you do the same from the other side? Then you could use that differentiable means that both - left and right - have to be the same value.
 
Let's see...

##\lim_{h\rightarrow 0} \frac{f(x+h)-f(x-h)}{2h}=\frac{1}{2} \lim_{h\rightarrow 0} \frac{f(x+h)-f(x)}{h}+\frac{1}{2} \lim_{h\rightarrow 0} \frac{f(x)-f(x-h)}{h}=\frac{1}{2}f'(x)+\frac{1}{2}f'(x-h)=f'(x)##
 
Yes, just without the last ##h##.
 
Thanks. Now, I just need to figure out the second part of this problem, then. Just give me some time to think...
 
Eclair_de_XII said:
Thanks. Now, I just need to figure out the second part of this problem, then. Just give me some time to think...
We used: differentiable implies left and right derivatives are equal. There's an easy, very common function which violates this at one point.
 
Oh, you mean: ##f(x)=|x|##?
 
  • Like
Likes   Reactions: fresh_42
Eclair_de_XII said:
Oh, you mean: ##f(x)=|x|##?
You might need to change the slope of one leg to save the ##h## in the nominator.
 
Can I ask what you mean by "change the slope of one leg"?
 
  • #10
Eclair_de_XII said:
Can I ask what you mean by "change the slope of one leg"?
If we simply use ##f(x)=|x|## then ## \lim_{h \to 0}=\dfrac{f(x+h)-f(x-h)}{2h}=\lim_{h\to 0}\dfrac{h-h}{2h}## at ##x=0##. I think in this case, we have to formally show that this limit exists. It's easier to manipulate ##f## in a way, that the nominator is e.g. ##h-\frac{1}{2}h## and we can divide by ##h##.
 
  • #11
I think I got something...

Let ##\lim_{h\rightarrow 0} \frac{f(x+h)-f(x-h)}{2h}=\lim_{h\rightarrow 0} \frac{|x+h|-|x-h|}{2h}=L##.

Then ##\lim_{h\rightarrow 0} \frac{|x+h|-|x-h|}{2h}\leq \lim_{h\rightarrow 0} |\frac{(x+h)-(x-h)}{2h}|=\lim_{h\rightarrow 0} |\frac{2h}{2h}|=1##.
And ##-1=-\lim_{h\rightarrow 0} |\frac{(x+h)-(x-h)}{2h}| \leq \lim_{h\rightarrow 0} \frac{|x+h|-|x-h|}{2h}##.

So ##-1\leq L \leq 1##, so ##\lim_{h\rightarrow 0} \frac{f(x+h)-f(x-h)}{2h}=L## exists, but ##f(x)=|x|## has no derivative at ##x=0##.
 
  • #12
I don't see why ##L## should exist by your argumentation. You started by the assumption that it exists. That it is in ##[-1,1]## under this assumption, cannot be used to prove the assumption. At ##x=0## we can directly estimate ## | \frac{\Delta f}{h} - 0| < \varepsilon ## for small ##h##. Thus ## \lim_{h \to -0} \Delta f = -1 \neq \lim_{h \to 0}\Delta f = 0 \neq \lim_{h \to +0}\Delta f=1\,.##

I still find it easier to see, if we defined ##f(x)=|x|## for ##x \leq 0## and ##f(x)=5|x|## for ##x>0\,##, and get ##\lim_{h \to 0} \Delta f = 2## because the suspicious ##h## in the denominator doesn't occur; but both ways would be o.k.
 
  • #13
there is is a very special, but quite common class of functions that give you the second leg of your answer but do not vex yourself over this

and yes the absolute value is a member of this class
 

Similar threads

  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 12 ·
Replies
12
Views
1K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K