CALCULUS
Chapter 1: Function and limit
Objectives
Four ways to represent a function
Basis functions and the transformations of functions
Calculating limits of functions
(limits at a point, limits involving Infinity)
Verifying continuity of a function
FUNCTIONS AND LIMITS
1.1
Functions and
Their Representations
1.1 Functions and Their Representations
FUNCTION
A function f is a rule that assigns to each element x in a set
D exactly one element, called f(x), in a set E.
The set D is called the domain of the function f.
The range of f is the set
of all possible values
of f(x) as x varies
throughout the domain.
Fig. 1.1.3, p. 12
1.1 Functions and Their Representations
Input (x) Out put y=f(x)
Side length area of a square
the weight of the package cost of mailing a package
amount of time the ball is in the velocity of a ball thrown in the
air air
Time of Day Temperature
x x2
GRAPH
The graph of f is the set of all points (x, y) in the
coordinate plane such that y = f(x) and x is in the domain
of f.
The graph of f also allows us to picture:
The domain of f on the x-axis
Its range on the y-axis
GRAPH Example 1
The graph of a function f is shown.
a. Find the values of f(1) and f(5).
b. What is the domain and range of f ?
f(1) = 3
f(5) - 0.7
D = [0, 7]
Im(f) = [-2, 4]
REPRESENTATIONS DISCUSSION
Find the domain and region of the
functions ( if it is a function).
a.
f ( n) n for all natural numbers n.
b.
g ( x) is any real number such that larger than x
REPRESENTATIONS OF FUNCTIONS
There are four possible ways to represent a function:
Algebraically (by an explicit formula)
Visually (by a graph)
Numerically (by a table of values)
Verbally (by a description in words)
EXAMPLE B
The human population of the world P depends on
the time t.
The table gives estimates of the
world population P(t) at time t,
for certain years.
However, for each value of the
time t, there is a corresponding
value of P, and we say that
P is a function of t.
REPRESENTATIONS Example 4
"When you turn on a hot-water faucet, the temperature T of
the water depends on how long the water has been
running".
Draw a rough graph of T as a function of the time t that has
elapsed since the faucet was turned on.
THE VERTICAL LINE TEST
A curve in the xy-plane is the graph of a function of
x if and only if no vertical line intersects the
curve more than once.
THE VERTICAL LINE TEST
The reason for the truth of the Vertical Line Test can be
seen in the figure.
SYMMETRY: EVEN FUNCTION movie
If a function f satisfies:
f(-x) = f(x), x D
then f is called an even function.
The geometric significance of an even function is that its
graph is symmetric with respect to the y-axis.
y = x4
movie
SYMMETRY: ODD FUNCTION
If f satisfies:
f(-x) = - f(x), x D
then f is called an odd function.
The graph of an odd function is symmetric about the origin.
y=x 3 y=x 5 y = x7
Example
Let f is an odd function. If (-3,5) is in the graph of f then
which point is also in the graph of f?
a. (3,5) b. (-3,-5) c. (3,-5) d. All of the others
Answer: c
Example 11
Suppose f is an odd function and g is an even function.
What can we say about the function f.g defined by (f.g)(x)=f(x)g(x)?
Prove your result.
INCREASING AND DECREASING FUNCTIONS
A function f is called increasing on an interval I if:
f(x1) < f(x2) whenever x1 < x2 in I
It is called decreasing on I if:
f(x1) > f(x2) whenever x1 < x2 in I
INCREASING AND DECREASING FUNCTIONS
The function f is said to be increasing on the
interval [a, b], decreasing on [b, c], and
increasing again on [c, d].
1.1 QUIZ QUESTIONS
1) If f is a function then f(x+2)=f(x)+f(2)
a. True b. False
2) If f(s)=f(t) then s= t
a. True b. False
3) Let f be a function.
We can find s and t such that s=t and f(s) is not equal to f(t)
a. True b. False
FUNCTIONS AND MODELS
1.2
MATHEMATICAL MODELS:
A CATALOG OF
ESSENTIAL FUNCTIONS
In this section, we will learn about:
The purpose of mathematical models.
MATHEMATICAL MODELS
A mathematical model is a mathematical
description—often by means of a function or an
equation—of a real-world phenomenon such as:
Size of a population
Demand for a product
Speed of a falling object
Life expectancy of a person at birth
Cost of emission reductions
LINEAR MODELS
When we say that y is a linear function of x, we
mean that the graph of the function is a line.
So, we can use the slope-intercept form of the equation
of a line to write a formula for the function as
y f ( x ) mx b
where m is the slope of the line and b is the y-intercept.
POLYNOMIALS
A function P is called a polynomial if
P(x) = anxn + an-1xn-1 + … + a2x2 + a1x + a0
where n is a nonnegative integer and the numbers
a0, a1, a2, …, an are constants called the coefficients of the
polynomial.
RATIONAL FUNCTIONS
A rational function f is a ratio of two polynomials
P( x)
f ( x)
Q( x)
where P and Q are polynomials.
The domain consists of all values of x
such that Q( x) 0.
TRIGONOMETRIC FUNCTIONS
f(x) = sin x D (, )
f(x) = cos x R = [-1, 1]
sin( x k 2 ) sin x cos( x k 2 ) cos x; k Z
TRIGONOMETRIC FUNCTIONS
sin x 3
tan x x , ,
cos x 2 2
R (, )
tan( x k ) tan x; k Z
TRIGONOMETRIC FUNCTIONS
The reciprocals of the sine, cosine, and tangent
functions are
1
cos ecx
sin x
1
sec x
cos x
1
cot anx
tan x
POWER FUNCTIONS
A function of the form f(x) = x a , where a is constant,
is called a power function.
EXPONENTIAL FUNCTIONS
The exponential functions are the functions of the
x
form f ( x) a , where the base a is a positive
constant.
The graphs of y = 2x and y = (0.5)x are shown.
In both cases, the domain is ( , ) and the range
is (0, ).
LOGARITHMIC FUNCTIONS
The logarithmic functions f ( x) log a x ,
where the base a is a positive constant, are the
inverse functions of the exponential functions.
The figure shows the graphs of
four logarithmic functions with
various bases.
TRANSFORMATIONS
Label the following graph from the graph of
the function y=f(x) shown in the part (a)
y=f(x)-2, y=f(x-2), y=-f(x), y=2f(x), y=f(-x)?
SHIFTING
• Suppose c > 0. Why don’t we consider the case c<0?
To obtain the graph of
y = f(x) + c, shift the
graph of y = f(x)
a distance c units
upward.
To obtain the graph
of y = f(x) - c, shift
the graph of y = f(x)
a distance c units
downward.
SHIFTING
To obtain the graph of y = f(x - c), shift the graph of
y = f(x) a distance c units to the right.
To obtain the graph
of y = f(x + c), shift
the graph of y = f(x)
a distance c units to
the left.
NEW FUNCTIONS FROM OLD FUNCTIONS
Label the following graph from the graph of
the function y=f(x) shown in the part (a)
y=f(x)-2, y=f(x-2), y=-f(x), y=2f(x), y=f(-x)?
NEW FUNCTIONS FROM OLD FUNCTIONS
Label the following graph from the graph of
the function y x shown in the part (a):
y=f(x)-2, y=f(x-2), y=-f(x), y=2f(x), y=f(-x)?
y x 2 by shifting 2 units downward.
y x2 by shifting 2 units to the right.
TRANSFORMATIONS
•Suppose c > 1. How about the case c<1?
To obtain the graph
of y = cf(x), stretch
the graph of y = f(x)
vertically by a factor
of c.
To obtain the graph
of y = (1/c)f(x),
compress the graph
of y = f(x) vertically by
a factor of c.
TRANSFORMATIONS
In order to obtain the graph of y = f(cx),
compress the graph of y = f(x) horizontally
by a factor of c.
To obtain the graph
of y = f(x/c), stretch
the graph of y = f(x)
horizontally by a factor
of c.
TRANSFORMATIONS
In order to obtain the graph of y = -f(x),
reflect the graph of y = f(x) about the x-axis.
To obtain the graph
of y = f(-x), reflect
the graph of y = f(x)
about the y-axis.
NEW FUNCTIONS FROM OLD FUNCTIONS
Label the following graph from the graph of
the function y x shown in the part (a):
y=f(x)-2, y=f(x-2), y=-f(x), y=2f(x), y=f(-x)?
NEW FUNCTIONS FROM OLD FUNCTIONS
Label the following graph from the graph of
the function y x shown in the part (a):
y=f(x)-2, y=f(x-2), y=-f(x), y=2f(x), y=f(-x)?
y x by reflecting about the x-axis.
y 2 x by stretching vertically by a factor of 2.
y x by reflecting about the y-axis
TRANSFORMATIONS
• The figure illustrates these stretching
• transformations when applied to the
cosine
• function with c = 2.
Example
Suppose that the graph of f is given.
Describe how the graph of the function f(x-2)+2
can be obtained from the graph of f.
Select the correct answer.
a. Shift the graph 2 units to the left and 2 units down.
b. Shift the graph 2 units to the right and 2 units down.
c. Shift the graph 2 units to the right and 2 units up.
d. Shift the graph 2 units to the left and 2 units up.
e. none of these
Answer: c
COMBINATIONS OF FUNCTIONS
• Two functions f and g can be combined to form
new functions:
(f + g)x = f(x) + g(x)
(f – g)x = f(x) – g(x)
f f ( x)
( fg )( x ) f ( x) g ( x) ( x)
g g ( x)
Let h(x)=f(g(x)).
1) If g(x)=x-1 and h(x)=3x+2 then f(x) is:
a. 3x+3 b. 3x+4 c. 3x+1 d. None of them
2) If h(x)=3x+2 and f(x)=x-1 then g(x) is:
a. 3x+3 b. 3x+4 c.3x+1 d. None of them
Answer: 1) d 2) a
1.2 QUIZ QUESTIONS
1) If f and g are functions, then f g g f
a. True b. False
x 1 2 3 4 5 6
2) .
f ( x) 3 2 1 0 1 2
g ( x) 6 5 2 3 4 6
( f g )(2)
is
a. 5 b. 1 c. 2 d. None of the others
1.2 QUIZ QUESTIONS
Answer: ½ f(x), f(½ x), f(x)
1.3
The Limit of a Function
In this section, we will learn:
About limits in general and about numerical
and graphical methods for computing them.
THE LIMIT OF A FUNCTION
In general, we write lim f x L
xa
if we can make the values
of f(x) arbitrarily close to L
by taking x to be
sufficiently close to a
but not equal to a.
ONE-SIDED LIMITS Definition 2
We write lim f x L
xa
if we can make the values of f(x) arbitrarily close to L by
taking x to be sufficiently close to a and x less than a.
ONE-SIDED LIMITS
Similarly, “the right-hand limit of f(x) as x approaches a is
equal to L” and we write
lim f x L
x a
lim g x lim g x
x2 x2
lim g x lim g x
x2 x 5
lim g x lim g x
x 5 x 5
1.3 Limits: A Numerical and Graphical Approach
Quick Check 1
x2 9
Let f ( x )
x3
a) What is f (3)?
b) What is the limit of f as x approaches 3 ?
1.3 Limits: A Numerical and Graphical Approach
Quick Check 1 Solution a)
x2 9
1.) Since f ( x) , we will substitute3 in for x ,
x 3 2
3 9
giving us the new equation f (3) .
3 23
3 9 99 0
2.) Solving for f (3) , we get f (3) .
33 33 0
Thus f (3) does not exist.
1.3 Limits: A Numerical and Graphical Approach
Quick Check 1 Solution b)
First let x approach 3 from the left:
x 3 2 2.5 2.9 2.99 2.999
f ( x) 5 5.5 5.9 5.99 5.999
Thus it appears that xlim
3
f ( x) is 6.
Next let x approach 3 from the right:
x 3 4 3.5 3.1 3.01 3.001
f ( x) 7 6.5 6.1 6.01 6.001
Thus it appears that xlim
3
f ( x) is 6 .
Since both the left-hand and right-hand limits agree, lim f ( x) 6.
x 3
1.3 Limits: A Numerical and Graphical Approach
Example 1: Consider the function H given by
2x 2 for x 1
H (x)
2x 4 for x 1
Graph the function, and find each of the following
limits, if they exist. When necessary, state that
the
limit does not exist.
lim H (x) b) lim H (x)
x1 x3
a)
1.3 Limits: A Numerical and Graphical Approach
a) Limit Numerically
First, let x approach 1 from the left:
x 1 0 0.5 0.8 0.9 0.99 0.999
H(x) 2 3 3.6 3.8 3.98 3.998
lim H (x) 4.
Thus, it appears thatx1
1.3 Limits: A Numerical and Graphical Approach
a) Limit Numerically (continued)
Then, let x approach 1 from the right:
x 1 2 1.8 1.1 1.01 1.001 1.0001
H(x) 0 –0.4 –1.8 –1.98 –1.998 –1.9998
Thus, it appears that lim H (x) 2.
x1
1.3 Limits: A Numerical and Graphical Approach
a) Limit Numerically (concluded)
Since lim H (x) 4
1) x1
and
lim H (x) 2
2)x1
Then, lim
x1
H (x) does not exist.
1.3 Limits: A Numerical and Graphical Approach
a) Limit Graphically
Observe on the graph
that: lim H (x) 4
x1
1)
and lim H (x) 2
x1
2)
lim H (x)
x1
Therefore,
does not exist.
1.3 Limits: A Numerical and Graphical Approach
b) Limit Numerically
First, let x approach –3 from the left:
x 3 –4 –3.5 –3.1 –3.01 –3.001
H(x) –6 –5 –4.2 –4.02 –4.002
Thus, it appears thatlim H (x) 4.
x3
1.3 Limits: A Numerical and Graphical Approach
b) Limit Numerically (continued)
Then, let x approach –3 from the right:
x 3 –2 –2.5 –2.9 –2.99 –2.999
H(x) –2 –3 –3.8 –3.98 –3.998
Thus, it appears thatlim H (x) 4.
x3
1.3 Limits: A Numerical and Graphical Approach
b) Limit Numerically (concluded)
Since 1)lim H (x) 4
x3
and
lim H (x) 4
2)x3
lim H (x) 4.
Then, x3
1.3 Limits: A Numerical and Graphical Approach
b) Limit Graphically
Observe on the graph
that: lim H (x) 4
x3
1)
and lim H (x) 4
x3
2)
Therefore,
lim H (x) 4.
x3
LIMITS
1.4
Calculating Limits
Using the Limit Laws
In this section, we will:
Use the Limit Laws to calculate limits.
THE LIMIT LAWS
Suppose that c is a constant and the limits lim
xa
f ( x)
and lim g ( x) exist. Then
x a
1.lim f ( x) g ( x) lim f ( x) lim g ( x)
x a x a x a
3.lim cf ( x) c lim f ( x)
x a xa
4.lim f ( x) g ( x) lim f ( x) lim g ( x)
x a xa xa
f ( x) lim f ( x)
5.lim xa
if lim g ( x) 0
x a g ( x) lim g ( x) x a
xa
USING THE LIMIT LAWS
n
6.lim f ( x) lim f ( x)
n
x a x a
7.lim c c
xa
8.lim x a
xa
9.lim x n a n
x a
10.lim n x n a
x a
11.lim n f ( x) n lim f ( x)
xa xa
where n is a positive integer.
DIRECT SUBSTITUTION PROPERTY
We state this fact as follows. If f is a polynomial or a
rational function and a is in the domain of f, then
lim f ( x) f (a)
xa
USING THE LIMIT LAWS Theorem 1
lim f ( x) L if and only if lim f ( x) L lim f ( x)
x a x a x a
USING THE LIMIT LAWS Example 8
x
Prove that lim does not exist.
x 0 x
PROPERTIES OF LIMITS Theorem 2
If f ( x) g ( x) when x is near a (except possibly at a)
and the limits of f and g both exist as x approaches a,
then
lim f ( x) lim g ( x)
x a xa
SQUEEZE THEOREM Theorem 3
The Squeeze Theorem (the Sandwich Theorem or the Pinching Theorem)
states that, if
f ( x ) g ( x ) h( x ) when x is near a (except possibly at
lim
a) and
x a
f ( x) lim h( x) L
x a
lim g ( x) L
.Then
x a
USING THE LIMIT LAWS Example 11
21
Show that lim x sin 0.
x 0 x
Note that we cannot use
2 1 2 1
lim x sin lim x lim sin
x 0 x x 0 x 0 x
This is because lim sin(1/ x) does not exist.
x 0
USING THE LIMIT LAWS Example 11
1
However, since 1 sin 1 ,
x
we have: 2 21 2
x x sin x
x
Taking f(x) = -x2, and h(x) = x2
in the Squeeze Theorem,
we obtain:
2 1
lim x sin 0
x 0 x
1.4 QUIZ QUESTIONS
1) If lim f ( x) 0, lim g ( x) 0
x 3 x 3
f ( x)
then lim does not exist
x 3 g ( x )
a. True b. False
1.4 QUIZ QUESTIONS
If lim f ( x) g ( x) exists, then the limit must be f (3) g (3)
x 3
a. True b. False
LIMITS
1.5
Continuity
In this section, we will:
See that the mathematical definition of continuity
corresponds closely with the meaning of the word
continuity in everyday language.
CONTINUITY 1. Definition
A function f is continuous at a number a if:
lim f ( x) f (a )
xa
Notice that :
f(a) is defined - that is,
a is in the domain of f
lim
xa
f ( x) exists.
lim
x a
f ( x) f (a)
CONTINUITY Definition
If f is defined near a - that is, f is defined on an open interval
containing a, except perhaps at a - we say that f is
discontinuous at a if f is not continuous at a.
The figure shows the graph of a
function f.
At which numbers is f
discontinuous?
Why?
CONTINUITY 2. Definition
A function f is continuous from the right
at a number a if
lim f ( x) f (a )
xa
and f is continuous from the left at a if
lim f ( x) f (a )
xa
CONTINUITY 3. Definition
A function f is continuous on an interval if it is
continuous at every number in the interval.
If f is defined only on one side of an endpoint of the interval,
we understand ‘continuous at the endpoint’ to mean
‘continuous from the right’ or ‘continuous from the left.’
CONTINUITY 4. Theorem
If f and g are continuous at a; and c is a constant, then the
following functions are also continuous at a:
1. f + g
2. f - g
3. cf
4. fg
f
5. if g (a ) 0
g
CONTINUITY 7. Theorem
The following types of functions are continuous at
every number in their domains:
Polynomials
Rational functions
Root functions
Trigonometric functions
INTERMEDIATE VALUE THEOREM 10. Theorem
Suppose that f is continuous on the closed interval
[a, b] and let N be any number between f(a) and f(b),
where f ( a ) f (b)
Then, there exists a number c in (a, b) such that f(c) = N.
INTERMEDIATE VALUE THEOREM Example 9
Show that there is a root of the equation
4 x3 6 x 2 3x 2 0 between 1 and 2.
Let f ( x) 4 x3 6 x 2 . 3 x 2
We are looking for a solution of the given equation—
that is, a number c between 1 and 2 such that f(c) = 0.
Therefore, we take a = 1, b = 2, and N = 0 in the theorem.
We have f (1) 4 6 3 2 1 0
and
f (2) 32 24 6 2 12 0
1.5 QUIZ QUESTIONS
1) If f(1)>0 and f(3)<0 then there exists a number c between 1 and 3
such that f(c)=0
a. True b. False
2) Which is the equation expressing the fact that “ f is continuous at 2”?
a. lim f ( x) 2 b. lim f ( x) f (2)
x 2 x
c. lim f ( x) 0 d. lim f ( x)
x 2 x2
e. lim f ( x) f (2)
x 2
1.6
Limits involving infinity
We will study:
Infinity Limits
Limits at Infinity
INFINITE LIMITS Definition 4
Let f be a function defined on both sides of a, except
possibly at a itself. Then,
lim f x
x a
means that the values of f(x)
can be made arbitrarily large
by taking x sufficiently
close to a, but not equal to a.
INFINITE LIMITS Definition 5
Let f be defined on both sides of a, except possibly at a
itself. Then,
lim f x
x a
means that the values of f(x)
can be made arbitrarily
large negative by taking x
sufficiently close to a,
but not equal to a.
INFINITE LIMITS
Similar definitions can be given for the one-sided limits:
lim f x lim f x
xa xa
lim f x lim f x
x a x a
DEFINITIONS
• x=a is called the vertical asymptote of f(x)
if we have one of the following:
lim f x lim f x
xa xa
lim f x lim f x
x a x a
LIMITS AT INFINITY
Let f be a function defined for every x>a. Then
lim f ( x) L means that 0, M 0
x
if x M then f ( x) L
DEFINITION
The line y=L (y=L’) is called the horizontal
asymptote of f(x) if we have one of the following:
lim f x L lim f x L '
x x
Find the asymptotes of the function
x3 1
f ( x) 3
x x2 2
Solution
1
1 3
x3 1 x
lim 3 lim 1 y=1 is horizontal asymptote
x x x 2 2 x 1 2
1 3
x x
x3 1 x 1 x 2 x 1
x x 2 ( x 1)( x 2 2 x 2)
3 2
x3 1 3
lim 3
x 1 x x 2 2 5
Compute
1
a. lim sin 0
x x
b.
lim( x 2 1 x) 0
x
c. lim sin x Does not exist
x
d. lim( x x 3 )
x
1.6 QUIZ QUESTIONS
1) Find lim cos x
x
a. 0 b. infinity c. 1 d. Does not exist
1
2) Find lim cos x
x x
a. 0 b. infinity c. 1 d. Dose not exist
1.6 QUIZ QUESTIONS
3) If lim f ( x) , lim g ( x)
x 0 x 0
Then lim[ f ( x) g ( x)] 0
x 0
a. True b. False
4) A function can have two different horizontal asymptotes
a. True b. False
Thanks