Continuously Differentiable Piecewise Function?

Click For Summary
SUMMARY

The piecewise function defined as f(x) = x^2 + 1 for x ≤ 1 and f(x) = 2x for x > 1 is not differentiable at x = 1 due to a discontinuity in the function's output. While the limits of the derivatives from both sides converge to the same value of 2, the function itself has a jump discontinuity at x = 1, where lim x^2 evaluated at 1 equals 1 and lim 2x evaluated at 1 equals 2. Therefore, the function fails to meet the criteria for differentiability, which requires both continuity and equal slopes at the point of interest.

PREREQUISITES
  • Understanding of piecewise functions
  • Knowledge of limits and continuity
  • Familiarity with derivatives and differentiability
  • Basic calculus concepts, particularly the definition of differentiability
NEXT STEPS
  • Study the definition of differentiability in calculus
  • Learn about continuity and its implications for piecewise functions
  • Explore examples of piecewise functions and their differentiability
  • Review the concept of one-sided limits and their role in calculus
USEFUL FOR

Students studying calculus, educators teaching piecewise functions, and anyone interested in understanding the nuances of differentiability in mathematical functions.

peterk
Messages
2
Reaction score
0
Here is a piecewise polynomial function:

f(x) = x^2 + 1 if x <= 1
f(x) = 2x if x > 1

I need to prove that this function is differentiable at x = 1?

It's a parabola that turns into a line. It doesn't have any gaps or corners. The limit of f(x) as x approaches 1 is 2, and the limit of f'(x) as x approaches 1 is 2.

This was a problem on a test, but my calculus teacher took points off because she says that the function is not differentiable at x = 1.

Thanks in advance!
 
Physics news on Phys.org
Does \lim _{h \to 0}\frac{f(1+h) - 2}{h} exist? I.e. do the following two exist and are they equal?

\lim _{h \to 0^+}\frac{f(1+h) - 2}{h}\mbox{, and }\lim _{h \to 0^-}\frac{f(1+h) - 2}{h}
 
Looks like your teacher is wrong, the function is continuously differentiable.
 
Yes if we look at the limit of the two different slopes as they approach this point they will converge at 1 giving slope 2. However, if you were to graph the function at this point and or checked for continuity you would see a problem.

Lim fx from the right does not equal Lim fx from the left heading toward point 1.

lim x^2 evaluated at 1 = 1 and lim 2x evaluated at 1 = 2. This tells you that there would be a big jump at this point and would not be continious as the function output would not agree from the two sides.

Even though you should use lim [f(x+h) - F(x)]/h with h->0 to check that a function will be differentiable, you must realize this will only tell us if the two slopes will congerve to the same number at the given point. However, we could have a big jump in a graph in respect to height and still have the same slope for that point. The jump implies disscontinious and thus we fail to meet differentiability. We need the same slope and continuity to imply differentiability, as differentiability a implies the function has same slope and height at the given point in question.

If you were to search google you would find that a lot of people neglect to mention this important point for piecewise functions.

Hope that helps,
Kyle Rupps
 
rupps98 said:
Yes if we look at the limit of the two different slopes as they approach this point they will converge at 1 giving slope 2. However, if you were to graph the function at this point and or checked for continuity you would see a problem.

Lim fx from the right does not equal Lim fx from the left heading toward point 1.

lim x^2 evaluated at 1 = 1 and lim 2x evaluated at 1 = 2. This tells you that there would be a big jump at this point and would not be continious as the function output would not agree from the two sides.

Even though you should use lim [f(x+h) - F(x)]/h with h->0 to check that a function will be differentiable, you must realize this will only tell us if the two slopes will congerve to the same number at the given point. However, we could have a big jump in a graph in respect to height and still have the same slope for that point. The jump implies disscontinious and thus we fail to meet differentiability. We need the same slope and continuity to imply differentiability, as differentiability a implies the function has same slope and height at the given point in question.

If you were to search google you would find that a lot of people neglect to mention this important point for piecewise functions.

Hope that helps,
Kyle Rupps

er, no, the two one-sided limits at x= 1 are equal - they both equal 2. there is no jump at x = 1.
 
statdad said:
er, no, the two one-sided limits at x= 1 are equal - they both equal 2. there is no jump at x = 1.

Yes sorry. I thought the first function was just x^2 and not x^2 + 1. In the x^2 case they would not be continious but would satisfy converging slopes. In the x^2 + 1 case both the slopes converge and the point is continious. My bad, I will try to keep my glasses on rather than off in the future. Looks like that teacher is wrong after all :)

Kyle Rupps
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
30
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
3
Views
1K
  • · Replies 8 ·
Replies
8
Views
1K
Replies
4
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
1K