Simple Differentiability and Continuity Question

Click For Summary

Homework Help Overview

The problem involves determining the differentiability of a piecewise function defined as f(x) = 3 for x < 0 and f(x) = 2x for x ≥ 0, specifically at the point x = 0. The original poster questions the relationship between continuity and differentiability, particularly in the context of limits at that point.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to justify the differentiability of the function despite its discontinuity, expressing confusion over the implications of the limits involved. Other participants question the specific limits being referenced and clarify the definition of the derivative in relation to the function's behavior at x = 0.

Discussion Status

The discussion is exploring the nuances of continuity and differentiability, with participants providing insights into the definitions and implications of limits. There is an acknowledgment of the original poster's misunderstanding, and some participants are guiding the conversation towards a clearer understanding of the concepts involved.

Contextual Notes

Participants are discussing the implications of continuity on differentiability, with references to specific examples that illustrate the general principle that a function must be continuous to be differentiable at a point.

Wormaldson
Messages
21
Reaction score
0

Homework Statement



If f(x) = 3 for x < 0 and f(x) = 2x for x ≥ 0, is f(x) differentiable at x = 0? State and justify why/why not.

Homework Equations





The Attempt at a Solution



Obviously, since f(x) is not continuous and the limit doesn't exist as x\rightarrow0, the function shouldn't be differentiable at that point. But I can't justify this because I don't really understand why not. Simply put, I get that the limit doesn't exist at 0 and, hence, the function is discontinuous there, but I don't see why that invalidates the idea that the gradient of the line f(x) = 2x at x = 0 is 2. Further, as far as I can tell (and I have a strong feeling I'm going wrong here somewhere), f'(x) = 0 for x < 0 and f'(x) = 2 for x ≥ 0, which seems to suggest that the derivative of f(x) for all values of x ≥ 0 is 2. What am I missing here?

As always, any help would be much appreciated, thanks.
 
Physics news on Phys.org
You say, twice, that the limit does not exist at 0. What limit? I think you mean just lim_{x\to 0} f(x) but the derivative, at x= 0, is defined as
\lim_{h\to 0}\frac{f(h)- f(0)}{h}= \lim{h\to 0} \frac{f(h)}{h}
if the numerator does not go to 0, then that limit cannot exist.
 
HallsofIvy said:
You say, twice, that the limit does not exist at 0. What limit? I think you mean just lim_{x\to 0} f(x) but the derivative, at x= 0, is defined as
\lim_{h\to 0}\frac{f(h)- f(0)}{h}= \lim{h\to 0} \frac{f(h)}{h}
if the numerator does not go to 0, then that limit cannot exist.

You're right; I was considering the problem in too narrow a scope and only considering the limit as x\rightarrow0. So let's see: the limit as x\rightarrow0 of f(x) does not exist, therefore, the limit as h\rightarrow0 of f(0 + h) - f(0) does not exist either. The limit as h\rightarrow0 of h is obviously just 0, and, since in \lim_{h\to 0}\frac{f(0 + h) - f(0)}{h} the denominator approaches 0 as expected, but the numerator does not exist, then the limit of the quotient and hence the derivative does not exist. Is that right?
 
For this particular function, yes, the limit of the numerator does not exist. But the reason why a function has to be continuous to be differentiable is more general. Consider another example: f(x)= 2x for x not equal to 0, f(0)= 1. Now \lim_{h\to 0}f(h)= 0 but \lim_{h\to 0} f(h)- f(0)= -1. The limit of the numerator does exist but is not 0 so \lim_{h\to 0} (f(h)- f(0))/h does not exist.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
7
Views
2K
Replies
26
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
8
Views
2K