Chapter 2
Chapter 2
Chapter 2
1 1
lim x sin 0 lim x lim sin
2 2
x0 x x0 x0 x
1
because lim sin does not exist.
x0 x
Example (contd)
However, since we have
1
1 sin 1
x
1
x x sin x (as the next slide shows).
2 2 2
x
x0
We know that lim x 2 lim x 2 0
x0
2 2
Taking f(x) = - x , g(x) = x sin(1/x) ,
2
and h(x) = x in the Squeeze Theorem,
we find 1
lim x sin 0
2
x0 x
Definition
We noticed in the preceding section that
the limit of a function as x approaches a
can often be found simply by
calculating the value of the function at a .
Functions with this property are called
continuous at a :
Definition (contd)
This definition implicitly requires three
things if f is continuous at a :
1. f(a) is defined
That is, a is in the domain of f
2. f(x) has a limit as x approaches a
3. This limit is actually equal to f(a) .
The definition is illustrated on the next
slide:
Example (contd)
Example
Where are each of the following functions
discontinuous?
1 if x 0
2
x x2 2
( a) f x ( b) f x x
x2 1 if x 0
x x 2
2
if x 2
(c) f x x 2 ( d) f x x
1 if x 2
Graphs
Graphs (contd)
Types of Discontinuity
The four functions just discussed are
discontinuous in different ways:
In (a) and (c) the discontinuity is removable
because we could remove the discontinuity by
redefining f at just the single number 2 .
The discontinuity in (b) is called infinite.
The discontinuities in (d) are jump
discontinuities because the function jumps
from one value to another.
One-Sided Continuity
Continuity can occur from just one side:
2
y = 1/x , which has no limit as x 0 .
2
The values of the function 1/x can be made
arbitrarily large (and positive) by taking x
close enough to 0 .
We indicate this behavior by writing
1
lim 2
x0 x
Infinite Limit (contd)
Infinite Limit (contd)
x 1
2
has the line y=1 as a horizontal asymptote.
Example
A curve with two horizontal asymptotes is
-1
y = tan x , since
1
lim tan x
x 2
and
1
lim tan x :
x 2
Limit Laws
The Limit Laws of the preceding section
carry forward to limits at infinity
However we have a new limit law for this
type of limit:
Tangents (contd)
If we write x = a + h , then
h = x - a and
h approaches 0 if and only if x approaches
a.
Slope of Tangent (contd)
Slope of Tangent (contd)
Using the point-slope form of the equation
of a line, we can write an equation of the
tangent line to the curve y = f(x) at the
point (a, f(a)) :
y - f(a) = f (a)(x - a)
Example
3
For the function f(x) = x - x ,
Find a formula for f (x)
Compare the graphs of f and f
Solution On the
2
a) next slide, we show that f (x) = 3x - 1 ;
b) following slide, we give the graphs of f and
f side-by-side:
Solution (contd)
Solution (contd)
Notice that f (x) is
zero when f has horizontal tangents, and
positive when the tangents have positive slope:
Other Notations
Here are common alternative notations for
the derivative: