Math 101
Math 101
1) FUNCTIONS 1-28
2) LIMITS 29-50
3) CONTINUITY 51-65
Notation
The object x is in the set A: x A .
The object x is not in the set A: x A .
The set of all x for which property P holds: x : P.
(for example, A={x: x is a vowel}={a,e,i,o,u})
A is a subset of B (A is contained in B): A B .
The union of A and B: A B . ( A B = x : x A or x B )
The intersection of A and B: A B . ( A B = x : x A and x B )
2
3/4=0.75000, -1/3=-0.333…, 23/11=2.090909…
2 =1.414213562…, =3.141592653…, e=2.718228 …
3
are irrational numbers. If we stop the decimal expansion of a given
number at a certain decimal place, then the result is a rational number
which approximates the given number. For instance, 1.414=1414/1000
and 3.14=314/100 are common rational number approximations for 2
groups: one contains the rational numbers Q and the other includes the
irrational numbers.
The real numbers can be represented geometrically by points on a straight
line called the real line R.
-100/31 -3/4 0 2.1
[5] 4
13 (irrational), [6] (2)1/3 (irrational)
4
Ordered Properties: If a and b are real numbers, then a is less than b,
denoted as a<b, if b-a is a positive number. This is equivalent to saying
that b is greater than a, which is denoted as b>a. Geometrically, a<b if
the point a lies to the left of the point b on a number line. The notion
a b means that either a<b or a=b (equivalently, a b ). The real
numbers are ordered in the sense that if a and b are real numbers, then
exactly one of the following holds: a<b, a=b, a>b.
Types of Intervals
Finite Intervals:
Infinite Intervals:
[1] 2 x + 3 6 → 2 x 3 → x 3 / 2 → (−,3 / 2]
[2] x 2 − 3 x − 4 0 → ( x − 4)( x + 1) 0
++++−−−−−−++++
x x
-1 4
6
→ (−,−1] [4, )
2x − 7 2x − 7
[3] 3→ −3 0
x−2 x−2
++++−−−−−−++++
x +1 x
→ 0 → (−,−1] (2, ) -1 2
x−2
A B, A B, A C , A C , B / C , ( A / C ) B, C ( A / B )
Absolute Value: two important properties of a real number x are its sign
and its size, or magnitude. Geometrically, the sign of x tells us whether
the point x is on the right or left of 0 on a number line. The magnitude of
x is the distance between the point x and 0; 0 itself does not have a sign
and its magnitude is 0. The magnitude of x is more commonly called
absolute value of x, denoted x and is defined as
x, x0
x =
− x, x 0
x = 0 only if x = 0 .
7
Properties of absolute values:
a a
(1) − a = a , (2) ab = a b , (3) = ,
b b
(6) x = a x = a ,
(7) x a − a x a ,
(8) x a x a or x − a
2x − 3 2x − 3
[1] 3 7→3 → 2 x − 3 15 → x 9
5 5
2x − 3
Also, 7 → 2 x 38 → x 19 → 9 x 19.
5
[2] x + 1 3 → −3 x + 1 3 → −4 x 2
[3] x + 2 7 → x + 2 7 or x + 2 −7 → x 5 or x −9 .
[4] x + 4 = x + 2 → x + 4 = x + 2 (rejected)
or, x + 4 = −( x + 2) → 2 x = −6 → x = −3
8
Functions: Domain and Range
The function is a rule that assigns for every element x in a set D one
element y in the set R.
f x
D R
x y The function accepts x in its
domain
f (x)
The function f is a machine which has the input xD that transforms to
f(x)R, where f represents the machine and f(x) is the output for the
input x. The set of all possible input values x is called the domain of the
function D(f ) and x is called the independent variable. The set of all
output values f(x) as x varies through D is called the range of the
function R(f ) (or the image of D under f ) and f(x) is called the dependent
variable. In calculus, the domain and range are sets of real numbers.
Therefore, we exclude from the domain D the values of x which results in
a complex number or division by zero. For example f ( x) = x 3 + 1 , we take
as a domain the set of real numbers. For g ( x) = x , we take as a domain
the set of nonnegative numbers. For h( x) = 1 /( x − 2) we take the domain
the set of all real numbers x 2 . In interval notation, we write
D( f ) = (−, ), D( g ) = [0, ), D(h) = (−,2) (2, ) or R − {2}
Example: Find the domain and range for each of the following functions:
[1] f ( x) = x 2
D( f ) = (−, ), R( f ) = [0, ) and say that f maps (−, ) onto [0, ) .
9
[2] f ( x) = 2 x + 4
The domain of f is defined by the interval in which:
2 x + 4 0 → x −2 → D( f ) = [−2, )
[3] f ( x) = 1 − x 2
The domain of f is defined by the interval in which:
1 − x 2 0 → x 2 1 → D( f ) = [−1,1]
[4] f ( x) = 2 − x
[5] f ( x) = 16 − x 2 + - +
× ×
→ 16 − x 2 0 → x 2 − 16 0 -4 4
x 2 − 16
→ ( x − 4)( x + 4) 0 → D ( f ) = [−4,4].
1 + - +
[6] f ( x) =
1 − x2 × ×
-1 1
→ 1 − x 2 0 → x 2 1 → x 2 − 1 0 → ( x − 1)( x + 1) 0 → D( f ) = (−1,1).
10
At x = 0 : f = 1 and the value of f is always positive and increases with
increasing or decreasing x then, R ( f ) = [1, ) .
[2] f ( x) = x − 5 − 9 − x
2x − 6
[3] f ( x) =
x − 2x + 1
2
[4] 1
f ( x) = → D( f ) = R − {1,3}.
( x − 1)( x − 3)
R (f)
y=f(x)
Y=f (x)
11
D(f) x
Example: The graph of the function f ( x) = x + 2 is the set of points with
coordinates ( x, y ) for which y = x + 2 which is a straight line.
The vertical line test: Not every curve you draw is the graph of a
function. Since for each x in the domain of a function f there
corresponds one and only one element y=f(x) in the range of f , it follows
that no vertical line can intersect the graph of f in more than one point
which is known as the vertical line test. The graphs of the circles,
ellipses, hyperbolas, and some parabolas are not the graph of functions
since some vertical lines intersect these graphs twice.
12
2 x + 4, x 0
[1] f ( x) = x 3 , 0 x 2
1, x2
D(f )=R and for x<0: f<4, 0<x<2: 0≤f<8 and for x 2 : f = 1
→ R( f ) = (−,8) .
2 x + 1, x 0
[2] f ( x) = 2
x , x0
The domain of f is the set of all real numbers and the range of f is also
the set of all real numbers. D( f ) = (−, ), R( f ) = (−, ) .
Function Classifications:
According to the method of evaluation, the function can be classified as:
algebraic and non-algebraic (transcendental) functions. A function f is
said to be algebraic if we are able to determine f(x) using only the five
basic algebraic operations (addition, subtraction, multiplication, division
and roots finite number of times). Otherwise, it is non-algebraic.
The algebraic function is classified into polynomial (integral), rational
and irrational function.
The polynomial takes the form f ( x) = a o + a1 x + ... + a n x n where
a o , a1 ,..., a n are real constants, n is a positive integer.
13
The non-algebraic function can be divided into elementary and special
functions. The elementary functions group the trigonometric, inverse
trigonometric, exponential, logarithmic, hyperbolic, and inverse
hyperbolic functions. The special functions include functions of special
form as gamma, beta, Legendre, and Bessel functions, etc.
x
[3] x (non-algebraic, elementary, exponential)
1 + x2
[6] 3 (algebraic, rational)
x −x+4
1+ x
[7] (algebraic, irrational)
x( x + 1) 3
Geometric Properties: They are properties for the graph of the function
y=f(x). y
x2/3
(1) Symmetry property:
a) The graph of the function is
symmetric about the y-axis
if f(x) is an even function; x
f(-x)=f(x), xD(f )
Example: f ( x) = x 2 / 3
→ f (− x) = (− x) 2 / 3 = x 2 / 3 = f ( x)
Example: f ( x) = x 1 / 3
→ f (− x) = (− x)1/ 3 = − x1/ 3 = − f ( x)
[1] f ( x) = 5 x 3 − x → f (− x) = −5 x 3 + x = −(5 x 3 − x) = − f ( x)
f is an odd function.
f is an even function
x −x x
[5] f ( x) = → f (− x) = = − = − f ( x) , f is an odd function.
x (− x) x
16
The Basic Functions: The functions that are important in applications.
(1) The power function: f(x)=xn, it can be classified according to the
number n as follows: n=1
(c) n = 1 / m , mN:
It is called the root function n = 1/ 3
for the exponent m. It is an algebraic
irrational with domain R for m odd and x≥0 for m even.
17
(d) n = / m, , m N :
It is an algebraic irrational and
n = 2/3
can be written as f ( x) = m x and it
may be even as x 2 / 3 or odd as
18
but for sec and cosec, we have, sec 1, cos ec 1 , then the range of
y y
x x
y y
x x
y
y
x
x
19
f(x)=secx, D(f )=R-{(2n+1)/2, nZ}, R(f )=R-(-1,1)
1
[1] f ( x) = → D( f ) = R − + 2n , n
1 − sin x 2
1 − cos x
[3] f ( x) = → D(f )=R–{0}
x
tan x
[4] f ( x) = → D( f ) = R − (2n + 1) / 2, n Z ,0
x
5
[5] f ( x) = → D(f )=R
3 − cos x
Symmetry property:
The sine function is an odd; its graph is symmetric with respect to the
origin. The cosine function is an even function; its graph is symmetric
with respect to the y-axis. Then sin( − x) = − sin x, cos( − x) = cos x and in turn
20
→ f(x) is an odd function.
Important Identities:
1 1
sin 2 x = (1 − cos 2 x), cos2 x = (1 + cos 2 x)
2 2
The two functions f and g can be added, subtracted and multiplied on the
intersection of their domains, therefore
D(f +g)=D(f -g)=D(f g)=D(f )D(g)
We can form the quotient on the intersection of the domains of f and g
and, at the points x where g ( x) 0,
D(f /g)=D(f ) D(g)-{zeros of g(x)}
(f )( x) = f ( x)
21
and linear combinations
(f + g )( x) = f ( x) + g ( x )
f 2 ( x) = (9 − x 2 ) → D( f 2 )=[-3,3]
1 x
Example: For f ( x) = , g ( x) = find
x−2 5x + 7
(f+g)(x), (f g)(x), (f /g)(x), (4g)(x) and determine the domain of each one.
→ D( f + g ) = R − − 7 / 5 , 2
1 x
( f + g )( x) = +
x − 2 5x + 7
→ D( f g ) = R − − 7 / 5 , 2
x
( f g )( x) =
( x − 2)(5 x + 7)
5x + 7
( f / g )( x) = → D( f / g ) = R − − 7 / 5 , 0 , 2
x( x − 2)
22
→ D(4 g ) = R − − 7 / 5
4x
(4 g )( x) =
(5 x + 7)
x
x
c>0 c<0
2 g
F
f
x
x
G
Composition of Functions:
23
f
g
g(x)
x f(g(x))
Then ( f g )( x) = f ( g ( x)) = g ( x) + 3 = x 2 + 3
( g f )( x) = g ( f ( x)) = ( x + 3) 2
( f g )( x) = f ( g ( x)) = ( 3 − x ) 2 − 1 = 2 − x
( g f )( x) = g ( f ( x)) = 3 − ( x 2 − 1) = 4 − x 2
The function consists of first adding 1 and then taking the fifth power.
We can write, g ( x) = x + 1 (adding 1) and f ( x) = x 5 (taking fifth power)
24
As in addition, there is a special case of composition that is worth noting.
For a function f and a number c, let g(x)=f(x-c) for all x in the domain of f
such that x-c is also in the domain of f. Then the function g is called a
horizontal translation (or horizontal shift) of f because the graph of g is
simply the graph of f shifted c units to the right if c>0, or c units to the
left if c<0as shown in figure.
y y
g
f f
g
c x
c x
c>0
c<0
y
y
f
F
G g
x
1
x
2
1
Example: If f ( x) = , g ( x) = x 2 + 1, h( x) = cos x
x
25
1 1 1
Then ( f g h)( x) = f ( g (h( x))) = = =
g (h( x)) (h( x)) + 1 cos x + 1
2 2
Inverse Functions
One-to-One Functions:
A function can take on the same value at different points of its domain.
Constant functions, for example, take on the same value at all points of
their domains. The quadratic function f ( x) = x 2 takes on the same value
There is a simple geometric test, called the horizontal line test, which can
be used to determine whether a function is one-to one. If some horizontal
line intersects the graph more than once, then the function is not one-to-
one. If, on the other hand, no horizontal line intersects the graph more
than once, then the function is one-to-one.
Inverses:
26
Let f be a one-to-one function. The inverse of f , denoted by f −1 , is the
single function with domain equals to the range of f that satisfies the
equation: f ( f −1 ( x)) = x for all x in the range of f .
Remarks:
(1) The “-1” in the notation for the inverse of f is not an exponent;
f −1 ( x ) does not mean 1 / f ( x ) .
Solved Problems
1
(1) Find the inverse of y = x + 1 .
2
Interchange x and y: y = 2 x − 2
1
f ( x) = x + 1, f −1 ( x) = 2 x − 2
2
1 1
Check: f −1 ( f ( x)) = 2( x + 1) − 2 = x, f ( f −1 ( x)) = (2 x − 2) + 1 = x
2 2
Interchange x and y: y = x
27
−1
f ( x) = x 2 , x 0, f ( x) = x
f ( y ) = x → y 3 = x → y = x1/ 3 , thus, f −1 ( x) = x1 / 3 .
(4) Show that the linear function y = 3x − 5 is one-to-one. Then find its
inverse.
−1
To find the inverse, let y = f ( x) and solve the equation f ( y ) = x for y:
1 1
f ( y ) = x → 3 y − 5 = x → y = ( x + 5) → f −1 ( x) = ( x + 5)
3 3
f ( y ) = x → (1 − y 3 )1 / 5 + 2 = x → 1 − y 3 = ( x − 2) 5
→ y = (1 − ( x − 2) 5 )1/ 3 → f −1 ( x) = (1 − ( x − 2) 5 )1/ 3
28
LIMITS
Introductory Example: A man which is at a distance 4m from a wall is
moving towards the wall such that in each step he covers half the distance
to the wall. Then the steps are;
4m
2m, 1m, 0.5m, 0.25m, … ,4(0.5)n , …
The question is: Is the man 2m
30
x f(x) x f(x)
1.1 2.1 0.9 1.9
1.01 2.01 0.99 1.99
1.001 2.001 0.999 1.999
1.000001 2.000001 0.999999 1.999999
x f(x) x f(x)
1.1 1.909090909 0.9 2.11111111
1.01 1.99009901 0.99 2.01010101
1.001 1.999000999 0.999 2.001001001
1.0001 1.999900010 0.9999 2.000100010
1.00001 1.99998000 0.99999 2.000010000
1.000001 1.99999800 0.999999 2000002000
1.0000001 1.9999998 0.9999999 2.000000200
f(x) approaches 2 as x → 1 .
− 6 x f(x)
Example: f ( x) = x10 ,x→ 0 10 -3
0.99999309
10-6 0.999986185
Although of the large number of 10-9 0.999979277
10-20 0.999972369
steps, we are still far from the limit . .
10-99 0.999772070
zero.
31
Example:
x f(x)
(1 + x)10 − 1
9
f ( x) = , x →0
10-7 2 . 6 8 8 1 0 3 7 0 1×1 0 5 0
x 10-8 2 . 2 0 2 5 4 6 4 6×1 0 1 2
10-9 1.71828×109
This example presents another
disadvantage of the method. We are still far from the limit 109 and we
are not able to choose x=10-10 due to storage problem in computers. If we
stop at the last step in table, then we have estimated the limit with an
error greater then 70%. Then in precise terms we can define the limit as
follows.
32
0, x 0
Example: unit step function U ( x) =
1, x 0
The unit step function U (x) has no limit as x → 0 because its value jumps
at x = 0 . For negative values of x arbitrarily close to zero, U ( x) = 0 . x
arbitrarily close to zero, U ( x) = 1 . There is no single value x approaches by
U as x → 0 .
1 / x, x 0
Example: g ( x) = it has no limit as x → 0 because the
0, x = 0
absolute value of g grows arbitrarily large as x → 0 and do not stay close
to any real number as x → 0 .
0, x 0
Example: f ( x) = it oscillates too much to have a limit:
sin(1 / x), x 0
f has no limit as x → 0 because the values of f oscillate between (+1)
and (-1) in every open interval containing 0. The values do not stay
close to any real number as x → 0 .
Theorem: If f has a limit L at a point x o then this limit has a single
value.
Theorems for Finding Limits:
If f and g are two functions that have the limits
lim f = L, lim g = M , then;
x → xo x → xo
1. xlim cf = cL (c is a constant)
→x o
lim f
f x → xo L
4. xlim = = ,M 0
→ xo g lim g M
x → xo
33
f
lim
5. x→ does not exist if M = 0, L 0 .
x o g
Theorem:
1. lim c = c (c is a constant) , lim x = xo
x → xo x→ xo
where bo + b1 x o + ... + bm x o 0 .
m
1. lim ( f ) n = ( lim f ) n , n N
x→ xo x→ xo
3. lim f ( x) = lim f ( x)
x→ xo x→ xo
8x 8(2) − 14
[1] lim ( x 2 − 7 x + ) = (2) 2 − 7(2) + =
x →2 x +1 2 +1 3
4x 2 − 6x + 3 4(1 / 2) 2 − 6(1 / 2) + 3
[2] xlim = =1
→1 / 2 16 x 2 + 8 x − 7 16(1 / 2) 2 + 8(1 / 2) − 7
2 + 5 x − 3x 3 2 + 5(3) − 3(3)3
[4] lim 3 = 3 = −2
x →3 x2 − 1 (3) 2 − 1
(2 + x) 3 − 8 8 + 12 x + 6 x 2 + x 3 − 8
[5] lim = lim = lim (12 + 6 x + x 2 ) = 12
x →0 x x → 0 x x →0
or using factoring,
34
(2 + x) 3 − 8 (2 + x − 2)((2 + x) 2 + 2(2 + x) + 4)
lim = lim
x →0 x x →0 x
x 3 − 2x 2 x 2 ( x − 2) x2 4
[6] lim = lim = lim =
x →2 3x − 6 x → 2 3( x − 2) x →2 3 3
x−4 x−4 1 1
[7] lim = lim = lim =
x →4 x − x − 12
2 x → 4 ( x − 4)( x + 3) x → 4 x+3 7
x −9 ( x − 3)( x + 3)
[8] lim = lim = lim x + 3 = 6
x→ 9 x −3 x→ 9 ( x − 3) x→ 9
16 − (16 + x) −1 1
= lim = lim =−
x →0
x(4 + 16 + x ) x →0
4 + 16 + x 8
x2
[10] lim does not exist
x→1 x −1
4 − x2 (4 − x 2 )(3 + x 2 + 5 )
[12] lim = lim
x →2 x →2
3 − x2 + 5 (3 − x 2 + 5 )(3 + x 2 + 5 )
(4 − x 2 )(3 + x 2 + 5 ) (4 − x 2 )(3 + x 2 + 5 )
= lim = lim = lim (3 + x 2 + 5 ) = 6
x →2 9 − ( x + 5)
2 x → 2 4− x 2 x →2
4 − x2 (2 − x)(2 + x) 2+ x
[13] lim = lim = lim =2
x →2
6 − 5x + x 2 x →2 (2 − x)(3 − x) x→2 3− x
y −3 y −3 y +3 y −9 1 1
[14] lim = lim = lim = lim =
y→ 9 y −9 y→ 9 y −9 y +3 y→ 9
( y − 9)( y + 3) y→ 9
y +3 6
y− c y− c y+ c y −c 1 1
[15] lim , c 0 = lim = lim = lim =
y →c y −c y →c y −c y+ c y →c
( y − c)( y + c ) y →c
y+ c 2 c
35
[16] lim 1 + x − 1 − x = lim 1 + x − 1 − x 1 + x + 1 − x
x →0 x →0
x x 1+ x + 1− x
1+ x −1+ x 1
= lim = 2 lim =1
x →0
x( 1 + x + 1 − x ) x →0
1+ x + 1− x
x 2 − 2 x + 3, x 3
[19] lim f ( x) , where f ( x) =
x →3
8, x=3
lim f ( x) = lim x 2 − 2 x + 3 = 6
x →3 x →3
x2 − 9
, x3
[20] lim f ( x) , where f ( x) = x − 3
x →3
− 3, x=3
x2 − 9 ( x − 3)( x + 3)
lim f ( x) = lim = lim = lim ( x + 3) = 6
x→3 x→3 x − 3 x→3 x −3 x→3
xn − an
Theorem: lim = na n−1 , n N
x →a x−a
Example: Find each of the following limits:
x3 − a3
[1] lim = 3a 2
x →a x−a
x →a x −a x →a x−a x+a 2a 2
x3 − 8 x 3 − 23 x − 2 3(2 2 ) 3
[3] lim = lim = =
x →2 x 4 − 16 x→2 x − 2 x 4 − 2 4 4(2 3 ) 8
(1 + x)100 − 1
[4] lim
x →0 x
(1 + x)100 − 1 y 100 − 1
Let x + 1 = y → lim = lim = 100
x →0 x y →1 y −1
36
y7/ 2 −1
[5] lim
y →1
y −1
y7/ 2 −1 z7 −1
Let y = z → lim = lim =7
y →1
y −1 z →1 z −1
x −1n n
x −1 y −1 1
[6] lim , let n
x = y → x = y → lim n
= lim n =
x →1 x − 1 x →1 x −1 y →1 y −1 n
Theorem:
1. lim cos x = 1, lim sin x = 0,
x →0 x →0
sin x
3. lim sec x = sec xo , lim csc x = csc xo , lim cot x = cot xo , lim
x →0
= 1.
x → xo x → xo x → xo x
sin 5 x 5 sin 5 x 5
[1] lim = lim ( )=
x →0 2x x →0 2 5x 2
2 x + 1 − cos x 2 x 1 1 − cos x 2 1 2
[4] lim = lim ( + ( )) = + .0 =
x →0 3x x →0 3 x 3 x 3 3 3
[5] lim sin 2 x = lim 2 sin 2 x , let 2 x = y → lim 2 sin 2 x = lim 2 sin y = 2
x →0 x →0 x →0 y →0 y
x 2 x 2 x
37
1 1 1 1
= lim (sin x) = .0. = 0
2 x →0 cos x(1 + cos x) 2 2
x2 x 2 cos 2 2 x 1 (2 x) 2
[9] lim 2
= lim 2
= lim 2
cos 2 2 x
x →0 tan 2 x x →0 sin 2 x 4 x →0 sin 2 x
1 2x 2 1 1
= lim ( ) cos 2 2 x = .1.1 =
4 x→0 sin 2 x 4 4
tan ax (sin ax) (cos bx) a(sin ax) /(ax) (cos bx) a
[12] lim = lim = lim =
x →0 tan bx x →0 (sin bx) (cos ax) x→0 b(sin bx) /(bx) (cos ax) b
sin( x + / 4) − 1
[17] lim , let y = x − / 4
x → / 4 x − /4
38
sin( x + / 4) − 1 sin( y + / 2) − 1 cos y − 1
→ lim = lim = lim =0
x → / 4 x − /4 y →0 y y →0 y
sin 2 ( x + / 4) − 1 1 − cos2 ( x + / 4)
= lim = lim
x→ / 4 ( x − / 4) 2 (sin( x + / 4) + 1) 2 x→ / 4 ( x − / 4) 2
−1 sin 2 ( y − / 2) − 1 −1
= lim = .1 =
2 y→ / 2 ( y − / 2) 2
2 2
As the sine (or cosine) function is bounded between the two values -1
and 1 for all xR, then
-1 ≤ sin (1/x2) ≤1 → − x 2 x 2 sin(1 / x 2 ) x 2 , but;
lim − x 2 = lim x 2 = 0 → lim x 2 sin(1 / x 2 ) = 0
x→0 x→0 x→0
If x>0, -x ≤ xsin (1/x) ≤x, and if x<0, x ≤ xsin (1/x) ≤-x. Thus, for x 0 ,
− x x sin(1 / x) x . Since both x → 0 and − x → 0 as x → 0 , the
39
− x sin( x) x . Since both x → 0 and − x → 0 as x → 0 , the pinching
Also, there are other cases where the two limits from left and right-side
are not equal such as the sign function;
x / x, x 0
f ( x) = sgn( x) = sgn(x)
0, x=0
1
lim− sgn( x) = −1, lim+ sgn( x) = 1
x →0 x →0
All the theorems of limits are applied for the limit of one side.
40
Solved Problems
[1] Find the right and left limits at x = 0 and x = 2 for
− x + 1, x0
2
f ( x) = x , 0 x2
x +1
, x2
2
x +1 3
lim x 2 = 4, lim+ = → lim f ( x) (does not exist)
x →2 − x →2 2 2 x→2
3 − x, x 1
[2] Find lim f ( x) where f ( x) = 4, x =1
x→1
x 2 + 1, x 1
− x + 6, x3
[3] Find lim f ( x) , where f ( x) = − 1, x=3
x→3
x, x3
x 2 , x 1
lim
[4] Find x→0 g ( x ) and x→1
lim g ( x ) where g ( x ) =
− 2 x, x 1
x, x0
[5] Find lim u ( x) , where u ( x) = 1
x→0
, x0
x
1
lim− u ( x) = lim− x = 0, lim+ u ( x) = lim+ does not exist
x→0 x→0 x→0 x→0 x
41
lim u ( x) does not exist.
x→0
x −1
, x 1
x −1 x − 1 x 2 − 1
[6] Find lim → 2 =
x →1 x − 1
2
x − 1 − ( x − 1)
, x 1
x 2 − 1
− ( x − 1) −1 −1 x −1 1 1 x −1
lim− = lim− = , lim+ 2 = lim+ = → lim 2 does not exist.
x→1 x −1
2
x→1 x + 1 2 x→1 x − 1 x→1 x + 1 2 x →1 x −1
3x − 1
of x=4 and therefore lim does not exist.
x→4 4− x
x−2
neighborhood of x=2/3 and consequently xlim does not exist.
→2 / 3 2 − 3x
42
is getting close to it as x → 0 . In this case, we say that as x → 0 + , 1/x
increases continuously, and then we write lim 1 / x = . Similarly
x →0 +
x x
a a y y
We notice that the distance between a point on the graph of f and the
dotted vertical line approach zero as the point moves vertically along and
away from point a and we say that the line x = a is a vertical asymptote
of the graph of f , observe that the denominator is zero at x = a .
Definition: A line x = a is a vertical asymptote of the graph y = f (x) if
either, lim f ( x) = , or lim f ( x) =
x →a − x→a +
Solved Problems
(1) Find each of the following limits and the vertical asymptotes:
1
[1] lim
x →2 ( x − 2) 3
1 1 1 1 1
lim− = − = −, lim+ = + = → lim does not exist.
x →2 ( x − 2) 3
0 x →2 ( x − 2)
3
0 x →2 ( x − 2) 3
43
x = 2 is a vertical asymptote.
[2] xlim
→ / 2
tan x
sin x 1 sin x 1
lim − = + = , lim + = − = − → lim tan x does not exist.
x→ / 2 cos x 0 x→ / 2 cos x 0 x→ / 2
x = / 2 is a vertical asymptote.
5
[3] lim
x→4 x−4
5 1 5 1 5
lim− = − = −, lim+ = + = → lim does not exist.
x →4 x−4 0 x →4 x − 4 0 x →4 x − 4
x = 4 is a vertical asymptote.
8
[4] lim
x →( −5 / 2 ) 2x + 5
8 1 8 1 8
lim = − = −, lim = + = → lim does not exist.
x →( −5 / 2 ) −
2x + 5 0 x →( −5 / 2 ) +
2x + 5 0 x →−5 / 2 2 x + 5
x = 5 / 2 is a vertical asymptote.
1
[5] lim
x →3 x( x − 3) 2
1 1 1 1 1
lim− = + = , lim+ = + = → lim = (does not exist).
x →3 x( x − 3) 2
0 x →3 x( x − 3) 2
0 x →3 x( x − 3) 2
x = 3 is a vertical asymptote.
−1
[6] lim
x → −3 ( x + 3) 2
−1 1 −1 1 −1
lim− = − = −, lim+ = − = − → lim = − (does not exist).
x → −3 ( x + 3) 2
0 x → −3 ( x + 3) 2
0 x → −3 ( x + 3) 2
x = − 3 is a vertical asymptote.
1
[7] lim
x →2 ( x − 2) 3
44
1 1 1 1 1
lim− = − = −, lim+ = + = → lim does not exist.
x →2 ( x − 2) 3
0 x →2 ( x − 2) 3
0 x →2 ( x − 2) 3
x = 2 is a vertical asymptote.
1
[8] lim
x →0 x
1 1 1 1 1
lim− = − = −, lim+ = + = → lim does not exist.
x →0 x 0 x →0 x 0 x →0 x
x = 0 is a vertical asymptote.
x −1 x −1
[9] lim , lim
x →−3 ( x + 3)( x − 2) x → 2 ( x + 3)( x − 2)
x −1 1 x −1 1
lim− = − = −, lim+ = + =
x →−3 ( x + 3)( x − 2) 0 x →−3 ( x + 3)( x − 2) 0
x −1
→ lim does not exist.
x→−3 ( x + 3)( x − 2)
x = − 3 is a vertical asymptote.
x −1 1 x −1 1
lim− = − = −, lim+ = + =
x →2 ( x + 3)( x − 2) 0 x →2 ( x + 3)( x − 2) 0
x −1
→ lim does not exist.
x→2 ( x + 3)( x − 2)
x = 2 is a vertical asymptote.
( x + 2)(− x + 1)
[10] lim
x →3 x−3
( x + 2)(− x + 1) 1 ( x + 2)(− x + 1) 1
lim− = + = , lim+ = − = −
x →3 x−3 0 x →3 ( x − 3) 0
( x + 2)(− x + 1)
→ lim does not exist.
x→3 x −3
x = 3 is a vertical asymptote.
45
x
[11] lim
x →0 x
x −x x x x
lim− = lim− = −1, lim+ = lim+ = 1 → lim does not exist.
x →0 x x →0 x x →0 x x →0 x x →0 x
x = 0 is a vertical asymptote.
describe the behavior of a function when the values in its domain outgrow
all finite bounds. If the limit exists and equals a real number L, we said
that the limit at infinity exists. The lines y=L are asymptotic horizontal
lines. The result is important as it determines the behavior of a function
toward the extremes of its domain which is sometimes called its end
behavior. For example, the function f ( x) = 1 / x is defined for all x 0 .
When x is positive and becomes increasingly large, 1 / x becomes
increasingly small. When x is negative and its magnitude becomes
increasingly large, 1 / x again becomes small. We summarize these
observations by saying that f ( x) = 1 / x has the limit 0 as x → and y = 0
is a horizontal asymptote for the graph of f .
Definition: A line y = b is a horizontal asymptote of the graph y = f (x) if
either, lim f ( x) = b, or lim f ( x) = b
x → x → −
1 1
(3) lim = 0, lim = 0,
x→ x x→− x
46
1
(4) If k is a positive rational number, then lim =0
x → xk
provided that 1/xk is defined.
− , n = 1,3,5, ...
(5) lim x n = , n = 1,2,3, ... , lim x n =
x→ x→−
+ , n = 2,4,6, ...
Example:
1 1
[1] lim = 0, lim =0
x→ x4 x→− x4
The end behavior of a polynomial matches the end behavior of its highest
degree term. If cn 0 then
Example:
[1] xlim (7 x 5 − 4 x 3 + 2 x − 9) = lim 7 x 5 = −
→− x→−
in the denominator d(x) from both n(x) and d(x). The denominator of the
resulting fraction then has a (non-zero) limit equal to the leading
coefficient of d(x), so the limit of the resulting fraction can be quickly
determined using the previous theorems.
47
Example: Find each of the following limits and the horizontal asymptotes:
2x 2 − 6 (2 x 2 − 6) / x 2 2 − 6 / x2
[1] lim = lim = lim = 1/ 3
x → 6 x 2 + 3x − 2 x→ (6 x 2 + 3x − 2) / x 2 x→ 6 + 3 / x − 2 / x 2
y = 1 / 3 is a horizontal asymptote.
y = 1 / 2 is a horizontal asymptote.
6x 2 + 2x +1 (6 x 2 + 2 x + 1) / x 2 6 + 2 / x + 1/ x 2
[3] lim = lim = lim =1
x→ 6 x 2 − 3x + 4 x→ (6 x 2 − 3x + 4) / x 2 x→ 6 − 3 / x + 4 / x 2
y = 1 is a horizontal asymptote.
x2 + x + 2 ( x 2 + x + 2) / x 3 1 / x + 1 / x 2 − 2 / x3 0
[4] lim = lim = lim = =0
x→ 4 x 3 − 1 x→ ( 4 x 3 − 1) / x 3 x→ 4 − 1 / x3 4
y = 0 is a horizontal asymptote.
2 x3 2 x3 / x 2 2x
[5] lim = lim = lim = lim 2 x = .
x→ x + 1 x→ ( x + 1) / x
2 2 2 x→ 1 + 1 / x 2 x→
5x 3 − 2 x 2 + 1 (5 x 3 − 2 x 2 + 1) / x 5x 2 − 2 x + 1 / x
[6] lim = lim = lim = lim 5 x 2 = .
x →− 3x + 5 x →− (3x + 5) / x x →− 3 + 5/ x x →−
( x 2 + x + 1 − x)( x 2 + x + 1 + x) ( x 2 + x + 1) − x 2
[7] lim ( x 2 + x + 1 − x) = lim = lim
x → x → x →
( x 2 + x + 1 + x) x2 + x +1 + x
( x + 1) / x ( x + 1) / x 1 + 1/ x 1
= lim = lim = lim =
x → x → x →
( x + x + 1 + x) / x
2
x + x +1 / x + x / x
2 2
1 + 1/ x + 1/ x + 1
2 2
y = 1 / 2 is a horizontal asymptote.
9x 2 + 2 9x 2 + 2 / x 9x 2 + 2 / x 2
[8] lim = lim = lim
x → − 4x + 3 x → − ( 4 x + 3) / x x → − ( 4 x + 3) /( − x )
9 + 2 / x2 3 3
= lim = lim =−
x →− − ( 4 + 3 / x) x → − − 4 4
48
y = −3 / 4 is a horizontal asymptote.
sin x
[9] lim
x →
, − 1 sin x 1 → − 1 sin x 1 , x 0
x x x x
y = 0 is a horizontal asymptote.
3 cos x − 2 − 5 3 cos x − 2 1
[10] lim
x→
, − 1 cos x 1 →
x x x x
−5 1 3 cos x − 2
lim = lim = 0 → lim =0
x→ x x → x x → x
y = 0 is a horizontal asymptote.
1
[12] lim ( x − / 2) cos2 ( )
x → / 2 x − / 2
1 1 1 2
lim ( x − / 2) cos 2 ( ) = lim ( x − / 2)( + cos( ))
x → / 2 x − / 2 x→ / 2 2 2 x − /2
1 1 2 ( x − / 2) 2
= lim ( x − / 2) + lim ( x − / 2) cos( ) = lim cos( )
2 x → / 2 2 x → / 2 x − /2 x → / 2 2 x − /2
Let x − / 2 = 2 / y then x → ( / 2) − → y → − , x → ( / 2) + → y →
( x − / 2) 2 cos y
lim − cos( ) = lim =0
x → / 2 2 x − / 2 y → − y
( x − / 2) 2 cos y
lim + cos( ) = lim =0
x → / 2 2 x − /2 y → y
( x − / 2) 2
→ lim cos( )=0
x → / 2 2 x − / 2
y = 0 is a horizontal asymptote.
2x 2 − 3 2 8 − 115
f ( x) = =( x− )+ (by division)
7x + 4 7 49 49(7 x + 4)
The first term in the right side is the linear function g while the second
term is the remainder whose magnitude gives the vertical distance
between the graphs of f and g and goes to zero as x → , making the
2 8
line x− an asymptote for graph of f from right and left.
7 49
x2 − 3
Example: Finding asymptotes for f ( x) =
2x − 4
x2 − 3 x2 − 3 x2 − 3
lim = , lim+ = , lim− = −
x → 2 x − 4 x →2 2 x − 4 x →2 2 x − 4
x2 − 3 1 1
f ( x) = = ( x + 1) + (by division)
2x − 4 2 2x − 4
1
The line y = x = 1 is an oblique asymptote both to the right and left
2
1
f ( x) x + 1 for x numerically large
2
1
f ( x) for x near 2.
2x − 4
50
CONTINUITY
Continuity
Definition: A function f is said to be continuous if its graph is
continuous, that is the graph can be sketched over its domain in one
continuous motion without lifting the pencil.
y
Types of Discontinuity
(1) f is not defined at x=a.
This results in a hole in the graph.
Example: x
a
x −x−2
2
f ( x) = , f is not defined at x=2.
x−2
( x − 2)( x + 1)
But lim f = lim = 3 , then the limit exists.
x →2 x →2 ( x − 2)
(2) f is defined at x=a and the limit at x= a exists, but they are not equal.
This results in a hole.
y
Example: .
x2 − x − 2
, x2
f ( x) = x − 2
4, x=2
f ( 2) = 4 (f is defined) ,
a x
lim f = 3 (as before) but, f (2) lim f
x→2 x →2
The first and second types ((i) and (ii)) are called removable
discontinuities, as the value of f can be given the value of the limit
which fills the hole.
y
(3) f may be defined or not at x= a, but
the limit does not exist, as the right limit
is not equal to the left limit although both
exist. This results in a jump in the graph. x
a
52
x / x, x 0
Example: f ( x) = → lim− f = −1 lim+ f = 1
1, x=0 x →0 x →0
y
(4) The right limit and/or the left limit
does not exist, lim f = and/or
x →a +
x
This type is known as infinite
discontinuity.
-
(5) Oscillating discontinuity: The right limit and/or the left limit does not
exist, as the value of f oscillates and is not approaching a single real
number.
2 2 2
Example: f ( x) = sin( ) → lim+ sin( ), lim− sin( ) oscillates between 1
x x →0 x x →0 x
Then, we conclude that for f to be continuous at x=a, we must have the
following conditions:
(1) f is defined at x=a, (2) lim f exists, (3) lim f = f (a)
x→ a x →a
Notice that, condition (3) includes implicitly conditions (1) and (2). But
writing the three conditions illustrates the sequence of steps that should
be used in discussing continuity. It should be noted that the above three
conditions of continuity are tested at the points that lie in the domain of f
or at the end points of that domain. The function f is said to be
discontinuous at a if it is not continuous there.
Remark: Recall that in the definition of “limit of f at c” we did not
require that f be defined at c itself. In contrast, the definition of
“continuity at c” requires that f be defined at c.
53
Definition: Continuity at a point
Interior point: A function y = f (x) is continuous at an interior point c of
its domain if lim f ( x) = f (c) and called both right continuous and left
x →c
continuous.
End point: A function y = f (x) is continuous at a left end point a or is
continuous at a right end point b of its domain if,
lim + f ( x) = f (a) and called right continuous at a
x →a
x0
Example: The unit step function U ( x) =
1,
is right-continuous at
− 1, x 0
(3) lim f ( x ) = f (c )
x →c
For one-sided continuity and continuity at an end point, the limits in part
(2) and (3) of the test should be replaced by the appropriate one-sided
limits.
Solved Problems
54
(1) Prove that f = 3 x + x is continuous at x = −8
f (−8) = 3 − 8 + − 8 = −2 + 8 = 6
lim f = lim 3
x + x =6
x → −8 x → −8
(2) Show why each of the following functions is not continuous at the
given point a
1
, x0
[1] f ( x) = x , a=0
0, x=0
(infinite discontinuity).
x2 − 4
, x2
[2] f ( x) = x − 2 , a=2
5, x=2
x2 − 4 ( x − 2)( x + 2)
f (2) = 5, lim = lim = 4 → f (2) lim f (hole discontinuity).
x→2 x − 2 x→2 x−2 x→2
x−4
[3] f ( x) = x − 4 , x 4 , a=4
1, x=4
f (4) = 1, lim− f = −1, lim+ f = 1 → lim f does not exist (jump discontinuity).
x →4 x →4 x→4
3
[4] f = , a = −1
x +1
55
1, x3
[5] f ( x) = , a =3
0, x=3
sin x
x0
[6] f ( x) = x
,
, a=0
0, x=0
x3 − 1, x 1
[7] f ( x) = , a=1
4 − x, x 1
1 − cos x
x0
[8] f ( x) = x
,
, a=0
1, x=0
1 − cos x
f (0) = 1, lim = 0 → f (0) lim f (hole discontinuity).
x→0 x x→0
x − 1, x 1
[9] f ( x) = , a=1
1, x =1
x 2 + 1, x 1
[10] f ( x) = 1, x =1 , a=1
x + 1, x 1
sin( x − 1)
x 1
[1] f ( x) = x 2 − 3x + 2
,
, a=1
c, x =1
56
sin( x − 1) sin( x − 1) 1
f (1) = c = lim = lim ( ) = −1
x →1 x − 3x + 2 x→1 ( x − 1) x − 2
2
x x2 + 1
, x0
[2] f ( x) = x , a=0
2
2 x − 3 x + c , x0
x x2 +1 x x2 +1
f (0) = c, lim− = lim− = lim− − x 2 + 1 = −1,
x →0 x x → 0 −x x →0
lim+ 2 x 2 − 3x + c = c → c = −1
x →0
2. f is continuous at x = c .
3. f r / s is continuous at x = c (provided that it is defined on an open
interval containing c where r and s are integers.
57
Theorem:
1. Every polynomial P( x) = ao + a1 x + a 2 x 2 + ... + a n x n , n N is continuous
for xR.
P( x) ao + a1 x + a 2 x 2 + ... + a n x n
2. The rational function: = , n, m N
Q( x) bo + b1 x + b2 x 2 + ... + bm x m
x3 − 3
Example: The function F ( x) = 3 x + 2 + 4 is continuous on R at
x − 5x + 6
all real numbers other than 2 and 3, we can see this by noting that
F ( x) = 3 f + g / h + k where f = x , g = x 3 − 3, h = x 2 − 5 x + 6, k = 4 .
Solved Problems
4x − 7
[1] f ( x) =
( x + 3)( x 2 + 2 x − 8)
x −1 x −1
[2] f ( x) = =
x + x − 2 ( x + 2)( x − 1)
2
58
x-1 and x2+x-2 are continuous on R, but x2+x-2=0 at x=-2 or 1, then f is
continuous on R − − 2,1 .
x2 − 9
[3] f ( x) =
x−3
x
[4] f ( x) =
x +1
2
( x + 3) 1 + x 2
[5] f ( x) = → x 3 − 2 x = 0 → x = 0, 2
( x 3 − 2 x)
→ f is right-continuous at x=0.
→ f is discontinuous at x = 1
59
Then f is continuous for x R − {1,4} .
− x , x −1
[7]
f ( x ) = 4 − x 2 , −1 x 2
1
x − 1, x2
2
discontinuous at x = −1 .
x
At x=2: f (2) = 0, lim 4 − x 2 = 0, lim − 1 = 0 → lim f exists, f is continuous
− +
x →2 x →2 2 x →2
5 x 2 + b, x 1
[1] f ( x) = 3b, x =1
ax + b, x 1
→ 3b = 5 + b → b = 5 / 2, 5 + b = a + b → a = 5
4 x , x −1
[2] f ( x) = ax + b, − 1 x 2
− 5 x , x2
60
Solving Eqs. (1) and (2) gives; 3a = −6 → a = −2 → b = −6
x 2 + 2, x0
[3] f ( x) = ax + b, 0 x 3
x2 − 9
, x3
x − 3
lim− x 2 + 2 = 2, lim+ ax + b = b → b = 2
x→0 x→0
x2 − 9 4
lim− ax + b = 3a + b, lim+ = 6 → 3a + 2 = 6 → a =
x→3 x→3 x −3 3
Solved Problems
sin x
[1] f ( x) = tan x = , f is continuous x except for x which satisfies
cos x
cosx=0 → x = (2n + 1) / 2, n Z .
cos x
[2] f ( x) = cot x = , sinx=0 → x = n , n Z .
sin x
1 + sin x
[3] f ( x) =
x
61
sinx is continuous over R → sin x is continuous over R
[4] f ( x) = cos x − 1
2
sin x
→ f is continuous on R − n , n Z .
3x + sin x 3
[5] f ( x) = ( )
x
→ f is continuous on R − 0 .
62
x 3 , x −1
2
x − 2, −1 x 1
[2]
f ( x) = 6 − x, 1x 4
6
, 4 x7
7 − x
5 x + 2, x7
and 7.
At x=-1: f (−1) = (−1) 3 = −1 , lim f ( x) = lim ( x 3 ) = −1 and
x →−1− x →−1−
6
lim+ f ( x) = lim+ = 2 . Thus, f is discontinuous at x=4.
x →4 x →4 7−x
6
At x=7: f (7) = 5(7) + 2 = 37 , lim f ( x) = lim = and
x →7 − x →7 − 7−x
lim f ( x) = lim+ (5 x + 2) = 37 . Thus, f is discontinuous at x=7.
x →7 + x →7
63
The function is continuous on [-1,1] because it is continuous on the open
interval (-1,1), continuous from the right at -1, and continuous from left at
1. The function maps the interval [-1,1] onto the interval [0,1].
16 − x 2
[3] f ( x) =
x4 + x2 + 1
R → f is continuous on [-4,4].
[4] f ( x) = 9 − x
x−6
[5] f ( x) = 2 x − 3 + x 2
64
4
[6] f ( x) = 3 is continuous on R-{4} since 4, 3 x − 4 are continuous
x−4
on R.
65
DIFFERENTIATION
&
APPLICATIONS
Differentiation: The derivative of a function
Definition: The derivative of a function f(x) with respect to the variable
x is the function f (x) describes how the function changes with its
independent variable and its value at x is given as
f ( x + h) − f ( x )
f ( x) = lim provided the limit exists
h →0 h
The domain of f (x) is the set of points in the domain of f(x) for which
the limit exists, and the domain of f (x) may be the same or smaller than
the domain of f(x). The domain of f (x) is a subset of the domain of f(x).
If f (x) exists at a particular x, we say that f(x) is differentiable at x (has a
derivative at x). Writing z = x + h , then h = z − x, h → 0 z → x gives the
alternative formula for the derivative as,
f ( z ) − f ( x)
f ( x) = lim provided the limit exists
z→x z−x
Definition: The derivative f (a ) for the function f(x) at a point aD(f )
is defined as;
f ( a + h) − f ( a ) f ( x) − f (a)
f (a) = lim or f (a) = lim where h = x − a
h →0 h x→a x−a
Calculating derivative from the definition
x
[1] Applying the definition, differentiate f ( x) =
x −1
x+h x
−
f ( x + h) − f ( x ) ( x + h)( x − 1) − x( x + h − 1)
f ( x) = lim = lim x + h − 1 x − 1 = lim
h →0 h h →0 h h →0 h( x + h − 1)( x − 1)
−h −1
= lim =
h→0 h( x + h − 1)( x − 1) ( x − 1) 2
1 1
= lim =
z→x
z+ x 2 x
67
[3] Find the derivative of f ( x) = x 2 at x=1
f ( x) − f (1) x2 −1
f (1) = lim = lim = lim x + 1 = 2
x →1 x −1 x →1 x − 1 x →1
f ( x) − f (−2) 1/ x + 1/ 2 x+2 1 −1
f (−2) = lim = lim = lim = lim =
x→−2 x − (−2) x→−2 x+2 x→−2 2 x( x + 2) x→−2 2 x 4
1 1
−
f (h − 2) − f (−2) 2 + (h − 2) − 1
or f (−2) = lim = lim − 2 + h − 2 = lim =
h →0 h h → 0 h h → 0 2h(h − 2) 4
f ( x + h) − f ( x ) ( x + h) 3 − x 3 x 3 + 3x 2 h + 3xh 2 + h 3 − x 3
f ( x) = lim = lim = lim
h→0 h h→0 h h→0 h
3x 2 h + 3xh2 + h3
= lim = lim (3x 2 + 3xh + h 2 ) = 3x 2
h→0 h h→0
69
Notation: There are many ways to denote the derivative of a function
dy df d
y = f (x ) : y = f ( x) = = = f ( x) = D( f )( x) = Dx f
dx dx dx
The symbols d / dx and f (x) D indicate the differentiation operation and
are called differential operators. To indicate the value of the derivative at
a specified point x = xo we use the notation
dy df d
f ( xo ) = = = f ( x)
dx x = xo dx x = xo dx x = xo
df
Example: For f ( x) = x we have = 3x 2
3
dx
70
f ( a + h) − f ( a )
lim h
right-side derivative at a
h →0 +
f ( a + h) − f ( a )
lim h
left-side derivative at b
h →0 −
Solved Problems
f ( x) − f (0) x x x
f (0) = lim = lim , f + (0) = lim+ = 1, f − (0) = lim− = −1
x →0 x x →0 x x →0 x x →0 x
1
For x 0 : f ( x) =
2 x
0+h − 0 h 1
At x = 0 : f ( x) = lim = lim = lim =
h →0 +
h h →0 + h h →0 + h
1 − x, x0
[3] Prove that f is not differentiable at x=0 where f ( x) =
cos x, x0
1 − h −1 cos h − 1
f + (0) = lim+ = −1 f − (0) = lim− =0
h→0 h h→0 h
x 2 , x 1
[4] Find f (−3) and f (1) given that f ( x) =
2 x − 1, x 1
71
By definition,
f (−3 + h) − f (−3) (h − 3) 2 − (−3) 2 h 2 − 6h
f (−3) = lim = lim = lim = −6
h→0 h h→0 h h→0 h
f ( x) = x 2 → f ( x) = 2 x → f (−3) = −6
f (1 + h) − f (1)
f (1) = lim
h→0 h
To the left of 1,
f (1 + h) − f (1) (1 + h) 2 − 1 (1 + 2h + h 2 ) − 1
f − (1) = lim− = lim− = lim− = lim− (2 + h) = 2
h →0 h h →0 h h →0 h h →0
To the right of 1,
f (1 + h) − f (1) (2(1 + h) − 1) − 1
f + (1) = lim+ = lim+ = lim+ 2 = 2 → f (1) = 2
h →0 h h →0 h h →0
a
x , x 1
f ( x) = has a derivative at x=1
b − x , x 1
4
a x 1
f must first be continuous → lim = a = lim (b − ) = b −
x →1− x x →1+ 4 4
→ b −1 / 4 = a (1)
− a = −1 / 4 → a = 1 / 4 → b = 1 / 2
72
[6] Find a and b such that f (1) exists
1 + sin( x − 1), x 1
f ( x) = 2
ax + b, x 1
1 + sin h − (a + b) sin h
f − (1) = lim− = lim− =1
h→0 h h→0 h
a(1 + h) 2 + b − (a + b) a + ah 2 + 2ah + b − (a + b)
f + (1) = lim+ = lim+ = 2a = 1
h→0 h h→0 h
→ a = 1/ 2 → b = 1/ 2
ah + b − b
f + (0) = lim+ = a →a = 2
h→0 h
3x 4 , x 1
[8] Find a and b such that f ( x) = is differentiable
ax + b, x 1
3x 4 − 3 3( x 2 + 1)( x − 1)( x + 1)
f − (1) = lim− = lim− = 12
x →1 x −1 x →1 x −1
ax + b − 3 a( x − 1)
f + (1) = lim+ = 12 → lim+ = a → a = 12 → b = −9
x →1 x −1 x →1 x −1
73
Types of Undifferentiability: A function has a derivative at a point
x = xo if the slopes of the secant lines through P ( xo , f ( xo )) and nearby
x x x
Solved Problems:
(1) Discuss differentiability of f at x=0
x + 1, x0
[1] f ( x) =
x − 1, x0
74
→ f is not differentiable at x=0.
x 2 + x, x0
[2] f ( x) =
x, x0
x2 + x − 0 x−0
f − (0) = lim− = lim− x + 1 = 1, f + (0) = lim+ =1
x →0 x−0 x →0 x →0 x − 0
x4/5 − 0 1 x4/5 − 0 1
f − (0) = lim− = lim− 1/ 5 = −, f + (0) = lim+ = lim+ 1/ 5 =
x→0 x−0 x→0 x x→0 x−0 x→0 x
x
, x0
[4] f ( x) = x
0, x=0
x x
lim− = −1 lim+ = 1 → f is not continuous at x=0
x →0 x x →0 x
[5] f ( x) = x 2 − 2 x = x x − 2 ,
x x−2 −0
f is continuous at x=0, f − (0) = lim = −2
x →0 −
x−0
x x−2 −0
f + (0) = lim+ = 2 → f − (0) f + (0)
x →0 x−0
x 4 + 1, x0
[6] f ( x) = , lim x 4 + 1 = 1 lim x 4 = 0
x →0 − x →0 +
x ,
4
x0
75
(2) Discuss differentiability over the domain:
2 x, x0
[1] f ( x) = 2
x , x0
2( x + h) − 2 x 2h
x 0 : f ( x) = lim = lim =2
h →0 h h →0 h
( x + h) 2 − x 2
x 0 : f ( x) = lim = 2x
h →0 h
2(0 + h) − 0 (0 + h) 2 − 0
At x=0: f − (0) = lim− = 2, f + (0) = lim+ =0
h →0 h h →0 h
x0
f (0) does not exist → f ( x) =
2,
→ D( f ) = R − {0}
2 x, x 0
2 x − 1, x 1
[2] f ( x) = 2
x , x 1
2( x + h) − 1 − (2 x − 1) ( x + h) 2 − x 2
x 1 : f ( x) = lim = 2, x 1 : f ( x) = lim = 2x
h →0 h h →0 h
h→0− h h→0+ h
2, x 1
f ( x) = 2, x = 1 → D( f ) = R
2 x , x 1
[3] f ( x) = 9 − x 2 → D( f ) = [−3,3]
9 − ( x + h) 2 − 9 − x 2 9 − ( x + h) 2 + 9 − x 2
f ( x) = lim ( )( )
h →0 h 9 − ( x + h) 2 + 9 − x 2
9 − ( x + h) 2 − (9 − x 2 ) − h − 2x −x
= lim = lim = , x 3
h →0 h →0
h( 9 − ( x + h) + 9 − x )
2 2
9 − ( x + h) + 9 − x
2 2
9 − x2
where
9 − (−3 + h) 2 9 + (−3 + h) 2 81 − (−3 + h) 4 1
f + (−3) = lim+ ( ) = lim+ = + =
h →0 h 9 + (−3 + h) 2 h →0
h 9 + ( −3 + h ) 2 0
76
( f + (−3) does not exist)
9 − (3 + h) 2 9 + (3 + h) 2 81 − (3 + h) 4 1
f − (3) = lim− ( ) = lim− = + =
h →0 h 9 + (3 + h) 2 h →0
h 9 + (3 + h) 2 0
Differentiation Rules:
Theorem: If f and g are two differentiable functions at a point x and
they have the derivatives f and g then
d
1) (c ) = 0 (c is a constant)
dx
d
2) (cf ) = cf (c is a constant)
dx
d
3) ( f g ) = f g
dx
d
4) + fg
( fg) = f g
dx
d
5) ( f / g ) = ( gf − fg ) / g 2 , g0
dx
d
6) (1 / f ) = − f / f 2 .
dx
77
[2] f ( x) = sin x sec x → f ( x) = cos x sec x + sin x sec x tan x
sin x − cos x
[6] f ( x) =
sin x + cos x
1 x
x (3 x 2 x + x 2 x + ) − (x3 x + x )
x x+ x
3
2 x x
[8] f ( x) = → f= 2
x x
(1 + x ) x ,
3
x0
[9] f ( x) = 3
x x , x0
x3 x − 0 (1 + x 3 ) x − 0 1
f − (0) = lim− = 0, f + (0) = lim+ = + =
x→0 x−0 x→0 x−0 0
2 1 + x3
3 x x + , x0
2 x
f ( x) =
2 x3 x
3 x x + x , x0
n, respectively.
Example: If f ( x) = x 5 , then
f = 5 x 4 , f = 20 x 3 , f = 60 x 2 , f ( 4 ) = 120 x, f (5) = 120 .
In this case, all derivatives of order higher than five are identically zero.
In Leibniz notation the derivatives of higher order are written
d 2 y d dy d 3 y d d 2 y d n y d d n−1 y
= ( ), = ( ),..., n = ( ),...
dx 2 dx dx dx3 dx dx 2 dx dx dx n−1
d2 d d d3 d d2
or , ( f ( x )) = ( ( f ( x ))), ( f ( x )) = ( ( f ( x))),...,
dx 2 dx dx dx 3 dx dx 2
dn d d n −1
( f ( x )) = ( ( f ( x)))
dx n dx dx n −1
Example: For f ( x) = x 4 − 3x −1 + 5
f ( x) = 4 x 3 + 3 x −2 , f ( x) = 12 x 2 − 6 x −3 .
d 5
Example: ( x − 4 x 3 + 7 x) = 5 x 4 − 12 x 2 + 7
dx
d2 5 d
2
( x − 4 x 3 + 7 x) = (5 x 4 − 12 x 2 + 7) = 20 x 3 − 24 x
dx dx
−1
Example: For y = x . In Leibniz notation
2
dy −2 d y −3 d3y −4 d4y
= −x , 2
= 2x , 3
= −6 x , 4
= 24 x −5 ,...
dx dx dx dx
On the basis of these calculations, we are led to the general result
79
dny
n
= (−1) n n! x −n−1 (n! = n(n − 1)(n − 2)...3.2.1)
dx
or, in the prime notation
y = − x −2 , y = 2 x −3 , y = −6 x −4 , y ( 4) = 24 x −5 , ..., y ( n ) = (−1) n n! x − n−1
This formula is known as the chain rule, says that “the rate of change of y
with respect to x is the rate of change of y with respect to u times the rate
of change of u with respect to x.”
u −1
Example: Find dy/dx by the chain rule given that y = and u = x 2 .
u +1
dy (u + 1)(1) − (u − 1)(1) 2 du
= = , = 2x
du (u + 1) 2
(u + 1) 2
dx
dy dy du 2 4x
= = (2 x) = 2
dx du dx (u + 1) 2
( x + 1) 2
Remark: We would obtain the same result without the chain rule by first
writing y as a function of x and then differentiating.
The Chain Rule Theorem:
If g is differentiable at x and f is differentiable at g(x), then the
composition f g is differentiable at x and
( f g )( x) = ( f ( g ( x)) = f ( g ( x)) g ( x) .
3) d f ( x)
=
f ( x)
f ( x) , 4) d sin( f ( x)) = cos( f ( x)) f ( x)
dx f ( x) dx
80
d cos( f ( x)) d tan( f ( x))
5) = − sin( f ( x)) f ( x) , 6) = sec2 ( f ( x)) f ( x)
dx dx
d cot( f ( x)) d sec( f ( x))
7) = − csc2 ( f ( x)) f ( x) , 8) = sec( f ( x)) tan( f ( x)) f ( x)
dx dx
1 1 d 1 1 1
[2] f ( x) = ( x + ) −3 → f ( x) = −3( x + ) − 4 ( x + ) = −3( x + ) − 4 (1 − 2 )
x x dx x x x
[3] f ( x) = 2 x 3 ( x 2 − 3) 4
→ f ( x) = 6 x 2 ( x 2 − 3) 4 + 2 x 3 (4)( x 2 − 3) 3 (2 x) = 2 x 2 ( x 2 − 3) 3 (8 x 2 + 3( x 2 − 3))
sec x
[4] f ( x) = sec x + cos3 x → f ( x) = sec x tan x + 3 cos2 x(− sin x)
sec x
[5] 2x
f ( x) = x 2 − 1 + cot 4 (7 x + 9) → f ( x) = + 4 cot 3 (7 x + 9)(− cos ec 2 (7 x + 9))(7)
2 x −1
2
x
→ f ( x) = − 28 cot3 (7 x + 9) cos ec2 (7 x + 9)
x −1
2
( x + 1) ( x + 1)
Parametric Differentiation:
Definition: Parametric Curves
If x and y are given as functions x = f (t ) , y = g (t ) over an interval of
t-values, then the set of points ( x, y ) = ( f (t ) , g (t )) defined by these
equations is a parametric curve. The equations are parametric equations
of the curve.
81
Slopes of Parametric Curves: Let x = f (t ) , y = g (t ) where f and g are
differentiable at t.
Then the parametric formula for dyldx is given as
dy dy / dt g (t )
= =
dx dx / dt f (t )
d 2 y dy / dt
Parametric formula for d yldx : 2
= 2
dx 2 dx / dt
Example: For x = t − t 2 , y = t − t 3 find dyldx, d 2 y / dx 2
dy / dt 1 − 3t 2
y = =
dx / dt 1 − 2t
dy d 1 − 3t 2 2 − 6t + 6t 2
= ( )=
dt dt 1 − 2t (1 − 2t ) 2
d 2 y dy / dt (2 − 6t + 6t 2 ) /(1 − 2t ) 2 2 − 6t + 6t 2
= = =
dx 2 dx / dt 1 − 2t (1 − 2t ) 3
82
with respect to x, applying the chain rule and then solving the resulting
equation for dyldx .
Example: For the implicit function y 5 + 4 y − 3x 2 = 6 x + 5 find dy/dx.
Differentiating both sides of the equation with respect to x
d 5 d d d d
( y ) + (4 y) + (−3x 2 ) = (6 x) + (5)
dx dx dx dx dx
d 5 dy dy dy dy 6( x + 1)
→ ( y ) + 4 − 6x = 6 + 0 → (5 y 4 + 4) = 6( x + 1) → =
dy dx dx dx dx (5 y 4 + 4)
[2] cos( x − y ) = (2 x + 1) 3 y
Differentiating both sides of the equation with respect to x
dy dy
− sin( x − y )(1 − ) = (2 x + 1) 3 + 3(2 x + 1) 2 (2) y
dx dx
dy
(sin( x − y ) − (2 x + 1) 3 ) = 6(2 x + 1) 2 y + sin( x − y )
dx
dy 6(2 x + 1) 2 y + sin( x − y )
→ =
dx sin( x − y ) − (2 x + 1)3
[3] y = x + sin( xy )
2 2
83
Implicit Differentiation of Higher Order:
d2y
for 2 x − 3 y = 8
3 2
Example: Find 2
dx
Differentiating both sides of the equation with respect to x
dy x2
6x − 6 y
2
= 0 → y = , y 0
dx y
Differentiating both sides of the equation with respect to x
d x2 2 xy − x 2 y 2 x x 4
y =
( )→ y = = − , y0
dx y y2 y y3
Solved Problems: Find the slope of the tangent to each of the following
curves at the indicated points:
d
( x cos y + y sin x) = 0 → cos y − x sin yy + y sin x + y cos x = 0
dx
At ( / 2, / 2) → y = 0.
1 1
[2] x 2 / 3 + y 2 / 3 = 1 at p( , )
2 2 2 2
d 2/3
( x + y 2 / 3 ) = 0 → (2 / 3) x −1/ 3 + (2 / 3) y −1/ 3 y = 0
dx
y = − x −1 / 3 / y −1 / 3 → y = −3 y / x → y (1 / 2 2 ,1 / 2 2 )
= −1
dy / dt a sin t
y = = → at t = , y = 0
dx / dt a(1 − cos t )
dy / dt
y = = 32t / 5 → at t = 5, y = 32
dx / dt
84
d 2
[5] x 2 − 3xy − y 2 = 3 at (-1,1) → ( x − 3xy − y 2 ) = 0
dx
→ 2 x − 3 y − 3xy − 2 yy = 0 → y = (2 x − 3 y ) /( 2 y + 3 x) → y (−1,1) = 5
Then, if the slope of y = f (x) at the point (a, f (a )) is f (a), f (a) 0 , then
the slope of y = f −1 ( x) at the point ( f (a), a) is the reciprocal (1 / f (a)) .
Solved Problems:
1
derivatives f ( x) = 2 x and ( f )( x) =
−1
2 x
1 1 1
or using the above theorem, ( f −1 )( x) = = =
f ( f ( x))
−1 −1
2 f ( x) 2 x
1 1 1 1
f (2) = 4 → ( f −1 )(4) = = = =
f ( f (4))
−1
f (2) 2 x x = 2 4
df df −1 1 1
= 3x 2
= 12 → x = f (2) = =
dx x = 2 x=2 dx 12
df / dx
x=2
85
1
[3] For f ( x) = x 3 + x calculate ( f −1 )(9) .
2
1 1
( f −1 )(9) = , f (a) = 9 → a 3 + a = 9 → a = 2
f (a) 2
1 25 1 2
Since f (2) = 3(2) 2 + = → ( f −1 )(9) = =
2 2 25 / 2 25
They are the inverse functions of the trigonometric functions. Since, all
the trigonometric functions are periodic, they are not one-to-one
functions. Therefore, we must choose an interval in the domain of each
of them, such that it will have an inverse.
x y x
sin sin −1
xR y [−1,1] x [− 2 , 2]
86
-1 -0.5 cos0-1 x 0.5 1
Inverse tangent function: tan −1 x or arc tan(x)
For y = tan x, − / 2 x / 2 → y = tan −1 x, x R
-10 -5 tan0-1 x 5 10
−1
Inverse secant function: sec x or arc sec( x)
y = cot x, 0 x , y = cot −1 x, x R
Solved Problems
1) sin −1 (sin 47 ) = 47
2) cos(sin −1 ( 3 / 2)) = 1 2
3) sin(tan −1 (1)) = 1 2
4) sin −1 (sin(120 )) = 60
87
1) sin −1 x + cos −1 x = 2 , let sin −1 x = → x = sin
→ cos = 1 − x 2 → cos(sin −1 x) = 1 − x 2
−1
1 − x2
3) sin( 2 sin x) = 2 x 1 − x 2
1+ x
1 x 1− x2
→ cos(2 tan −1 x) = cos(2 ) = cos 2 − sin 2 = ( )2 − ( )2 =
1+ x2 1+ x2 1+ x2
5) tan −1 x + tan −1 (1 x) = 2
x
Let tan x = → tan (− 1 x) =
−1 −1
but + = 2 → tan −1 x + tan −1 (1 x) = 2 1
dx
(1) y = sin −1 x, x 1, x = sin y → = cos y
dy
dy 1 dy 1 1
→ = → = =
dx cos y dx 1 − sin 2 y 1− x2
d 1 d 1 du
sin −1 x = . In general, sin −1 (u ( x)) =
dx 1− x 2 dx 1 − u 2 dx
(2) y = cos −1 x, x 1 , dx dy −1
x = cos y → = − sin y → =
dy dx sin y
dy −1 −1 d −1
= = → cos−1 x =
dx 1 − cos y
2
1− x 2 dx 1 − x2
88
−1
In general d cos −1 (u ( x)) = du
dx 1 − u 2 dx
dx
(3) y = tan −1 x, x R → x = tan y → = sec 2 y
dy
dy 1 1 1 d 1
→ = = = → tan −1 x =
dx sec y 1 + tan y 1 + x
2 2 2
dx 1 + x2
d 1 du
In general tan −1 (u ( x)) =
dx 1 + u 2 dx
dx
(4) y = cot −1 x, x R → x = cot y → = − csc 2 y
dy
dy −1 −1 −1 d −1
→ = = = → cot −1 x = ,
dx csc y 1 + cot y 1 + x
2 2 2
dx 1 + x2
d − 1 du
In general cot −1 (u ( x)) =
dx 1 + u 2 dx
dx
(5) y = csc −1 x, x 1 → x = csc y → = − csc y cot y
dy
dy −1 −1 d −1
→ = = → csc−1 x =
dx csc y cot y x x − 1
2 dx x x2 −1
−1
In general d csc−1 (u ( x)) = du
dx u u − 1 dx
2
dx
(6) y = sec −1 x, x 1 → x = sec y → = sec y tan y
dy
dy 1 1 d 1
→ = = → sec−1 x =
dx sec y tan y x x − 1
2 dx x x2 −1
d 1 du
In general sec −1 (u ( x)) =
dx u u 2 − 1 dx
Solved Problems
1
[1] y = x sin −1 ( x / 2) → y = sin −1 ( x / 2) + x (1 / 2)
1 − ( x / 2) 2
89
tan −1 x − 2x 1
[2] y = → y = tan −1 x +
2 2
1+ x 2
(1 + x ) (1 + x )
2 2
1 −1
[3] y = sin −1 x cos−1 x → y = cos−1 x + sin −1 x( )
1− x2 1− x2
−1
[4] y = (1 + cos−1 x) 2 → y' = 2(1 + cos−1 x)( )
1− x2
−1
sin −1 x y
[5] lim sin x , let sin −1 x = y → x = sin y → lim
x →0
= lim
y →0
=1
x →0 x x sin y
−1
tan −1 x y
[6] lim tan x , let tan −1 x = y → x = tan y → → lim = lim =1
x →0 x x →0 y →0
x tan y
sin −1 x sin −1 x x
[7] lim = lim ( )( ) =1
x →0 tan −1 x x →0 x tan −1 x
[8] lim sin −1 x
x →1
lim− sin −1 x = / 2, lim+ sin −1 x does not exist → lim sin −1 x does not exist.
x →1 x →1 x →1
(a) The Division Form: Let f(a)=g(a)=0 where f and g are two functions
that have derivatives on an open interval I that includes point a. Assume
also that g ( x ) 0 on I if x a , then
f ( x) f ( x)
lim = lim (if the limits in the right-side exist or tend to ).
x →a g ( x) x→a g ( x)
Also, if lim f ( x) = and lim g ( x) = , then, L'Hopital's rule can be
x→a x→a
applied as before.
90
f ( x) f ( x) 1
lim = −9 but lim =
x →0 g ( x) x → 0 g ( x ) 3
The two limits are not equal as L'Hopital's rule can not be applied in this
f
0
case, since lim or
x →0 g 0
1+ x −1− x / 2 0 (1 / 2)(1 + x) −1 / 2 − (1 / 2) 0
[1] lim = = lim =
x →0 x2 0 x →0 2x 0
− (1 / 4)(1 + x) −3 / 2 1
= lim =−
x →0 2 8
1 − cos x 0 sin x 0
[2] lim = = lim = = 0.
x →0 x+x 2
0 x → 0 1 + 2x 1
sin x cos x 1
[3] lim + 2
= lim+ = + = .
x →0 x x →0 2x 0
x 2 − 2x 2x − 2 −2
[4] lim = lim = = 2.
x →0 x − sin x
2 x →0 2 x − cos x 0 −1
1 + cos x 2
= lim = =2
x →0 cos 2 x 1
xn − an n x n −1
[7] lim = lim = n a n −1
x→a x−a x → a 1
5 y + 25 − 5 5 y + 25 + 5 5 y + 25 − 25
[8] lim = lim
y →0 y 5 y + 25 + 5 y → 0
y ( 5 y + 25 + 5)
91
5 1
= lim =
y →0
5 y + 25 + 5 2
5
5 y + 25 − 5 (5 y + 25) −1 / 2
5 1
lim = lim 2 = lim =
y →0 y y →0 1 y →0
2 5 y + 25 2
x −4 / 3 0 (−4 / 3) x −7 / 3
[9] lim = = lim
x → sin(1 / x) 0 x → cos(1 / x)(−1 / x 2 )
4 x −1 / 3 4 1
= lim = lim 1 / 3 =0
3 x → cos(1 / x) 3 x → x cos( 1 / x )
x 3 + 2x 2 + x 0 3x 2 + 4 x + 1 0 6x + 4 − 2 1
[10] lim = = lim = = lim = =
x → −1 x + x − x − 1 0 x →−1 3x + 2 x − 1 0 x →−1 6 x + 2 − 4 2
3 2 2
ln( x 2 + 2 x) (2 x + 2) /( x 2 + 2 x) 2x 2 + 2x 4x + 2
[11] lim = lim+ = lim+ 2 = lim+ =1
x →0 + ln x x →0 1/ x x →0 x + 2x x →0 2 x + 2
8x2 16 x 16
[12] lim = lim = lim = −16
x →0 cos x − 1 x →0 − sin x x →0 − cos x
x 0 1
[1] xlim x cot x = 0 = lim+ = = lim+ =1
→0 + x →0 tan x 0 x →0 sec 2 x
1 1 x − sin x
[2] lim ( − ) = − = lim
x →0 sin x x x →0 x sin x
1 − cos x sin x 0
= lim = lim = =0
x →0 sin x + x cos x x →0 2 cos x − x sin x 2
92
1
= lim+ 1 + 2x = 1
arctan x 2
[3] lim+ (cot x arctan x) = 0 = lim+
x →0 x →0 tan x x →0 sec x
1 − sin x − cos x
[4] lim (sec x − tan x) = − = lim = lim − =0
x → / 2 −
x → / 2 −
cos x x → / 2 − sin x
2 1 2 − x −1 1− x −1 1
[5] lim − = − = lim 2 = lim 2 = lim =−
x − 1 x − 1 x →1 x − 1 x →1 x − 1
x →1 2 x →1 2 x 2
x − /2 1
[6] lim ( x − / 2) sec x = 0 = lim = lim − = −1
x → / 2 −
x → / 2 −
cos x x → / 2 − sin x
93
APPLICATIONS OF DERIVATIVES
The Mean Value Theorem
Rolle’s Theorem
every point of (-3,3). Since f (−3) = f (3) = 0 , Rolle's theorem says that
f must be zero at least once in the open interval between a=-3 and b=3.
f ( x) = x 2 − 3 = 0 → x = 3 .
Solved Examples
95
f is continuous and differentiable on R then, there is at least a point
c (0,2) such that f (2) = f (0) + (2 − 0) f (c) → 6 = 4 + 2 f (c) → f (c) = 1 but
1
f ( x) = 3x 2 − 6 x + 3 → 3 c 2 − 6 c + 3 = 1 → c = 1 satisfies the mean value
3
theorem in (0,2) .
[4] Determine whether the conditions of the mean value theorem are
satisfied for the following functions:
96
5) f ( x) = x , x [1,9] → f is continuous and differentiable, then the theorem
is applied and we obtain
1
f (9) = f (1) + (9 − 1) f (c) → 3 = 1 + 8 → c =2→c=4
2 c
x, 0 x 1
6) f ( x) = x [0,1] , f is not continuous at x=0:
1, x=0
Notes:
The ability to find functions from their rates of change is one of the very
powerful tolls of calculus, named as integration.
1) f is increasing on I if f ( x2 ) f ( x1 ), x2 x1
2) f is decreasing on I if f ( x2 ) f ( x1 ), x2 x1
97
3) f is constant on I if f ( x2 ) = f ( x1 ), x2 x1
Note that: The interval I may be open or closed and may be finite or
infinite. The function f may be continuous or not on I.
[1] f = x 3 , x R
cos x, x0
[3] f = , on [− 2 , ) .
x + 1, x0
− sin x, x0
→ f= , f (0) does not exist.
1, x0
[4] f = x 3 − 12 x − 5 in R.
98
f = 3 x 2 − 12 = 3( x 2 − 4) = 3( x + 2)( x − 2)
Sign of f + - +
[5] f = x1 / 3 ( x − 4) in R.
4 1 / 3 4 −2 / 3 4 ( x − 1)
f= x − x =
3 3 3 x2/3
Sign of f - - +
a b a b
99
(1) f 0, increasing function (2) f 0, increasing function
In case (1) f increases with a high rate at the beginning and then low rate
at the end. As we proceed along the curve in direction of increasing x,
the curve turns to our right and falls below its tangents. The slopes of the
tangents are decreasing. In case (2) f increases with a low rate at the
beginning and then high rate at the end. As we proceed along the curve
in direction of increasing x, the curve turns to our left and rises below its
tangents. The slopes of the tangents are increasing. This turning or
bending behavior defines the concavity of the curve. Curve (1) is called
concave down and the slope of its tangent is continuously decreasing.
Curve (2) is called concave up and the slope of its tangent is continuously
increasing.
Concave up
Concave down Concave down Concave up f increasing
f decreasing f decreasing f increasing
100
Interval (0, 2) ( 2 , 3 2) (3 2 ,2 )
Sign of f + - +
[2] f = x − 1 x → D( f ) = R − 0 → f = 1 + 1 x 2 , x 0 → f 0, x 0
− x 2 + 2 x , x 1 − 2 x + 2, x 1
[3] f =
→ f= ,
− 1 x 2 + 1 x + 3 , x 1 − 1 x + 1 , x 1
4 2 4
2 2
f + -
Interval ( −, )
f Decreasing
101
5 x − 10
[4] f = x5 3 − 5 x 2 3 → f =
3x1 3
f + - +
is concave up on ( a, b) if f 0 .
Solved Examples: Use the test of the second derivative to study the
concavity for:
f - +
[3] f = x − 1 / x on R, D( f ) = R − 0 → f = − 2 x 3 , x 0
102
Interval (−,0) (0, )
f + -
[4] f = 3x 4 − 4 x 3 + 6 → f = 12 x 3 − 12 x 2 → f = 36 x 2 − 24 x
→ 36 x 2 − 24 x 0 → (3x − 2) x 0 → x = 0, x = 2 / 3
f + - +
[5] f = − x 4 + 2 x 2 + 1 → f = −4 x( x 2 − 1)
f = −12 x 2 + 4 → − 12 x 2 + 4 0 → −3x 2 + 1 0 → ( x − 1 / 3 )( x + 1 / 3 ) 0
Interval (−, − 1 3) (− 1 3 ,1 3) (1 3 , )
f - + -
[6] f = x 5 3 − 5 x 2 3 → f = 5 x 2 3 − 10 x −1 3 → f = 10 x +4 310
3 3 9x
f - + +
Note that: In most case, the curves change its concavity from down to up
or from up to down. The points at which such a change occurs are called
inflection points.
1) f is continuous at c.
103
2) If there exists an open interval (a, b) that contains c such that the
curve is concave down in (a, c) and concave up in (c, b) or vice versa.
L.C.
. C
L.C.
. C Infection point
U.C U.C
( . ) (
a
. )
b
a b
Step 1: We find the points at which f ( x) = 0 or f (x) does not exist.
Step 3: The point separates between two different signs of f (x) and at
which f is continuous is an inflection point.
Remark: This mean that the two conditions ( f (c) = 0 or f (x) does not
exist) are not sufficient for point c to be an inflection point and we must
check the change of sign of f around point c.
Solved Problems
(1) Find the inflection points for each of the following functions:
[1] f = x 3 → f = 6 x → f = 0 at x = 0
104
f 0 for x 0 , and f 0 for x 0 → x = 0 is an inflection point.
[2] f = x 4 → f = 12 x 2 → f = 0 at x = 0
(2) Discuss concavity and find the inflection points for each of the
following functions (if exist):
1 6x 2 − 2 −1 1
[1] y = → y
= =0→x= ,
1+ x 2
( x + 1)
2 3
3 3
Interval (−, − 1 3) (− 1 3 ,1 3) (1 3 , )
y + - +
Points of inflection: (− 1 3 , 3 4) , (1 3 , 3 4)
[2] y = 3x 3 − 9 x 2 − 27 x + 30 → y = 9 x 2 − 18 x − 27 → y = 18 x − 18 = 0 → x = 1
f - +
105
→ y = 0 for x = 2 + 2n , n Z but sign of y changes from (-) to (+) as
4( x − 2) 4( x + 4)
[4] f = x1/ 3 ( x − 8) → f = 23
→ f =
3x 9x5 3
f + - +
[5] f = − x 5 − 5 x 4 → f = −5 x 4 − 20 x 3
f + - -
106
y
y
f(c) f(c)
x x
a c b a c b
5 10 −1 / 3 5 ( x − 2)
D( f ) = R, f ( x) = x 2 / 3 − x =
3 3 3 x1 / 3
exist.
Note: The only places where a function f can possibly have a local
extreme value are:
107
The First Derivative Test for Local Extreme of f :
3) If f keeps same sign before and after c, then f(c) is not a local
extreme.
7( x − 2)( x + 4)
[1] f ( x) = ( x − 2) 2 3 x + 5 → f ( x) =
3( x + 5) 2 / 3
Then the critical points are 2, -4,-5 and f is continuous at the three
points. Thus
f (x) + + - +
5 ( x − 2)
[2] Find the extreme of f ( x) = x 5 / 3 − 5 x 2 / 3 → f ( x) = 1/ 3
3 x
f (x) + - +
[3] f ( x) = x 5 / 3 (9 − x) → f ( x) = 27 −2 /85 x
5x
108
The critical points are 0, 27/8 and at which f is continuous.
f (x) + + -
4 − 2x2
[4] f ( x) = x 4 − x 2 , D(f )=[-2,2] → f ( x) =
4 − x2
f (x) - + -
x= 2 is a local maximum →f ( 2 ) = 2
f (x) + - - +
1
[6] f ( x) = x 4 − 3x 2 + 2 , D(f )=R, f ( x) = 2 x 3 − 6 x .
2
f (x) - + - +
109
x=0 is a local maximum →f(0)=2,
f (x) - + - +
x 2 − 4x + 9
[8] f ( x) = → f ( x) = 8( x − 3)( x + 3) /( x 2 + 4 x + 9) 2
x + 4x + 9
2
f (x) + - +
f ( x) = 6 x 2 − 6 x − 12 = 6( x 2 − x − 2) = 6( x − 2)( x + 1) → f ( x) = 12 x − 6
110
The critical numbers are 2 and -1; the first derivative is 0 at each of these
points. Since f (2) = 18 0 and f (−1) = −18 0 , we can conclude from
the second-derivative test that f(2)=-15 is a local minimum and f(-1)=12
is a local maximum.
(a) It can be applied only at critical points where the function is twice
differentiable and if f (c) does exists.
111
or half-closed interval, [a, b], [a, b), (a, b], [a, ), or ( −, b] or on a union
of such intervals. Endpoints can give rise to what are called endpoint
maxima and endpoint minima.
endpoint endpoint
endpoint minimum minimum
maximum
a b a endpointb
endpoint maximum
minimum m
a b
Endpoints are usually tested either by calculating a one-sided derivative
at the endpoint or by examining the sign of the derivative at nearby
points. Suppose, for example, that a is the left endpoint and f is
continuous from the right at a. If f + (a) 0 , or if f ( x) 0 for all x
sufficiently close to a, then f decreases on an interval of the form
[a, a + ) and therefore f (a ) must be an endpoint maximum. On the other
112
increases on an interval of the form [a, a + ) and thus f (a ) must be an
endpoint minimum. Similar criteria can be used for the right endpoint at
b using the sign of f − (b) .
113
(2) Take the largest and smallest of these values
Then, the function has an absolute maximum of (4) at x = −2, and has an
absolute minimum of (0) at x = 0
2 −1/ 3 2
f ( x) = x = 1 / 3 has no zeros but is undefined at is x = 0 ,the only
3 3x
critical point. We need to check the value of the function at x = 0 , at the
endpoints x = −2, x = 3
Step 1: Find the critical points c1 , c2 ,... of f in the open interval (a,b).
114
An absolute maximum (or minimum) is also a local maximum (or
minimum). Being the largest value overall, it is also the largest value in
its immediate neighborhood. Hence, a list of local maxima will
automatically include the absolute maximum if there is one. Similarly, a
list of local minima will include the absolute minimum if there is one.
Solved Examples
[1] Find the critical points and classify all extreme values of
1 4
f ( x) = 1 + 4 x 2 − x , x [−1,3] .
2
f (x ) is defined for all x (−1,3) and f ( x) = 0 at x=0 and x=2. Thus, 0
and 2 are the critical points. The sign of f and the behavior of f are as
follows:
f - + -
115
The smallest of these extreme, f (3) = −7 / 2 , is the absolute minimum; the
largest of these extreme, f (2) = 9 , is the absolute maximum.
[2] Find the critical points and classify all extreme values of the function
2 1
x + 2 x + 2, − x 0
f ( x) = x − 2 x + 2 =
2
2
x − 2 x + 2,
2
0 x2
f (0) does not exist. This makes x=0 a critical point. Since f ( x) = 0 at
x=1, then 1 is a critical point. The sign of f and the behavior of f are as
follows:
f + - +
116
Behavior of f as x → : We have four cases:
Solved Examples
[1] As x → ; 3x 4 → 3x 4 − 100 x 3 + 2 x − 5 → .
[2] As x → −; 5 x 3 → − 5 x 3 + 12 x 2 + 80 → − .
Finally, we point out that if f (x) → , then f can not have an absolute
maximum value, and if f (x) → − , then f can not have an absolute
minimum value
Step 2: Test each endpoint of the domain by examining the sign of the
first derivative nearby.
Step 3: Test each critical point c by examining the sign of the first
derivative on both sides of c (first-derivative test) or by checking the sign
of the second derivative at c itself (second-derivative test)
117
Step 4: If the domain of f is unbounded, determine the behavior of f as
x → or as x → − .
Solved Examples
[1] Find the critical points and classify all extreme values
of f ( x) = 6 x1 / 2 − x 3 / 2
3 3(2 − x)
The domain is [0, ) . On (0, ) , f ( x) = 3x −1/ 2 − x1/ 2 =
2 2 x
Interval (0,2) ( 2, )
f + -
f Increasing Decreasing
[2] Find the critical points and classify all extreme values of
1 3
f ( x) = ( x 3 − x 2 − 6 x + 2), x [−2, ) .
4 2
Solution
1 3
f ( x) = (3x 2 − 3x − 6) = ( x + 1)( x − 2)
4 4
118
Since f ( x) = 0 at x=-1 and x=2, the numbers -1 and 2 are the critical
points. The sign of f and the behavior of f are as follows:
f + - +
[3] Find the critical points and classify all extreme values of
f ( x) = sin x − sin 2 x, x [0,2 ] .
Solution
f ( x) = 0 when cosx=0, which gives x=π/2 and 3π/2, and when sinx=1/2,
which gives x=π/6 and 5π/6. Thus, the numbers π/6, π/2, 5π/6 and 3π/2
are critical points. The sign of f and the behavior of f are as
f + - + - +
119
maximum; f ( / 6) = f (5 / 6) = 1 / 4 is the absolute maximum of f, and
f (3 / 2) = −2 is the absolute minimum.
f (x) → or − as x → c ; f (x) → or − as x → c − ;
f (x) → or − as x → c + .
Typically to locate the vertical asymptotes for a function f, find the values
x=c at which f is discontinuous and examine the behavior of f as x
approaches c.
Solved Examples
3x + 6 3( x + 2)
[1] The function f ( x) = = is defined and continuous
x − 2 x − 8 ( x + 2)( x − 4)
2
1
lim f ( x) = − (exists), then f does not a vertical asymptote at x=-2.
x →−2 2
lim f ( x) = , lim f ( x) = −
x →( / 2 ) − x →( / 2 ) +
120
It is also possible for a function to have a horizontal asymptote.
asymptote.
Solved Examples
x
[1] For the function f ( x) =
x−2
x x 1
lim f ( x) = lim = lim = lim =1
x → x → x − 2 x→ 2 x → 2
x(1 − ) (1 − )
x x
cos x
[2] For the function f ( x) =
x
cos x
lim f ( x) = lim =0 (as cos x 1 for all x).
x→ x→ x x x
[3] Find the vertical and horizontal asymptotes, if any, of the function
x +1− x x +1− x
f ( x) = =
x 2 − 2x +1 ( x − 1) 2
The domain of f is 0 x , x 1 .
1 1 1 1
x(1 +− ) 1+ −
x +1− x x x x x
lim f ( x) = lim 2 = lim = lim =0
x → x → x − 2 x + 1 x → 2 2 1 x → 2 1
x (1 − + ) x (1 − + )
x x2 x x2
121
The line y=0 is a horizontal asymptote.
Definition: We say that the graph of f has a vertical tangent at the point
(c,f(c)) if
as x → c, f ( x) → or f (x) → − .
Definition: We say that the graph of f has a “vertical cusp” at the point
(c,f(c)) if
as x → c − , f ( x) → − and as x → c + , f ( x) → ,
or, as x → c − , f ( x) → and as x → c + , f ( x) → − .
Solved Examples
[1] The graph of f ( x) = x 1 / 3 has a vertical tangent at the point (0,0) since
1 −2 / 3
f ( x) = x → as x → 0 .
3
1
since f ( x) = − (2 − x) −4 / 5 → − as x → 2 .
5
[3] The graph of f ( x) = x 2 / 3 has a vertical cusp at the point (0,0) since
2 −1 / 3
f ( x) = x → − as x → 0 − and f (x) → + as x → 0 + .
3
122
[5] The graph of f ( x) = x 3 − 1 has a corner at x=1 (there is no vertical
− 3x 2 , x 1
tangent here and no vertical cusp) as f ( x) = 2
3x , x 1
and as x → 1− , f ( x) → − 3 and as x → 1+ , f ( x) → 3 .
123
4. Calculate f : Determine the critical numbers of f ; examine the sign
of f to determine the intervals on which f increases and the intervals on
which f decreases; determine vertical tangents and cusps.
Solved Examples
(1) Domain: This is a polynomial function, so its domain is the set of all
1 4
real numbers. Since the leading term is x , f (x) → as x → .
4
There are no asymptotes.
124
f is an even function and its graph is symmetric with respect to the y-
axis; f is not a periodic function.
f - + - +
f + - +
2
x= are points of inflection.
3
7
(6) Points of interest: (0, ) : y-intercept, (−1,0), (1,0), (− 7 ,0), ( 7 ,0) : x-
4
7 9 9
intercept, (0, ) : local maximum point, (−2,− ), (2,− ) : local and absolute
4 4 4
(7) Sketch the graph: Since the graph is symmetric with respect to the y-
axis, we can sketch the graph for x 0 , and then obtain the graph for x 0
by a reflection in the y-axis.
125
y 7
0,
4
-3 -2 (-1,0) (1,0) 2 3
9
,−
9
− -3.14
-6.28 -4.71 2,− -1.57 cosx 2
0 1.571
4 3.142
44.712 6.283
f - - +
126
(5) Second derivative: f ( x) = 12 x 2 − 24 x = 12 x( x − 2)
The sign of f and behavior of the graph of f :
f + - +
(5,126)
(-1,6) (0,1)
(2,-15)
(3,-26)
127
SOLVED PROBLEMS
(1) Find the domain of each of the following functions:
[1] y = x 2 − 1
2
D( y ) = R
x +1
2x
[2] y = D( y ) = R − {−1,2}
( x − 2)( x + 1)
1
[3] y = D( y ) = (−3, 3)
9 − x2
−−−−−+++++−−−−
x x
[4] y = D( y ) = [0, 2) 0 2
2− x
x +1 x +1
[5] y = = D( y ) = R − {−3,2}
x + x − 6 ( x + 3)( x − 2)
2
x −1
[7] y = 5 − 4 x − x 2
5 − 4 x − x 2 = 9 − ( x + 2) 2 → 9 − ( x + 2) 2 0
→ ( x + 2) 2 9 → −3 x + 2 3 → −5 x 1 → D( y ) = [−5, 1]
Solution:
129
For g: 5 − x 0 → x 5 → D( g ) = (−,5] .
( f +g)(x)=f(x)+g(x)= 2 + x + 3 + 5 − x .
f ( x) 4 + x + 3
( f /g)(x)= = .
g ( x) 5− x −2
x 3 − 27 ( x − 3)( x 2 + 3x + 9) x 2 + 3x + 9 9
[1] lim 2 = lim = lim =
x →3 x − 9 x →3 ( x − 3)( x + 3) x →3 x+3 2
( x + h) 2 − x 2 x 2 + 2hx + h 2 − x 2 2hx + h 2
[2] lim = lim = lim = lim (2 x + h) = 2 x.
h →0 h h →0 h h →0 h h →0
x2 − 4 0
[3] xlim = =0
→ −2 x2 + 4 8
x2 + x − 2 ( x − 1)( x + 2) x+2
[4] lim = lim = lim which does not exist as;
x →1 ( x − 1) 2 x →1 ( x − 1) 2 x →1 x − 1
x+2 x+2
lim− = −, lim+ =
x →1 x −1 x →1 x − 1
x−2 + + + + − − − − − −x+ + + +
[5] lim does not exist as f is not x
x →2
x2 − 4 -2 2
130
defined in the left neighborhood of x=2.
x2 − 4 ( x − 2)( x + 2) x+2
[6] lim = lim = lim = −4.
x →2 x − 5 x + 6 x →2 ( x − 2)( x − 3) x →2 x − 3
2
x +3−3 1 1
= lim = lim =
x →0
x( x + 3 + 3 ) x →0
x+3+ 3 2 3
1 4 x+2−4 x−2 1 1
[8] lim ( − 2 ) = lim 2 = lim = lim =
x →2 x−2 x −4 x → 2 x −4 x → 2 ( x − 2)( x + 2) x → 2 x+2 4
x2 + 5 − 3 x2 + 5 − 3 x2 + 5 + 3
[9] lim = lim ( )
x →2 x 2 − 2x x →2 x 2 − 2x x2 + 5 + 3
x2 − 4 ( x − 2)( x + 2) 4 1
= lim = lim = =
x →2
( x − 2 x)( x + 5 + 3)
2 2 x →2
x( x − 2)( x + 5 + 3)
2 2(6) 3
x → x → x →
2
x +x+x
2
x +x+x
x (1 / x) 1 1
= lim = lim = . ( x2 = x )
x →
x 2 + x + x (1 / x) x→ 1 + 1 / x + 1 2
3x − 7
[11] lim does not exist.
x→2 x2 − 4
3x − 4 1 /( x 2 / 3 ) 3x 1 / 3 − 4 / x 2 / 3 3x 1 / 3 − 4 / x 2 / 3
[12] lim 2/3
= lim = lim = .
x → 3
x 2 − 1 1 /( x ) x → 3 ( x 2 − 1) / x 2 x →
1 − 1/ x 2
2 x + 1 (1 / x) 2 + 1/ x 2 + 1/ x
[13] lim = lim = lim =2
x → 3
x 3 − 2 (1 / x) x→ 3 ( x 3 − 2) / x 3 x→ 3 1 − 2 / x 3
3x + 2 (1 / x) 3+ 2/ x 3+ 2/ x
[14] = lim = lim = −3 ( x = − x)
2
lim
x → − → − → −
x − 1 (1 / x)
2 x
− ( x − 1) / x
2 2 x
− 1 − 1/ x 2
131
[17] lim (2 x 11 − 5 x 6 + 3x 2 + 1) = lim 2 x 11 =
x → x →
2 x + 5 (1 / x 2 ) 2 / x + 5 / x2
[18] lim = lim =0
x → x 2 − 7 x + 3 (1 / x 2 ) x → 1 − 7 / x + 3 / x 2
3x 2 − 4 x + 2 3
[19] lim =
x → 7x2 + 5 7
4 x 5 − 1 (1 / x 3 ) 4x 2 − 1/ x3
[20] lim = lim =
x → 3 x 3 + 7 (1 / x 3 ) x → 3 + 7 / x 3
4 x − 1 (1 / x) 4 − 1/ x 4 − 1/ x
[21] lim = lim = lim = 4.
x → x → x →
x +2
2 (1 / x ) ( x + 2) / x
2 2
1+ 2/ x 2
4 x − 1 (1 / x) 4 − 1/ x 4 − 1/ x
[22] lim = lim = lim = −4
x →−
x 2 + 2 (1 / x) x→− − ( x 2 + 2) / x 2 x→− − 1 + 2 / x 2
x 2 + 5 (1 / x 2 ) ( x 2 + 5) / x 4 1/ x 2 + 5 / x 4
[23] lim = lim = lim =0
x → 3x 2 − 2 (1 / x 2 ) x→ 3 − 2 / x 2 x → 3 − 2 / x2
7 x − 4 (1 / x 3 / 2 ) 7 / x1 / 2 − 4 / x 3 / 2
[24] lim 3/ 2
= lim =0
x →
x 3 + 5 (1 / x ) x→ ( x 3 + 5) / x 3
3
[25] lim
x →4 x−4
3 3 3
lim+ = , lim− = − → lim does not exist.
x →4 x−4 x →4 x − 4 x →4 x − 4
1 1
[26] lim = lim
x →3 x − 7 x + 12 x →3 ( x − 3)( x − 4)
2
1 1 1
lim = , lim+ = − → lim 2 does not exist.
x →3 − ( x − 3)( x − 4) x → 3 ( x − 3)( x − 4) x → 3 x − 7 x + 12
1
[27] lim = .
x →3 ( x − 3) 2
7 x − 2, x 2
[28] lim f, f =
x→2
3x + 5, x 2
132
lim f = lim− 3x + 5 = 11, lim+ f = lim+ 7 x − 2 = 12
x →2 − x →2 x →2 x →2
x6 + 5 + x3 ( x 6 + 5) − x 6
[30] lim ( x 6 + 5 − x 3 ) = lim ( x 6 + 5 − x 3 )( ) = lim
x → x → x →
x6 + 5 + x3 x6 + 5 + x3
5 5 / x3
= lim = lim =0 ( x 6 = x 3 for x>0)
x →
x +5 + x
6 3 x →
1+ 5 / x +1 6
x 6 + 5x 3 + x 3
[31] lim ( x 6 + 5 x 3 − x 3 ) = lim ( x 6 + 5 x 3 − x 3 )
x → x →
x 6 + 5x 3 + x 3
( x 6 + 5x 3 ) − x 6 5x 3 5 5
= lim = lim = lim =
x → x → x →
x 6 + 5x 3 + x 3 x 6 + 5x 3 + x 3 1 + 5 / x3 + 1 2
x 6 − 3 sin x (1 / x 6 ) (1 − 3 sin x / x 6 ) 1
[32] lim = lim =
x → 3x 2 + 4 x 6 (1 / x 6 ) x→ (3 / x 4 + 4) 4
4x 3 − 1 1 4 x 3 − 1 sin(1 / x)
[34] lim sin( ) = lim
x → 3x 2 + 2 x x → 3 x 3 + 2 x (1 / x)
= lim
4x 3 − 1
lim
sin(1 / x)
= (4 / 3)(1) = 4 / 3 ( lim sin(1 / x) = lim sin = 1)
x → 3 x + 2 x x → (1 / x)
3 x→ 1/ x →0
| x |, x 0
[35] lim f ( x), f ( x) = → lim f = lim | x |= 0.
x→0
1, x=0 x →0 x →0
sin x sin x
[36] lim +
= lim+ x = 1.0 = 0
x→0 x x→0 x
133
sin( x − / 4) sin( x − / 4) 1
[37] lim = lim
x → / 4 ( x − / 4) 2 x → / 4 ( x − / 4) ( x − / 4)
sin( x − / 4) 1 1
= lim lim = (1) lim (does not exist)
x → / 4 ( x − / 4) x → / 4 x − / 4 x → / 4 x − / 4
x 2 cos 2 x(sec x + 1) x2
= lim 2
= lim ( 2
)(cos 2 x)(sec x + 1) = (1)(1)(2) = 2
x →0 sin x x → 0 sin x
x 2 − 16
x4
[1] f ( x) = x − 4
,
c, x=4
x 2 − 16 ( x + 4)( x − 4)
lim f = lim = lim =8→c =4
x →4 x →4 x−4 x →4 ( x − 4)
x2 − c2
xc
[2] f ( x) = x − c
,
0, x=c
x2 − c2
lim f = lim = lim x + c = 2c → 2c = 0 → c = 0.
x →c x →c x−c x →c
7x + 2 − 6x + 4
[3] f ( x) = , x2
x−2
k , x=2
7 x + 2 − 6x + 4 is defined for x −2 / 7
7 x + 2 − 6x + 4 7x + 2 + 6x + 4 (7 x + 2) − (6 x + 4)
lim f = lim = lim
x →2 x →2 x−2 7x + 2 + 6x + 4 x →2
( x − 2)( 7 x + 2 + 6 x + 4 )
134
x−2 1 1
= lim = →k =
x →2
( x − 2)( 7 x + 2 + 6 x + 4 ) 8 8
(5) Find the values of c and d such that f is continuous for all x.
3x 2 − 1, x0
f ( x) = cx + d , 0 x 1
x + 8, x 1
f (0) = d , f (1) = c + d
3x + 3 3( x + 1)
[1] f ( x) = =
x − 3x − 4 ( x + 1)( x − 4)
2
x + 1, x2
[2] f ( x) = 2 x − 1, 1 x 2
x − 1, x 1
f (1) = 0, f (2) = 3
135
(7) For what values of x in the domain of definition is each of the
following functions continuous:
x
[1] f ( x) = , f is continuous for all x 1 .
x −1
2
1 + cos x
[2] f ( x) = , f is continuous for all x.
3 + sin x
x− x
[4] f ( x) = , f is continuous for all x 0 .
x
x − x
, x0
[5] f ( x) = x , f is continuous for all x 0 . Then since
2, x=0
x− x x+x
lim− = lim− = lim− 2 = 2 = f (0)
x →0 x x →0 x x →0
It follows that f(x) is continuous (from the left) at x=0. Thus f(x) is
continuous for all x 0 (that is everywhere in the domain of definition).
x
[6] f ( x) = x csc x = , f is continuous for all x 0, ,2 ,... .
sin x
x
Since lim x csc x = lim = 1 = f (0) , we see that f(x) is continuous for all x
x →0 − x →0 − sin x
except ,2 ,3 ... .
sin x 3 5
[8] f ( x) = tan x = , f is continuous for all x , , ,... .
cos x 2 2 2
[9] f ( x) = 9 − x
2
x +1
136
9 − x2 is continuous on [-3,3], since it is continuous on (-3,3), and
continuous from the right at x=-3, and continuous from the left at x=3,
x + 1 is continuous on R and equals 0 at x=-1, then f is continuous on
[-3,3]-{-1}.
[1] f ( x) = 4 − 4 + x
1 1 1 1
f = (4 − 4 + x ) −1 / 2 (− (4 + x) −1 / 2 ) = −
2 2 4 4− 4+ x 4+ x
[2] f ( x) = (4 x 2 − 3) 2 ( x + 5)3
= (4 x 2 − 3)( x + 5) 2 (28 x 2 + 80 x − 9)
[3] f ( x) = 3 (1 + x 2 ) 4
4 8
f = (1 + x 2 ) 4 / 3 → f = (1 + x 2 )1/ 3 (2 x) = x(1 + x 2 )1/ 3
3 3
2 1
[8] y = arcsin (2 x − 3) → y = =
1 − (2 x − 3) 2 3x − x 2 − 2
((1 − x) − (1 + x)(−1))
[9] y = arc cot 1 + x → y = −1
=
−1
1 − x 1 + x (1 − x) 1+ x2
2 2
1+
1 − x
137
6x 6x
[10] y = arctan (3x 2 ) → y = =
1 + (3x )
2 2
1 + 9x 4
−1 −1 1 1 1
y =x ( 2 ) + arc csc( ) + (1 − x 2 ) −3 / 2 (−2 x) = arc csc( )
1 1 x x 2 x
−1
x x
2
[12] y = x a 2 − x 2 + a 2 arcsin( x / a)
x 2 1 1
y = (a − x 2 ) −1 / 2 (−2 x) + (a 2 − x 2 ) 1 / 2 + a 2 = 2 a2 − x2
2 1 − ( x / a) 2 a
− 2x
[13] y = arccos( x 2 ) → y =
1− x4
1 − 1/ x 2 1 1
[14] y = arctan( x) + arctan(1/ x) → y = + = − = 0.
1 + x 1 + (1 / x)
2 2
1+ x 1+ x2
2
1 −1
[15] y = sec −1 x + csc −1 x → y = + = 0.
x x2 −1 x x2 −1
1 1 1
[17] y = sin −1 x → y = =
1 − ( x )2 2 x 2 x 1− x
2x
x2 +1 − x
[1] y = x 2 + 1 → y = 2x x 2 x2 +1 1
= → y = =
2 x2 +1 x2 +1 ( x 2 + 1) 2 ( x + 1) 3 / 2
2
138
d d d2 dt d
(t cos t 2 ) = t 2 cos t 2 + cos t 2
dt dt dt dt dt
d
=t (−2t sin t 2 ) − 2t sin t 2 = t (− sin t 2 )(2) + t (2t )(− cos t 2 )(2t ) − 2t sin t 2
dt
dy du dx
= 3, = −2 x −3 , = −1
du dx ds
dy dy du dx
→ = = (3)(−2 x −3 )(−1) = 6 x −3 = 6(1 − s) −3
ds du dx ds
u+2
(12) dy / dt at t=9 given that y = , u = (3s − 7) 2 , s = t
u −1
dy −3 du ds 1
= , = 6(3s − 7), =
du (u − 1) ds
2
dt 2 t
dy 1 du ds 1
=− , = 12, =
du 3 ds dt 6
dy dy du ds 1 1 2
Thus, at t=9, = = (− )(12)( ) = −
dt du ds dt 3 6 3
−y
Using implicit differentiation; xy + y + 2 yy = 0 → y =
( x + 2 y)
( x + 2 y )(− y ) − (− y )(1 + 2 y ) y − xy
y = =
( x + 2 y) 2
( x + 2 y) 2
−y
y − x
x + 2 y y ( x + 2 y ) + xy 2( xy + y 2 ) 2
Substitute for y', y = = = =
( x + 2 y) 2
( x + 2 y) 3
( x + 2 y) 3
( x + 2 y)3
139
Using implicit differentiation; sec 2 ( xy )( xy + y ) = y
y (1 + y 2 )
→ y ( x(1 + y 2 ) − 1) = − y (1 + y 2 ) → y =
(1 − x(1 + y 2 ))
cot x csc 2 x
2(sec y )(sec y tan y ) y + 2 cot x(− csc x) = 0 → y =
2
sec 2 y tan y
dy
Differentiation with respect to x gives 3 y 2 − 2x = 0 (1)
dx
d dy dy d d2y dy
3y 2 ( ) + ( ) (3 y 2 ) − 2 = 0 → 3 y 2 2 + 6 y ( ) 2 − 2 = 0 (2)
dx dx dx dx dx dx
d2y 2x 2 d 2 y 6 y 3 − 8x 2
3y 2 + 6 y ( ) − 2 = 0 → =
dx 2 3y 2 dx 2 9y5
(17) If the curve sin y = x 3 − x 5 passes through (1,0) find y' and y'' at (1,0).
(cos y ) y = 3 x 2 − 5 x 4 , at (1,0): y = −2
[1] y = x 3 + 4 x 2 − 5 x + 6
140
3
[2] y = (2 x 3 + 5) 3 / 2 → dy = (2 x 3 + 5)1 / 2 (6 x 2 )dx = 9 x 2 (2 x 3 + 5)1 / 2
2
x3 + 2x + 1
[3] y =
x2 + 3
( x 2 + 3)(3x 2 + 2) − 2 x( x 3 + 2 x + 1) x 4 + 7x 2 − 2x + 6
dy =
dx = ( ) dx
( x 2 + 3) 2 ( x 2 + 3) 2
[5] x 3 y 2 − 2 x 2 y + 3 xy 2 − 8 xy = 6
d ( x 3 y 2 ) − d (2 x 2 y ) + 3d ( xy 2 ) − 8d ( xy ) = d (6)
dy 8 y − 3 y 2 + 4 xy − 3x 2 y 2
=
dx 2 x 3 y − 2 x 2 + 6 xy − 8 x
[6] 2 x − 3 y = 8 → 2 ydx −2 xdy − 3 xdy −2 ydx = 0 → dy = 2 x y2 + 3 y 3
2 2
y x y x dx 3xy + 2 x
dy cos − cos 3
dx = (−3 sin + 3 sin 3 )d , dy = (3 cos − 3 cos 3 )d → =
dx − sin + sin 3
dx dy dy / dt 6(t 2 − 1)
= 2t + 2, = 6t 2 − 6 → y = = = 3(t − 1)
dt dt dx / dt 2(t + 1)
At t=0: y = −3 .
141
dy dy dy dy dy 3 y − 2 x 2
6x 2 + 6 y 2 = 9x + 9 y → 2x 2 + 2 y 2 = 3x + 3 y → =
dx dx dx dx dx 2 y 2 − 3x
dy 4
At x=1, y=2, we have = .
dx 5
dy dy dx 1 dy 49
= = (3x 2 − 3)( ) . At t = 4 → x = 4 → =
dt dx dt 4 t dt 8
142
dr d 2 r dv
v= = − i + (6t − 1) j → a = 2 =
2
= 12t j
dt dt dt
At t=1: v = − i + 5 j , a = 12 j → v = (1) 2 + (5) 2 = 26 , a = 12
x+ y
2 x + 2( y + xy) − 6 yy = 0 → x + y = (3 y − x) y → y =
3y − x
5
At (3,2) → y = .
3
(25) Find the equations of the tangent and normal lines to the curve
y = x 3 − 2 x 2 + 4 at the point (2,4).
Equation of tangent: y − 4 = 4( x − 2) → y = 4 x − 4
1
Equation of normal: y − 4 = − ( x − 2) → x + 4 y = 18
4
(26) Find the equations of the tangent and normal lines to the curve
x 2 + 3xy + y 2 = 5 at the point (1,1).
2x + 3y
2 x + 3 y + 3xy + 2 yy = 0 → y = − =m
3x + 2 y
Equation of normal: y − 1 = 1( x − 1) → x − y = 0
143
(27) Find the equations of the tangent and normal lines to the curve
x 2 − y 2 = 7 at the point (4,-3).
x
2 x − 2 yy = 0 → y = = m and at (4,-3): m=-4/3.
y
4
Equation of tangent: y + 3 = − ( x − 4) → 4 x + 3 y = 7
3
3
Equation of normal: y + 3 = ( x − 4) → 3 x − 4 y = 24
4
−x
[1] f = 1 − x 2 , D( f ) = [−1,1] → f = → f = 0 at x=0
1− x2
f + -
F Increasing Decreasing
1 −1
[2] f = → f =
x x2
f - -
f Decreasing Decreasing
4
[3] f = x 5 − 3x 4 − 4 x 3 + 22 x 2 − 24 x + 6
5
f = 4 x 4 − 12 x 3 − 12 x 2 + 44 x − 24 = 4( x 4 − 3x 3 − 3x 2 + 11x − 6)
= 4( x + 2)( x − 1) 2 ( x − 3)
144
Interval (−,−2) (−2,1) (1,3) (3, )
f + - - +
x3 , x 1
[4] f = 1
x + 2, x 1
2
3x 2 , x 1
f is not continuous at x=1. Differentiation gives f = 1
, x 1
2
f + +
f Increasing Increasing
(29) Find the maximum and minimum values for each of the following
functions:
[1] f ( x) = 3 x 5 / 3 − 3x 2 / 3 → f = x 2 / 3 − 2 x −1 / 3 = x −1 / 3 ( x − 2) = ( x −1 / 32)
5 x
2 −1 / 3 2 −4 / 3 2 −4 / 3 2 ( x + 1)
f ( x) = x + x = x ( x + 1) =
3 3 3 3 x4/3
9
f (2) = 3(4)1 / 3 (−3 / 5) = − (4)1 / 3
5
145
At x=0: f is positive to the left of x=0 and negative to its right → f
changes sign from positive to negative which means that there is a local
maximum for f at x = 0 → f = 0.
[2] f ( x) = 3x5 − 5 x3 + 1
f ( x) = 15 x 4 − 15 x 2 = 15 x 2 ( x 2 − 1) = 15 x 2 ( x − 1)( x + 1)
[3] f ( x) = x 4 − 2 x 2 + 1
f ( x) = 4 x 3 − 4 x = 4 x( x 2 − 1) = 4 x( x − 1)( x + 1) → f ( x) = 12 x 2 − 4
[4] f ( x) = x 4 − 6 x 2 + 8 x + 8
f = 4 x 3 − 12 x + 9 = 4( x 3 − 3x + 2) → f = 12 x 2 − 12 = 12 ( x 2 − 1) = 12 ( x − 1)( x + 1)
Let f = 0 → x 3 − 3x + 2 = 0.
x = 1 is one of the roots and using division we obtain
x 3 − 3x + x = ( x − 1)( x 2 + x − 2) = ( x − 1) 2 ( x − 2)
146
At x = 1, f = 0, then we use the first derivative test. Since f is positive
around x=1, then there is no local maximum or minimum at x=1.
[5] f ( x) = x 3 − 8
[6] f ( x) = x → f ( x) = x / x
f 0 at any value x but it does not exist at x=0 which is the only critical
[7] f ( x) = x 4 / 3 (1 − x)1/ 3
x1/ 3 (4 − 5 x)
f= , f = 0 → x = 0,4 / 5,1 (the critical points).
3(1 − x) 2 / 3
f = 12 ( x 2 − 8 x + 12 ) = 12 ( x − 2)( x − 6) → f = 12 (2 x − 8)
147
250 250 500
[9] f ( x) = x 2 + → f = 2 x − 2 → f = 2 + 3
x x x
and f (5) = 75 .
2 2
[10] f ( x) = ( x − 2) 2 / 3 → f = ( x − 2) −1/ 3 → f = − ( x − 2) −4 / 3
3 9
f does not exist at x=2, then the critical point is x = 2 but at which f
is undefined and therefore the second derivative test fails. Using the first
derivative test, f 0 for x<2 and f 0 for x>2, then there is a local
minimum at x=2 and f (2) = 0.
x ( x + 1) 2 − x(2)( x + 1) ( x + 1) − 2 x 1− x
[11] f = → f= = =
( x + 1) 2
( x + 1) 4
( x + 1) 3
( x + 1) 3
(30) Find the intervals of increasing or decreasing and the local maximum
and minimum values for each of the following functions:
148
[1] f = x 4 + 2 x3 − 3x 2 − 4 x + 4
f - + - +
1 1
[2] f = x3 + x 2 − 6 x + 8 → f = x 2 + x − 6 = ( x + 3)( x − 2)
3 2
→ f = 0 → x = −3, 2
f + - +
1 −1
[3] f = → f= but since f is undefined at x=2 there is no
x−2 ( x − 2) 2
Interval (−,2) ( 2, )
f - -
f Decreasing Decreasing
149
2
[4] f = 2 + x 2 / 3 → f = , then there is a critical point at x=0 and
3 x1 / 3
discussing the sign of f gives
f - +
F Decreasing Increasing
(31) Discuss concavity and find the inflection points for each of the
following functions:
[1] f = 3x 4 − 10 x3 − 12 x 2 + 12 x − 7
f = 12 x 3 − 30 x 2 − 24 x + 12 → f = 36 x 2 − 60 x − 24 = 12(3x + 1)( x − 2)
Let f = 0 → x = −1 / 3, 2
f + - +
[2] f = x 4 − 6 x + 2 → f = 4 x 3 − 6, f = 12 x 2
f + +
3 −6
[3] f = 3x + ( x + 2) 3 / 5 → f = 3 + → f =
5( x + 2) 2/5
25( x + 2) 7 / 5
150
f = 0 → x = −2 (possible inflection point).
f + -
[4] f = x 4 − 6 x 3 + 12 x 2 − 8 x → f = 4 x 3 − 18 x 2 + 24 x − 8
→ f = 12 x 2 − 36 x + 24 = 12 ( x − 1)( x − 2)
f + - +
[5] f = x 3 − 6 x 2 + 9 x + 1 → f = 3x 2 − 12 x + 9 → f = 6 x − 12 = 6( x − 2)
Interval (−,2] [ 2, )
f - +
10 −1 / 3
[6] f = 3x 5 / 3 − 5 x → f = 5 x 2 / 3 − 5 → f = x and does not exist at x=0.
3
151
(32) Find the Find the vertical and horizontal asymptotes, if any, of the
5 − 3x 2
function f ( x) =
1 − x2
5 − 3x 2
lim f ( x) = lim = 3 , the line y=3 is a horizontal asymptote.
x→ x→ 1 − x 2
1
−1
= lim 1 − x = lim
sin x 2 1
[1] lim =1
x →0 x x → 0 1 x → 0
1− x2
sin −1 x 1/ 1 − x2 1+ x2
[2] lim −1 = lim = lim =1
x →0 1 /(1 + x 2 )
x →0 tan x x →0
1− x2
1
cos x
[3] lim sin x = lim 2 x = lim+ cos x = 1
x →0 + x x →0 + 1 x →0
2 x
1 − cos x sin x
[4] lim (csc x − cot x) = lim (
+ +
) = lim+ = 0.
x →0 x →0 sin x x →0 cos x
1 x x − 1 − x( x − 1)
[5] lim ( − ) = lim+
x →1 +
x −1 x − 1 x→1 ( x − 1) x − 1
1
− (2 x − 1)
2 x −1 1 − 2 x − 1(2 x − 1)
= lim+ = lim+ =
x →1 x −1 x →1 3( x − 1)
x −1 +
2 x −1
152
x sin 2 x sin 2 x + 2 x sin x cos x sin 2 x + x sin 2 x
[7] lim = lim = lim
x →0 sin 2 x − 2 sin x x →0 2 cos 2 x − 2 cos x x →0 2 cos 2 x − 2 cos x
1 sin x − x cos x
[8] lim ( − cot x) = lim
+ +
x →0 x x →0 x sin x
tan x − 1 sec 2 x
[9] xlim = lim =2
→ / 4 x − / 4 x → / 4 1
153