Chap 2
Chap 2
5
Since the volume of the container is 10m3 , we have h “ 2 .
w
Finally, we obtain
180
C pw q “ 20w 2 ` pw ą 0q
w
Example 2: Find the domain of each function.
?
(1) f px q “ x ` 2
1
(2) gpx q “ 2
x ´x
Solution :
(1) The domain of f consists of all values of x such that
x ` 2 ě 0 ô x ě ´2, so the domain is the interval
r´2, `8q.
1
(2) Since gpx q “ and division by 0 is not
x px ´ 1q
allowed, we see that gpx q is not defined when x “ 0 or
x “ 1. Thus the domain of g is tx | x ‰ 0, x ‰ 1u.
THE ELEMENTARY
FUNCTIONS
Definition 3 (The Power Function): The function f px q “
x α , where α is a real constant, is called a power function.
y y
x x
y “x y “ x2
pα “ 1q pα “ 2q
y y
x x
? 1
y “ x 1{2 “ x y “ x ´1 “ x
pα “ 1{2q pα “ ´1q
Definition 4 (Polynomials): A function P is called a poly-
nomial if
Example 4:
The function
2x 4 ´ x 2 ` 1
f px q “
x2 ´ 4
is a rational function with do-
main tx | x ‰ ˘2u.
Definition 6 (Algebraic Functions): A function f is called
an algebraic function if it can be constructed using algebraic
operations (such as addition, subtraction, multiplication, di-
vision, and taking roots) starting with polynomials. Any ra-
tional function is automatically an algebraic function.
ax ą 0 for all x P R
a0 “ 1
ax `y “ ax ¨ ay
ax 1
ax ´y “ y ùñ a´x “ x
a a
pax qy “ axy
When a “ e pe « 2.718281828...q we have the most popular
function y “ ex , that has many applications in all sciences.
The graphs of the exponential functions are dependent on a.
y y
x x
y “ ax y “ ax
pa ą 1q p0 ă a ă 1q
Definition 8 (The Logarithmic Functions): The function
f px q “ loga x , where a is a real constant (a ą 0, a ‰ 1), is
called a logarithmic function.
loga 1 “ 0
loga pxy q “ loga x ` loga y
x 1
loga “ loga x ´ loga y ùñ loga “ ´ loga x
y x
loga x y “ y loga x
When a “ e pe « 2.718281828...q we denote y “ ln x , and we have
ln x
loga x “
ln a
The graphs of the logarithmic functions are dependent on a.
y y
x x
y “ loga x y “ loga x
pa ą 1q p0 ă a ă 1q
Definition 9 (The Trigonometric Functions): We have
the following trigonometric functions and their graphs.
y “ sin x : its domain is R, its range is r´1, 1s.
y “ cos x : its domain is R, its range is r´1, 1s.
y y
x x
y “ sin x y “ cos x
Definition 10 (The Trigonometric Functions):
sin x
" *
π
y “ tan x “ : its domain is R ´ ` kπ, k P Z .
cos x 2
1 cos x
y “ cot x “ “ : its domain is R ´ tkπ, k P Zu.
tan x sin x
y y
x x
y “ tan x y “ cot x
Properties of Trigonometric Functions
cos2 x ` sin2 x “ 1
sin 2x “ 2 sin x cos x
cos 2x “ cos2 x ´ sin2 x “ 1 ´ 2 sin2 x “ 2 cos2 x ´ 1.
From this property we obtain the following useful
formulas:
1 ` cos 2x 1 ´ cos 2x
cos2 x “ ; sin2 x “
2 2
1
1 ` tan2 x “ , and from this we have
cos2 x
1 tan2 x
cos2 x “ ; sin2 x “
1 ` tan2 x 1 ` tan2 x
And more ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨
Definition 11 (The Hyperbolic Functions): The following
functions are called the hyperbolic functions:
ex ´ e´x
(1) The Sine Hyperbolic Function: y “ sinh x “
2
(2) The Cosine Hyperbolic Function:
ex ` e´x
y “ cosh x “
2
(3) The Tangent Hyperbolic Function:
sinh x ex ´ e´x
y “ tanh x “ “ x
cosh x e ` e´x
(4) The Cotangent Hyperbolic Function:
1 cosh x ex ` e´x
y “ coth x “ “ “ x
tanh x sinh x e ´ e´x
Properties of Hyperbolic Functions
cosh2 x ´ sinh2 x “ 1
sinh 2x “ 2 sinh x cosh x
cosh 2x “ cosh2 x ` sinh2 x “ 2 cosh2 x ´ 1 “
1 ` 2 sinh2 x . From this we have
1 ` cosh 2x cosh 2x ´ 1
cosh2 x “ sinh2 x “
2 2
And more ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨
Definition 12 (Piecewise Defined Functions): The func-
tions in the following examples are defined by different for-
mulas in different parts of their domains. Such functions are
called piecewise defined functions.
Then
Since ´2 ď ´1, we have f p´2q “ 1 ´ p´2q “ 3
Since 0 ą ´1, we have f p0q “ 02 “ 0
Example 7:
Solution :
(1) f p´x q “ p´x q5 ` p´x q “ ´x 5 ´ x “ ´px 5 ` x q “
´f px q. Therefore f is an odd function.
(2) gp´x q “ 1 ´ p´x q4 “ 1 ´ x 4 “ gpx q. So g is even.
(3) Since hp´x q ‰ hpx q and hp´x q ‰ ´hpx q, we conclude
that h is neither even nor odd.
Definition 15 (Increasing and Decreasing Function): A
function f is called increasing on an interval I if f px1 q ă
f px2 q whenever x1 ă x2 in I. It is called decreasing on I if
f px1 q ą f px2 q whenever x1 ă x2 in I.
Example 9:
Example 10:
The functions y “ sin x and y “ cos x are periodic
with T “ 2π.
The functions y “ tan x and y “ cot x are periodic
with T “ π.
Example 11:
2π
The function y “ sin kx is periodic with T “ .
k
x x
The functions y “ tan and y “ tan are periodic
2 3
with the periods T “ 2π and T “ 3π, respectively.
x x
Then the function f px q “ tan ` tan is periodic
2 3
with the period T “ SCMp2π, 3πq “ 6π.
pf ˝ gqpx q “ f pgpx qq
Solution : We have
pf ˝ gqpx q “ f pgpx qq “ rgpx qs2 “ px ` 3q2
pg ˝ f qpx q “ gpf px qq “ f px q ` 3 “ x 2 ` 3
We see that, in general, f ˝ g ‰ g ˝ f .
? ?
Example 15: If f px q “ x and gpx q “ 2 ´ x , find each
function and its domain: f ˝ g, g ˝ f , f ˝ f , and g ˝ g.
Solution : We have
a? ?
2´x “ 2 ´ x.
a 4
pf ˝ gqpx q “ f pgpx qq “ gpx q “
Its domain is p´8, 2s.
a ?
2 ´ f px q “ 2 ´ x . Its
a
pg ˝ f qpx q “ gpf px qq “
domain is r0, 4s.
a? ?
x “ 4 x . Its
a
pf ˝ f qpx q “ f pf px qq “ f px q “
domain is r0, `8q.
a ?
2 ´ gpx q “ 2 ´ 2 ´ x .
a
pg ˝ gqpx q “ gpgpx qq “
Its domain is r´2, 2s.
It is possible to take the composition of three or more functions.
For instance, the composite function f ˝ g ˝ h is found by first
applying h, then g, and then f as follows:
x
Example 16: If f px q “ , gpx q “ x 5 , and hpx q “ x ` 2,
x `1
then
gphpx qq rhpx qs5
pf ˝ g ˝ hqpx q “ f pgphpx qqq “ “
gphpx qq ` 1 rhpx qs5 ` 1
px ` 2q5
“
px ` 2q5 ` 1
INVERSE FUNCTIONS
Definition 18: A function f is called a one-to-one function if
it never takes on the same value twice; that is f px1 q “ f px2 q
whenever x1 “ x2 .
Note that
f ´1 pf px qq “ x
f pf ´1 px qq “ x
and the graph of f ´1 px q is
obtained by reflecting the
graph of f px q about the
line y “ x .
From the elementary functions we have
y “ ax
x
y “ loga x
x
“
y
Definition 20 (The Inverse Function of y “ sin x ): We
” π πı
consider y “ sin x : ´ , ÝÑ r´1, 1s. This is one-to-
2 2
one function. Therefore, it has an inverse function, that is
” π πı
denoted by y “ arcsin x : r´1, 1s ÝÑ ´ ,
2 2
Definition 21 (The Inverse Function of y “ cos x ): We
consider y “ cos x : r0, πs ÝÑ r´1, 1s. This is one-to-
one function. Therefore, it has an inverse function, that is
denoted by y “ arccos x : r´1, 1s ÝÑ r0, πs
Definition 22 (The Inverse Function of y “ tan x ): We
´ π π¯
consider y “ tan x : ´ , ÝÑ p´8, `8q. This is one-
2 2
to-one function. Therefore, it has an inverse function, that
´ π π¯
is denoted by y “ arctan x : p´8, `8q ÝÑ ´ ,
2 2
LIMITS OF A FUNCTION
Definition 23: Let f be a function defined on some open
interval that contains the number a, except possibly at a
itself. Then we say that the limit of f px q as x approaches a
is L, and we write lim f px q “ L if for every number ε ą 0
x Ña
there is a number δ ą 0 such that if 0 ă |x ´ a| ă δ then
|f px q ´ L| ă ε. That is
@ε ą 0, Dδ ą 0, 0 ă |x ´ a| ă δ ñ |f px q ´ L| ă ε
Example 19: Show that lim p3x ´ 2q “ 4.
x Ñ2
f px q lim f px q
(5) lim “ x Ña if lim gpx q “ 0
x Ña gpx q lim gpx q x Ña
x Ña
Theorem 2 (Limit of Composite Functions): If
lim f px q “ L and lim gpx q “ b, then lim f pgpx qq “ L
x Ñb x Ña x Ña
NOTE:
From the above laws, we have, if lim f px q “ L, then
x Ña
1. lim rf px qsn “ Ln
x Ña
a ?
2. lim n f px q “ L pL ą 0q
n
x Ña
Theorem 3 (Direct Substitution Property): If f is a com-
bination or composition of elementary functions and a is in
the domain of f , then
lim f px q “ f paq
x Ña
?3
x 2 ` 2x ´ 7
Example 21: Find lim f px q where f px q “ ? .
x Ñ1 3x 3 ` 5x ` 8
Since the function f px q is an algebraic function and a “ 1 is
in its domain, then
? ? ?
1 `2¨1´7
3 2 3
´4 3
4
lim f px q “ f p1q “ ? “ ? “ ´
x Ñ1 3 ¨ 13 ` 5 ¨ 1 ` 8 16 4
Theorem 4 (The Inequality Theorem): If f px q ď gpx q
when x is near a and the limits of f and g both exist as x
approaches a, then
1
Solution : We know that 0 ď x 2 sin2 ď x 2 , and lim x 2 “
x x Ñ0
2 1
0. By the Squeeze Theorem, we obtain lim x sin
2 “ 0.
x Ñ0 x
Definition 24 (Infinite Limits):
lim f px q “ L ô @ε ą 0, DN ą 0, @x ą N ñ |f px q ´ L| ă ε
x Ñ8
and
lim f px q “ 8 ô @M ą 0, DN ą 0, @x ą N ñ f px q ą M
x Ñ8
Some useful limits
We consider some useful limits of the elementary functions
when x approaches ˘8.
α ą 0 ùñ lim x α “ `8 and
x Ñ`8
α ă 0 ùñ lim xα “ 0
x Ñ`8
If a ą 1, then lim ax “ `8 and lim ax “ 0
x Ñ`8 x Ñ´8
If a ą 1, then lim loga x “ `8
x Ñ`8
$
’0,
’ if n ă m
a0 x n ` a1 x n´1 ` ¨ ¨ ¨ ` an & a0
lim “ , if n “ m
x Ñ`8 b0 x m ` b1 x m´1 ` ¨ ¨ ¨ ` bm ’ b0
if n ą m
’
%
8,
The trigonometric functions (sin x , cos x , tan x , cot x )
have no limits when x approaches ˘8.
π
We have lim arctan x “ and
x Ñ`8 2
π
lim arctan x “ ´ . Sometime, we can write
x Ñ´8 2
π π
arctanp`8q “ and arctanp´8q “ ´
2 2
lim cosh x “ `8, lim sinh x “ ˘8,
x Ñ˘8 x Ñ˘8
lim tanh x “ 1
x Ñ˘8
ONE-SIDE LIMITS
Definition 26 (The Left-Hand Limit):
We have
NOTE:
From the Direct Substitution Property we see that if a func-
tion f px q is defined at a number a then the limit of this
function when x approaches a can be found by replacing x
by a. Therefore, in reality, we often encounter with limits of
functions which are not defined at a. In these cases, we need
to apply other tools to calculate these limits.
x 2 ´ 3x ` 2
Example 26: Find lim .
x Ñ2 x ´2
x 2 ´ 3x ` 2
Solution : The function f px q “ is not defined
x ´2
at x “ 2, so we can not replace x by 2. In order to find the
limit we factor the numerator as x 2 ´ 3x ` 2 “ px ´ 1qpx ´ 2q
and
x 2 ´ 3x ` 2 px ´ 1qpx ´ 2q
lim “ lim “ lim px ´ 1q “ 1
x Ñ2 x ´2 x Ñ2 x ´2 x Ñ2
Definition 28: We used to find the limits of following inde-
terminate forms:
0 8
, , 8 ´ 8, 18 , 08 , 0 ¨ 8, ...
0 8
tan x ´ sin x
Example 28: Find lim . We can rewrite
x Ñ0 x3
tan x ´ sin x sin x
´ sin x
lim “ lim cos x 3
x Ñ0 x3 x Ñ0 x
sin x ´ sin x cos x
“ lim
x Ñ0 x 3 cos x
sin x 1 ´ cos x 1
“ lim ¨ ¨
x Ñ0 x x 2 cos x
1 1 1
“ 1¨ ¨ “
2 1 2
?
Example 29: Find lim x 3{2 x3 ` 2 ´ x3 ´ 2 . We
`? ˘
x Ñ`8
have
px 3 ` 2q ´ px 3 ´ 2q
lim f px q “ lim x 3{2 ? 3 ?
x Ñ`8 x Ñ`8 x ` 2 ` x3 ´ 2
?
4 x3
“ lim ? ?
x Ñ`8 x3 ` 2 ` x3 ´ 2
4 4
“ lim c “ “2
2 2 2
c
x Ñ`8
1` 3 ` 1´ 3
x x
x `2 x
ˆ ˙
Example 30: Find lim .
x Ñ8 x ´ 2
x `2 x x ´2`4 x
ˆ ˙ ˆ ˙
lim “ lim
x Ñ8 x ´ 2 x Ñ8 x ´2
˙x ˜ ¸x
4 1
ˆ
“ lim 1 ` “ lim 1 ` x ´2
x Ñ8 x ´2 x Ñ8
4
˜ ¸ x ´2 ¨ 4 ¨x » ˜ ¸ x ´2 fi x4x´2
1 4 x ´2
1 4
“ lim 1 ` x ´2 “ lim – 1 ` x ´2 fl
x Ñ8 x Ñ8
4 4
“ e4
1
Example 31: Find lim pcos x q x 2 . We have
x Ñ0
1 1
lim pcos x q x 2 “ lim p1 ` cos x ´ 1q x 2
x Ñ0 x Ñ0
” 1
ı cos x2´1
“ lim p1 ` pcos x ´ 1qq cos x ´1 x
x Ñ0
“ e ´1{2
ASYMPTOTES
Definition 29: The line x “ a is called a vertical asymptote of
the curve y “ f px q if at least one of the following statements
is true
lim f px q “ L or lim f px q “ L
x Ñ8 x Ñ´8
Example 32: Find vertical and horizontal asymptotes of the
function
2x 2 ` 3
f px q “
x2 ´ 1
Solution : We have
2x 2 ` 3
lim f px q “ lim “2
x Ñ8 x Ñ8 x 2 ´ 1
2x 2 ` 3
lim f px q “ lim “ ˘8
x Ñ˘1 x Ñ˘1 x 2 ´ 1
f px q
m “ lim , b “ lim rf px q ´ mx s
x Ñ8 x x Ñ8
2x 2 ` 1
Example 33: Find all asymptotes of the curve y “ .
x ´2
2x 2 ` 1
lim f px q “ lim “ ˘8
x Ñ2 x Ñ2 x ´ 2
Example 34:
The functions x 2 , sin x , tan x , 1 ´ cos x , . . . are
infinitesimals when x Ñ 0.
1
The functions , 2´x , . . . are infinitesimals when
x
x Ñ `8.
πx
The function x 3 ´ 1, cot , . . . are infinitesimals when
2
x Ñ 1.
Definition 33: Two infinitesimals αpx q and βpx q when x
approaches a are called equivalent if
αpx q
lim “1
x Ña βpx q
Example 35:
sin x
sin x „ x px Ñ 0q, since lim “1
x Ñ0 x
x2 1 ´ cos x 1
1 ´ cos x „ px Ñ 0q, since lim “
2 x Ñ0 x2 2
We have some useful equivalent infinitesimals when x ap-
proaches 0
x3
$
’ sin x „ x ´
6
’
’
’
’
’
’
x3
’
’
tan x x
’
’ „ `
3
’
’
’
’
’
x2 x4
’
&
1 ´ cos x „ ´
’
’ 2 24
’ 2 3
’ex ´1 „ x ` x ` x
’
’
’
2 6
’
’
’
’
’
αpα ´ 1q 2
’
’
%p1 ` x q ´ 1 „ αx `
’
’ α x
2
’
Definition 34: Given two infinitesimals αpx q and βpx q when
x approaches a. We say that αpx q is an infinitesimal of higher
degree in comparison to βpx q, if
αpx q
lim “0
x Ña βpx q
In this case we denote
f px q
lim “L
x Ña gpx q
tan x ´ sin x
Example 36: Find lim .
x Ñ0 x3
We know that
x3 x3
tan x „ x ` , sin x „ x ´ , px Ñ 0q
3 6
Therefore,
x3 x3 x3
ˆ ˙ ˆ ˙
tan x ´ sin x „ x` ´ x´ “ , px Ñ 0q
3 6 2
Then
tan x ´ sin x x 3 {2 1
lim “ lim “
x Ñ0 x 3 x Ñ0 x 3 2
CONTINUITY
Definition 35: A function f is continuous at a if lim f px q “
x Ña
f paq. Otherwise, we say that f is discontinuous at a.
(1) f is defined at a
(2) lim f px q exists
x Ña
(3) lim f px q “ f paq
x Ña
$
& x2 ´ 4
Example 37: Given f px q “ , if x “ 2 . Find A
x ´2
% A, if x “ 2
such that f is continuous at x “ 2.
x2 ´ 4 px ´ 2qpx ` 2q
lim f px q “ lim “ lim “ lim px `2q “ 4
x Ñ2 x Ñ2 x ´ 2 x Ñ2 x ´2 x Ñ2