lecture_notes math 1
lecture_notes math 1
Angles
Another unit for measuring angles is the radian. To define radian, we consider
unit circles.
Terminology: A circle with radius 1 is called a unit circle. The circle with radius
1 and center at the origin is called the unit circle.
Definition The angle deterrnined by an arc of length 1 along the circurn-ference
of a unit circle is said to be of measure one radian.
Since the circurnference ofa unit circle has length 2𝜋𝜋, there are 2𝜋𝜋 radians in one
revolution. Therefore, we have 360° = 2𝜋𝜋 radians. The conversion between
degrees and radians is given by
Exercise
1. Convert the following degree measures to radians:
a)270° b) 315°
𝜋𝜋 5𝜋𝜋
a) b)
6 2
Trigonometric Functions
flx+T):; X+T-[lx-ı--,!]
sin0- ��
.ı
cos9-== ..!..
'
.1
1t,n$= sı� co+-e- =-� s �c. ı9-.: -1-
COJ/9-
ese�-=-_j_
�$ Sı� Jfr-'$,
lim f (x) = L.
x!a
f (x) ! L as x ! a;
x2 2x
lim ?
x!2 x2 4
2
We first try to substitute x = 2, but this leads to f (2) = 222 2.2 0
4 = 0 which does
not exist. Next we try to substitute values of x close but not equal to 2. Table 1
suggests that f (x) approaches 0.5.
x f (x) x f (x)
3.000000 0.600000 1.000000 0.333333
2.500000 0.555556 1.500000 0.428571
2.100000 0.512195 1.900000 0.487179
2.010000 0.501247 1.990000 0.498746
2.001000 0.500125 1.999000 0.499874
lim f (x) = 7,
x!4
Example 4 (a) If f is the identity function, f (x) = x, then for any value
of x0 ,
lim f (x) = lim x = x0 ,
x!x0 x!x0
1
(b) If f is the constant function, f (x) = k (function with the constant value
k), then for any value of x0 ,
lim x = 3
x!3
and
lim 4 = lim 4 = 4.
x! 7 x!2
Example 5 Evaluate:
!
***
x2 + x 2 1 1
(a) lim
x! 2 x2 + 5x + 6 (b) lim x a
F
x!a x a
= 3
Solution Each of these limits involves a fraction whose numerator and de-
nominator are both 0 at the point where the limit is taken.
(a)
x2 + x 2 (x + 2)(x 1) x 1 2 1
lim 2
= lim = lim = = 3
x! 2 x + 5x + 6 x! 2 (x + 2)(x + 3) x! 2 x + 3 2+3
(b)
1 1 a x
lim x a = lim ax = lim 1 = 1
.
x!a x a x!a x a x!a ax a2
Remark 6 Always be aware that the existence of limx!a f (x) does not require
that f (a) exist and does not depend on f (a) even if f (a) does exist. It depends
only on the values of f (x) for x near but not equal to a.
2
⇢
x + 1, x 1
Example 8 g(x) =
x 1, x<1
Theorem 9 A function f (x) has limit L at x = a if and only if it has both left
and right limits there and these one-sided limits are both equal to L:
Example 10 If f (x) = bxc, find: limx!4+ f (x), limx!4 f (x) and limx!4 f (x).
Solution
Observe that f (x) = bxc = 4 if x > 4 and f (x) = bxc = 3 if x < 4.
|x|
Example 11 Show that limx!0 does not exist.
x
Solution
|x| x
limx!0 = limx!0 = limx!0 ( 1) = 1
x x
and
|x| x
limx!0+ = limx!0+ = limx!0+ 1 = 1.
x x
|x| |x| |x|
Since limx!0 6= limx!0+ , the limit limx!0 does not exist.
x x x
⇢ 2
y + 5, y < 2
Example 12 Given the function, g(y) =
1 3y, y 2
Solution
(a) In this case there really isnt a whole lot to do. In doing limits recall that
we must always look at whats happening on both sides of the point in question
as we move in towards it. In this case y = 6 is completely inside the second
interval for the function and so there are values of y on both sides of y = 6
3
that are also inside this interval. This means that we can just use the fact to
evaluate this limit.
lim g(y) = lim (1 3y) = 17.
y!6 y!6
(b) In this case the point that we want to take the limit for is the cuto↵ point
for the two intervals. In other words, we cant just plug y = 2 into the second
portion because this interval does not contain values of y to the left of y = 2
and we need to know what is happening on both sides of the point.
and
lim g(y) = lim + (1 3y) = 7.
y! 2+ y! 2
and so since the two one sided limits aren’t the same
lim g(y)
y! 2
doesnt exist.
4
Example 14 Evaluate
x3 2x2 5
lim .
x!3 8 4x
Solution
x3 2x2 5 limx!3 x3 2x2 5
lim =
x!3 8 4x limx!3 8 4x
limx!3 x3 2 limx!3 x2 limx!3 5
=
limx!3 8 4 limx!3 x
limx!3 x. limx!3 x. limx!3 x 2 limx!3 x. limx!3 x limx!3 5
=
limx!3 8 4 limx!3 x
3.3.3 2.3.3 5
=
8 4.3
4
=
4
= 1
P (x) P (a)
lim = .
x!a Q(x) Q(a)
x2 4
Example 16 Evaluate lim .
x!4 x + 2
Solution
x2 4 16 4
limx!4 = = 2.
x+2 4+2
Isandw!ch theorem)
Theorem 17 The Squeeze Theorem ( P!nch!ng theorem)
Suppose that
f (x) h(x) g(x)
for all x in some open interval containing c and that
Then
lim f (x) = lim h(x) = lim g(x).
x!c x!c x!c
5
The theorem is useful when you want to know the limit of h, and when
you can sandwich it between two functions f and g whose limits are easier to
compute. There is an important di↵erence: in the Squeeze Theorem you don’t
have to assume that the limit of h exists. The inequalities f h g combined
with the circumstance that f and g have the same limit are enough to guarantee
that the limit of h exists.
The following figure illustrates what is happening in this theorem.
Figure 1
The Squeeze theorem is also known as the Sandwich Theorem and the Pinch-
ing Theorem.
sinx
limx!0 =1
x
öneml!
Proof.
6
Figure 2
⇡
First we consider right-side limit. Let x be small, positive (0 < x < ).
2
Consider the triangles 4OAB and 4OAC and the sector OAB shown in Figure
2.
Note that
1 sinx
area of 4OAB = .1.1.sinx =
2 2
1p x
area of sector OAB = . 1.x =
2 2
1 tanx
area of 4OAC = .1. | AC |=
2 2
Since 4OAB ✓ sectorOAB ✓ 4OAC, it follows that
sinx x tanx
< < .
2 2 2
sinx
Dividing each term by (which is positive), we get
2
x 1
1< < ,
sinx cosx
which, by taking reciprocal, yields
sinx
1> > cosx.
x
By the continuity of the cosine function (at 0), we have
Letting x ! 0+ with the Sandwich Theorem (which is also valid for limits at a
point and one-sided limits), we get
sinx
lim+ = 1.
x!0 x
sinx sin( x) sinx
Since is an even function, that is, = for all x 6= 0 it follows
x x x
sinx sinx
that limx!0 = 1. Therefore, we have limx!0 = 1.
x x
7
Remark 20 The result means that if x is small, then sinx is approximately
equal to x.
. -
sin(2x)
(d) limx!0 =? =
sin(3x)
sin(2x) sin(2x) 2x 3x 2
lim = lim . . =
x!0 sin(3x) x!0 2x 3x sin(3x) 3
lim f (x).g(x) = 0.
x!a
#!lk
✓ ◆
1
Example 24 limx!0 x. sin
x
=? e!m teorem as
kullanamam
1 o yüzden
Since sin is a bounded function and limx!0 x = 0 then we have 0 olduğunu
x L!m X =
✓ ◆ X +0 kullanarak
1
lim x. sin = 0. o olduğunu
x!0 x bulduk.
8
(2 + h)2 4
Example 25 limh!0 =?
h
(2 + h)2 4 4 + 4h + h2 S
/ 4
lim = lim
h!0 h h!0 h
4h + h2
= lim
h!0 h
= lim 4 + h
h!0
= 4
-
p
x2 6x + 9
Example 26 limx!3+ =?
x 3
p p
x2 6x + 9 (x 3)2
lim = lim+
x!3+ x 3 x!3 x 3
|x 3|
= lim
x!3+ x 3
x 3
= lim
x!3+ x 3
= lim+ 1
x!3
= 1
sin x tan x >
s!nx-
-
Example 27 limx!0 =?
x3
1
sin x tan x sin x(1 )
lim = lim cos x
x!0 x3 x!0 x.x2
1
sin x 1 cos x
= lim .
x!0 x x2
1
sin x 1
= lim . lim cos x
x!0 x x!0 x 2
-
1 1
1
= lim cos x
x!0 x2 - - s!n2x
cos x 1 cos x + 1
= lim .
x!0 cos x.x2 cos x + 1
sin x. sin x 1
= lim .
x!0 x.x cos x(cos x + 1)
1
=
2
cos(2x) 1
Example 28 limx!2⇡ =?
sin2 (2x) > 1 cos"(2x)
-
-
h
9
cos(2x) 1 cos(2x) 1
lim = lim
x!2⇡ sin2 (2x) x!2⇡ 1 cos2 (2x)
cos(2x) 1
= lim
x!2⇡ (1 cos(2x))(1 + cos(2x))
1
= lim
x!2⇡ 1 + cos(2x)
1
=
1 + cos(4⇡)
1
=
2
s
| 4 x2 |
Example 29 limx! 2 =?
|2+x|
s s
| 4 x2 | |2 x || 2 + x |
lim = lim
x! 2 |2+x| x! 2 |2+x|
p
= lim |2 x|
x! 2
25 . 10 . 23
= 2
1 6
N Example 30 limx!3 ( ) =?
x 3 x2 9
1 6 x+3 6
lim ( ) = lim
x!3 x 3 x2 9 x!3 x2 9
x 3
= lim
x!3 x2 9
x 3
= lim
x!3 (x 3)(x + 3)
1
= lim
x!3 x + 3
1
=
6
p p
5x 5 x
Example 31 limx!5 =?
x 5
10
p p p p p p
5x 5 x ( 5x 5 x)( 5x + 5 x)
lim = lim p p
x!5 x 5 x!5 (x 5)( 5x + 5 x)
5x2 25x
= lim p p
x!5 (x 5)( 5x + 5 x)
5x(x 5)
= lim p p
x!5 (x 5)( 5x + 5 x)
5x
= lim p p
x!5 5x + 5 x
25
= p p
5 5+5 5
p
5
=
2
p
x+4 2
z Example 32 limx!0 =?
x
p p p
x+4 2 ( x + 4 2)( x + 4 + 2)
lim = lim p
x!0 x x!0 x( x + 4 + 2)
x+4 4
= lim p 1)
x!0 x( x + 4 + 2) katsayısı
(x'!m
yapma!n
1
=
4 >
-
2
x + 2x 3 Horner Methodu
~ Example 33 limx!1 =?
2x3 + x2 2x + 1 pol!nomda bölme
2x3 + x2 1/
(2x2
2x +
-
2 laraştır)
x + 2x 3 (x + 3)(x 1)
-
2x 2xh +3x +1
-
lim = lim
- - x!1 2x3 + x2 2x + 1 x!1 (x
1)(x + 1)(2x + 1)
3x2 -
2x 1
-
-
=
6 2
x3 y x2 y 2
Example 34 limx!y =?
x4 y4
x3 y x2 y 2 x2 y(x y)
lim = lim
x!y x4 y4 x!y (x2 y 2 )(x2 + y 2 )
x2 y(x y)
= lim
(x
x!y (x y)(x + y)(x2 + y 2 )
2
y y
=
(y + y)(y 2 + y 2 )
y3
2
=
4y 3
1
+ y2 =
4
: 11
=
"()
Mosco
1 cos x
v
Example 35 limx!0 =? =
sin x
1 cos x 1 (1 2 sin2 x2 )
lim = lim
x!0 sin x x!0 2 sin x2 cos x2
2 sin2 x2
l!m
s!n =
=
= lim
x!0 2 sin x cos x
2 2
sin x2
= lim
x!0 cos x
2
0
=
1
= 0
3* ,
0
x= 0 cutoff not
1x1 =
lim (x
x!4
bxc) = lim (x
x!4
3) = 1
ma - galer!de
3x 3x
lim = lim =0
x!0 bxc x!0 1
bunları çöz
Example 37 Evaluate the following limits.
-
1. limt!5
t3 6t2 + 25
(answ. 15) st-t +
-
-
t 5
2( 3 + h)2 18
2. limh!0
p
h
(answ. 12) +
29-6hth)
t 3t + 4 5 =
+ + 5
-
O
-
3. limt!4 (answ. )
4 t 8
✓ ◆ 25 -
5 - 5 =
15/
2 1
4. limx!0 x cos (answ. 0) 24 12
x
-
e!m xcos
O
1 cosx 1
5. limx!0 (answ. )
x2 2
6. limx!3 bsgn(x2 9) + sgn(x 4)c (answ. limit doesn’t exist)
|x|+| x|
7. limx!0 (answ. 0)
sgn(x)
12
i
8. limx!3 bx bxcc (answ. 0)
9. limx!3 bxc (answ. limit doesn’t exist)
|x 2|
10. limx!1 (answ. 1)
sgn(x 1)2
2 Limits of Sequences
Definition 38 A sequence is a function whose domain is Z+ (the set of all
positive integers). A sequence of real numbers is a sequence whose codomain is
R.
(1)l!m -
✓2 3 4 n ◆
1 2 3 1
approach 0 as n gets large, and in the sequence 0, , , , ..., 1 , ... whose (2) 1-1 approaches
>
-
to
2 3 4p p pn
p
terms approach 1. On the other hand, sequences like 1, 2, 3, ..., n, ...
S
Isea .
theorem)
13
✓ ◆
1
s
Example 41 Find limn!1 4 + n , if it exists.
2
Explanation
1
The sequence under consideration is given by an = 4 + n . The question
2
asks for the following:
1. Does the limit of (an ) exist or not (or equivalently, is the sequence con-
vergent)?
2. If the answer to (1) is affirmative, find the limit.
Solution
✓ ◆
1 1
lim 4+ = lim 4 + lim =4+0=4
n!1 2n n!1 n!1 2n
2n3 3n2 + n
~ Example 42 Find limn!1 , if it exists.
6n3
Solution
✓ ◆
2n3 3n2 + n 1 1 1 1 1 1 1 1
lim = lim + = lim . lim + . lim
n!1 6n3 n!1 3 2n 6n2 n!1 3 2 n!1 n 6 n!1 n2
1 1 1 1
= .0 + .0 = .
3 2 6 3
~ Example 43 Find limn!1 (1 + 2n), if it exists.
Solution
Limit does not exist. This is because we cant find any real number L satis-
fying the condition that 2n + 1 is close to L if n is large.
Example 44 Calculate the limits of the sequences.
✓ 2 ◆ ⇣ ⌘ p
~ (a)
2n n 1 ~(b) cosn ~ (c) n2 + 2n n
5n2 + n 3 n
Solution
14
(b) Since | cosx | 1 for every n, we have
1 cosn 1
n n n
for n 1.
1 1
Now, limn!1 = 0 and limn!1 = 0, Therefore, by the sequence
n n
version of the Squeeze Theorem, limn!1 (cosn/n) = 0. The given sequence
converges to 0.
(c) For this sequence we multiply the numerator and the denominator (which
is 1) by the conjugate of the expression in the numerator:
⇣p ⌘ p p
n2 + 2n n n2 + 2n + n
lim n2 + 2n n = lim p
n!1 n!1 n2 + 2n + n
2n
= lim p
n!1 2
n + 2n + n
2
= lim p = 1.
n!1 1 + (2/n) + 1
15
by taking x large enough, then we say that f (x) approaches the limit L as x
approaches infinity, and we write
lim f (x) = L.
x!1
lim f (x) = M.
x! 1
x2 + 1
eExample 47 limx!1 p =?
x2 + 2x4 x
Solution
✓ ◆
2 1
x 1+ 2
x2 + 1 x
lim p = lim r !
x!1 x2 + 2x4 x x!1
1
x2 1+ 2
x3
1
= p
1+ 2
p p
Example 48 limx!1 ( x2 + x x2 + 5) =?
Solution
p p p p
p p ( x2 + x
x2 + 5)( x2 + x + x2 + 5)
lim ( x2 +x x2 + 5) = lim p p
x!1 x!1 x2 + x + x2 + 5
x2 + x x2 5
= lim q q
x!1
x( 1 + x1 + 1 + x52 )
5
x(1 x)
= lim q q
x!1 1 5
x( 1+ x + 1+ x2 )
1 1
= p p =
1+ 1 2
Example 49 p
lim ( x2 4x x) =?
x!1
16
Solution
p
p p ( x2 4x + x)
lim ( x2 4x x) = lim ( x2 4x x) p
x!1 x!1 ( x2 4x + x)
x2 4x x2
= lim p
x!1 x2 4x + x
4x
= lim ⇣q ⌘
x!1
x 1 x4 + 1
4
=
2
= 2
Example 50 p p
x + 1 + 2x + 1
lim =?
x!1 x
Solution
r r !
p 1 1
p p x 1+ + 2+
x + 1 + 2x + 1 x x
lim = lim
x!1 x x!1
r rx
1 1
1+ + 2+
x x
= lim p
x!1 x
= 0
1
Example 51 limx! 1 =0
x
Theorem 52 Let Pm (x) = am xm + am 1 xm 1 + ... + a0 and Qn (x) = bn xn +
bn 1 xn 1 +...+b0 be polynomials of degree m and n, respectively, so that am 6= 0
and bn 6= 0. Then
1. ⇢
1 am > 0
lim Pm (x) =
x!1 1 am < 0
2. 8 a 9
> m m=n >
Pm (x) < bn =
lim = ±1 m > n
x!±1 Qn (x) >
: >
;
0 m<n
x2 + 1
Example 53 limx!1 =0
3x3 4x + 5
17
3.2 Infinite Limits
A function whose values grow arbitrarily large can sometimes be said to have
an infinite limit. Since infinity is not a number, infinite limits are not really
limits at all, but they provide a way of describing the behaviour of functions
that grow arbitrarily large positive or negative.
1
Example 54 Find limx!0 if it exist.
x2
Solution As x approaches 0 from either side, the values of f (x) are positive
and grow larger and larger, so the limit of f (x) as x approaches 0 does not exist.
It is nevertheless convenient to describe the behaviour of f near 0 by saying that
1
f (x) approaches 1 as x approaches 0. We write limx!0 f (x) = limx!0 2 = 1.
x
2x
Example 55 Evaluate lim .
x!3+ x 3
Solution
2x
lim+ = +1
x!3 x 3
Example 56 Evaluate lim+ ln x.
x!0
Solution
lim ln x = 1
x!0+
bxc
Example 57 limx!0 =?
x
Solution
bxc 1
lim = lim = +1
x!0 x x!0 x
Example 58 Evaluate the following limits.
1. limx!1 (2x4 x2 8x) (answ. 1)
1 5
2. limt! 1( t + 2t3 t2 + 8) (answ. 1)
3
2x4 x2 + 8x 2
3. limx!1 4
(answ. )
5x + 7 5
p p
3x2 + 6 3
4. limx!1 (answ. )
5 2x 2
18
·
5. limx! 1
p
3x2 + 6
5 2x
(answ.
p
2
3
·)
3
6. limx!4 (answ. limit doesn’t exist)
(4 x)3
4x 8x2
7. limx!1 e2 (answ. 0)
✓ ◆
1
8. limt! 1 ln (answ. 1)
t2 5t
⇡
9. limx!1 arctanx (answ. )
2
✓ ◆
1 ⇡
10. limx!0 arctan (answ. )
x 2
19
The definition for a limit at negative infinity is formulated in a similar way.
Try to formulate the corresponding definition for the concept limx!a f (x) =
1.
5 Continuity
Definition 64 Continuity
A function f (x) is said to be continuous at an interior point c of its domain
if > F !s cont at C
- .
=
Note that this definition is also implicitly assuming that both f (c) and
limx!c f (x) exist. If either of these do not exist the function will not be con-
tinuous (discontinuous) at x = c .
Therefore, f is right-continuous at 0.
In the above example, f is also continuous at every a > 0. Thus, it is
”continuous” at every a belonging to its domain, where ”continuous at 0” means
right-continuous at 0.
20
Example 69 Given the graph of f (x) , shown below, determine if f (x) is con-
tinuous at x = 2, x = 0 and x = 3.
Figure 3
Solution To answer the question for each point well need to get both the
limit at that point and the function value at that point. If they are equal the
function is continuous at that point and if they arent equal the function isnt
continuous at that point.
First x = 2. f ( 2) = 2 and limx! 2 f (x) doesn’t exist. The function value
and the limit arent the same and so the function is not continuous at this point.
This kind of discontinuity in a graph is called a jump discontinuity. Jump
discontinuities occur where the graph has a break in it as this graph does and
the values of the function to either side of the break are finite (i.e. the function
doesnt go to infinity).
Now x = 0 . f (0) = 1 and limx!0 f (x) = 1. The function is continuous at
this point since the function and limit have the same value.
Finally x = 3. f (3) = 1 and limx!3 f (x) = 0. The function is not contin-
uous at this point. This kind of discontinuity is called a removable disconti-
nuity. Removable discontinuities are those where there is a hole in the graph
as there is in this case.
21
neceer haram
old
Bak bu araber
Date de
kanne
⇢
0 if x<0
Example 70 f (x) = Determine whether f is continuous at
x if x 0
x = 0 or not.
e!m S!x
Solution f (0) = 0 and limx!0 f (x) = 1. Since limx!0 f (x) 6= f (0) then f
X)0 is not continuous at x = 0.
p
f (1) = 1 1=0
p
lim+ f (x) = lim+ x 1=0
x!1 x!1
lim f (x) = lim (x 1) = 0
x!1 x!1
f is continious at x = 1.
Solution
f (1) = ln 1 = 0
lim f (x) = lim sin(n⇡x) = 0
x!1 x!1
lim f (x) = lim lnx = 0
x!1+ x!1+
Since
lim f (x) = 0 = f (1)
x!1
then f is continuous on (0, 2).
Example 77 For what value of b is
⇢ 3 1
x , x< 2
f (x) = 1
bx2 , x 2
continuous at every x?
Solution
✓ ◆
1 b
f =
2 4
b
lim+ f (x) = lim+ bx2 =
1
x! 2 x! 21 4
1
lim f (x) = lim x3 =
x! 12 x! 12 8
b 1 1
= )b= .
4 8 2
23
Example 78 For what values of a and b is
8
< 3 sin x, x<0
⇡
f (x) = a cos x + b, 0 x 2
:
sin x, x > ⇡2
continuous at every x?
Solution
b= 1
a=1
continuous at every x?
Solution
24
a+b = 2
a+b = 0
a = 1
b = 1
continuous at every x?
Solution
x+1
lim sgn( ) = 1
x! 1 |x+1|
lim (x2 + mx 1) = 1 m 1= m
x! 1+
m = 1
continuous at every x?
Solution
lim (x 1)3 = 1
x!0
lim ax + b = b
x!0+
b = 1
p
lim ax + b = lim+ x=1
x!1 x!1
a = 2
25
(a) ⇢ 1
x sin 2x , x 6= 0
f (x) =
0, x=0
Solution
f (0) = 0
1
lim f (x) = lim x sin =0
x!0 x!0 2x
f is continuous at x = 0.
(b)
f (x) = x2 + sgn(x2 1)
Solution
It follows that limx!1 f (x) does not exist and so f is not continuous at 1.
It follows that limx! 1 f (x) does not exist and so f is not continuous at
1.
Thus, f is not continuous at x = ±1 and f has jump discontinuities at
these points.
(c)
⇢ x2 1
x 1 , x 6= 1
f (x) =
2, x=1
Solution
f (1) = 2
26
x2 1
lim f (x) = lim
x!1 x!1 x 1
(x 1)(x + 1)
= lim
x!1 x 1
= lim (x + 1)
x!1
= 2
f is continuous at x = 1.
(d) 8
< x2 , x<1
f (x) = 2 x, x>1
:
0, x=1
Solution
All the Intermediate Value Theorem is really saying is that a continuous function
will take on all values between f (a) and f (b) . Below is a graph of a continuous
function that illustrates the Intermediate Value Theorem.
27
Figure 4
As we can see from this image if we pick any value, M , that is between the
value of f (a) and the value of f (b) and draw a line straight out from this point
the line will hit the graph in at least one point. In other words, somewhere
between a and b the function will take on the value of M . Also, as the figure
shows the function may take on the value at more than one place. Its also
important to note that the Intermediate Value Theorem only says that the
function will take on the value of M somewhere between a and b. It doesnt say
just what that value will be. It only says that it exists. These are important
ideas to remember about the Intermediate Value Theorem.
A nice use of the Intermediate Value Theorem is to prove the existence of
roots of equations as the following example shows.
Example 84 Show that p(x) = 2x3 5x2 10x + 5 has a root somewhere in
the interval [ 1, 2].
Solution
What were really asking here is whether or not the function will take on the
value p(x) = 0 somewhere between 1 and 2. In other words, we want to show
that there is a number c such that 1 < c < 2 and p(c) = 0 . However if we
define M = 0 and acknowledge that a = 1 and b = 2 we can see that these two
condition on c are exactly the conclusions of the Intermediate Value Theorem.
So, this problem is set up to use the Intermediate Value Theorem and in fact,
all we need to do is to show that the function is continuous and that M = 0 is
between p( 1) and p(2) (i.e. p( 1) < 0 < p(2) or p(2) < 0 < p( 1) and well
be done.
To do this all we need to do is compute, p( 1) = 8, p(2) = 19. So, we
have, 19 = p(2) < 0 < p( 1) = 8. Therefore M = 0 is between p( 1) and p(2)
28
and since p(x) is a polynomial its continuous everywhere and so in particular
its continuous on the interval [ 1, 2]. So by the Intermediate Value Theorem
there must be a number 1 < c < 2 so that, p(c) = 0. Therefore, the polynomial
does have a root between 1 and 2. For the sake of completeness here is a graph
showing the root that we just proved existed. Note that we used a computer
program to actually find the root and that the Intermediate Value Theorem did
not tell us what this value was.
Figure 5
✓ ◆
x2
Example 85 If possible, determine if f (x) = 20sin(x + 3)cos takes the
2
following values in the interval [0, 5].
a) s!ne and cos!ne funct!ons are cont .
everywhere
>
-
(a) Does f (x) = 10 ? So f(x) !s cont . everywhere , espec!ally on [0 , 5)
F(0) = 2 8224
.
,
f(5) = 19 7436
.
b) f(x) = -
10 ? E (b) Does f (x) = 10 ? F(0) < 10 < F(S)
Then CS t
by I UT
. .
there ex!stey . .
[0 5] but
,
F!s cont on
Solution 0 <5 and f(s) 10
.
, ,
=
#(5) Then ,
.
we can not apply So as with the previous example, were being asked to determine, if possible,
I V
. .
T
. if the functio takes on either of the two values above in the interval [0, 5]. First,
sowecannot sayanyth!natat lets notice that this is a continuous function and so we know that we can use
the Intermediate Value Theorem to do this problem.
Now, for each part we will let M be the given value for that part and then
well need to show that M lives between f (0) and f (5). If it does, then we can use
the Intermediate Value Theorem to prove that the function will take the given
value. So, since well need the two function evaluations for each part lets give
them here, f (0) = 2.8224 and f (5) = 19.7436.
Now, lets take a look at each part.
29
(a) In this case we’ll define M = 10 and we can see that, f (0) = 2.8224 <
10 < 19.7436 = f (5). So, by the Intermediate Value Theorem there must be a
number 0 c 5 such that f (c) = 10.
(b) In this part we’ll define M = 10. We now have a problem. In this
part M does not live between f (0) and f (5). So, what does this mean for us?
Does this mean that f (x) 6= 10 in [0, 5]? Unfortunately for us, this doesn’t
mean anything. It is possible that f (x) 6= 10 in [0, 5], but is it also possible that
f (x) = 10 in [0, 5]. The Intermediate Value Theorem will only tell us that c’s
will exist. The theorem will NOT tell us that c’s dont exist. In this case it is
not possible to determine if f (x) = 10 in [0, 5] using the Intermediate Value
Theorem.
30
References
[1] Robert A. Adams, Christopher Essex. Calculus: A Complete Course, Pear-
son, Canada, 2018.
[2] S.K. Chung, Understanding Basic Calculus, lecture notes, Department of
Mathematics, University of Hong Kong.
[3] Paul Dawkins, Calculus I, Paul’s Online Notes. Retrieved from
https://tutorial.math.lamar.edu/
31
Derivatives of Functions
If L is a line through P (x0 , y0 ) whose slope is the limit of the slopes of the secant lines through P and Q as
Q approaches P along C, then we say that L is tangent to C at P or L is the tangent line to the graph
of the function f (x) at P .
Since f (x) is a function, vertical lines can intersect C at most once. Since Q 6= P , Q must have a di↵erent
x coordinate from x0 . Therefore, Q = (x0 +h, f (x0 +h)), where h 6= 0. The slope of the line passing through
f (x0 + h) f (x0 )
P and Q is , and this expression is called Newton quotient or di↵erence quotient for
h
f at x0 . (h can be negative or positive)
Figure 1
Definition : Suppose that the function f is continuous at an interior point x0 of its domain and that
f (x0 + h) f (x0 )
lim = m exists. Then the straight line having slope m and passing through the point
h!0 h
P (x0 , f (x0 )) is called the tangent line to the graph of the function y = f (x) at P . An equation of this
tangent line is
y = m(x x0 ) + f (x0 ).
1
seğr" x2
Example. Find an equation of the tangent line to the curve y = x2 at the point (1, 1). y
=
= tangent
An equation of the tangent line is y 1 = 2(x 1), or equivalently, y = 2x 1. L ne
Remark : Suppose that f is a function that is continuous at an interior point x0 of its domain. Then,
using the substitution x = x0 + h, we obtain that
l!m
2 x+2
f (x) f ( 2) +1
m= m = lim = lim x = lim x = lim 1 = 1
x! 2 x ( 2) x! 2 x+2 x! 2 x+2 x! 2 x 2
1 1
An equation of the tangent line is y ( 1) = (x ( 2)), or equivalently, y = x 2.
2 2
Definition : If the function f is continuous at x0 and if either
f (x0 + h) f (x0 )
lim = 1,
h!0 h
or
f (x0 + h) f (x0 )
lim = 1,
h!0 h
then the vertical line x = x0 is tangent to the graph of the function y = f (x) at (x0 , f (x0 )).
f (x0 + h) f (x0 )
Remark : If f is a function such that lim does not exist and is not 1 or 1, then the
h!0 h
graph of y = f (x) has no tangent line at x = x0 .
Example. Determine whether or not the graphs of each of the following functions has a tangent line at
x = 0. If the graph has a tangent line at x = 0, find its equation.
(a) f (x) =
p
3
x -
M
=
F
=!le
em =Ta = =
l!m En Tot =
to = 0
vert!cal l!ne X =
0
2
i
i
Solution. (a) p
3
f (0 + h) f (0) h 0 1
lim = lim = lim 2/3 = 1
h!0 h h!0 h h!0 h
1
because if h is close to 0, then h2/3 is a small positive number so that 2/3 is a large positive number.
h
p
Thus, the graph of y = 3
x has a tangent line at x = 0 which is vertical, and its equation is x = 0.
(b)
f (0 + h) f (0) h2/3 0 1
lim = lim = lim 1/3
h!0 h h!0 h h!0 h
1 1
lim = 1 and lim = 1.
h!0 h1/3 h!0+ h1/3
f (0 + h) f (0)
So, the limit lim does not exist.
h!0 h
Therefore, there is no tangent line to the graph of the curve y = x2/3 .
The Derivative
Definition : The derivative of a function f is another function f 0 defined by
f (x + h) f (x)
f 0 (x) = lim
h!0 h
at all points x for which the limit exists (as a finite real number).
f (x0 + h) f (x0 )
The derivative of a function f at a number x0 is f 0 (x0 ) = lim if this limit exists.
h!0 h
f (x0 + h) f (x0 )
If f 0 (x0 ) exists, then we say that f is di↵erentiable at x0 . If the limit lim does not
h!0 h
exist, then we say that f is not di↵erentiable at x0 . The process of calculating the derivative f 0 of a given
function f is called di↵erentiation.
Remark : The value of the derivative of a function f at a point x0 can also be expressed as
f (x) f (x0 )
f 0 (x0 ) = lim
x!x0 x x0
provided that the limit exists, because under the substitution x = x0 + h we have
3
Example. Show that the derivative of the function f (x) = x3 is f 0 (x) = 3x2 .
Solution.
f (x + h) f (x) (x + h)3 x3
f 0 (x) = lim = lim
h!0 h h!0 h
3 2 2
x + 3x h + 3xh + h 3 x 3
= lim = lim (3x2 + 3xh + h2 )
h!0 h h!0
2 2 2
= 3x + 3x · 0 + 0 = 3x .
Example. Show that the derivative of the function f (x) = sin x is f 0 (x) = cos x.
Solution.
f (x + h) f (x) sin(x + h) sin x sin x cos h + cos x sin h sin x
f 0 (x) = lim = lim = lim
✓
h!0 h h!0 h
◆
h!0 h
cos h 1 sin h
= lim sin x · + cos x ·
h!0 h h
cos h 1
So, lim = 0.
h!0 h
Therefore,
Solution.
f (x) f (0) |x| 0 |x|
lim = lim = lim
x!0 x 0 x!0 x x!0 x
|x| x
lim = lim = lim 1 = 1
x!0+ x x!0 x
+ x!0+
|x| x
lim = lim = lim ( 1) = 1
x!0 x x!0 x x!0
4
The derivative of the function f (x) = |x| is
⇢
0 1, if x < 0
f (x) =
1, if x > 0.
Exercise. Show that the derivative of the function f (x) = ex is f 0 (x) = ex .
Example. Let
8 ✓ ◆
< 1
x2 sin , if x 6= 0
f (x) = x
:
0, if x = 0.
(a) Determine whether or not the function f is continuous at 0.
Solution.
✓ ◆ ✓ ◆
1 1
(a) 0 x2 sin 2
= x sin x2 for all x 2 R \ {0} .
x x
lim 0 = 0 and lim x2 = 02 = 0.
x!0 x!0
✓ ◆
2 1
By the Squeeze Theorem, lim x sin = 0.
x!0 x
✓ ◆
2 1
So, lim x sin = 0. Since f (0) = 0, we have lim f (x) = f (0). Thus, f (x) is continuous at 0.
x!0 x x!0
✓ ◆
2 1
h sin ✓ ◆
f (0 + h) f (0) f (h) f (0) f (h) h 1
(b) lim = lim = lim = lim = lim h sin
h!0 h h!0 h h!0 h h!0 h h!0 h
✓ ◆
1
0 h sin |h|
h
lim 0 = 0 and lim |h| = 0.
h!0 h!0
✓ ◆ ✓ ◆
1 1
By the Squeeze Theorem, lim h sin = 0. So, lim h sin = 0.
h!0 h h!0 h
Therefore, f (x) is di↵erentiable at 0 and f 0 (0) = 0.
Leibniz Notation
If y = f (x), we can use the dependent variable y to represent the function f (x), and we can denote the
derivative of f (x) with respect to x in any of the following ways:
dy df d
f 0 (x) = y 0 = = = f (x) = Dx y = Dx f (x) = Df (x)
dx dx dx
dy df d
The notations , , f (x) are called Leibniz notations for derivative.
dx dx dx
5
Di↵erentiation Formulas
1) Derivative of a Constant Function
If f (x) = c, where c is a real number, then f 0 (x) = 0.
Remark : The sum rule can be extended to the sum of any number of functions. For instance, if f, g, h, k
are di↵erentiable functions, then
d d d d d
f (x) + g(x) + h(x) + k(x) = f (x) + g(x) + h(x) + k(x),
dx dx dx dx dx
or (f + g + h + k)0 (x) = f 0 (x) + g 0 (x) + h0 (x) + k 0 (x).
Remark : The product rule can be extended to the product of any number of functions. For instance,
if f1 , f2 , ..., fn are di↵erentiable functions, then
0
f1 f2 · · · fn (x) = f10 (x)f2 (x)f3 (x) · · · fn (x) + f1 (x)f20 (x)f3 (x) · · · fn (x) + · · · + f1 (x)f2 (x)f3 (x) · · · fn0 (x).
6
7) The Quotient Rule
f
If f and g are di↵erentiable functions, then is di↵erentiable and
g
d d
d ⇣ f (x) ⌘ g(x) dx f (x) f (x) dx g(x)
= 2
dx g(x) g(x)
or ⇣ f ⌘0 f 0 (x)g(x) f (x)g 0 (x)
(x) = 2 ,
g g(x)
or ⇣ f ⌘0 g(x)f 0 (x) f (x)g 0 (x)
(x) = 2 ,
g g(x)
where g(x) 6= 0.
d n
Remark : Since (x ) = nxn 1 for every n 2 Z+ , using the Reciprocal Rule we obtain that
dx
d n
d n d⇣ 1 ⌘ dx
(x ) nxn 1
n 1
(x )= = 2 = = nx
dx dx xn xn x2n
for every n 2 Z+ .
7
1 1
Solution. f (x) = =x 1, so f 0 (x) = x 2 =
x x2
5
(d) f (x) = 2x4 + 6 + 8
x
Solution. f 0 (x) = 8x3 30x 7 + 0 = 8x3 30x 7
x
(e) f (x) =
x2 +1
1 · (x2 + 1) x · 2x 1 x2
Solution. f 0 (x) = =
(x2 + 1)2 (x2 + 1)2
p ⇣ 1 ⌘
Example. Let f (x) = x 2x + . Find f 0 (4).
x
✓ ◆ ✓ ◆
0 1 1 p 1
Solution. f (x) = p 2x + + x 2
2 x x x2
✓ ◆ ✓ ◆ ✓ ◆ ✓ ◆
0 1 1 p 1 1 1 1 1 1 95
f (4) = p 2·4+ + 4 2 = 8+ +2 2 =2+ +4 =
2 4 4 42 4 4 16 16 8 16
dy dy du
In Leibniz notation, if y = f (u) and u = g(x) are both di↵erentiable functions, then = · .
dx du dx
d k k 1 0
Corollary : If k is any real number and g is a di↵erentiable function, then g(x) = k g(x) g (x).
dx
Example. Find the derivative of each of the following functions.
Solution.
f 0 (x) = 5(2x + 1)4 2 (4x3 x + 1)4 + (2x + 1)5 4 (4x3 x + 1)3 (12x2 1)
4 3 4 5 3 3 2
= 10(2x + 1) (4x x + 1) + 4(2x + 1) (4x x + 1) (12x 1)
8
⇣ 2x5 1 ⌘4
(d) f (x) =
x2 + 1
Solution.
✓ ◆3 ✓ 5 ◆0 ✓ 5 ◆3
0 2x5 1 2x 1 2x 1 10x4 (x2 + 1) (2x5 1) 2x
f (x) = 4 = 4
x2 + 1 x2 + 1 x2 + 1 (x2 + 1)2
8x(3x5 + 5x3 + 1)(2x5 1)3
=
(x2 + 1)5
Remark : If f is a function that is di↵erentiable at x0 , then the slope of the tangent line to the graph of
y = f (x) at the point x0 , f (x0 ) is m = f 0 (x0 ).
p ⇣ 4⌘
4 x
Example. Find an equation of the tangent line to the curve y = p at the point 1, .
x + 2x 3
p
4 x
Solution. Let f (x) = p .
x + 2x
✓ ◆
1 p p 1
4 · p ( x + 2x) 4 x p +2 p p p
0 2 x 2 x 2+4 x 2 8 x 4 x
Then, f (x) = p = p = p .
( x + 2x)2 ( x + 2x)2 ( x + 2x)2
4 4
The slope of the tangent line is m = f 0 (1) = 2 = .
3 9
4 4
An equation of the tangent line is y = (x 1) or 4x + 9y = 16.
3 9
Normal Line
Let P be a point on a curve C in the xy plane. If the curve C has a tangent line L at the point P , then
the straight line N through P perpendicular to L is called the normal line to the curve C at P .
If the tangent line L is horizontal,then the normal line N is vertical. Moreover, if L is vertical, then N is
horizontal.
If the tangent line L is neither horizontal nor vertical, and if the slope of L is m, then the slope of the normal
1
line N is .
m
Example. Find and equation of the normal line to the curve y = x4 + 2x2 x at the point (1, 2).
dy
Solution. = 4x3 + 4x 1
dx
dy
= 4 · 13 + 4 · 1 1=7
dx x=1
1
The slope of the normal line is .
7
1 1 15
An equation of the normal line is y 2= (x 1) or y = x+ .
7 7 7
9
EX : F(x) = S!n2X
d
1) sin x = cos x tanx
dx EX : F(x) = 2
d tan Stanx)'
2) cos x = sin x F'(x) = 2 In 2 .
dx tanx
d => 2 .
enz .
secx
3) tan x = sec2 x = 1 + tan2 x
dx
d
4) cot x = csc2 x = 1 cot2 x
dx
d
5) sec x = sec x tan x
dx
d
6) csc x = csc x cot x
dx
So, we have
8
> 1
>
> ,
if x > 0
d < x
ln |x| =
dx >
> 1
>
: ( 1), if x < 0
x
1
=
x
for every nonzero real number x.
d 1
Thus, ln |x| = for every x 2 R \ {0}.
dx x
10
Derivatives of Hyperbolic Functions
d
1) sinh x = cosh x
dx
d
2) cosh x = sinh x
dx
d
3) tanh x = sech2 x
dx
d
4) coth x = csch2 x
dx
d
5) sech x = sech x tanh x
dx
d
6) csch x = csch x coth x
dx
The function f 00 is called the second derivative of f because it is the derivative of the derivative of f .
d2 y d2 f d2
y 00 = f 00 (x) = = = f (x) = Dx2 y = Dx2 f (x)
dx2 dx2 dx2
✓ ◆
d d d2
Note that f (x) = 2 f (x).
dx dx dx
The third derivative of f is the derivative of the second derivative of f and it is denoted by f 000 .
f 000 = (f 00 )0 .
d3 y d3 f d3
y 000 = f 000 (x) = = = f (x) = Dx3 y = Dx3 f (x)
dx3 dx3 dx3
Derivatives of order greater than 3 are defined similarly. In general, the nth derivative of f where n 2 N,
n 2, is denoted by the derivative of the (n 1)th derivative of f and it is denoted by f (n) .
⇣ ⌘
0
f (n) = f (n 1) , f (3) = f 000 , f (2) = f 00 , f (1) = f 0 .
dn y dn f dn
y (n) = f (n) (x) = = = f (x) = Dxn y = Dxn f (x)
dxn dxn dxn
✓ n 1
◆
d d dn
Note that f (x) = f (x), n 2 N, n 2.
dx dxn 1 dxn
11
1 ( 1)n n!
Example. Let f (x) = . Show that f (n) (x) = for every n 2 N.
1+x (1 + x)n+1
d 1
Solution. f 0 (x) = (1 + x) 1 =
dx (1 + x)2
( 1)n n!
So, f (n) (x) = is correct for n = 1.
(1 + x)n+1
( 1)n n! k
(k) (x) = ( 1) k! , where k is
Assume that the equation f (n) (x) = is correct for n = k, i.e., f
(1 + x)n+1 (1 + x)k+1
some positive integer.
✓ ◆
d d ( 1)k k! ( 1)k+1 (k + 1)!
f (k+1) (x)
= (k)
f (x) = = ( 1)k k! ( k 1)(1 + x) k 2 = .
dx dx (1 + x)k+1 (1 + x)k+2
( 1)n n!
Thus, f (n) (x) = for every n 2 N by induction.
(1 + x)n+1
Example. Let f (x) = e2x sin(3x). Find f 000 (x) and f 000 (0).
f 00 (x) = 4e2x sin(3x) + 6e2x cos(3x) + 6e2x cos(3x) 9e2x sin(3x) = 5e2x sin(3x) + 12e2x cos(3x)
f 000 (x) = 10e2x sin(3x) 15e2x cos(3x) + 24e2x cos(3x) 36e2x sin(3x) = 46e2x sin(3x) + 9e2x cos(3x)
F'(x) =
cos (cosx) pos!x) .
=
= cos (cos2x) S!nx .
= ( e)
✓ ◆
E e4x (ux))
t(enx e) (f
1 1 +
+
2 ln x + e4x x eux
>
-
2
.
<tan!k
.
p
.
=>
. . x
0 tan(
p
x) p 1 p sec2 ( x)
Solution. f (x) = 2 · ln 2 · sec2 ( x) · p = ln 2 · 2tan( x) 1 · p
2 x x
ex
=
=sen
(d) f (x) = log5 sec2 (6x) >
- f(x)
1 12
Solution. f 0 (x) = · 2 sec(6x) · sec(6x) tan(6x) · 6 = tan(6x)
sec2 (6x) · ln 5 ln 5
(e) f (x) =
sin3 (4x2 )
2x x !ns
Secr(x). +an16x
1
tan
=
3 sin2 (4x2 ) cos(4x2 )8x · 2x sin3 (4x2 ) · 2 48x2 sin2 (4x2 ) cos(4x2 ) 2 sin3 (4x2 )
Solution. f 0 (x) = =
4x2 4x2
12
f(x) =
1)
** +
! (44nx) ( + be
= .
Suppose that we have an equation of the form F (x, y) = 0, where F (x, y) denotes an expression involving
the two variables x and y, where y is a function of x (y depends on x).
Sometimes we can solve F (x, y) = 0 for y and so find explicit formulas for one or more functions y = f (x)
defined by the equation. Usually, however, we are not able to solve the equation F (x, y) = 0 for y. We can
still regard the equation F (x, y) = 0 as defining y as one or more functions of x implicitly even if we can
dy
not solve for these functions explicitly. Moreover, the derivative can be found by using the implicit dif-
dx
ferentiation technique. The idea of implicit di↵erentiate (both sides) of the given equation with respect
⇣ dy ⌘
to x, regarding y as a function of x having derivative y 0 or .
dx
dy VX
y
=
if y 2 = x.
A
Example. Find ↑
dx
Solution.
7
p dy 1 [
k
dy 1 dx 25x 2Y V
de Ey
= =
cases
, =
= = x
13
Example. Find an equation of the tangent line to the circle x2 + y 2 = 25 at the point (3, 4).
Solution.
1st method:
p
Since the point (3, 4) belongs to the lower half part of the circle x2 + y 2 = 25, we take y = 25 x2 .
dy 1 x
= p ( 2x) = p
dx 2 25 x2 25 x2
M
3
dy 3 3
m= =p =
dx x=3 25 3 2 4
-
An equation of the tangent line is >
3 -so
y ( 4) = (x 3)
4
or
3 25
y= x
4 4
2nd method: (Using implicit di↵erentiation)
d 2 d
(x + y 2 ) = (25)
dx dx
dy
2x + 2y =0
dx
dy 2x x
= =
dx 2y y
The slope of the tangent line is
dy 3 3
m= = =
dx (x,y)=(3, 4) 4 4
An equation of the tangent line is
3
y ( 4) = (x 3)
4
or
3 25
y= x
4 4
dy 2
Example. Find if y sin x + e2y = x3 + cos y.
dx
Solution.
d ⇣ 2
⌘ d
y sin x + e2y = x3 + cos y
dx dx
dy 2 dy dy
· sin x + y cos x + e2y · 4y · = 3x2 sin y ·
dx dx dx
14
dy ⇣ 2
⌘
sin x + 4ye2y + sin y = 3x2 y cos x
dx
dy 3x2 y cos x
Thus, =
dx sin x + 4ye2y2 + sin y
Example. Find y 00 if xy + y 2 = 2x.
Solution.
d d
xy + y 2 = (2x)
dx dx
dy dy
1·y+x + 2y =2
dx dx
dy
y+ (x + 2y) = 2
dx
dy 2 y
=
dx x + 2y
✓ ◆ ✓ ◆
d2 y d dy d2 y
= =
dx2 dx dx dx
x + 2y
✓ ◆
dy dy
dx (x + 2y) (2 y) 1 + 2
dx
=
(x + 2y)2
✓ ◆
2 y 2 y
(x + 2y) (2 y) 1 + 2 ·
x + 2y x + 2y
=
(x + 2y)2
x + 2y + 4 2y
y 2 + (y 2) ·
x + 2y
=
(x + 2y)2
✓ ◆
x+4
(y 2) 1 +
x + 2y
=
(x + 2y)2
(y 2)(x + 2y + x + 4)
=
(x + 2y)3
(y 2)(2x + 2y + 4)
=
(x + 2y)3
2xy + 2y 2 + 4y 4x 4y 8
=
(x + 2y)3
2(xy + y 2 2x) 8
=
(x + 2y)3
8
=
(x + 2y)3
15
Logarithmic Di↵erentiation
Suppose that y = f (x), where f is a di↵erentiable function. If f (x) contains products or quotients of many
h(x)
factors or if f (x) = g(x) for some functions g and h with g(x) > 0, then logarithmic di↵erentiation
0 dy
is useful for finding f (x) or equivalently . The steps in logarithmic di↵erentiation are as follows:
dx
1) If f (x) > 0 for all values of x, then take natural logarithms of both sides of the equation y = f (x) and
use the properties of logarithm to simplify.
If f (x) < 0 for some values of x, then take natural logarithms of both sides of the equation |y| = |f (x)| and
use the properties of logarithm to simplify.
dy
3) Solve the resulting equation for .
dx
Example. Find the derivative of the function f (x) = xx for x > 0.
Solution.
d d
ln y = (x ln x)
dx dx
1 dy 1
· = ln x + x · = ln x + 1
y dx x
dy
= y(ln x + 1) = xx (ln x + 1)
dx
2nd method:
✓ ◆
d x d x ln x x ln x 1
(x ) = (e )=e 1 · ln x + x · = xx (ln x + 1)
dx dx x
(x + 1)(x + 2)(x + 3)
Example. Let f (x) = . Find f 0 ( 2).
x+4
Solution.
|x + 1| · |x + 2| · |x + 3|
|f (x)| =
|x + 4|
ln |f (x)| = ln |x + 1| + ln |x + 2| + ln |x + 3| ln |x + 4|
f 0 (x) 1 1 1 1
= + +
f (x) x+1 x+2 x+3 x+4
✓ ◆
0 1 1 1 1
f (x) = f (x) + +
x+1 x+2 x+3 x+4
(x + 2)(x + 3) (x + 1)(x + 3) (x + 1)(x + 2) (x + 1)(x + 2)(x + 3)
f 0 (x) = + +
x+4 x+4 x+4 (x + 4)2
16
( 1) · 1 1
f 0 ( 2) = 0 + +0 0=
2 2
cos x
Example. Find f 0 (x), if f (x) = ln x for x > 1.
Solution.
f 0 (x) 1 1
= sin x · ln(ln x) + cos x · ·
f (x) ln x x
⇣ cos x ⌘
f 0 (x) = (ln x)cos x sin x · ln(ln x) +
x ln x
3/4
p
x x2 + 1
Example. Di↵erentiate y = .
(3x + 2)5
Solution.
3 1
ln y = ln x + ln(x2 + 1) 5 ln(3x + 2)
4 2
y 0 31 1 2x 3
= + · 2 5·
y 4x 2 x +1 3x + 2
✓ ◆
3 x 15
y0 = y + 2
4x x + 1 3x + 2
p ✓ ◆
0 x3/4 x2 + 1 3 x 15
y = +
(3x + 2)5 4x x2 + 1 3x + 2
1 0 1
f (a) = .
f 0 (f 1 (a))
Example. Let f (x) = 2x3 + 3x2 + 7x + 4. Given that f is one-to-one, find f 1 0 (4).
1 0 1 1 1 1
f (4) = = = = .
f 0 (f 1 (4)) f 0 (0) 6· 02 +6·0+7 7
Example. Let f (x) = 4x3 + 3 sin x + 2 cos x. Given that f is one-to-one, find f 1 0 (2).
1 0 1 1 1 1
f (2) = = = = .
f 0 (f 1 (2)) f 0 (0) 12 · 02 + 3 cos 0 2 sin 0 3
17
Example. Let f (x) = 2x + cos x. Given that f is invertible, find f 1 0 (⇡).
⇣⇡ ⌘ ⇡ ⇣⇡ ⌘ ⇡
Solution. f = 2 · + cos = ⇡. Therefore, f 1 (⇡) = .
2 2 2 2
f 0 (x) = 2 sin x.
1 0 1 1 1 1
f (⇡) = = ⇣⇡ ⌘ = ⇣⇡ ⌘ = = 1.
f 0 (f 1 (⇡)) f0 2 sin 2 1
2 2
Solution.
p
(a) f (x) = x arctan x. The domain of f is [0, 1).
p
p 1 1 p x
f 0 (x) = arctan x+x· p 2 · p = arctan x +
1 + ( x) 2 x 2 (1 + x)
(b) f (x) = arcsin(2x + 1) + x2 arccos(e2x ).
1 2x + 1 1 () 2 2x 0 () 1 x 0.
[ 1, 0] \ ( 1, 0] = [ 1, 0]
18
1 1
f 0 (x) = q · 2 + 2x arccos(e2x ) + x2 · q · 2e2x
1 (2x + 1) 2
1 (e2x )2
2 2x2 e2x
= p + 2x arccos(e2x ) p
4x2 4x 1 e4x
1 2x2 e2x
= p + 2x arccos(e2x ) p
x2 x 1 e4x
d 1 1
Example. Prove that sinh x= p .
dx 1 + x2
Solution.
1
1st method: Let y = sinh x. Then sinh y = x. If we di↵erentiate this equation implicitly with respect
to x, we get
dy
cosh y = 1.
dx
p
Since cosh2 y sinh2 y = 1 and cosh y 0, we have cosh y = 1 + sinh2 y, so
dy 1 1 1
= =p =p .
dx cosh y 2
1 + sinh y 1 + x2
19
⇣ p ⌘
1
2nd method: Since sinh x = ln x + x2 + 1 , we have
d d ⇣ p ⌘
1
sinh x = ln x + x2 + 1
dx dx
1 d ⇣ p ⌘
= p x + x2 + 1
x + x2 + 1 dx
✓ ◆
1 x
= p 1+ p
x + x2 + 1 x2 + 1
p
x2 + 1 + x
= ⇣ p ⌘p
x + x2 + 1 x2 + 1
1
= p .
x2 +1
d 1
Example. Find tanh (sin x).
dx
Solution. Using the Chain Rule, we have
d 1 1 d cos x 1
tanh (sin x) = sin x = = = sec x
dx 1 (sin x)2 dx cos2 x cos x
20
dy 1 + et 1+e
Therefore = t = .
dx t=1 e (1 + t) t=1 2e
✓ ◆ ✓ ◆
d2 y d dy d ẏ
Note. = = .
dx2 dx dx dx ẋ
ẏ
Since is a function of t, we can write
ẋ
✓ ◆ ⇢ ✓ ◆ ⇢ ✓ ◆
d dy d dy dt d ẏ 1 ẋÿ ẏẍ 1 ẋÿ ẏẍ
= = = · = .
dx dx dt dx dx dt ẋ dx (ẋ)2 ẋ (ẋ)3
dt
d2 y ẋÿ ẏẍ
Hence, 2
= .
dx (ẋ)3
d2 y
Example. Let x = a cos t and y = b sin t where a, b > 0 . Evaluate .
dx2
dx dy
Solution. = a sin t and = b cos t.
dt dt
dy dy/dt b cos t
= = .
dx dx/dt a sin t
✓ ◆ ✓ ◆ ✓ ◆
d2 y d dy d b cos t d b cos t dt
= = =
dx2 dx dx dx a sin t dt a sin t dx
b sin t · a sin t ( b cos t) · a cos t 1 ba
= 2
· =
(a sin t) a sin t (a sin t)3
d2 y
Example. Let x = 2t + 3 and y = 3t2 t. Calculate .
dx2
dx dy
Solution. = 2 and = 6t 1.
dt dt
dy dy/dt 6t 1
= = .
dx dx/dt 2
✓ ◆ ✓ ◆
d2 y d dy d 6t 1 dt 1 3
2
= = =3· =
dx dx dx dt 2 dx 2 2
⇡
Example. Let x = t sin t and y = t cos t. Find an equation of the tangent line to the curve at t = .
4
dy p ⇣ p ⌘
2 ⇡ 2
dy 1 · cos t + t · ( sin t) 2 + 4 2 4 ⇡
Solution. = dt = = p p = .
dx t= ⇡4 dx t= ⇡4 1 sin t + t · cos t t= ⇡4 2 ⇡
· 2 4+⇡
2 + 4 2
dt
4 ⇡
The slope of the tangent line is m = .
4+⇡
p p
⇡ ⇡ 2 ⇡ 2
At t = , we have x = and y = .
4 8 8 p ! p
4 ⇡ ⇡ 2 ⇡ 2
An equation of the tangent line is y = x + .
4+⇡ 8 8
21
Applications of Di↵erentiation
Theorem (Rolle’s Theorem) : Let a and b be real numbers such that b > a. Suppose that f is a
function that satisfies the following three hypotheses:
Then, there exists a number c in the open interval (a, b) such that f 0 (c) = 0.
⇣ ⇡⌘
Example. Show that the equation sin x = 2x 1 has a unique (exactly one) solution in the interval 0, .
2
Solution. Let f (x) = sin x 2x + 1.
h ⇡i
The function f is continuous on 0, because both sin x and 2x + 1 are continuous functions.
2
⇣ ⇡⌘
Moreover, f is di↵erentiable on 0, .
2
f (0) = sin 0 2 · 0 + 1 = 1 > 0.
⇣⇡ ⌘ ⇣⇡ ⌘ ⇡
f = sin 2· +1=2 ⇡ < 0.
2 2 2
⇣ ⇡⌘
Therefore, according to the Intermediate Value Theorem there exist a number c 2 0, such that f (c) = 0.
2
⇣ ⇡⌘
So the equation sin x = 2x 1 has a solution in the interval 0, .
2
⇣ ⇡⌘
Assume that the equation sin x = 2x 1 has two di↵erent solutions a and b in the interval 0, such that
2
b > a. Then f (a) = f (b) = 0.
Since f is continuous on [a, b] and di↵erentiable on (a, b), there exists a number in (a, b) such that f 0 ( ) = 0
by the Rolle’s Theorem.
⇣ ⇡⌘
f 0 (x) = cos x 2. Since cos x 1 we have f 0 (x) 1 2 = 1 for all x in 0, .
2
⇣ ⇡⌘
This is a contradiction. Therefore, the equation sin x = 2x 1 has a unique solution in the interval 0, .
2
22
Theorem (The Mean Value Theorem) : Let a and b be real numbers such that b > a. Suppose that
f is a function that satisfies the following hypotheses:
f (b) f (a)
Then, there exists a number c in the open interval (a, b) such that f 0 (c) = (or equivalently,
b a
f (b) f (a) = f 0 (c)(b a)).
Theorem : If f : (a, b) ! R is a di↵erentiable function such that f 0 (x) = 0 for all x in (a, b), then f is
constant on (a, b).
Corollary : If f : (a, b) ! R and g : (a, b) ! R are di↵erentiable functions such that f 0 (x) = g 0 (x) for
all x in (a, b), then f g is constant on (a, b), i.e., f (x) = g(x) + c for all x in (a, b), where c is a real constant.
Since the sine function is continuous and di↵erentiable everywhere on R, by the Mean Value Theorem, there
exists a number c 2 (0, x) such that
sin x sin 0 d
= sin x x=c
= cos c < 1.
x 0 dx
sin x
Thus, < 1.
x
So, sin x < x also for 0 < x < ⇡.
23
Theorem (The Generalized Mean Value Theorem) : If f and g are functions which are both
continuous on the interval [a, b] and both di↵erentiable on the interval (a, b), then there exists a number c
in (a, b) such that
f (b) f (a) f 0 (c)
= 0 .
g(b) g(a) g (c)
Example. Let the functions f (x) = x3 and g(x) = x2 + 4x be given. Find all possible values of the real
number c satisfying the Generalized Mean Value Theorem for the functions f and g on the closed interval
[ 1, 1].
Solution. The functions f (x) = x3 and g(x) = x2 + 4x are continuous on [ 1, 1] and di↵erentiable on
( 1, 1) since they are polynomials. According to the Generalized Mean Value Theorem,
f (1) f ( 1) f 0 (c)
= 0
g(1) g( 1) g (c)
24
Exercises ①3
②
S
1. Find the derivative of each of the following functions.
34(x
u1n(2x-3) S(n(x2 + X + 1)
-
Iny =
.
✓ ◆3
=) /s!n(x
x2 + 1
b. f (x) = .
x2 1
p
c. f (x) = ln(ln( x)) - f(x) =
1 cosh x
d. f (x) =
1 + cosh x
e2x x3
e. f (x) = x2
e 1
e 2x x3
f. f (x) = x2
e 1
⇣ p ⌘
g. f (x) = arctan x x2 + 1
p 1x
h. f (x) = x2 1 · sec
e x cos2 x
k. f (x) =
(x + 1)(x + 2)
2. Suppose that f is a di↵erentiable function defined on R such that f (1) = 2, f (2) = 3, f 0 (1) = 4, f 0 (2) = 5,
and f 0 (3) = 6. If g(x) = f (xf (xf (x))), find g 0 (1).
4. Show that the function y = e2x (2 cos(3x) sin(3x)) satisfies the equation y 00 4y 0 + y = 0.
x2 y2
5. Find an equation of the tangent line to the hyperbola = 1 at the point (x0 , y0 ).
a2 b2
6. Find an equation of the tangent line to the curve y = sin(4x) at the point (0, 0).
25
dy
8. Find if arctan(x2 y) = x + xy 2 .
dx a
9. Find all points on the curve x2 y 2 + xy = 2 where the slope of the tangent line is 1.
10. Find equations of the tangent line and normal line to the curve x2 + xy + 2y 3 = 4 at the point ( 2, 1).
12. Let f : R ! R be a di↵erentiable function such 3 f 0 (x) 5. Show that 18 f (8) f (2) 30.
(2 . y) + (2x .
1 .
y')
+
x2+ 2xy + y3 =
u(1 1) ,
2x + (2y) + (2x .
y + 3y 2 y = 0
x3 x +
+
y
-
1 X= 1 2xy' + 3y2 y'
1 1
=
-
2x
11
-
2y
2x 2x + + 1 = m 2y' + 3 .
y' = -
2 -
2
Sy = -
U
=
-
.
=
y -
2 =
6 (x 1)
-
y -
f(x) =
f(x) (X Xo) .
-
y 1
= (x 1)
-
y 6x
-
= -
4
(, 2)
*
f(x) =
e Fonks!y
↓ e
-
1 X= 0
F(x) =
e 2(2) (X Xo)
-
8+ 4 1 11
y -Yo
-
=
= M .
-
1
(2)
f(x) X) +
et 24
-
=
m
.
2
2
y -
f(x) = f'(x) (X X0) .
-
=MM .
Mn = -1
(e ) f(x) (X
E
-1
y y m
(0)
-
=
X
-
.
= -
-
2
11
y= z x +
t =
y =
=(2x +
1) y -
11 = - 1(X
14
-
2)
l!m
! 26
Bibliography
[1] Robert A. Adams, Christopher Essex. Calculus: A Complete Course, Pearson, Canada, 2018.
[2] S.K. Chung, Understanding Basic Calculus, lecture notes, Department of Mathematics, University of
Hong Kong.
[3] Paul Dawkins, Calculus I, Paul’s Online Notes. Retrieved from https://tutorial.math.lamar.edu/
[4] James Stewart, Calculus: Metric Version, 8th Edition, Cengage Learning, 2015.
X+
E
e!n =
em
X+ +o
= to = 0
,
rex)
27
1 Extremum Values and Maximum Minimum
Problems
1.1 Increasing and Decreasing Functions
if f 0 (x) > 0 for all x 2 (a; b), then f (x) is increasing on (a; b)
if f 0 (x) < 0 for all x 2 (a; b), then f (x) is decreasing on (a; b).
x 0 2
0
f + 0 - 0 +
f % & %
1
Example Let f (x) = x3 ; g(x) = x4 and h(x) = x1=3 . Examine the concavity
of the each function.
00
If f (x) = x3 , then f 0 (x) = 3x2 and f (x) = 6x: The only point at which
00
f (x) = 0 or is undeÖned (f 0 is not di§erentiable) is at x = 0: If x < 0, then
00 00
f (x) < 0 so f is concave down. If x > 0, then f (x) > 0 so f is concave up.
00
If g(x) = x4 , then g 0 (x) = 4x3 and g (x) = 12x2 : The only point at which
00 00
g (x) = 0 or is undeÖned is at x = 0. If x < 0, then g (x) > 0 so g is concave
00
up. If x > 0, then g (x) > 0 so g is also concave up.
1 2=3 00 2 00
If h(x) = x1=3 , then h0 (x) =
x and h (x) = x5=3 . h is not
00
3 900
deÖned if x = 0, but h > 0 for negative numbers and h < 0 for positive
numbers. So h changes concavity at (0; 0):
Remark The points where f changes its concavity character is called the
ináection points. In other words, second derivative of the function changes
sign at the ináection points.
2
f has an absolute maximum value f (x0 ) at x0 if f (x0 ) f (x) for all x
in the domain of f:
ext
4 :pdf
Fig 1: Local and absolute extremums
Remarks
3
was extended to be the closed interval [0; 1] then g would have both a
maximum value, 1, and a minimum value, 0.
A function can have only one absolute maximum (or minimum) value.
However, a function can have several local maximum (or minimum)
values. (see Fig 1)
5 4
y y
4
3
3
2
2
1
1
0
-1.0 -0.5 0.0 0.5 1.0 0.5 0.6 0.7 0.8 0.9 1.0
x x
1 1 1
Fig. 2:y = on [1; 1] Fig. 3: y = on 2
;1
x2 x2
4
0
x0 is a singular point of f if f (x0 ) doesnít exist.
We say that
x0 is a critical point of f if either
0 0
f (x0 ) = 0 or f (x0 ) doesnít exist (x0 is a singular point of f ):
y 120
100
80
60
40
20
-4 -3 -2 -1 1 2 3 4
x
Fig. 4: y = x4 8x2
x2 + 1
Example 7 Find all critical points of f (x) = :
x2 x 6
Solution: Using quotient rule,
x2 + 14x 1
f 0 (x) = :
(x2 x 6)2
The derivative f 0 (x) doesnít exist at x = 2 and x = 3: However these
are NOT singular and hence critical points since f is not deÖned at these
points. Recall that in order for a point to be a critical point the function
must actually be deÖned at that point!
p
f 0 (x) = 0 ) x2 + 14x 1 = 0 ) x = 7 5 2
p
The critical points are x = 7 5 2:
5
8
y
6
-5 -4 -3 -2 -1 1 2 3 4 5
-2 x
-4
-6
x2 + 1
Fig. 5: y =
x2 x 6
p3
Example 8 Find all critical points of f (x) = x2 (2x 1) :
y 2
-1.4 -1.2 -1.0 -0.8 -0.6 -0.4 -0.2 0.2 0.4 0.6 0.8 1.0 1.2 1.4
x
-2
-4
p
3
Fig. 6: y = x2 (2x 1)
Remark 9 Figures 4,5 and 6 suggest that a function can take its local ex-
tremum values only at critical points or endpoints.
6
Theorem 10 (Locating Extreme Values) If the function f is deÖned on
an interval I and has a local maximum (or local minimum) value at point
x = x0 in I, then x0 must be either a critical point of f or an endpoint of I:
y
20
10
-3 -2 -1 1 2 3
x
-10
-20
Fig. 7:y = x3
Example 12 Find the absolute maximum and minimum values of the func-
tion f (x) = x4 8x2 on the interval [4; 4] :
7
Theorem 10 tells us that a function can local extreme values only at
critical points or endpoints. But how can we decide whether a critical value
is a local maximum, local minimum or neither. The answer is in the next
theorem.
i) If there exists an open interval (a; b) containing x0 such that f 0 (x) > 0 on
(a; x0 ) and f 0 (x) < 0 on (x0 ; b), then f has a local maximum value at
x0 . (see Fig 8a)
ii) If there exists an open interval (a; b) containing x0 such that f 0 (x) < 0
on (a; x0 ) and f 0 (x) > 0 on (x0 ; b), then f has a local minimum value
at x0 . (see Fig 8b)
iii) If f 0 (x) doesnít change sign at x0 ; then f has neither a maximum nor a
minimum value at x0 . (see Fig 8c)
8
Fig 8c: No max no min
Solution:
0
f (x) = 27 3x2 = 3(3 x)(3 + x) = 0 ) x = 3; x = 3:
CP CP
x
-3 3
0
f - 0 + 0 -
f & min % max &
0
f is negative on the left of 3; and positive on the right of 3: By First
0
Derivative Test, x = 3 is a local minimum. f is positive on the left of 3; and
negative on the right of 3: By First Derivative Test, x = 3 is a local minimum.
150
y
100
50
-6 -4 -2 2 4 6
-50
x
-100
-150
Fig. 9: y = 27x x3
Example 15 Find the local and absolute extreme values of f (x) = x4 4x3 +
5 on the interval [1; 4] :
9
Solution:
0
f (x) = 4x3 12x2 = 4x2 (x 3) = 0 ) x = 0; x = 3:
EP CP CP EP
x
-1 0 3 4
0
f - 0 - 0 +
f abs. max & no min or max & abs. and loc. min %
The absolute maximum value of f is 10, at x = 1; and the absolute mini-
mum value is 22 at x = 3.
10
y
-1 1 2 3 4
x
-10
-20
Example 16 Find the local and absolute extreme values of f (x) = x + sin x
on the interval [0; 4] :
Solution:
0
f (x) = 1 + cos x = 0 ) x = (2n + 1) ; n 2 Z:
10
EP CP CP EP
x
0 3 4
0
f + 0 + 0 +
f abs. min % no min or max % no min or max % abs. max
From the table, f doesnít have local extremum at the critical points
and 3 . The absolute maximum is 4; at x = 4 and the absolute minimum
is 0; at x = 0: (see Fig. 11)
y 15
10
0
0 2 4 6 8 10 12 14
x
Fig. 11: y = x + sin x
p
3
Example 17 Find the local and absolute extreme values of f (x) = x2 (2x 1)
on the interval [1; 1] :
EP CP CP EP
x
1 0 1=5 1
0
f + 0 - 0 +
f abs. min % loc. max & loc. min % abs. max
From the table, x = 0 is a local maximum and x = 1=5 is a local minimum.
The absolute maximum value of f is 1, at x = 1; and the absolute minimum
value is 3 at x = 1. (see Fig. 12)
11
1
y
-1.0 -0.8 -0.6 -0.4 -0.2 0.2 0.4 0.6 0.8 1.0
x
-1
-2
-3
p
3
Fig. 12: y = x2 (2x 1) on [1; 1]
0
Theorem 18 (The Second Derivative Test) Suppose that f (x0 ) = 0:
00
i) If f (x0 ) < 0; then x0 is a local maximum of f:
00
ii) If f (x0 ) > 0; then x0 is a local minimum of f:
00
iii) If f (x0 ) = 0; no conclusion can be drawn; f may have a local maximum
at x0 or a local minimum, or it may have an ináection point instead.
Remark 19 For many functions the second derivative is more complicated
to calculate than the Örst derivative, so the First Derivative Test is likely to be
of more use in classifying critical points than is the Second Derivative Test.
Also note that the First Derivative Test can classify local extreme values that
occur at singular points as well as at critical points where the Örst derivative
is 0.
Example 20 Find and classify local extreme values of f (x) = xex :
Solution:
0 00
f (x) = ex + xex = (x + 1) ex ; f (x) = ex + (x + 1) ex = (x + 2) ex :
0
We begin by Önding critical points. f doesnít have singular points. f (x) = 0
implies x = 1 and the only critical point is x = 1: Using Second Derivative
00
Test, f (1) = e1 > 0 implies x = 1 is a local minimum of f: We can also
use First Derivative Test:
CP
x
-1
0
f - 0 +
f & min %
From the table, x = 1 is a local minimum of f: (see Fig 13)
12
x
-10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0
0.0
y
-0.1
-0.2
-0.3
4
Example 21 Find and classify local extreme values of f (x) = x + :
x
Solution: We have
0 4 00 8
f (x) = 1 2
; f (x) = 3
x x
0
The derivative f exists except x = 0; but x = 0 is not in the domain of f:
So, x = 0 is not a critical point.
0 4
f (x) = 1 = 0 ) x = 2
x2
00
The critical points are 2 and 2: Using Second Derivative Test, f (2) =
00
1 < 0 implies f has local maximum at x = 2 and f (2) = 1 > 0 implies
f has local minimum at x = 2: Similarly, we can use First Derivative Test
(do as an exercise).
10
y
-10 -8 -6 -4 -2 2 4 6 8 10
x
-5
-10
4
Fig 14: y = x +
x
13
Example 22 The functions
satisfy
0 00 0 00 0 00
f (0) = f (0) = 0; g (0) = g (0) = 0; h (0) = h (0) = 0:
However, f has a local minimum (Fig 15), g has a local maximum (Fig 16)
and h has neither a maximum nor a minimum (Fig 17) value at x = 0. This
00
example shows that if f (x0 ) = 0; no conclusion can be drawn in Second
Derivative Test.
y
1.0 x
-1.0 -0.5 0.0 0.5 1.0
y
0.5
-0.5
1.0
y
0.5
-1.0
Fig 17: y = x3
Practise Problems
1) Find and classify all local extreme values of the given functions.
i) f (x) = x3 3x 2
x
ii) f (x) =
x2 + 1
p
iii) f (x) = x 2 x2
14
iv) f (x) = x 2 sin x
ln x
v) f (x) =
x
2) Find absolute extreme values of the given functions on given intervals.
iv) Find the required extreme value of the function Q using the techniques
of previous section. Remember to consider any critical points and end-
points.
Example 23 Among all rectangles of given perimeter, show that the square
has the greatest area.
i) Maximize: Q = area = xy
15
iii) Eliminating y we have y = 12 (P 2x) (You can also eliminate x): Now
Q becomes a function of one variable x :
1 1
Q(x) = xy = x (P 2x) = P x x2 :
2 2
This is the function we will Önd the maximum. Our interval is 0 x
1
2
P because the width canít be negative or greater than the half of the
perimeter.
iv)
0 1 P
Q (x) = P 2x = 0 ) x = :
2 4
P
The crtical point is x = 4 : At the endpoints x = 0 or x = P we have
Q = 0: So the maximum value comes from the critical point x = P4 :
If x = P4 then y = P4 and we have a square. The maximum area is
2
Q( P4 ) = P16 :
Solution:
i) Maximize: Q = xy
ii) Constraint: x + 2y = 500 (We are given 500 feet of fencing material)
Interval: [0; 250] (If there is no length i.e. x = 0; then y = 250: Also the
width canít be negative i.e. y 0:)
16
iv)
0
Q (y) = 500 4y = 0 ) y = 125:
The crtical point is y = 125: At the endpoints y = 0 or y = 250 we have
Q = 0: So the maximum value comes from the critical point y = 125:
The maximum area is Q(125) = 31250 f t2 :
Example 25 We want to construct a box whose base length is 3 times the
base width. The material used to build the top and bottom cost $10=f t2 and
the material used to build the sides cost $6=f t2 . If the box must have a volume
of 50f t3 determine the dimensions that will minimize the -2
cost to build the
box.
Solution: 3w2h =
so
n
=
O h
bow+ 12wh + 36 wh
⑧
bowh
>
-
l zu
=
-
i) Minimize: Q = 10 (2lw) + 6 (2wh + 2lh) = 20lw + 12wh + 12lh:
s!n
- - -
ii) Constraints: l = 3w and 50 = lwh. (base length is 3 times the base width
and the box must have a volume of 50f t3 )
iii) We have l = 3w so 50 = lwh implies 50 = 3w2 h and eliminating (solving)
h gives h =
50
: Now we have only one variable w and Q becomes
bow
3w2
200 600 800 Gow+Pus .
so
Q(w) = 20lw + 12wh + 12lh = 60w2 + + = 60w2 + :
+ 3w)48 So
w w w 120
.
Interval: w > 0 but there is no upper limit to the width w that will give
&
0 3(w )
-
but we can still Önd the minimum by using First Derivative Test or Second
Derivative Test. ? 3w 20 =
yu + 1-3w
4St
0 W
=
+ ( .
iv)
0 800 120w3 800
+w = 20
Q (w) = 120w 2 =
w w2
: w
= 20
-
0
Q (w) = 0 ) 120w3 800 = 0 ) w = = 1:8821
3
17 zu
(3w)
-gu-2
The only critical point is w = 1:8821 and we now have to verify that this
is in fact the value that will give the absolute minimum cost.
00 1600
Q (w) = 120 + > 0 for w > 0;
w3
so the graph of Q will be concave up around w = 1:8821 and hence Q takes
its minimum at w = 1:8821 (see Fig 18). The minimum cost is Q (1:8821) =
$637:60 and the dimensions for this minimal cost are
50
w = 1:8821; h = = 4:7050; l = 3w = 5:6463:
3w2
y
2000
1000
-5 -4 -3 -2 -1 1 2 3 4 5
x
-1000
800
Fig 18: Q(w) = 60w2 + w
Solution:
i) Maximize: Q = lwh:
ii) Constraints: l = w and 10 = 2lw + 2lh + 2wh (the box has a square base
and we have 10m2 of material to use):
18
iii) We have l = w so 10 = 2lw + 2lh + 2wh implies 10 = 2w2 + 4wh
5 w2
and eliminating (solving) h gives h = : Now we have only one
2w
variable w and Q becomes
5 w2 1
Q(w) = lwh = w = 5w w3 :
2 2
iv) r
0 1 2
5
Q (w) = 5 3w = 0 ) w = = 1:2910:
2 3
We can ignore the negative critical point since w > 0:Now, as noted
in the previous example we got a single critical point, 1:2910, and so
this must be the value that gives the maximum volume (see the table
below).
EP CP
w
0 1:2910
0
f + 0 -
f % abs max &
19
iv) r
0 3000 4r3 3000 3 750
Q (r) = 4r 2 = =0)r= = 6:2035:
r r2
The only critical point is r = 6:2035: We have
00 6000
Q (r) = 4 + > 0 for r > 0;
r3
so the graph of Q will be concave up around r = 6:2035 and hence Q
takes its minimum at r = 6:2035: For the minimum material (or surface
area) the dimensions are
1500
r = 6:2035; h = = 12:4070:
r2
Solution: Let the height of the box be h: So, the width/length of the
corners being cut out is also h and so the vertical side will have a ìnewî
height of 10 2h and the horizontal side will have a ìnewî width of 14 2h
(see Fig 19).
20
i) Maximize: Q = V olume = h (10 2h) (14 2h) = 140h 48h2 + 4h3 :
iii) No need to eliminate since we have only one variable. The interval is
0 h 5 because the height 10 2h 0 and the width 14 2h 0:
iv)
p
0 2 12 39
Q (x) = 14096h+12h = 0 ) h = ) h = 1:9183; h = 6:0817:
3
We can ignore the second critical value since the interval is 0 h 5:
So, the only critical value is 1:9183:Finally, since Q is deÖned and
continuous on 0 h 5 all we need to do is plug in the critical points
and endpoints into Q to determine which gives the largest volume.
Example 29 A window is being built and the bottom is a rectangle and the
top is a semicircle. If there is 12 meters of framing materials what must the
dimensions of the window be to let in the most light?
21
ii) Constraint: perimeter = 2h + 2r + r = 12
1
iii) Eliminating h we have h = 2
(12 2r r) : Now we have only one
variable r and Q becomes
1 2 1 2 1
Q(r) = 2hr + r = (12 2r r) r + r = 12r 2 + r2 :
2 2 2
iv)
0 12
Q (r) = 12 (4 + ) r = 0 ) r = = 1:6803:
4+
00
The only critical value is 1:6803: We have Q (r) = (4 + ) < 0 so
we can see that the maximum area must occur at this point. The
dimensions of the window be to let in the most light are
1
r = 1:6803; h = (12 2r r) = 3:3606:
2
Example 30 Determine the area of the largest rectangle that can be inscribed
in a circle of radius 4.
Solution: Itís easiest to assume that the circle (and hence the rectangle)
is centered at the origin of a standard xy axis system. Doing this we know
that the equation of the circle will be x2 + y 2 = 16 and that the right upper
corner of the rectangle will have the coordinates (x; y) : This means that the
width of the rectangle will be 2x and the height of the rectangle will be 2y
as shown below
22
i) Maximize: Area of rectangle = Q = (2x) (2y) = 4xy
iv)
0 p 2x 64 8x2
Q (x) = 4 16 x2 + 4x p =p :
2 16 x2 16 x2
p
The singular points are x = 2 2 (makes the derivative zero) and x =
4 (singular points). We only want critical points that are in the interval
0p x 4 so that means that we have two critical points to deal with
2 2 and 4: Notice however that the second critical point is also one of the
endpoints of our interval. Now, Q is continuous on [0; 4] and all we need
23
to do is plug in the critical points and endpoints into Q to determine which
gives the largest area.
p
Q(0) = 0; Q(2 2) = 32; Q(4) = 0:
p
So, we can see that weíll getpthe maximum p area if x = 2 2 and and the
corresponding value of y is y = 16 x2 = 2 2: It looks like the maximum
area will be found if the inscribed rectangle is in fact a square.
Example 31 Find the shortest distance from the point (8; 1) to the curve
y = 1 + x3=2 :
Solution:
y 12
10
0 1 2 3 4 5
x
Fig 21: y = 1 + x3=2
Let P = (x; y) be the closest point on the curve y = 1 + x3=2 to the point
(8; 1) : The distance between P = (x; y) and (8; 1) is
q
D = (8 x)2 + (1 y)2
24
Interval: we donít have a bounded interval of x: Our interval is in fact the
domain of the function y = 1 + x3=2 ; [0; 1): (see Fig 21) So we are looking
for the absolute minimum of Q(x) on [0; 1):
iv)
0 8
Q (x) = 3x2 + 2x 16 = 0 ) x = 2; x = :
3
8
The critical points are 2 and 3 : Only x = 2 is in our interval.
EP CP
x
0 2
0
f - 0 +
f & abs min %
From the table we see that we have the absolute minimum at x = 2:
The corresponding value of y is y = 1+23=2 = 3: 828 4:The closest point
is P = (2; 3: 828 4) : The shortest distance is
p p
D(2) = Q(2) = 44:
Example 32 Find the shortest distance from the origin to the curve x2 y 4 =
1:
i) Minimize: Q = D2 = x2 + y 2 :
ii) Constraint: x2 y 4 = 1:
25
iv)
4
0 p
6
Q (y) =
5
+ 2y = 0 ) y = 2:
y
p
The critical points are y = 6 2: (Note that y = 0 is not a critical point)
CPp CP
p
y 0
62 6
2
0
f - 0 + - 0 +
f & loc min % 1 & loc min %
p
From the table Q(y) has local minimum at y = 6 2: Note that we included
the point y = 0 not because it is a critical point but because the sign of the
0
derivative Q (y) changes around 0: Note also that
and that our local minumums are also absolute maximums. (see Fig 22)
y 24
22
20
18
16
14
12
10
8
6
4
-5 -4 -3 -2 -1 0 1 2 3 4 5
x
1
Fig 22:y = x4
+ x2
26
Example 33 You are standing at the edge of a slow-moving river which is
one mile wide and wish to return to your campground on the opposite side
of the river. You can swim at 2 km=h and walk at 3 km=h. You must Örst
swim across the river to any point on the opposite bank. From there walk to
the campground, which is one mile from the point directly across the river
from where you start your swim. What route will take the least amount of
time ?
Solution:
D = RT
so that time elapsed is
D
T = :
R
We want to minimize the total TIME elapsed:
27
T = (swim time) + (walk time)
= (swim distance)=(swim rate) + (walk distance)=(walk rate)
p
1 + x2 1 x
= + :
2 3
Taking derivative
p
0 x 1 3x 2 1 + x2
T (x) = p = p
2 1 + x2 3 6 1 + x2
and the critical points are the roots of the equation
0 x 1 p
T (x) = p = 0 ) 3x 2 1 + x2 = 0
2 1 + x2 3
) 9x2 = 4 1 + x2
4
) x2 =
5
2
) x = p 0:89
5
x = p25 are the critical points. Since 0 x 1 (see Fig 23) we ignore
the negative critical point.
EP CP EP
y p2
0 5
1
0
f - 0 +
f & loc min %
28
3) The sum of two nonnegative numbers is 10. What is the smallest value
of the sum of the cube of one number and the square of the other? (Ans:
71:45)
4) Among all rectangles of given area, show that the square has the least
perimeter.
5) Among all isosceles triangles of given perimeter, show that the equi-
lateral triangle has the greatest area.
6) Find the area of the largest rectangle that can be inscribed in a semi-
circle of radius R if one side of the rectangle lies along the diameter of the
semicircle. (Ans: R2 )
7) A rectangle with sides parallel to the coordinate axes is inscribed in
the ellipse
x2 y 2
+ 2 = 1:
a2 b
Find the largest possible area for this rectangle. (Ans: 2ab)
8) A billboard is to be made with 100 m2 of printed area and with margins
of 2 m at the top and bottom and 4 m on each side. Find the outside
dimensions
p of the billboard p if its total area is to be a minimum. (Ans: width
8 + 10 2 m, height 4 + 5 2 m)
9) What is the length of the shortest line segment having one end on
the
p x-axis,
the other
p end on the y-axis, and passing through the point
9; 3 ? (Ans: 8 3)
10) Find the dimensions of the largest right-circular cylinder
q that can be
2R
inscribed in a sphere of radius R. (Ans: height p 3
; radius 23 R)
11) A box with square base and no top has a volume of 4 m3 . Find the
dimensions of the most economical box. (Ans: base 2 m 2 m; height 1 m)
12) We are going to fence in a rectangular Öeld. If we look at the Öeld
from above the cost of the vertical sides are $10=f t, the cost of the bottom
is $2=f t and the cost of the top is $7=f t. If we have $700 determine the
dimensions of the Öeld that will maximize the enclosed area. (Ans: lenght
350
9
, width 35
2
)
2
13)Find the
q point(s)
on the curve
q x= 32y that are closest to (4; 0) :
(Ans: 154
; 27
8
and 15 4
; 27 8
)
14) A line through the point (2; 5) forms a right-triangle with the x-axis
and y-axis in the 1st quadrant. Determine the equation of the line that will
minimize the area of this triangle. (Ans: y = 52 x + 10 )
29
References
[1] Adams, R. A. and Essex, C., Calculus: A complete course, 9th Edition,
Pearson Canada, 2018.
30
1 CURVE SKETCHING
Figure 1
The following table gives the shape of the graph of f corresponding to the four cases determined by the signs of f → and
!! !!
f . For example, first row first column corresponds to that both f → and f are positive: the figure indicates that the
graph goes up and bends up. Check Figure 2.
1
Figure 2
ASYMPTOTES
In the previous sections, we have learned some applications of derivatives which are necessary for curve sketching. First
and second order derivative analysis will be applied in this section. Also, we need the behavior of the function around
infinity.
If the interval is unbounded, i.e. if the function is defined for −∞ ≤ x ≤ ∞ then you can’t compute the values f (a)
and f (b), but instead you should compute limx→a f (x) = ∓∞.
An asymptote of a curve y = f (x) that has an infinite branch is called a line such that the distance between the point
(x, f (x)) lying on the curve and the line approaches zero as the point moves along the branch to infinity.
Asymptotes can be vertical, oblique (slant) and horizontal. A horizontal asymptote is often considered as a special
case of an oblique asymptote.
1. Horizontal Asymptotes
If the distance between the graph of a function and some fixed line approaches zero as a point on the graph moves
increasingly far from the origin, we say that the graph approaches the line asymptotically and that the line is an
asymptote of the graph.
5x2 +8x−3
Example: The curve f (x) = 3x2 +2 is given. It has the line y = 5/3 as a horizontal asymptote on both the right
and the left because
Vertical Asymptotes
2
The straight line x = a is a vertical asymptote of the graph of the function y = f (x) if at least one of the following
conditions is true:
lim+ f (x) = ∓∞ lim− f (x) ∓ ∞
x→a x→a
In other words, at least one of the one-sided limits at the point x = a must be equal to infinity.
A vertical asymptote occurs in rational functions at the points when the denominator is zero and the numerator is not
equal to zero (i.e. at the points of discontinuity of the second kind). For example, the graph of the function y = x1 has
the vertical asymptote x = 0 . Check Figure 3.
lim f (x) = ∓∞ lim f (x) ∓ ∞
x→0+ x→0−
20.12.2020 https://www.math24.net/wp-content/uploads/2018/10/asymptote-of-hyperbolic-function.svg
https://www.math24.net/wp-content/uploads/2018/10/asymptote-of-hyperbolic-function.svg 1/1
Figure 3
Oblique(Slant) Asymptotes
The straight line y = kx + b is called an oblique (slant) asymptote of the graph of the function y = f (x) as x → ∞ if
A straight line y = kx + b is an asymptote of a function y = f (x) as x → ∞ if and only if the following two limits are
finite:
Check Figure 4.
3
20.12.2020 https://www.math24.net/wp-content/uploads/2018/10/definition-of-oblique-asymptote.svg
https://www.math24.net/wp-content/uploads/2018/10/definition-of-oblique-asymptote.svg 1/1
Figure 4
1. Domain
Find the domain of the function and determine the points of discontinuity (if any).
2. Intercepts
Determine the x− and y− intercepts of the function, if possible. To find the x−intercept, we set y = 0 and solve the
equation for x. Similarly, we set x = 0 to find the y−intercept.
4. Asymptotes
Find the vertical, horizontal and oblique (slant) asymptotes of the function.
5. Intervals of Increase and Decrease
Calculate the first derivative and find the critical points of the function. (Remember that critical points are the points
where the first derivative is zero or does not exist.) Determine the intervals where the function is increasing and
decreasing using the First Derivative Test.Use the First or Second Derivative Test to classify the critical points as local
maximum or local minimum.
!!
Using the Second Derivative Test, find the points of inflection (at which f = 0. Determine the intervals where the
function is concave up and concave down.
4
8. Graph of the Function.
EXAMPLES
The function is defined for all x ∈ R. Consequently, this function has no vertical asymptotes. Check for oblique (slant)
asymptotes. Calculate the slope of the asymptote:
(x+2)2 (x−1)
lim f (x) = lim = lim (x3 + 3x2 − 4) = lim (x2 + 3x − x4 ) = +∞.
x→∓∞ x x→∓∞ x x→∓∞ x→∓∞
This indicates that the function has also no oblique asymptotes. Then, it has no horizontal asymptotes.
Determine the points of intersection of the graph with the coordinate axes: f (0) = −4 and f (x) = 0 → (x+2)2 (x−1) =
0 → x = −2, x = 1.
We find the critical points by setting the first derivative equal to zero:
d
f → (x) = dx ((x + 2)2 (x − 1)) = 2(x + 2)(x − 1) + (x + 2)2 . Then, f → (x) = 0 → 3x(x + 2) = 0 → x = 0, x = −2.
The derivative changes its sign as shown in Figure 3(a). Therefore, x = −2 is the maximum point, and x = 0 is the
minimum point. The function has the following values at these extrema points: f (−2) = 0, f (0) = −4
Find the second order derivative:
!! !!
f (x) (x) = (3x(x + 2))→ → f (x) (x) = 6x + 6.
So the function is strictly concave up for x < −1 and strictly concave down for x > −1. Hence, x = −1 is the inflection
point, and f (−1) = −2. Check Figure 5.
20.12.2020 https://www.math24.net/wp-content/uploads/2018/10/signs-of-function-and-derivatives2.svg
https://www.math24.net/wp-content/uploads/2018/10/signs-of-function-and-derivatives2.svg 1/1
Figure 5
5
20.12.2020 https://www.math24.net/wp-content/uploads/2018/10/sketching-graph-of-function2.svg
https://www.math24.net/wp-content/uploads/2018/10/sketching-graph-of-function2.svg 1/1
Figure 6
1
2. Sketch f (x) = 1+x2
The function is defined for all real values of x ∈ R. Consequently, it has no vertical asymptotes. Since
1
lim f (x) = lim =0
x→∓∞ x→∓∞ 1 + x2
then the graph of the function has horizontal asymptote y = 0, that is the x-axis is the horizontal asymptote.
It is obvious that the function has no roots and positive for all x. At the point x = 0, its value is f (0) = 1.
1 −2x
The first derivative is f → (x) = ( 1+x →
2) = (1+x2 )2 . So there is only one critical point, f → (x) = 0 → x = 0.
Calculate the second order derivative :
6
20.12.2020 https://www.math24.net/wp-content/uploads/2018/10/sgns- of -funct on- and- der vatves3. svg
Figure 7
Figure 8
(x−1)3
3. Sketch f (x) = x2 .
The domain of the function is x ⇒= 0. The function has a discontinuity at x = 0. By calculating one-sided limits, we
obtain:
(x − 1)3
lim− f (x) = lim− = −∞
x→0 x→0 x2
7
(x − 1)3
lim f (x) = lim = −∞
x→0+ x→0− x2
f (x) (x − 1)3
k = lim = lim =1
x→∞ x x→∞ x3
(x − 1)3 3 1
b = lim (f (x) − kx) = lim ( − x) = lim (−3 + − 2 ) = −3
x→∞ x→∞ x2 x→∞ x x
!! (x − 1)2 (x + 2) → 6(x − 1)
f (x) = ( 3
) =
x x4
!! !! !!
It is seen that f = 0 at x = 1, and f < 0 to the left of this point and f > 0 to the right. Thus, the function is
convex upward on the intervals (−∞, 0), (0, 1) and is convex downward on the interval (1, ∞). Check the Figure 9.
Figure 9
8
20.12.2020 https://www.math24.net/wp-content/uploads/2018/10/sketchng- gr aph- of -funct on9. svg
Figure 10
4. Sketch f (x) = x ln x
Look for the vertical asymptote at x = 0: Using L’Hopital’s rule, we can write the right-sided limit in the form
ln x 1/x
lim x ln x = lim = lim = lim − x = 0
x→0+ x→0+ 1/x x→0 −1/x2
+ x→0+
ln x 1/x
Also, lim x ln x = lim = lim+ −1/x 2 = −∞.
x→∞ x→∞ 1/x x→0
The function has neither vertical, nor horizontal asymptotes. Consider the possible oblique asymptote as x → ∞:
x ln x
lim = lim ln x = ∞
x→∞ x x→∞
.
So there are no oblique asymptotes. Take derivative:
1 1
f → (x) = ln x + x. = 0 → ln x = −1 → x =
x e
.
The critical point is x = 1e . The derivative changes sign from negative to positive at x = 1e . Therefore,
1
x= e is a point of local minimum.
!! !!
Next, f (x) = x1 . So, f (x) > 0. The function is concave up everywhere.
The graph is in Figure 11.
9
21.12.2020 https://www.math24.net/wp-content/uploads/2019/05/graph-curve-sketching3.svg
https://www.math24.net/wp-content/uploads/2019/05/graph-curve-sketching3.svg 1/1
Figure 11
x
5. Sketch f (x) = x2 −1
x
lim − f (x) = lim − = −∞
x→−1 x→−1 x2 −1
x
lim f (x) = lim =∞
x→−1+ x→−1− x2 −1
x
lim f (x) = lim = −∞
x→1− x→−1− x2 −1
x
lim f (x) = lim =∞
x→1+ x→−1− x2 −1
x
lim f (x) = lim =0
x→∓∞ x→∓∞ x2 −1
x x2 + 1
f → (x) = ( ) →
= −
x2 − 1 (x2 − 1)2
We see that f → (x) < 0 that is the function is decreasing everywhere in its domain.
10
!! x2 + 1 → 2x3 + 6x
f (x) = (− 2 2
) = 2
(x − 1) (x − 1)3
!!
So, f (x) = 0 → x = 0. Check the Figure 12.
21.12.2020 https://www.math24.net/wp-content/uploads/2019/05/sign-chart-curve-sketching16.svg
https://www.math24.net/wp-content/uploads/2019/05/sign-chart-curve-sketching16.svg 1/1
Figure 12
21.12.2020 https://www.math24.net/wp-content/uploads/2019/05/graph-curve-sketching17.svg
https://www.math24.net/wp-content/uploads/2019/05/graph-curve-sketching17.svg 1/1
Figure 13
!
6. Sketch f (x) = 3
x2 (x + 1)
11
The function is defined on the entire real axis. Its graph crosses the x−axis at x = 0 and x = −1. The function is
positive on the intervals (−1, 0) and (0, +∞) and negative on the interval (−∞, −1).
Since the function is continuous everywhere, it does not have a vertical asymptote. We calculate the coe”cients of the
oblique (slant) asymptote:
! ! !
3
x2 (x + 1) 3
x3 (1 + 1/x) 3
1 + 1/x
k = lim = lim = lim =1
x→∓∞ x x→∓∞ x x→∓∞ 1
! x3 + x2 − x3 1
b = lim (f (x) − kx) = lim 3
x2 (x + 1) − x = lim ! ! ! =
x→∓∞ x→∓∞ 3 x→∓∞ (x3 + x2 )2 + 3 (x3 + x2 )x3 + 3 (x6 3
Consequently, there is an oblique asymptote given by the equation y = x + 1/3. First order derivative is
3x + 2
f → (x) = !
3 3 x(x + 1)2
It follows from here that the function has the following critical points: x = 0, x = −1, x = −2/3.
!! −2
f (x) = !
9 x (x + 1)5
3 4
21.12.2020 https://www.math24.net/wp-content/uploads/2018/10/signs-of-function-and-derivatives7.svg
https://www.math24.net/wp-content/uploads/2018/10/signs-of-function-and-derivatives7.svg 1/1
Figure 14
12
21.12.2020 https://www.math24.net/wp-content/uploads/2018/10/sketchng- gr aph- of -funct on7. svg
Figure 15
References
[1] Robert A. Adams, Christopher Essex. Calculus: A Complete Course, Pearson, Canada, 2018.
[2] S.K. Chung, Understanding Basic Calculus, lecture notes, Department of Mathematics, University of Hong Kong.
[3] Paul Dawkins, Calculus I, Paul’s Online Notes. Retrieved from https://tutorial.math.lamar.edu/
[4] James Stewart, Calculus: Metric Version, 8th Edition, Cengage Learning, 2015.
[5] https://www.math24.net/
13
1. Indeterminate Forms
sinx
Recall that limx!0 = 1. We can’t see this by substituting x = 0
x
into the function (sinx)/x because both sinx and x are zero at x = 0.
0
We call (sinx)/x an indeterminate form of type at x = 0. The
0
limit of such an indeterminate form can be any number. For example
sinx sin2 x sin2 x
lim = 1, lim = 0, lim = 1.
x!0 x3 x!0 x x!0 x2
x 1
= lim = 3.
x! 2 x + 3
Example 2.
1 cosx 0
lim
x!0 x2 0
1 (1 2sin2 (x/2))
= lim
x!0 x2
1 sin2 (x/2) 1
= lim =
x!0 2 (x/2)2 2
2) We will use L’Hospital’s
Rules for evaluating limits of indetermi-
0 h1i
nate forms of the types and .
0 1
Theorem 3 (L’Hospital’s Rules). Suppose the functions f and g are
di↵erentiable on the interval (a, b) and g 0 (x) 6= 0 there. Suppose also
that
• limx!c f (x) = limx!c g(x) = 0 or ± 1,
f 0 (x)
• limx!c 0 = L (L is finite or ± 1),
g (x)
1
2
sin(⇡x)
Example 5. Evaluate limx! 4 .
x2 16
Solution:
sin(⇡x) 0
lim 2
x! 4 x 16 0
(sin(⇡x))0
= lim
x! 4 (x2 16)0
⇡cos(⇡x) ⇡
= lim =
x! 4 2x 8
2sinx sin(2x)
Example 6. Evaluate limx!0 .
2ex 2 2x x2
Solution:
2sinx sin(2x) 0
lim x 2
x!0 2e 2 2x x 0
2cosx 2cos(2x)
= lim
x!0 2ex 2 2x
cosx cos(2x) 0
= lim x
x!0 e 1 x 0
sinx + 2sin(2x) 0
= lim x
x!0 e 1 0
cosx + 4cos(2x)
= lim = 3.
x!0 ex
ln(3x)
Example 7. Evaluate limx!1 .
x2
3
Solution:
ln(3x) h 1 i
lim
x!1 x2 1
1/3x
= lim
x!1 2x
1
= lim =0
x!1 6x2
x2
Example 8. Evaluate limx! 1 .
e1 x
Solution:
x2 h1i
lim
x! 1 e1 x 1
2x h1i
= lim
x! 1 e1 x 1
2
= lim =0
x! 1 e1 x
x2 sin(1/x)
Example 9. Evaluate limx!0 .
sinx
Solution:
x2 sin(1/x) 0
lim
x!0 sinx 0
2xsin(1/x) cos(1/x)
= lim
x!0 cosx
The last limit doesn’t exist. In this case we can NOT apply L’Hospital’s
Rule but we can still use other limit techniques. Using Squeeze Theo-
rem
x2 sin(1/x)
lim = 0,
x!0 sinx
since
x2 x2 sin(1/x) x2
sinx sinx sinx
and
x2 ⇣ ⌘⇣ x ⌘
lim = lim x lim =0
x!0 sinx x!0 x!0 sinx
Solution:
✓ ◆
1 1
lim [1 1]
x!0+ x sinx
sinx x 0
= lim+
x!0 xsinx 0
cosx 1 0
= lim+
x!0 sinx + xcosx 0
sinx 0
= lim+ = = 0.
x!0 2cosx xsinx 2 0
Solution:
Solution:
Definition 3 If F (x) is any anti-derivative of f (x) then the most general anti-derivative of f (x) is called
an indefinite integral and denoted,
Z
f (x)dx = F (x) + c, where c is any constant.
Z
In this definition the is called the integral symbol, f (x) is called the integrand, x is called the integration
variable and the c is called the constant of integration.
The process of finding the indefinite integral is called integration or integrating f (x) . If we need to be
specific about the integration variable we will say that we are integrating f (x) with respect to x.
1
Z Z Z
1
8. dx = 1 + tan2 x dx = sec2 xdx = tan x + c
cos2 x
Z Z
1
9. dx = 1 + cot2 x dx = cot x + c
sin2 x
Z
1
10. dx = arctan x + c
1 + x2
Z
1
11. p dx = arcsin x + c
1 x2
Z
12. cosh xdx = sinh x + c
Z
13. sinh xdx = cosh x + c
Suppose we have two functions f (x) and g(x) with antiderivatives F (x) and G(x), respectively. Then we
know that
d
{F (x) G(x)} = F 0 (x) G0 (x) = f (x) g(x)
dx
in other words, F G is an antiderivative of f g, which we can write as
Z Z Z
{f (x) g(x)} dx = f (x)dx g(x)dx.
Similarly,
d
(cF (x)) = cF 0 (x) = cf (x)
dx
implies that Z Z
cf (x)dx = c f (x)dx
if c is a constant.
Solution:
Z Z Z
(x2 + sin x)dx = x2 dx + sin xdx
x3
= cos x + c
3
2
Z p4 7 1
2. (3 x3 + 5 + p )dx =?
x 6
x
Solution:
Z p Z
4 7 1 1
3
(3 x + 5 + p )dx = (3x3/4 + 7x5 + x1/2 )dx
x 6
x 6
4 7/4 7 4 1 1/2
= 3 x x + 2x + c
7 4 6
12 7/4 7 4 1 1/2
= x x + x +c
7 4 3
Z
4x10 2x4 + 15x2
3. ( )dx =?
x3
Solution:
Z Z 10
4x10 2x4 + 15x2 4x 2x4 15x2
( )dx = + dx
x3 x3 x3 x3
Z
7 15
= 4x 2x + dx
x
1 8
= x x2 + 15 ln |x| + c
2
Z
1x
4. e + dx =?
x
Solution:
Z Z Z
x 1 x 1
e + dx = e dx + dx
x x
= ex + ln |x| + c
Z
5. 3ex + 5 cos x 10 sec2 x dx =?
Solution:
Z Z Z Z
x
3e + 5 cos x 10 sec2 x dx = 3 ex dx + 5 cos xdx 10 sec2 xdx
3
Z
7 6 sin2
7. d =?
sin2
Solution:
Z Z Z
7 6 sin2 1
d = 7 d 6 d
sin2 sin2
= 7 cot 6 + c
Z
x2 + 1
8. p dx =?
x
Solution:
Z 2 Z Z
x +1
p dx = x dx + x1/2 dx
3/2
x
2 5/2
= x + 2x1/2 + c
5
Z
z 4 16
9. dz =?
z+2
Solution:
Z 4 Z 4 Z 2
z 16 z 24 z 22 z 2 + 22
dz = dz = dz
z+2 z+2 z+2
Z Z
(z 2) (z + 2) z 2 + 4
= dz = (z 2) z 2 + 4 dz
z+2
Z
3 1 2
= z + 4z 2z 2 8 dz = z 4 + 2z 2 z 3 8z + c
4 3
Z
1
10. 2t + dt =?
1 + t2
Solution:
Z Z Z
1 1
2t + dt = 2t dt + dt
1 + t2 1 + t2
2t
= + arctan t + c
ln 2
y = F (g(x))
4
Suppose that the function g is di§erentiable on an open interval I and the function F is di§erentiable
on an open interval containing the image of I under g. Then by the Chain Rule, the composition function
F g is di§erentiable on I and we have
d dy
F (g(x)) =
dx dx
dy du
= .
du dx
= F 0 (u).g 0 (x).
So, we get
d
F (u) = F 0 (g(x)).g 0 (x).
dx
This is the chain rule expressed in an alternative way. Since integration is the reverse process of di§er-
entiation, we have Z
F 0 (g(x)).g 0 (x)dx = F (g(x)) + c.
d 2
Example 5 Consider the function f (x) = 2xsin(x2 + 3). Notice that 2x = (x + 3). So let’s call
dx
g(x) = x2 + 3, and F (u) = cos u, then
F (g(x)) = cos x2 + 3
and
d
F (g(x)) = F 0 (g(x)).g 0 (x)
dx
= sin(x2 + 3).2x
so that Z
2xsin(x2 + 3)dx = cos x2 + 3 + c.
The most transparent way of computing an integral by substitution is by following Leibniz and introduce
new variables. Thus to do the integral
Z
f (g(x))g 0 (x)dx
where f (u) = F 0 (u), we introduce the substitution u = g(x), and agree to write
g 0 (x)dx = du.
Then we get
5
Z Z
0
f (g(x))g (x)dx = f (u)du = F (u) + c
At the end of the integration we must remember that u really stands for G(x), so that
Z
f (g(x))g 0 (x)dx = F (g(x)) + c
Let u = x2 + 3.Then
du = 2xdx and sin(x2 + 3) = sin u
so that Z Z
2xsin(x2 + 3)dx = sin udu = cos u + c.
6
Z Z
p 1 2
= udu + p du = u3/2 + 2u1/2 + c
u 3
2 3/2 1/2
= (x + 1) + 2 (x + 1) + c.
3
Z
sin 2x
3. dx =?
1 + cos2 x
Solution: By using the substitution u = 1 + cos2 x, we have du = 2 cos x sin xdx = sin 2xdx and
Z Z
sin 2x du
2
dx = = ln |u| + c = ln 1 + cos2 x + c.
1 + cos x u
Z
2
4. (x + 1) ex +2x dx =?
Z
xdx
6. p =?
3x 1
1
Solution: By using the substitution u = 3x 1, we have du = 3dx and x = (u + 1) ,so
3
Z Z 1 Z
xdx (u + 1) 1 1 u+1
p = 3 p du = p du
3x 1 u 3 9 u
Z 3/2
1 1 u u1/2
= u1/2 + u1/2 du = + +c
9 9 3/2 1/2
q
2 3 2p
= (3x 1) + (3x 1) + c.
27 9
Z
dx
7. 2 =?
x (ln x)
dx
Solution: By using the substitution u = ln x, we have du = and
x
Z Z
dx du 1 1
2 = u 2
= +c=
u ln x
+ c.
x (ln x)
7
Z
8. tan x. ln(cos x)dx =?
dx = a cos tdt
and p p
a2 x2 = a2 a2 sin2 t = |a| cos t.
2. If an indefinite integral has the integrand which contains an expression of the form
p
x2 a2
then we introduce the substitution x = a sec t. So we have
and p p
x2 a2 = a2 sec2 t a2 = |a| tan t.
3. If an indefinite integral has the integrand which contains an expression of the form
p
x2 + a2
then we introduce the substitution x = a tan t. So we have
a
dx = dt
cos2 t
and
p p |a|
x2 + a2 = a2 tan2 t + a2 = .
cos t
4. If an indefinite integral has the integrand which contains an expression of the form
ax2 + bx + c
then by using completing square method, expression can be written as
8
2
p b b2
ax + p +c .
2 a 4a
p b
Then, the integral can be computed easier by making u = ax + p substitution.
2 a
Example 8 Evaluate the following indefinite integrals by using substitution method:
Z
xdx
1. p =?
4 x4
Solution: By using the substitution u = x2 .Then du = 2xdx and
Z Z du Z
xdx 2 1 du
p = p = p
4x 4 4u 2 2 2 u2
2
2
Solution: By using the substitution x = 2 tan t, we have dx = dt and
cos2 t
p p 2
x2 + 4 = 4 tan2 t + 4 = . So
cos t
Z Z 2 Z Z
dx 2t
dt 1 1 1 cos t
p = cos = dt = dt
x2 x2 + 1 2 4 1 4 sin2 t
4 tan2 t sin2 t
cos t cos t
Again by using the substitution u = sin t, we have du = cos tdt.So
Z Z
1 cos t 1 du 1 1
dt = = +c= +c
4 sin2 t 4 u2 4u 4 sin t
x
Since x = 2 tan t, by using t angled right triangle we have sin t = p
2
x +4
p
1 1 x2 + 4
+c= + c.
4 sin t 4 x
Z
dx
3. p =?
x x2 9
Solution: By using the substitution x = 3 sec t. So we have dx = 3 sec t tan tdt and
9
p p
x2 32 = 9 sec2 t 9 = 3 tan t. Then
Z Z Z
dx 3 sec t tan tdt 1 1
p = = dt = t + c
2
x x 9 3 sec t.3 tan t 3 3
x
Since x = 3 sec t, we have t = arcsec
3
Therefore
Z x
dx 1 1
p = t + c = arcsec + c.
x x2 9 3 3 3
Z
dx
4. p =?
2x x2
Solution: Firstly, let’s complete 2x x2 to a square.
2x x2 = x2 2x = (x 1)2 1 = 1 (x 1)2 .
Then
Z Z
dx dx
p = p
2x x 2 1 (x 1)2
By using the substitution u = x 1, we have du = dx. So
Z Z Z
dx dx du
p = p = p = arcsin u + c = arcsin(x 1) + c.
2x x 2 1 (x 1)2 1 u2
Z
dx
5. =?
4x2 + 4x + 2
Solution: Firstly, let’s complete 4x2 + 4x + 2 to a square.
4x2 + 4x + 2 = (2x + 1)2 + 1.
Then
Z Z
dx dx
=
4x2 + 4x + 2 (2x + 1)2 + 1
By using the substitution u = 2x + 1, we have du = 2dx. So
Z Z Z
dx dx 1 du 1 1
2
= 2
= 2
= arctan u + c = arctan (2x + 1) + c.
4x + 4x + 2 (2x + 1) + 1 2 u +1 2 2
Z
2x + 5
6. 2
dx =?
x + 4x + 13
Solution: Firstly, let’s complete x2 + 4x + 13 to a square.
x2 + 4x + 13 = (x + 2)2 + 9.
Then
Z Z Z
2x + 5 2x + 4 1
dx = dx + dx
x2 + 4x + 13 x2 + 4x + 13 (x + 2)2 + 9
Z Z
2x + 4 1 1
= dx + x+2 2 dx
x2 + 4x + 13 9 + 1
| {z } | 3
{z }
I1
I2
10
To compute I1 , using the substitution u = x2 + 4x + 13, we have du = (2x + 4) dx. So
Z Z
2x + 4 du
I1 = 2
dx = = ln |u| + c1 = ln x2 + 4x + 13 + c1
x + 4x + 13 u
x+2 dx
To compute I2 , using the substitution u = , we have du = . So
3 3
Z Z
1 1 1 1 1 1 x+2
I2 = x+2 2 dx = du = arctan u + c2 = arctan + c2
9 +1 9 u2 + 1 9 9 3
3
Therefore
Z
2x + 5 2 1 x+2
dx = I1 + I2 = ln x + 4x + 13 + arctan + c.
x2 + 4x + 13 9 3
i) If n m, then by long division, we can find a polynomial m(x) and a polynomial r(x) with degree less
than deg(Q(x)) such that
P (x) r(x)
= m(x) + , for all x with g(x) 6= 0.
Q(x) Q(x)
P (x)
Since polynomial functions can be integrated easily, to integrate , it su¢ces to know how to integrate
Q(x)
r(x)
.
Q(x)
P (x)
ii) If n < m,then by the help of partial fractions can be integrated easily.
Q(x)
P (x) A1 A2 Am
= + + ... + .
Q(x) x x1 x x2 x xm
P (x) A1 A2 Ak Ak+1 Am
= + 2 + ... + k
+ + ... + .
Q(x) x x1 (x x1 ) (x x1 ) x x2 x xmk
P (x) A1 x + A2 A3 Am
= 2 + + ... + .
Q(x) ax + bx + c x x1 x xm2
11
Example 9 Evaluate the following indefinite integrals of rational functions by using substitution method:
Z
x
1. 2
dx =?
x 2x 3
Solution: Since x2 2x 3 = (x 3)(x + 1) the partial fraction decomposition of the given rational
function takes the form
x A B
2
= + .
x 2x 3 x3 x+1
Then we get
x = A(x + 1) + B(x 3).
Putting x = 1 and x = 3, we get 1 = 4B and 3 = 4A, respectively.
3 1
Thus, we obtain A = and B = .
4 4
Therefore we have partial fraction decomposition
x 3 1 1 1
= + .
x2 2x 3 4x3 4x+1
So
Z Z Z
x 3 1 1 1
2
dx = dx + dx
x 2x 3 4 x3 4 x+1
3 1
= ln |x 3| + ln |x + 1| + c.
4 4
Z
2x + 3
2. dx =?
x2 2x + 1
Solution: Since x2 2x + 1 = (x 1)2 the partial fraction decomposition of the given rational function
takes the form
2x + 3 A B
= + .
x2 2x + 1 x 1 (x 1)2
Then we get
2x + 3 = A(x 1) + B.
Putting x = 1 and x = 0, we get 5 = B and 3 = A + B respectively, which yields A = 2
Therefore we have partial fraction decomposition
2x + 3 2 5
= + .
x2 2x + 1 x 1 (x 1)2
So
Z Z Z
2x + 3 2 5
dx = dx + 2 dx
x2 2x + 1 x1
| {z } | (x {z
1)
}
I1 I2
Z
2
I1 = dx = 2 ln |x 1| + c1
x1
To compute I2 , using the substitution u = x 1, we have du = dx. So
12
Z Z
5 du 5 5
I2 = 2 dx = 5 2
= + c2 = + c2 .
(x 1) u u x1
Then, we obtain
Z
2x + 3 5
2
dx = I1 + I2 = 2 ln |x 1| + c.
x 2x + 1 x1
Z
2x + 3
3. dx =?
x4 2x3 + 2x2 2x + 1
Solution: Since x4 2x3 + 2x2 2x + 1 = (x 1)2 (x2 + 1) the partial fraction decomposition of the
given rational function takes the form
2x + 3 A B Cx + D
= + + 2 .
x4 2x3 + 2x2 2x + 1 x 1 (x 1)2 x +1
Then we get
2
2x + 3 = A (x 1) (x2 + 1) + B(x2 + 1) + (Cx + D) (x 1)
This implies that
2x + 3 = x3 (A + C) + x2 (A + B 2C + D) + x(A + C 2D) A + B + D.
So, we get
A + C = 0, A + B 2C + D = 0, A + C 2D = 2, and A + B + D = 3.
3 5 3
Then, A = , B = , C = , and D = 1.
2 2 2
Therefore we have partial fraction decomposition
3 5 3
2x + 3 x1
= 2 + 2 + 2 .
x4 2x3 + 2x2 2x + 1 x 1 (x 1)2 x2 + 1
So
Z Z Z Z Z
2x + 3 3 dx 5 dx 3 2x dx
4 3 2
dx = + 2 +
2
dx 2
x 2x + 2x 2x + 1 2 x1 2 (x 1) 4 x +1 x +1
3 5 1 3
= ln |x 1| + ln x2 + 1 arctan x + c.
2 2x1 4
Z
x3 + 2
4. dx =?
x3 x
Z 3 Z 3 Z Z
x +2 x x+x+2 x+2 x+2
Solution: dx = dx = 1+ 3 dx = x + dx
x3 x x3 x x x x3 x
x+2
Since x3 x = x(x 1)(x + 1) the partial fraction decomposition of 3 takes the form
x x
x+2 A B C
3
= + + .
x x x x1 x+1
Then we get
x + 2 = A(x2 1) + B(x2 + x) + C(x2 x)
This implies that
13
x + 2 = x2 (A + B + C) + x(B C) A.
3 1
It follows that A = 2, B = and C = .
2 2
Therefore we have partial fraction decomposition
x+2 2 3 1 1 1
3
= + + .
x x x 2x1 2x+1
So
Z 3 Z
x +2 x+2
dx = x + dx
x3 x x3 x
Z Z Z
dx 3 dx 1 dx
=x2 + +
x 2 x1 2 x+1
3 1
= x 2 ln |x| + ln |x 1| + ln |x + 1| + c.
2 2
Z 3 2
x + 7x + 16x + 11
5. dx =?
x2 + 4x + 3
Solution: Since x3 + 7x2 + 16x + 11 = x2 + 4x + 3 (x + 3) + x + 2, we can write
x3 + 7x2 + 16x + 11 x+2
=x+3+ 2 .
x2 + 4x + 3 x + 4x + 3
Then, we have
Z 3 Z
x + 7x2 + 16x + 11 x+2
dx = x+3+ 2 dx
x2 + 4x + 3 x + 4x + 3
Z Z Z
x+2
= xdx + 3 dx + 2
dx
x + 4x + 3
Z
x2 x+2
= + 3x + dx.
2 x2 + 4x + 3
14
which written in terms of integration, becomes
Z Z
f (x)g(x)dx + f (x)g 0 (x)dx = f (x)g(x),
0
a < x < b.
If one of the two integrals on the left side is easy to find, then we can find the other one. By symmetry, we
may assume that the first integral is easy to find, then in this case, we can find the second integral by the
following:
Z Z
f (x)g 0 (x)dx = f (x)g(x) f 0 (x)g(x)dx.
In the above equation, by putting u = f (x) and v = g(x) so that du = f 0 (x)dx and dv = g 0 (x)dx, we get
Z Z
udv = uv vdu.
Here, we have to choose suitable u and dv. From the chosen dv, we have to find v. This is done by
integration.
A Guide for Integration by Parts: Treat the integrand as a product of two functions. Choose u to
be one of the two functions such that
• the other function can be integrated easily. Choose dv = (the other f unction)dx;
Z Z
• the new integral vdu is easier to find than the original integral udv.
Z
Example 10 Find x cos xdx.
The integrand is a product of two functions. There are two options for u and dv.
x2
• Put u = cos x and dv = xdx. Then we have du = sin xdx and we can take v = . Note that
Z Z 2
2
x
vdu = sin xdx which is even more complicated then the original integral.
2
Z
• Put u = x and dv = cos xdx.Then we have du = dx and we can take v = sin x. Note that vdu =
Z
sin xdx is easy to find.(the method works). From these we get
Z Z
x cos xdx = udv
Z
= uv vdu
Z
= x sin x sin xdx
= x sin x + cos x + c
15
Example 11 Evaluate the following indefinite integrals by using integration by parts method:
Z
1. x2 ln xdx =?
1 x3
Solution: Put u = ln x and dv = x2 dx.Then we have du = dx and we can take v = . From these
x 3
we get
Z Z
x2 ln xdx = udv
Z
= uv vdu
Z
x3 x3 1
= ln x dx
3 3 x
Z
x3 x2
= ln x dx
3 3
x3 x3
= ln x + c.
3 9
Z
2. x3 ex dx =?
Solution: Put u = x3 and dv = ex dx.Then we have du = 3x2 dx and we can take v = ex . From these
we get
Z Z
x3 ex dx = udv
Z
= uv vdu
Z
= x3 ex 3 x2 ex dx
Z
Here, to find x2 ex dx,we will apply integration by parts method again. Put u = x2 and dv =
ex dx.Then we have du = 2xdx and we can take v = ex . From these we get
Z Z
x3 ex dx = x3 ex 3 x2 ex dx
Z
= x3 ex 3 udv
Z
3 x
= x e 3 uv vdu
Z
= x3 ex 3 x2 ex 2 xex dx
16
Z
Here also, to find xex dx,we will apply integration by parts method again. Put u = x and dv = ex dx.
Then we have du = dx and we can take v = ex . From these we get
Z Z
x3 ex dx = x3 ex 3 x2 ex 2 xex dx
Z
= x3 ex 3x2 ex 6 udv
Z
3 x 2 x
= x e 3x e 6 uv vdu
Z
= x3 ex 3x2 ex 6 xex ex dx
e2x
Solution: Put u = cos 3x and dv = e2x dx.Then we have du = 3 sin 3xdx and we can take v = .
2
From these we get
Z Z
e2x cos 3xdx = udv
Z
= uv vdu
Z
e2x 3
= cos 3x. + 2 sin 3x.e2x dx
2
Z
Here, to find sin 3x.e2x dx,we will apply integration by parts method again. Put u = sin 3x and
e2x
dv = e2x dx. Then we have du = 3 cos 3xdx and we can take v = . From these we get
2
17
Z Z
e2x 3
e2x cos 3xdx = cos 3x. + sin 3x.e2x dx
2 2
Z
e2x 3
= cos 3x. + udv
2 2
Z
e2x 3
= cos 3x. + uv vdu
2 2
2x
Z
e 3 e2x 3 2x
= cos 3x. + sin 3x. e cos 3xdx
2 2 2 2
Z
e2x 3 2x 9
= cos 3x. + sin 3x.e e2x cos 3xdx.
2 4 4
Then, we have
Z
13 1 2x 3
e2x cos 3xdx = e cos 3x + e2x sin 3x
4 2 4
Z
4 1 2x 3
=) e2x cos 3xdx = e cos 3x + e2x sin 3x + c.
13 2 4
Z
4. x2 sin xdx =?
Solution: Put u = x2 and dv = sin xdx.Then we have du = 2xdx and we can take v = cos x. From
these we get
Z Z
x2 sin xdx = udv
Z
= uv vdu
Z
2
= x cos x + 2 x cos xdx
sin x
Solution: Put u = ln(cos x) and dv = sin xdx.Then we have du = dx = tan xdx and we can
cos x
take v = cos x. From these we get
18
Z Z
sin x ln(cos x)dx = udv
Z
= uv vdu
Z
= cos x ln(cos x) cos x tan xdx
Z
= cos x ln(cos x) sin xdx
1
Solution: Put u = arcsin x and dv = dx.Then we have du = p dx and we can take v = x. From
1 x2
these we get
Z Z
arcsin xdx = udv
Z
= uv vdu
Z
x
= x arcsin x p dx
1 x2
| {z }
I1
To compute the integral I1 , using the substitution w = 1 x2 , we have dw = 2x. Then we have
Z Z
1 dw
arcsin xdx = x arcsin x p
2 w
1 p
= x arcsin x + 2 w + c
2
p
= x arcsin x + 1 x2 + c.
Z
p
7. 1 x2 dx =?
p x
Solution: Put u = 1 x2 and dv = dx.Then we have du = p dx and we can take v = x. From
1 x2
these we get
19
Z Z
p
I= 1 x2 dx = udv
Z
= uv vdu
Z
p x2
= x 1 x2 p dx
1 x2
| {z }
I1
Z Z
x2 1 x2 1
I1 = p dx = p dx
1 x2 1 x2
Z Z
1 x2 dx
= p dx p
1x 2 1 x2
Z
p
= 1 x2 dx arcsin x
= I arcsin x + c1
Therefore we obtain
p p
I = x 1 x2 I1 = x 1 x2 I + arcsin x + c1
p
=) 2I = x 1 x2 + arcsin x + c1
p
x 1 x2 + arcsin x
=) I = + c.
2
Z
p
8. ln(x + 1 + x2 )dx =?
x
p 1+ p
2 1
Solution: Put u = ln(x + 1 + x2 ) and dv = dx.Then we have du = p1 + x dx = p dx
x + 1 + x2 1 + x2
and we can take v = x. From these we get
Z Z
p
ln(x + 1 + x2 )dx = udv
Z
= uv vdu
Z
p x
= x ln(x + 1 + x2 ) p dx
1 + x2
| {z }
I1
20
Z Z
p p 1 dw
ln(x + 1 + x2 )dx = x ln(x + 1 + x2 )
p
2 w
p 1 p
= x ln(x + 1 + x2 ) 2 w + c
2
p p
= x ln(x + 1 + x ) 1 + x2 + c.
2
Z
arcsin x
9. p dx =?
1+x
dx dx
Solution: Put u = arcsin x and dv = p .Then we have du = p and we can take v =
p 1 + x 1 x2
2 1 + x. From these we get
Z Z
arcsin x
p dx = udv
1+x
Z
= uv vdu
Z p
p 1+x
= 2 1 + x arcsin x 2 p dx
1 x2
Z
p 1
= 2 1 + x arcsin x 2 p dx
1x
p p
= 2 1 + x arcsin x + 4 1 x + c.
Z
Example 12 Find sin 3x. cos 4xdx.
By using addition formulas for sine function, we get
and
sin(4 3)x = sin 4x. cos 3x cos 4x. sin 3x. (2)
By taking (1) (2) ,we have
21
1
2 sin 3x. cos 4x = sin 7x sin x =) sin 3x. cos 4x = (sin 7x sin x)
2
Z Z
1
=) sin 3x. cos 4xdx = (sin 7x sin x) dx
2
1 1
= cos 7x + cos x + c
14 2
Z
Example 13 Find cos 5x. cos 3xdx.
By using addition formulas for cosine function, we get
22
ii) Consider the integrals of the form
Z
sinm x. cosn xdx.
If m is an odd positive integer, the integral can be done easily by substitution. Say m = 2k + 1, where k is
an integer, then by using the identity sin2 x + cos2 x = 1, we can rewrite the integral in the form
Z
k
sin x 1 cos2 x cosn xdx
Z
= (1 u2 )2 u4 du
Z
8
= u 2u6 + u4 du
u9 u7 u5
= +2 +c
9 7 5
cos9 x cos7 x cos5 x
= +2 + c.
9 7 5
If n is an odd positive integer, the integral can be done easily by substitution. Say n = 2k + 1, where k is
an integer, then by using the identity sin2 x + cos2 x = 1, we can rewrite the integral in the form
Z
k
sinm x 1 sin2 x cos xdx
23
By using the identity sin2 x + cos2 x = 1,we can write
Z Z
sin x. cos xdx = sin4 x 1 sin2 x cos xdx.
4 3
u7 u5
= + +c
7 5
sin7 x sin5 x
= + + c.
7 5
Z
Example 17 Find cos5 axdx.
2 2
By
Z using the identity Zsin ax + cos ax = 1,we can write
cos5 axdx = cos4 ax cos axdx
Z .
2
= 1 sin2 ax cos axdx
If m and n are both even positive integer, then we can use the doubleangle formulas
24
1 + cos 2x 1 cos 2x
cos2 x = and sin2 x = .
2 2
Z
Example 18 Find sin2 x. cos2 xdx.
1 + cos 2x 1 cos 2x
cos2 x = and sin2 x =
2 2
we can write
Z Z
2 2 1 cos 2x 1 + cos 2x
sin x. cos xdx = dx
2 2
Z
1
= 1 cos2 2x dx
4
Z
1 1 + cos 4x
= 1 dx
4 2
Z
1
= (1 cos 4x) dx
8
1 sin 4x
= x + c.
8 4
x
v) If the integral involve sin x or cos x functions, then using the substitution t = tan makes the
2
computation easier. By this way, we have
2
dx = dt.
1 + t2
x
Also by using angled right triangle we have
2
x x
sin x = 2 sin cos x
2 2 cos x = 2 cos2 1
2
t 1
= 2p p and 1 t2
1+t 2 1 + t2 = .
1 + t2
2t
= .
1 + t2
Z
dx
Example 19 Find .
cos x + 2 sin x
x 2 1 t2 2t
By using the substitution t = tan ,we have dx = 2
dt, cos x = and sin x = So, we get
2 1+t 1 + t2 1 + t2
25
Z 2dt Z
dx 1 + t2
=
cos x + 2 sin x 1 t2 2.2t
+
1 + t2 1 + t2
Z
dt
=2
1 + 4t t2
Z
dt
=2 2 .
(t 2) + 5
Z
2 dt
= 2
5 t2
p +1
5
t2 p
Let’s say p = u, then 5du = dt. We have
Z 5 p Z
dx 2 5 du
=
cos x + 2 sin x 5 u2 + 1
p
2 5
= arctan u
5
p
2 5 t2
= arctan p
5 5
p
2 5 tan x 4
= arctan p .
5 2 5
Problems
Evaluate the following indefinite integrals.
Z
1. 3 sec2 xdx
Z 2
1
2. 1+ dx
x
Z
3. 2x(x2 + 1)9 dx
Z
p
4. x4 x5 + 6dx
Z
3
5. x2 ex 1
dx
Z
x3 + x
6. 11 dx
(x4 + 2x2 + 3)
26
Z 1
x2 1 ex+ x
7. dx
x2
Z
sin x1
8. dx
x2
Z
sin (ln x)
9. dx
x
Z
1
10. dx
x ln x
Z
4
11. sin(1 x) (2 cos(1 x)) dx
Z
12. sin3 x cos8 xdx
Z
13. sin4 xdx
Z
14. sin4 x cos5 xdx
Z
15. cos x sin4 (sin x) dx
Z p
x
16. xe dx
Z
x3 + 3x2
17. dx
x2 + 1
Z
x
18. dx
2x 1
Z
x+4
19. dx
x2 5x + 6
Z
x2 + 3x + 2
20. dx
x (x2 + 1)
Z
1
21. dx
x3 +1
Z
x2 + 2
22. dx
4x5 + 4x3 + x
Z
1
23. 3/2
dx
(5 x2 )
27
Z
1
24. p dx
4 + x2
Z
1
25. p dx, where a > 0.
x2 a2
Z
1
26. p dx
2x x2
Z
1
27. p dx
1+ 2x
Z
1
28. d
2 + cos
28