Continuity and Differentiation
Continuity and Differentiation
Figure
Figure 3. The limit of
1. The func- Figure
2. The limit of f (x) at x = c
tion is not exists, but is
defined at f (x) does not
exist at x = c not equal to
x=c f (c)
(b) lim f (x) exists (i.e. the left and the right limits are equal).
x→c
when the function is continuous at each point in the interval. A function that
is continuous on (−∞, ∞) is said to be continuous everywhere.
1
x2 − 1
(b) f (x) = . This function is not defined at x = 1. When we simplify we see
x−1
that f (x) = x + 1, except for x = 1. This would be a removable discontinuity
because x = 1 is not in the domain, however, lim f (x) exists.
x→1
x + 1 if x ≤ 0
(c) f (x) = In this case, x = 0 is in the domain, and the left and
ex if x > 0
lim f (x) = lim ex = 1 and lim f (x) = lim x + 1 = 1, thus the limit exists.
x→0+ x→0 x→0− x→0
Lastly, lim f (x) = f (1), thus the function is continuous.
x→0
(3) Properties of Continuous Functions.
• Product: f g
• Sum or difference: f ± g
f
• Quotient: g
• Composition: f ◦ g
(
ln(x + 1) if x ≤ 0
(4) Example B: Determine if the following function f (x) = is continuous
1 − x2 if x > 0
at x = 0.
Solution: We go through each condition in the definiton.
• x = 1 is in the domain of f .
• lim f (x) = lim 1 − x2 = 0, and lim f (x) = lim ln(x + 1) = 0. Therefore lim f (x)
x→1+ x→1 x→1− x→1 x→0
exists and is equal to 1
(5) Example C: Determine the value of a that will make the function continuous:
2 2
x − a
if x 6= a
f (x) = x−a
8 if x = a
(7) Example D: Let f (x) = x3 + 2x − 1. Show that the function has a root between [0, 1].
Solution: Since f is continuous everywhere, because it is a polynomial, we can apply the
Intermediate Value Theorem. We observe that f (0) = −1 < 0, and that f (1) = 1 > 0.
Therefore, at some point between [0, 1], f (x) must cross the x-axis.
(9) Consequences of Continuity. A function that is continuous can have a tangent line
at any point along the graph. This leads to the following definition.
Theorem. If f is defined on an open interval containing x = c, and if the limit
c+∆x
∆y − f (c)
lim = lim =m
∆x→0 ∆x ∆x→0 ∆x
exists, then the line passing through (c, f (c)) with slope m is the tangent line to
the raph of f at the point (c, f (c))
f (x) − f (c)
lim =m
x→c x−c
Use which ever formula is convenient. We can find a generalized formula for the slope of
the tangent line at any point along the curve. This formula would be a derived function
or the derivative which is given by,
(10) Example F: Find the slope and equation of the tangent line of the graph f (x) = x2 + 1
at the points (−1, 2).
Solution:
(x2 + 1) − (2)
m = lim
x→−1 x+1
2
x −1
= lim
x→−1 x + 1
= lim x − 1
x→−1
= −2
The equation of the tangent line is given by y − 2 = −2(x + 1) using the point-slope
formula.
3
(11) Example G: Find the derivative of f (x) = x3 + 2x using the definition of the derivative.
Solution:
f (x + h) − f (x)
f 0 (x) = lim
hx→0 h
[(x + h) + 2(x + h)] − (x3 + 2x)
3
= lim
h→0 h
x3 + 3x2 h + 3xh2 + h3 − x3 − 2x
= lim
h→0 h
3x h + 3xh + h3
2 2
= lim
h→0 h
= lim 3x + 3xh + h2
2
h→0
2
= 3x