Professional Documents
Culture Documents
The numbers or the variables in the matrix are called entries or elements of the matrix. If
a matrix has m rows and n columns then we way that its size is m by n (m×n) matrix. An
n×n matrix is called a square matrix or a matrix of order n. A 1×1 matrix is simply a
real number. Matrices will be denoted by capital bold-faced letters A, B, etc, or by (aij) or
(bij). For instance if
⎛5 1 0 ⎞
⎛ 1 0 3⎞ ⎜1 ⎟
A = ⎜⎜ ⎟⎟ B =⎜ 3 −2 6 ⎟ (2) then A is a
⎝ 2 8 5⎠ ⎜π e 3⎠⎟
⎝
2×3 matrix while B is a 3×3 square matrix or a matrix of order 3. The entry in the ith row
and jth column of an m×n matrix A is written aij. For an n×n square matrix, the entries
a11 , a 22 , a 33 ,..., a nn are called the main diagonal elements. The main diagonal entries for the
matrix B in (2) are 5, –2, 3.
Definition 1.2 Column and Row Vectors
An n×1 matrix
⎛ a1 ⎞
⎜ ⎟
⎜ a2 ⎟
⎜ M ⎟
⎜ ⎟
⎜a ⎟
⎝ n⎠
is called a column vector. A 1× n matrix, (a1 , a 2 ,..., a n ) is called a row vector.
Special Matrices
In matrix theory there are many special kinds of matrices that are important because they
posses certain properties. The following is a list of some of these matrices.
• A matrix that consists of all zero entries is called a zero matrix and is denoted by 0.
⎛ 0 0⎞
⎛ 0⎞ ⎛ 0 0⎞ ⎜ ⎟
For example 0 = ⎜⎜ ⎟⎟ 0 = ⎜⎜ ⎟⎟ 0 = ⎜ 0 0⎟
⎝ 0⎠ ⎝ 0 0⎠ ⎜ 0 0⎟
⎝ ⎠
• An n × n matrix A is said to be a triangular matrix if all its entries below the main
diagonal are zeros or if all its entries above the main diagonal are zero, [in other
words a square matrix A is triangular if aij = 0 for i >j or aij = 0 i < j.] More specially,
in the first case the matrix is called upper triangular and in the second case the
Example 6 If
⎛1 1⎞
A = ⎜⎜ ⎟⎟
⎝1 1⎠
Then
⎛1 1⎞⎛1 1⎞ ⎛ 2 2 ⎞
A 2 = ⎜⎜ ⎟⎟⎜⎜ ⎟⎟ = ⎜⎜ ⎟⎟
⎝ 1 1 ⎠⎝ 1 1 ⎠ ⎝ 2 2 ⎠
⎛1 1⎞⎛ 2 2 ⎞ ⎛ 4 4 ⎞
A 3 = AAA = AA 2 ⎜⎜ ⎟⎟⎜⎜ ⎟⎟ = ⎜⎜ ⎟⎟
⎝1 1⎠⎝ 2 2 ⎠ ⎝ 4 4 ⎠
and in general
⎛ 2 n −1 2 n −1 ⎞
A = ⎜⎜ n −1
n
⎟.
n −1 ⎟
⎝ 2 2 ⎠
Example 7 Simplify the following matrix expression
A(A + 2B) + 3B(2A – B) – A2 + 7B2 – 5AB
Solution: Using the properties of matrix operation we get
A(A + 2B) + 3B(2A – B) – A2 + 7B2 – 5AB = A2 + 2AB + 6BA – 3B2 – A2 + 7B2 – 5AB
= – 3AB + 6BA + 4B2.
⎜2 1 4 ⎟ ⎜ − 1 2 4⎟ ⎝ 3⎠
⎝ ⎠ ⎝ ⎠
In the next theorem we give some important properties of the transpose.
Theorem 1.8 Suppose A and B are matrices and k a scalar. Then
i) (AT)T = A ii) (A + B)T = AT + BT
iii) (AB) = B A
T T T
iV) (kA)T = kAT
Proof: We give here the proof of iii) here the rest is left as Exercise.
Note that
A = (aik ) m×n , B = (bkj ) n×r
then
⎛ n ⎞ ⎛ n ⎞
B T A T = (bikT ) r×n (a kjT ) n×m = ⎜ ∑ bikT a kjT ⎟ = ⎜ ∑ a jk bki ⎟ (1)
⎝ k =1 ⎠ r×m ⎝ k =1 ⎠ r ×m
and the last step follows from the definition of a transpose. Also,
⎛ n ⎞
AB = (aik ) m×n (bkj ) n×r = ⎜ ∑ aik bkj ⎟
⎝ k =1 ⎠ m×r
which on being transpose (i.e., on interchanging the subscript i and j) gives
⎛ n ⎞
( AB) T = ⎜ ∑ a jk bki ⎟ (2)
⎝ k =1 ⎠ r ×m
now iii) follows from (1) and (2).
The remaining properties can be proved similarly.
Definition 1.9 An n×n matrix A= ( aij ) is said to be:
i) Symmetric if aij = a ji for all i and j, that is if AT =A.
ii) Skew-symmetric if aij = −a ji for all i and j, that is AT = – A.
The following are examples of symmetric matrices:
⎛ 2 3 4⎞
⎛1 0 ⎞ ⎜ ⎟
⎜⎜ ⎟⎟ ⎜ 3 1 5⎟
⎝ 0 − 4⎠ ⎜ 4 5 3⎟
⎝ ⎠
Class Work 1
⎛ 1 − 3⎞ ⎛ 1 2 − 3⎞ ⎛ 2 − 4 5⎞
1. If A = ⎜⎜ ⎟⎟ B = ⎜⎜ ⎟⎟ C = ⎜⎜ ⎟⎟
⎝0 4 ⎠ ⎝ 5 0 − 1⎠ ⎝ 1 0 0⎠
Observe that the matrix of coefficients is a submatrix of the augmented matrix. The
augmented matrix completely describes the system.
Transformations called elementary transformations can be used to change a system of
linear equation into another system of linear equations that has the same solution. These
transformations are used to solve systems of linear equations by eliminating variables. In
practice it is simpler to work in terms of matrices using equivalent transformations called
elementary row operations. These transformations are as follows:
Elementary transformations Elementary row operations
1. Interchanging two equations 1. Interchanging two rows of a matrix
2. Multiplying both sides of an equation 2. Multiply the elements o row by a
by a nonzero constant nonzero constant
3. Add a multiple of one equation on to 3. Add a multiple of the elements of one
another equation. row to the corresponding elements of
another row.
Systems of equations that are related through elementary transformations, and thus have
the same solutions, are called equivalent systems. The symbol ≈ is used to indicate
Eliminate x1 from the 2nd and 3rd equations we refer to the first row as the pivot row
and the entry 1 circled in the first row as
≈ x1 + x 2 + x3 = 2 the pivot
Eq 2 + (−2) Eq1 x 2 − x3 = −1 ≈ ⎛1 1 1 2 ⎞
⎜ ⎟
Eq3 + (−1) Eq1 − 2 x 2 − 3x3 = −8 R2 − 2 R1 ⎜ 0 1 − 1 − 1⎟
R3 − R1 ⎜ 0 − 2 − 3 − 8⎟
⎝ ⎠
Eliminate x2 from the 1st and 3rd equations
≈ x1 + + 2 x3 = 3 Create appropriate zeros in column 2
Eq1 − Eq 2 x 2 − x 3 = −1
Eq3 + 2 Eq 2 5 x3 = −10 ≈ ⎛1 0 2 3 ⎞
⎜ ⎟
R1 − R2 ⎜0 1 −1 −1 ⎟
rd
Make coefficient of x3 in 3 Eq 1 R3 − 2 R 2 ⎜ 0 0 − 5 − 10 ⎟
⎝ ⎠
≈ x1 + + 2 x3 = 3
1 x 2 − x3 = −1 Make the (3,3) element 1
− Eq3
5 x3 = 2 ⎛1 0 2 3 ⎞
≈ ⎜ ⎟
1 ⎜ 0 1 − 1 − 1⎟
− R3 ⎜0 0 1 2 ⎟
Eliminate x3 from 1st and 2nd equations 5 ⎝ ⎠
≈ x1 + = −1
Eq1 − Eq3 x2 =1 Create zeros in column 3
Eq 2 + Eq3 x3 = 2 ≈ ⎛ 1 0 0 − 1⎞
⎜ ⎟
R1 − 2 R3 ⎜0 1 0 1 ⎟
The solution is x1 = −1, x 2 = 1, x3 = 2 R2 + R3 ⎜0 0 1 2 ⎟
⎝ ⎠
Matrix corresponding to the system
x1 + = −1
x2 =1
x3 = 2
The solution is x1 = −1, x 2 = 1, x3 = 2
⎡1 2 0 0 2⎤
⎢0 0 1 0 1 ⎥⎥
⎢
⎢0 0 0 1 0⎥
⎢0 0 0 0 0⎥
⎢ ⎥
⎢⎣ 0 0 0 0 0 ⎥⎦
and
⎡1 0 0 3 0⎤
⎢0
⎢ 0 1 0 0 ⎥⎥
⎢0 0 0 0 1⎥
⎢0 0 0 0 0⎥
⎢ ⎥
⎢⎣ 0 0 0 0 0 ⎥⎦
are the matrices in reduced row echelon form.
The matrix
⎡1 2 3 4⎤
⎢0 1 − 2 5 ⎥⎥
⎢
⎢0 0 1 2⎥
⎢ ⎥
⎣0 0 0 0⎦
Example:
⎡0 0 1 2 ⎤
A = ⎢⎢ 2 3 0 − 2 ⎥⎥ .
⎢⎣ 3 3 6 − 9 ⎥⎦
z Interchange rows 1 and 3 of A
⎡3 3 6 − 9⎤
⇒ ⎢2 3 0 − 2 ⎥⎥
⎢
⎢⎣ 0 0 1 2 ⎥⎦
1
z Multiply the third row of A by
3
⎡0 0 1 2 ⎤
⇒ ⎢2 3 0 − 2 ⎥⎥
⎢
⎢⎣ 1 1 2 − 3 ⎥⎦
z Multiply the second row of A by -2, then add to the third row of A
⎡0 0 1 2 ⎤
⇒ ⎢2 3 0 − 2 ⎥⎥
⎢
⎢⎣ − 1 −3 6 − 5 ⎥⎦
Important result:
z Every nonzero m × n matrix can be transformed to a unique matrix in reduced row
echelon form via elementary row operations.
Solution:
(a)
(b)
2 5 4
2 4
Minor of a32 : det(M 32 ) = 3 1 2 = = (2.2) − (3.4) = −8
3 2
5 4 6
Cofactor of a32 : C 32 = (−1) 3+ 2 det(M 32 ) = 8.
Definition 1.16 The determinant of a square matrix is the sum of the product of the
elements of the first row and their cofactors.
If A is 3×3, A = a11C11 + a12 C12 + a13 C13
If A is 4×4, A = a11C11 + a12 C12 + a13 C13 + a14 C14
M
If A is n×n, A = a11C11 + a12 C12 + a13 C13 + ... + a1n C1n
These equations are called cofactor expansions of |A|.
Example 3 Evaluate the determinant of the following matrix A.
⎛ 2 5 4⎞
⎜ ⎟
A = ⎜ 3 1 2⎟
⎜ 5 4 6⎟
⎝ ⎠
Solution: Using the elements of the first row and their corresponding cofactors, we get
A = a11C11 + a12 C12 + a13 C13
1 2 3 2 3 1
= 2(−1) 2 + 5(−1) 3 + 4(−1) 4
4 6 5 6 5 4
= 2(6 − 8) − 5(18 − 10) + 4(12 − 5) = −16
We have defined the determinant of a matrix in terms of its first row. It can be shown that the
determinant can be computed using a different row or one of the columns. For example the
cofactor expansion along the second column yields
=0
This example illustrates the fact that if a matrix has a row (or column) containing all zeros,
the determinant is zero.
Example 6 Calculate
Another look at Example 6 shows us that the determinant of the given matrix was the
product of the diagonal elements. Although this does not happen for all matrices, it
does if the matrix is upper or lower triangular.
Theorem 2.18 If A n×n is upper (or lower) triangular, then. det( A) = a11 a 22 ...a nn
Proof. Let us use the principle of mathematical induction. The proposition P(n) is as
follows: An n × n upper triangular matrix has determinant. a11 a 22 ...a nn First, we check
P(2). When ,
and by definition det( A) = a11 a 22 . The proposition is true for . For the induction
hypothesis we suppose that P(k) is true. That is, suppose that if Ak×k is upper triangular,
then det( A k ×k ) = a11 a 22 ...a kk .
To complete the proof, we must show that det( A k +1×k +1 ) = a11 a 22 ...a k +1k +1 . . Writing Ak +1k +1 ,
we have
Thus by the principle of mathematical induction, the proposition is true for all .
Proof. [(Alternative) Proof] Let
Both proofs are almost the same for lower triangular matrices. This is left to the
problems.
So, if A is upper or lower triangular, the determinant is easy to calculate. To use this
fact, we can row-reduce a matrix to upper or lower triangular form, calculate the
determinant of the resulting matrix, and then relate that determinant to the determinant
of the original matrix.
Class work
1. Let
⎛2 0 1 − 5⎞
⎜ ⎟
⎜8 −1 2 1 ⎟
A=⎜
4 −3 −5 0 ⎟
⎜ ⎟
⎜1 4 8 2 ⎟
⎝ ⎠
Find the following minors and cofactors of A.
(a) M12 and C12 (b) M43 and C43
2. Find the determinants of the following matrix using as little computation as possible.
⎛ 1 − 2 3 0⎞
⎜ ⎟
⎜ 4 0 5 0⎟
⎜ 7 − 3 8 4⎟
⎜ ⎟
⎜ − 3 0 4 0⎟
⎝ ⎠
Properties of a Determinant
The following theorem tells us how elementary row operation affect determinants. It also
tells us that these operations can be extended to columns.
Theorem 1.19 Let A be an n × n matrix and c be a nonzero scalar.
a) If a matrix B is obtained from A by multiplying the elements of a row (column) by c then
|B| = c|A|.
b) If a matrix B is obtained from A by interchanging two rows (column) then |B| = –|A|
c) If a matrix B is obtained from A by adding a multiple of one row (column) to another
row(column), then |B| = |A|.
The proof is left as exercise.
Example 7 Evaluate the determinant
3 4 −2
−1 − 6 3
2 9 −3
Solution:
a) All the elements in column 2 of A are zero. Thus |A| = 0.
b) Observe that every element in row 3 of B is twice the corresponding element in row
2. We write
(row 3) = 2(row 2)
Row 2 and row 3 are proportional. Thus |B| = 0.
The following theorem tells us how determinants interact with various matrix operations. The
examples following it demonstrate the theorem in use.
Theorem 1.22 Let A and B be n × n matrices and c be a nonzero scalar.
a) Determinant of a scalar multiple : |cA|=cn|A|
b) Determinant of a product: |AB| = |A||B|
c) Determinant of a transpose: |At| = |A|
1
d) Determinant of an inverse: A −1 = (assuming A-1 exists).
A
Example 9 If A is a 2×2 matrix with |A| = 4, use Theorem 2.22 to compute the following
determinants.
a) |3A| b) |A2| c) |5AtA-1|, assuming A-1 exists.
Solution:
a) |3A| = (32)|A|= (9).4 = 36
Example 11 Find the matrix of cofactors and the adjoint matrix of the matrix
⎛ − 2 − 1 3⎞
⎜ ⎟
A = ⎜ − 4 5 2⎟
⎜ − 3 1 4⎟
⎝ ⎠
−1 3 −2 3 − 2 −1
C 21 = − =7 C 22 = =1 C 23 = − =5
1 4 −3 4 −3 1
−1 3 −2 3 − 2 −1
C 31 = = −17 C 32 = − = −8 C 33 = = −14
5 2 −4 2 −4 5
Thus the matrix of cofactors of A is
⎛ 18 10 11 ⎞
⎜ ⎟
⎜ 7 1 5 ⎟
⎜ − 17 − 8 − 14 ⎟
⎝ ⎠
and the adjoint of A is the transpose of this matrix
⎛18 7 − 17 ⎞
⎜ ⎟
adj (A) = ⎜10 1 − 8 ⎟
⎜ 11 5 − 14 ⎟
⎝ ⎠
The next lemma is important for the proof of the theorem on inverse of a nonsingular matrix.
Lemma 1.24 Let A be an n × n matrix. If Cjk denotes the cofactor of a jk for k=1,…,n then
⎧A if i = j
ai1C j1 + a i1C j1 + ... + ai1C j1 = ⎨ (1)
⎩0 if i ≠ j
Proof: If i = j, (1) is just the cofactor expansion of det(A) along the ith row of A. If i ≠ j, then
it is the expansion of the determinant of a matrix in which the jth row of A has been replaced
by the ith row of A, thus this is matrix having two identical rows consequently its
determinant is zero as in (1).
Theorem 2.25 Let A be a square matrix with A ≠ 0. A is invertible with
1
A −1 = adj ( A) .
A
Solution: From Lemma 2.24 we observe that the product Aadj(A) is thus a diagonal matrix
with the diagonal elements to get |A|In. Thus
A adj ( A) = A I n
If A is nonsingular, det(A) is a nonzero scalar and we may write
⎛ 1 ⎞
A⎜⎜ adj ( A) ⎟⎟ = I n
⎝A ⎠
Thus
1
A −1 = adj ( A).
A
If A is nonsingular, then
1 − a12 ⎞
⎛ a 22
A −1 = ⎜ ⎟
a11 a 22 − a12 a 21 ⎜⎝ − a 21
a11 ⎟⎠
Example 13 Use the result of Theorem 2.25 to compute the inverse of the matrix
⎛ − 2 − 1 3⎞
⎜ ⎟
A = ⎜ − 4 5 2⎟
⎜ − 3 1 4⎟
⎝ ⎠
Solution: |A| is computed and found to be –13. This matrix was discussed in Example 11.
There we found that
⎛18 7 − 17 ⎞
⎜ ⎟
adj (A ) = ⎜10 1 − 8 ⎟
⎜ 11 5 − 14 ⎟
⎝ ⎠
The formula for the inverse of a matrix gives
⎛ − 18 − 137 1713 ⎞
−1 1 ⎜ 13
⎟
A = − adj ( A) = ⎜ − 13 − 13 138 ⎟.
10 1
13 ⎜ − 11 − 5 14 ⎟
⎝ 13 13 13 ⎠
Class work
Determine whether the following matrices have inverse. If a matrix has an inverse, find the
inverse using the formula for the inverse of a matrix.
⎛ 1 2 3⎞
⎛1 4⎞ ⎜ ⎟
a) ⎜⎜ ⎟⎟ b) ⎜ 0 1 2 ⎟
⎝ 3 2⎠ ⎜ 4 5 3⎟
⎝ ⎠
We now discuss the relationship between the existence and uniqueness of the solution to a
system of n linear equations in n variables and the determinant of the matrix of coefficient of
the system.
Now substitute
x1 = t + 1, x 2 = 2t , x3 = t
Example 2 Determine values of r for which the following system of equations has
nontrivial solutions. Find the solutions for each value of r.
(r + 2) x1 + (r + 4) x 2 = 0
2 x1 + (r + 1) x 2 = 0
Solution: This system is a homogeneous system of linear equations. It thus has the trivial
solution by Theorem 2.26 (i). The same theorem part (iii) tells us that there is the
possibility of other solution only if the determinant of the matrix of coefficients is zero.
Equating this determinant to zero, we get
≈ ⎛ 1 2 3 2 − 1⎞
⎜ ⎟
1 ⎜0 0 1 3 1 ⎟
R3
2 ⎜0 0 0 1 2 ⎟
⎝ ⎠
We have arrived at the echelon form
The corresponding system of equation is
x1 + 2 x 2 + 3x3 + 2 x 4 = −1
x3 + 3 x 4 = 1
x4 = 2
The system is now solved by back substitution i.e the value of x 4 is substituted into the
second equation to give x3 . x3 and x 4 are then substituted into the first equation to get x1 .
We get
x3 + 3(2) = 1
x3 = −5
Substituting x 4 = 2 and x3 = −5 into the first equation we have
x1 + 2 x 2 + 3(−5) + 2(2) = −1
x1 + 2 x 2 = 10
x1 = −2 x 2 + 10
Let x 2 = t hence the system has infinitely many solutions.
Example 4 Determine the value of k so that the following system of unknown x, y, z has
(i) a unique solution, (ii) no solution, (iii) an infinite number of solutions.
x + y − z =1
2 x + 3 y + kz = 3
x + ky + 3 y = 2
⎛1 0 0 ⎞ ⎛ 1 0⎞
⎜ ⎟ ⎛ 1 1 ⎞ ⎜ ⎟
1. Given that ⎜ 0 12 0 ⎟ A ⎜⎜ ⎟⎟ = ⎜ 0 1 ⎟ find A.
⎜ 0 0 − 1 ⎟ ⎝1 2 ⎠ ⎜ 0 0 ⎟
⎝ 3⎠ ⎝ ⎠
⎛1 n⎞
2. For n ∈ N , let A n = ⎜⎜ ⎟⎟ then show that
⎝0 1⎠
−1
(i) A n A m = A n +m (ii) A n = A − n
⎛ cosθ sin θ ⎞ ⎛ cos nθ sin nθ ⎞
3. Let f (θ ) = ⎜⎜ ⎟⎟. Then show that f n (θ ) = ⎜⎜ ⎟ for n ∈ N
⎝ − sin θ cosθ ⎠ ⎝ − sin nθ cos nθ ⎟⎠
4. Find the inverse of the following matrices if possible.
⎛ − 1 3 7 5⎞
⎛ 1 2 3⎞ ⎜ ⎟ ⎛1 0 1⎞
⎛ 1 3⎞ ⎜ ⎟ ⎜ − 1 2 − 1 3⎟ ⎜ ⎟
(a) ⎜⎜ ⎟⎟ (b) ⎜ − 3 1 2 ⎟ (c) ⎜ (d) ⎜ 2 1 2 ⎟
⎝ 8 5⎠ ⎜ 9 4 5⎟ 2 0 1 4⎟ ⎜1 2 1⎟
⎝ ⎠ ⎜ ⎟ ⎝ ⎠
⎜ 1 − 1 − 1 3⎟
⎝ ⎠
⎜ 0 0 1⎟ ⎜ 1 0 1⎟ ⎜ 0 0 1⎟
⎝ ⎠⎝ ⎠⎝ ⎠
⎛ 1 − 2 0⎞ ⎛ 1 2 0⎞
⎜ ⎟ ⎜ ⎟
8. Given that ⎜ 2 1 0 ⎟ A ⎜ − 2 1 0 ⎟ = 5I 3, what is det(A)?
⎜ 0 0 1⎟ ⎜ 0 0 1⎟
⎝ ⎠ ⎝ ⎠
9. Find the determinant and inverse of the following matrix
⎛1 0 0 0⎞
⎜ ⎟ ⎛1 1 1⎞ ⎛x +λ x x⎞
⎜0 1 0 0⎟ ⎜ ⎟ ⎜ ⎟
(a) ⎜ ⎟ (b) ⎜ a b c ⎟ (c) ⎜ x xλ x⎟
0 0 1 0 ⎜ a2 b2 c2 ⎟
⎜
⎜a b c d ⎟
⎟ ⎝ ⎠
⎜ x
⎝ x x ⎟⎠
⎝ ⎠
10. For what values of k will the system
x1 + x 2 + kx3 = 0
x1 + kx2 + x3 = 0
kx1 + x 2 + x3 = 0
have a non-trivial solution? In each case what are these solutions?
11. Solve each of the following system of linear equations by using:
i) Gaussian elimination method
ii) Cramer’s rule, when ever possible
2x + y + 6z = 6
2x − 5 y = 1 3 x1 + 2 x 2 − x3 = −1
a) b) c) 3x + 2 y − 2 z = −2
3 x − 2 y = −4 − x1 + 2 x 2 − 9 x3 = 9
x + y + 2z = 4
x + y + z − 2w = −4
3x + 4 y + 7 z = 0 − x1 + x 2 − x3 = −1
2 y + z + 3w = 4
d) y − 2z = 3 e) − 2 x1 − 2 x 2 + x3 = 3
d)
2 x + y − z + 2w = 5
x + 3 y − z = −5 2 x1 + x 2 − 3x3 = 1
x− y+w=4
12. A man refused to tell anyone his age, but he likes to drop hints about it. He then
remarks that twice his mother’s age add up to 140 and also that his age plus his
father’s age add up to 105 Furthermore, he says that the sum of his age and his
mother’s age is 30 more than his father’s age. Calculate the man’s age or show that
his hints contradict one another.
B
D
A
C
Fig 1
Because of this property of vectors that we can move vectors from one position to
another provided its magnitude and direction are maintained, so we say that vectors are
free by their very nature. The negative of a vector AB , written – AB , is a vector that has
the same magnitude as AB but opposite in direction. If k ≠ 0, then k AB is a vector that
is k as long as AB . When k=0 we say 0 AB = 0 (zero vector). Two vectors are said to be
parallel if and only if they are nonzero scalar multiples of each other.
AB
− AB 3
AB
2 2
− AB
Fig 2 3
Addition and Subtraction
Two vectors can be considered as having a common initial, such as in fig 3a. Thus, if
nonparallel vectors AB and AC are the sides of a parallelogram as in fig 3b, we say the
vector that is the main diagonal, or AD , is the sum of AB and AC and we write
AD = AB + AC.
A C A C
(a) (b)
Fig. 3
Fig. 4
Vectors in R2
To describe a vector analytically, let us consider vectors in two-dimensional coordinate
plane. The vector with initial point the origin O and terminal point P(x1,y1) in fig 5, is
called a position vector of the point P and is denoted by OP = x1 , y1
P(x1,y2)
Fig. 5
O
(a) (b)
Fig. 6
In R2 addition, subtraction, multiplication of vectors by scalars, and so on, are defined in
terms of their components.
Definition 2.1 Let a =< a1 , a 2 > and b =< b1 ,b2 > be vectors in R2 then
i) Addition: a + b =< a1 + b1 , a 2 + b2 >
ii) Subtraction: a − b =< a1 − b1 , a 2 − b2 >
iii) Equality: a = b if and only if a1 = b1 , a 2 = b2
iv) Scalar multiplication: ka =< ka1 , ka 2 >
Example 2 If a =< 1,4 > and b =< −6,3 >, find a + b, a − b, and 2a + 3b.
Solution: By definition 1.1
a + b =< 1 + (−6),4 + 3 >=< −5,7 >
a − b =< 1 − (−6),4 − 3 >=< 7,1 >
2a + 3b =< 2,8 > + < −18,9 >=< −16,17 >
Definition 2.2 The magnitude, length, or norm of a vector a = a1 , a 2 is denoted by
a , and defined by
2 2
a = a1 + a 2 .
Example 3 If a =< 6,−2 >, then a = 6 2 + (−2) 2 = 40 = 2 10 .
Clearly, a ≥ 0 for any vector a, and a = 0 if and only if a = 0. Especially we define a
unit vector as a vector with norm unity. We can obtain a unit vector u in the direction of
1 1
a by multiplying a by . i.e. u = a is a unit vector in the direction of a.(why?).
a a
Example 4 Given a =< 6,−2 >, form a unit vector in the direction of a and in the opposite
direction of a.
Solution:- We sow in example 3 that the norm of a is 2 10 . Thus the unit vector u in
the direction of a is given by
1 1 3 −1
u= a= < 6,−2 >= ,
2 10 2 10 10 10
and the vector in the opposite direction of a is given by
z
P(x1,y1,z2)
y
O
x
Fig 7
Solution: Observe that we may sketch the vectors as in the figure below
P1(4,6,-2)
We can observe from theorem 1.11 above is that if the two vectors are perpendicular to
each other i.e θ =90° then a ⋅ b = a b cosθ = 0 and conversely. This proves corollary
1.12 below
Corollary 2.6 The nonzero vectors a and b are perpendicular to each other if and only if
a⋅b = 0.
The other important result that we get from theorem 1.11 is that
a⋅b
cosθ =
a b
which intern implies, the angle between a and b is uniquely determined as 0 ≤ θ ≤ π .
Example 2 a) The vector 0 is perpendicular to every vector in R2
b) The vector <3,2> and <-4,6> are perpendicular in R2
c) The vector <2,-3,1> and <1,1,1> are orthogonal in R3
Example 3 Determine the angle between the vectors u = i and v = i + k in R3.
Solution: Since u ⋅ v = 1, u = 1, v = 2 and if θ is the angle between u and v
u⋅v 1
we have cosθ = =
u v 2
b b
θ θ
Prabb a Prab a
(a) (b)
since Prab is parallel to a or is 0, it must be a scalar multiple of a. The length of Prab is
evidently b cosθ , where θ is the angle between a and b ( 0 ≤ θ ≤ π ). It follows that
⎧ a π
⎪⎪ b cosθ a for 0 ≤ θ ≤ 2
=⎨
b
Pra
−a π
⎪ b (− cosθ ) for < θ ≤ π
⎪⎩ a 2
a ⎛ a⋅b ⎞ a a⋅b
Prab = b cosθ = b ⎜⎜ ⎟
a a b ⎟ a = a 2 a.
⎝ ⎠
Now we are prepared to define the Prab.
a⋅b a⋅b a⋅b
= a = a =
b
Note: Pra 2 2
.
a a a
Definition 1.13 Let a be a nonzero vector. The projection of vector b on to a (Prab) is
defined by
a⋅b
Prab =2
a.
a
Example 4 Let a = i + j and b = −i + 2 j + 4k . Find Prab.
Solution: Observe that a ⋅ b = −1 + 2 = 1 and a = 2 , hence
a⋅b 1 1 1
Prab = 2
a= (i + j) = i + j.
a ( 2)2 2 2
Direction Cosines: For a nonzero vector a = a1i + a 2 j + a3 k in R3, the angle α,β, and γ
between a and the unit vectors i, j, and k, respectively, are called dirction angles of a. See Fig
below, then
We say that cos α , cos β and cos γ are the direction cosines of a. The direction
⎛ 1 ⎞
cosines of a none zero vector a are simply the components of the unit vector ⎜ ⎟a .
⎜ a ⎟
⎝ ⎠
⎛ 1 ⎞ a a a
⎜ ⎟a = 1 i + 2 j + 3 k = cos α i + cos β j + cos γ k.
⎜ a ⎟ a a a
⎝ ⎠
⎛ 1 ⎞
Since the magnitude of ⎜ ⎟a is 1, it follows from the last equation that
⎜ a ⎟
⎝ ⎠
cos α + cos β + cos 2 γ = 1.
2 2
2 5 4
cos α = , cos β = , cos γ = .
3 5 3 5 3 5
Observe in Example 5 above that
4 25 16
cos 2 α + cos 2 β + cos 2 γ = + + = 1.
45 45 45
P0 P =< x − x 0 , y − y 0 , z − z 0 >
P0 (a, b, c)
The vector P0 P and <a, b, c> are parallel. Thus there exists a scalar t such that
Specifically the last equation yields the point-normal form of the equation of the plane
a ( x − x 0 ) + b( y − y 0 ) + c ( z − z 0 ) = 0 (3)
and expanding the last equation and putting d = ax0 + by 0 + cz 0 we obtain the general
form of the equation of the plane
ax + by + cy = d (4)
Observe that the components of <a, b, c> appear as coefficients in (3) and (9), ane the
coordinates of the points P0 ( x0 , y 0 , z 0 ) in the plane appear inside the parenthesis in (3).
Example 1 Find the point-normal and general forms of the equation of the plane passing
through the point (1,2,3) and having normal <-1,4,6>.
Solution: Let ( x 0 , y 0 , z 0 ) = (1,2,3) and < a, b, c >=< −1,4,6 > . Then the point normal form
equation of the plane is given by
– (x –1) + 4(y –2) + 6(z –3) =0
multiplying and simplifying the last equation we get the general form
• x + 4y + 6z = 25.
Example 2 Determine the equation of the plane through the three points P(2,-1,1),
Q(-1,1,3) and R(2,0,-3).
Exercise 1
1. Let a = 4i + 2 j and b = −2i + 5 j. Graph a + b and a – b.
2. Use the given figures to prove the given result
i) a + b + c = 0 ii) a + b + c + d = 0
c b c
d
b
a a
3. Sketch position vectors for a, b, 2a, -3b, a +b, and a-b.
i) a = <2,3,4> b = <1,-2,2>
ii) a = –i + 2j +3k b = -2j + k
4. Determine the scalar c so that the vectors a = 2i − cj + 3k and b = 3i + 2 j + 4k are
orthogonal.
if we can make f ( x) close enough to L by choosing x close enough to a but distinct from
a. Although this intuitive definition is sufficient for solving limit problems it is not prices
enough. In this section we see the formal definition of limit, which we call the ε − δ
definition of limit.
Definition 3.1 (Formal definition of limit)
The limit of f ( x) as x approach a is L, written
lim f ( x) = L
x →a
if every ε > 0, there exists a δ > 0 such that |f(x) - L| < ε whenever 0 < |x - a| < δ.
In Definition 3.1 above we should not that
I. The absolute value symbol is read as “ the distance between” for instance |x - a| is the
distance between x and a.
II. Notice that |x - a| >0. In other words x is not equal to a.
So with this in mind we can read the definition as:
“ The distance between f ( x) and L can be made smaller than any positive number ε,
whenever the distance between x and a is less than some number δ and x does not
equal a.” Fig 3.1 below represents this idea pictorially.
y
L+ε
L
L-ε
x
a-δ a a-δ
Fig 3.1
If we wish to use a form of Definition 3.1 that does not contain absolute value symbols
we can have the following alternative definition of limit.
Definition 3.2 lim f ( x) = L if and only if for every ε>0, there is a δ>0 such that if x is in the
x→a
open interval (a – δ, a +δ) and x ≠ a then f(x) is in the open interval (L –ε, L + ε).
Using either of the definitions of limit given above we can prove the following theorem.
Theorem 3.3 If lim f ( x) = L and lim f ( x) = M then L=M.
x→a x→a
The above theorem tells us that if a limit of a function f(x) at a exists then it must be
unique.
Solution:
We need to show that given ε > 0 then there exists δ > 0 such that
if 0 < x − 2 < δ then (5 x − 7) − 3 < ε
value is chosen for . For example, will work. Thus, if , then it follows
that . This completes the proof.
A similar proof as example 2 shows us that for any number a and k
lim k = k (1)
x→a
iff
iff
iff
iff .
We will now “replace” the term |x+1| with an appropriate constant and keep the term |x-1| ,
since this is the term we wish to “solve for”. To do this, we will arbitrarily assume that
(This is a valid assumption to make since, in general, once we find a that works, all smaller
iff
iff .
Now choose (This guarantees that both assumptions made about in the
course of this proof are taken into account simultaneously.). Thus, if , it
follows that . This completes the proof.
iff
iff
iff
iff
iff
iff
iff .
We will now “replace” the term |x+3| with an appropriate constant and keep the term |x-3| ,
since this is the term we wish to “solve for”. To do this, we will arbitrarily assume that
(This is a valid assumption to make since, in general, once we find a that works, all smaller
values of also work.) . Then implies that -1 < x-3 < 1 and 2 < x < 4 so that 5
< |x+3| < 7 and (Make sure that you understand this step before
proceeding.). It follows that (Always make this “replacement” between your last expression
on the left and . This guarantees the logic of the proof.)
iff
iff
iff .
Now choose (This guarantees that both assumptions made about in the
course of this proof are taken into account simultaneously.). Thus, if , it
iff
iff
(At this point, we need to figure out a way to make | x-9 | “appear” in our computations.
Appropriate use of the conjugate will suffice.)
iff
(Recall that .)
iff
iff .
iff .
We will now “replace” the term with an appropriate constant and keep the term |x-9|
, since this is the term we wish to “solve for”. To do this, we will arbitrarily assume that
(This is a valid assumption to make since, in general, once we find a that works, all
smaller values of also work.) . Then implies that -1 < x-9 < 1 and 8 < x < 10
iff .
Solution:
We need to show that given ε > 0 then there exists δ > 0 such that
implies
Looking for δ:
Hence, we let
some ε>0 such that for ever δ> 0 there is a number x satisfying
0<|x – a|<δ and | f(x) – L| ≥ ε.
Example 8 Let f be defined by
⎧ x 2 for x > 0
f ( x) = ⎨
⎩− 1 for x ≤ 0
Solution: Let L be any number. We will prove tht the statement “L is the limit of f at 0” is
false by letting ε=1/2 and showing that for any δ>0 there is an x satisfying
0<|x – a|<δ and |f(x) – L| ≥½ = ε
Let δ be any positive number. If L ≤ – ½ , then we let x =δ/2 and note that f(x) = x2 so that
δ2 δ2 1 1
f ( x) − L = −L ≥ + > =ε
4 4 2 2
If L ≥ – ½, then we let x = – δ/2 and note that f(x) = -1, so that
1 1
f ( x) − L = − 1 − L = − 1 1 + L ≥ 1 − = = ε
2 2
In either case we have shown that for any δ>0 there is an x satisfying
0<|x – a|<δ and |f(x) – L| ≥½ = ε
There for f has no limit at 0.
Class work
Using the ε-δ definition of limit, prove that
1. lim 2 x − 1 = 1 2. lim x − 1 = 1 3. lim x 2 = 4 4. lim 2 x − 1 ≠ 3
x →1 x→2 x→2 x →1
Solution: Let ε > 0 be given we need to show there is a δ>0 such that
if 0 < x − 1 < δ , then x −1 − 0 < ε
Note if lim f ( x) = lim− f ( x) = ∞ then we right simply lim f ( x) = ∞ for the common
x →a + x →a x →a
expression and say that the limit of f(x) as x approaches a is ∞ and that f has an infinit
limit at a.
Example 10 Show that lim1 / x 2 = ∞ . Show also that the line x = 0 is a vertical
x→a
Solution: Let ε>0. To show that lim 1 / x = 0 we must find an M such that
2
x →∞
1 1 1
if x > M , then 2
−0 = 2 = 2 <ε
x x x
But then
1 1
if x > , then <ε
ε x2
Therefore we let M = 1 ε and conclude that lim 1 / x 2 = 0 . To show that lim 1 / x 2 = 0
x →∞ x → −∞
completely analogues.
Solution: We use the fact that x 3 > x for x > 1. For any N, choose M so that M>1 and M
> N. Then it follows that
if x > M , then x 3 > x > M > N
therefore by Definition 3.8
lim x 3 = ∞.
x →∞
2. lim cf ( x) = c lim f ( x)
x→a x→a
f ( x) f ( x) lim f ( x)
4. if lim g ( x) ≠ 0 and lim exists then lim = x→a .
x→a x→a g ( x) x→a g ( x) lim g ( x)
x→a
Proof: Here we proof (1). Statement (2), (3), and (4) are left as exercise.
Let lim f ( x) = L and lim g ( x) = M we need to show for every ε>0 there is some δ>0 such
x→a x→a
that if 0 < x − a < δ , then f ( x) + g ( x) − ( L + M ) < ε . Observe that lim f ( x) = L iff for
x →a
every ε/2 >0 there is a δ1>0 such that if 0 < x − a < δ 1 , then f ( x) − L < ε / 2.
Similarly lim g ( x) = M iff for every ε/2 >0 there is a δ2>0 such that
x →a
Now let as quickly go through some important limit finding techniques that would
require a little bit of caution before applying the rules in Theorem 3.9.
lim x x = lim+ x 2 = 0
x →0 + x →0
x +1
Example 16 Prove that lim does not exist
x → −1 x +1
Solution:
x +1 x +1 x +1 x +1
lim+ = lim+ = lim+ 1 = 1 and lim− = lim− = lim− − 1 = −1
x → −1 x + 1 x → −1 x + 1 x → −1 x → −1 x + 1 x → −1 − ( x + 1) x → −1
x − 2x 2
Solution: Deveiding the numerator and the denominator of by x2 in the limit we
x −1
2
have
x − 2x 2 1/ x − 2
lim 2 = lim = −2
x →∞ x − 1 x →∞ 1 − 1 / x
similarly
x − 2x 2 1/ x − 2
lim = lim = −2.
x → −∞ x 2 − 1 x → −∞ 1 − 1 / x
x − 2x 2
Observe here that y = -2 is the horizontal asymptote of the graph of f(x) = .
x2 −1
x − 2x 2
Example 18 Let f(x) = . Find all vertical asymptotes of the graph of f.
x2 −1
Solution: Since f is not defined at x =1 and x = –1 they are the possible vertical
asymptotes but to confirm our claim we use limit:
Since
x − 2x 2 x 1 − 2x
lim = lim+ = −∞ and
x →1+ x 2 − 1 x →1 x + 1 x − 1
x − 2x 2 x 1 − 2x
lim+ 2 = lim+ =∞
x → −1 x − 1 x →−1 x + 1 x − 1
it follows that x =1 and x = –1 are the vertical asymptotes of the graph of f.
The next theorems give two additional properties of limits. For their proofs the student may
refer any major calculus books.
Theorem 3.10 If f ( x) ≤ g ( x) for all x in an open interval that contains a (except
possibly at a) and the limits of f and g both exist as x approaches a, then
lim f ( x) ≤ lim g ( x).
x →a x →a
I don’t think the student is new for these theorems and for the special limit that is the
consequence of especially the Squeezing Theorem. i.e.
1
lim x 2 sin = 0.
x →0 x
x4 − x2
Example 20 Find lim
x →∞ x +1
x4 − x2
Solution: Simplifying we can evaluate the limit as below
x +1
x4 − x2 x 2 ( x 2 − 1) x 2 ( x − 1)( x + 1)
lim = lim = lim
x →∞ x +1 x →∞ x +1 x →∞ x +1
= lim x ( x − 1) = ∞.
2
x →∞
Class work
Evaluate each of the following limit as a real number, ∞, – ∞, if it exists.
x2 − x − 2 sin 2 x 1+ x − 1− x
1. lim 2. lim 3. lim−
x → −1 x +1 x →0 x x →3 x
1 − cos x ⎧ x 3
if x < 1
4. lim 5. lim f ( x ) where f ( x ) = ⎨
x2 ⎩( x − 2) if x > 1
x →0 x →1 2
3. lim f ( x) = f (a )
x→a
x2 − x − 2
Example 21 Let f ( x) = lim . Determine the number at which f is not
x → −1 x +1
discontinuous.
and lim+ g ( x) = 0. Thus both functions are not continuous at 0. We say we have infinite
x →0
discontinuity at 0 in case of f while we say we have jump discontinuity at 0 in case of g.
Clearly combinations of continuous functions follow immediately from the corresponding
results for limits.
Theorem 3.12 If f and g are continuous at a and c is a constant, than the following
functions are also continuous at a.
i. f + g ii. f – g iii. cf iv. fg v. f/g if g(a) ≠ 0.
So using theorem 3.12 we can show that every polynomial function is continuous over R
every rational function is continuous everywhere except at numbers where the
denominator is 0.
Another way of combining continuous functions f and g to get a new continuous function
is to form the composite function f o g . This fact is a consequence of the following theorem.
The following theorem tells us that the composition of two continuous functions at a
given number is continuous.
Theorem 3.14 If g is continuous at a and f is continuous at g(a), then f o g ( x) = f ( g ( x))
is continuous at a.
Class work
Where are the following functions continuous
⎧1 if x ≤ 0
Example 24 the step function g ( x) = ⎨ is continuous from the left at 0
⎩0 if x > 0
Since lim− g ( x) = 1 = g (0) but it is not continuous from the right at 0 as lim+ g ( x) ≠ g (0)
x →0 x →0
verify.
Continuity on interval
Definition 3.16 a) A function is continuous on (a,b), if it is continuous at every point in
(a,b).
b. A function is continuous on [a, b] if it is continuous on (a,b) and is also continuous
from the right at a and continuous from the left at b.
Class Work
Let f ( x) = 1 − x 2 .Show that f is continuous on [-1, 1].
An important property of continuous functions is expressed by the following theorem.
Theorem 3.17 (The Intermediate Value Theorem)
Suppose that f is continuous on the closed interval [a, b] and let N be any number strictly
between f(a) and f(b). Then there exists a number c in (a, b) such that f(c) = N.
Example 24 Show that there is a root of the equation
4 x 3 − 6 x 2 + 3x − 2 = 0
between 1 and 2.
Solution: Let f ( x) = 4 x 3 − 6 x 2 + 3x − 2. We are looking for a solution of the given
equation, that is, a number c between 1 and 2 such that f(c) = 0. Therefore we take a = 1,
b = 2, and N = 0 in Theorem 3.17. We have
f (1) = 4 − 6 + 3 − 2 = −1 < 0 and f (2) = 32 − 24 + 6 − 2 = 12 > 0
Thus f (1) < 0 < f (2), that is, N=0 is a number between f(1) and f(2). Now f is
continuous since it is a polynomial, so the Intermediate Value Theorem says there is a
number c between 1 and 2 such that f (c) = 0. In other words, the equation
4 x 3 − 6 x 2 + 3x − 2 = 0 has a root c in the interval (1, 2).
Class Work
continuous at x=1.
2. Demonstrate that the equation cos x + x = 0 has at least one solution.
I hope the student remembers that the slope of the tangent line to the graph of the function
f at a point (a, f(a)) is given by the derivative of f at a i.e f ' (a) consequently using the
point-slope form of the equation of a line, we have the equation of the tangent line to the
curve y = f(x) at a point (a, f(a)) is given by y − f ( a) = f ' (a )( x − a ). For instance the
equation of the tangent line to the graph of f ( x) = x 2 + 3 x + 2 at (-1, 0) in our Example 1 is
given by y − f (−1) = f ' (−1)( x − (−1)) or y − 0 = 1( x + 1) or simply y = x+1.
Given a function f, we associate with it a new function f ' , called the derivative of f,
defined by:
f ( x + h) − f ( x )
f ' ( x ) = lim .
h →0 h
f ( x + h) − f ( x) The definition of
f'(x) = lim
h→0 h derivative.
⎡⎣ x + h + ( x + h) + 1 ⎤⎦ − ( x + x + 1)
lim
h→0 h
Replace f(x+h) and f(x) by the
corresponding expressions.
h+ ( x + h) + 1 − x+ 1
lim Simplify.
h→0 h
⎡⎣ ( x + h) + 1 + x + 1⎤⎦
h + ⎡⎣ ( x + h) + 1 − x + 1⎤⎦ ⋅
⎡⎣ ( x + h) + 1 + x + 1⎤⎦
lim
h→0 h
1
Therefore, the derivative ofx + x + 1 is 1 +
2⋅ x+ 1
which implies
x−0
lim does not exist
x →0 x − 0
= f ' (a ) ⋅ 0 = 0.
Therefore
lim f ( x) = lim[ f (a ) + f ( x) − f (a )]
x→a x→a
= lim f (a ) + lim[ f ( x) − f (a )]
x→a x→a
= f (a ) + 0 = f (a ).
and so f is continuous at a.
Note: the converse of Theorem 4.3 is false: that is, there are functions that are continuous
but not differentiable. For instance, the function f ( x) = x is continuous at 0 because
lim f ( x) = lim x = 0 = f (0).
x →0 x →0
Class Work
Find the derivative of the functions
1
1. y = ( x 5 + 2 x 2 + 3) 50 2. y =
3
x 6 + 2x + 1
3. y = cos(sin (tan x)) 4. y = cos(sin 2 x)
Find the equation of the tangent line to the curve at the given point
5. ( x 3 − x 2 + x − 1)10 , (1,0) 6. y = x + 1 / x , (1, 2 )
Exercise 4.1
I Determine whether the given function has an inverse. If an inverse exists, give the domain
and range of the inverse and graph the function and its inverse.
1. f ( x) = 4 x + 3 2. f ( x) = 9 − x 2 , 0 ≤ x ≤ 3
3. f ( x) = x − sin x 4. f ( x) = ln(3 − x)
2x
5. f ( x) = 6. f ( x) = 3 x + 1
x−2
II Show f has an inverse if
x x
7. f ( x) = ∫ 1 + t 4 dt for all x. 8. f ( x) = ∫ sin 4 (t 2 )dt for all x.
0 0
provided that the latter limit exists. We will simultaneously show that it does exist and
find its value. First notice that f −1 is continuous at c by theorem 3.3. Therefore
lim f −1 ( y ) = f −1 (c) = a
y →c
Of these functions only the arcsecant function appears with any frequency in the sequel.
Exercise 4.3
I Find the exact value of the expression, whenever it is defined.
1. arcsin(− 2 / 2) 2. arccos(−1 / 2)
3. arctan(− 3 ) 4. sin(arcsin 2 / 3)
5. arcsin(sin 5π / 4) 6. arccos(cos 5π / 4)
7. cos[arctan(−3 / 4) − arcsin(4 / 5)] 8. tan[arctan(3 / 4) + arccos(8 / 17)]
II Rewrite as an algebraic expression in x for x > 0.
9. sec(arcsin( x / 3) 10. tan(arc csc( x / 2))
11. cos(2 arcsin x) 12. sin( 2 arcsin x)
Derivatives and Integrals
We know see the derivatives and integrals of the inverse trigonometric functions in the
following two theorems.
dy
d 1
In other words, (tan −1 x) = .
dx 1+ x2
The rest of the formulas can be obtained in similar fashion.
Example 1 Find
d d d d
a) arcsin 3x 2 b) arccos(ln x) c) arctan e 2 x d) arc sec 3x 2
dx dx dx dx
Solution: Using Theorem 3.1 along the Chain Rule, we have
d 1 d 6x
a) (arcsin 3x 2 ) = (3x 2 ) =
dx ( )
1 − 3x 2 dx
2
1 − 9x 4
d 1 d 1
b) arccos(ln x) = − (ln x) = −
dx 1 − (ln x) dx
2
x 1 − (ln x) 2
d 1 d 2x 2e 2 x
c) arctan e 2 x = ( e ) =
dx 1 + (e 2 x ) 2 dx 1 + (e 2 x ) 2
1 1 u
ii) ∫ 2 dx = arctan + C
a +x 2
a a
1 1 u
iii) ∫ du = arc sec + C
u u −a
2 2 a a
The proof of the above example is left as exercise.
e2x
Example 2 Evaluate ∫ dx
1 − e4x
Solution: If we let u = e 2 x so that du = 2e 2 x dx , the integral may be written as in
Theorem (i) as below.
e2x 1 1 1 1
∫ 1 − e 4 x dx = ∫ 1 − u 2 2 du = 2 arcsin u + C = 2 arcsin e + C.
2x
x2
Example 3 Evaluate ∫ 4 + x 6 dx.
Solution: The integral may be written as in the second formula of Theorem (3.2) by
letting a 2 = 4 and using the substitution
u = x3 , du = 3 x 2 dx
and proceed as follows:
x2 1 ⎛ du ⎞ 1 1
∫ 4 + x 6 dx = ∫ 4 + u 2 ⎜⎝ 3 ⎟⎠ = 3 ∫ 2 2 + u 2 du
1 1 u
= ⋅ arctan + C
3 2 2
1 u
= arctan + C.
6 2
1
Example 4 Evaluate ∫ dx
x x4 − 9
Solution: The integral may be written as in Theorem 3.2(iii) by letting a 2 = 9 and using
the substitution
u = x2 , du = 2 xdx,
we introduce 2x is the integrand by multiplying numerator and denominator by 2x and
then proceed as follows:
1 1
= ∫
2 u u 2 − 32
du
1 1 u
= ⋅ arc sec + C
2 3 3
2
1 x
= arc sec + C.
6 3
Exercise 3.3
I Find the derivative of the function. Simplify where possible.
1. f ( x) = sin −1 (2 x − 1) 2. f ( x) = (1 + x 2 ) arctan x
3. f ( x) = tan −1 ( x − 1 + x 2 ) 4. f ( x) = cos( x −1 ) + (cos x) −1 + cos −1 x
5. f ( x) = (tan x) arctan x 6. f ( x) = (tan −1 4 x)e arctan 4 x
II Evaluate the integral
4
1 cos x
7. ∫ 2 8. ∫ dx
0 x + 16 9 − sin 2 x
1 1
9. ∫ e 2 x − 25
dx 10. ∫ x (1 + x)
dx
The integration formulas that correspond to the derivative formulas in theorem 3.4 are as
follows.
Theorem 3.5
∫ sinh xdx = cosh x + C ∫ cosh xdx = sinh x + C
∫ sec h xdx = tanh x + C ∫ csc h xdx = − coth x + C
2 2
1
= cosh u + C
3
1
= cosh x 3 + C.
3
dx
Proof: To proof (1) let y = sinh −1 x. Then sinh y = x and = cosh y . Since cosh y ≥ 0
dy
and cosh 2 y − sinh 2 y = 1, we have cosh y = 1 + sinh 2 y . Then applying the method for
inverse functions, we have
dy d 1 1 1 1
= (sinh −1 x) = = = = .
dx dx dx cosh y 1 + sinh 2 y 1+ x2
dy
Observe that we could have done the proof (1) by using formula (1) of Theorem 3.6 as
below.
d d
(sinh −1 x) = ln( x + x 2 + 1)
dx dx
1 ⎛ x ⎞
= ⎜1 + ⎟
⎜ ⎟
x + x2 +1 ⎝ x2 +1 ⎠
x2 +1 + x 1
= = .
( x + x + 1) x + 1
2 2
x2 +1
d
Example 1 Find sinh −1 (tan x).
dx
Solution: Using Theorem 3.7 and the Chain rule, we have
d 1 d 1
sinh −1 (tan x) = tan x = sec 2 x
dx tan x + 1 dx
2 2
sec x
1
= 2
sec 2 x = sec x .
sec x
1/ 2
1
Example 2 Evaluate ∫ 1− x
0
2
dx .
1/ 2
1 ⎛1+ x ⎞
= ln⎜ ⎟
2 ⎝1− x ⎠ 0
1
= ln 3
2
Exercise 3.5
I Find f ' ( x) if f ( x) is the given expression.
1. sinh −1 5 x 2. cosh −1 x
3. x tanh −1 x + ln 1 − x 2 4. sec h −1 1 − x 2 , x > 0
II Evaluate the integral
sinh x
5. ∫ sinh 2 xdx 6. ∫ 1 + cosh x dx
ex sin x
7. ∫e x −16
8.
1 + cos 2 x
∫ dx
form 0/0. The same notion applies if lim+ is replaced by lim− , lim , lim, or lim . The
x→a x →b x →c x →∞ x → −∞
limits
x2 − 4 sin x
lim and lim
x → −2 x + 2 x →0 x
therefore have the indeterminate form 0/0. Our first version of L‘Hôpital’s rule is
concerning the indeterminate form 0/0.
Theorem 4.2 (L‘Hôpital’s rule)
Let L be a real number or ∞ or − ∞.
a. Suppose f and g are differentiable on (a,b) and g ' ( x) ≠ 0 for a < x < b. If
f ' ( x)
lim+ f ( x) = 0 = lim+ g ( x) and lim+ =L
x→a x→a x → a g ' ( x)
then
f ( x) f ' ( x)
lim+= L = lim+
x→a g ( x) x→a g ' ( x)
An analogous result holds if lim+ is replaced by lim− or by lim, where c is any number in
x →a x →b x→c
(a,b). In the letter case f and g need not be differentiable at c.
b. Suppose f and g are differentiable on (a, ∞) and g ' ( x) ≠ 0 for x > a . If
f ' ( x)
lim f ( x) = 0 = lim g ( x) and lim =L
x →∞ x→∞ x →∞ g ' ( x )
then
f ( x) f ' ( x)
lim = L = lim
g ( x)
x →∞ x → ∞ g ' ( x)
An analogous result holds if lim is replaced by lim .
x →∞ x → −∞
Proof: We establish the formula involving the right-hand limits in (a). Define F and G on
[a,b) by
⎧ f ( x) for a < x < b
F ( x) = ⎨
⎩ 0 for x = b
⎧ g ( x) for a < x < b
G ( x) = ⎨
⎩ 0 for x = a
Then
lim+ F ( x) = lim+ f ( x) = 0 = F (a )
x →a x →a
This proves the equation involving right-hand limit in (a). The results involving left-hand
and two-sided limits are proved analogously. Part (b) is more difficult to prove, and we
omit its proof.
1 − 3x
Example 1 Evaluate lim .
x →0 x
Solution: Both the numerator and the denominator have the limit 0 as x → 0 . Hence the
quotient has the indeterminate form 0/0 at x = 0. By L‘Hôpital’s rule
1 − 3x − 3 x ln 3
lim = lim = − ln 3
x →0 x x →0 1
ln(1 − x 2 )
Example 2 Evaluate lim
x →0 ln cos 2 x
x 1
= lim , sin ce lim =1
x → 0 tan 2 x x →0 1 − x 2
⎡ x ⎤
= lim ⎢ ⋅ (cos 2 x)⎥
x → 0 sin 2 x
⎣ ⎦
x 1
= lim ⋅ lim(cos x) =
x → 0 sin 2 x x → 0 2
(π / 2) − arctan x
Example 3 Evaluate lim .
x →∞ 1/ x
⎛π ⎞ 1
lim⎜ − arctan x ⎟ = 0 = lim
x →∞ 2
⎝ ⎠ x →∞ x
In same limits we need to apply L‘Hôpital’s rule several times in succession. The next
example is one.
e x − e−x − 2x
Example 4 Evaluate lim
x →0 2 x − sin 2 x
Solution: The given quotient has the indeterminate form 0/0. By L‘Hôpital’s rule we have
e x − e −x − 2x e x + e−x − 2
lim = lim
x →0 2 x − sin 2 x x →0 2 − 2 cos 2 x
provided the second limit exists. Because the last quotient has the indeterminate form 0/0,
we apply L‘Hôpital’s rule again, to obtain
e x + e−x − 2 e x − e−x
lim = lim
x →0 2 − 2 cos 2 x x →0 4 sin 2 x
still the last quotient has the indeterminate form 0/0, hence applying the L‘Hôpital’s rule
for third time we get
e x − e−x e x + e−x 2 1
lim = lim = = .
x →0 4 sin 2 x x → 0 8 cos 2 x 8 4
The Indeterminate Form ∞/∞
Our second version of L‘Hôpital’s rule involves limits with indeterminate form ∞/∞. We
give it now, with out proof.
Theorem 4.3 (L‘Hôpital’s rule)
Let L be a real number or ∞ or − ∞.
a. Suppose f and g are differentiable on (a,b) and g ' ( x) ≠ 0 for a < x < b. If
f ' ( x)
lim+ f ( x) = ∞ or − ∞, lim+ g ( x) = ∞ or − ∞, and lim+ =L
x→a x→a x→a g ' ( x)
then
f ( x) f ' ( x)
lim+ = L = lim+
x→a g ( x) x→a g ' ( x)
An analogous result holds if lim+ is replaced by lim− or by lim, where c is any number in
x →a x →b x→c
then
4 tan x
Evaluate 5 Evaluate lim − .
x →(π / 2 ) 1 + sec x
Solution: Observe that the limit has the indeterminate form ∞/∞. Then by L‘Hôpital’s
rule we have
4 tan x 4 sec 2 x 4 sec x
lim − = lim − = lim − .
x →(π / 2 ) 1 + sec x x →(π / 2 ) sec x tan x x → (π / 2 ) tan x
The last quotient again has the indeterminate form ∞/∞ at x = π / 2; however, additional
applications of L‘Hôpital’s rule always produce the form ∞/∞. In this case the limit may
be found by using trigonometric identities to change the quotient as follows:
4 sec x 4 / cos x 4
= =
tan x sin x / cos x sin x
Consequently
4 tan x 4 4
lim − = lim − = = 4.
x →(π / 2 ) 1 + sec x x →(π / 2 ) sin x 1
2x
e
Example 6 Evaluate lim 2 .
x →∞ x
Solution: Since the limit has the indeterminate form ∞/∞ by applying L‘Hôpital’s rule
we have
e2x 2e 2 x e2x
lim 2 = lim = lim .
x →∞ x x →∞ 2 x x →∞ x
The last quotient has the indeterminate form ∞/∞, so we apply L‘Hôpital’s rule for a
second time, to obtain
e2x 2e 2 x
lim = lim = ∞.
x →∞ x x →∞ 1
Solution: Since lim+ x 2 = 0 and lim ln x = −∞ the given limit is of the form
x →0 x →0 +
0 ⋅ ∞ (more precisely, 0 ⋅ (−∞)). However, we can transform it into the indeterminate form
∞/∞ by writing it as
ln x
lim+
x →0 1 / x 2
The last quotient has the indeterminate form ∞/∞; however, further application of
L‘Hôpital’s rule would again lead to ∞/∞. In this case we simplify the quotient
algebraically and find the limit as follows:
1/ x x3 x2
lim = lim+ = lim+ = 0.
x →0 + − 2 / x 3 x →0 − 2 x x →0 − 2
Solution: The limit evidently has the indeterminate form 0 0 . But then since x x = e x ln x
and consequently
lim+ x x = lim+ e x ln x .
x →0 x →0
Since the exponential function is continuous, it follows that
lim ( x ln x )
lim+ e x ln x = e x →0 + .
x →0
it the limit on the right side exists. But since
ln x (1 / x)
lim+ x ln x = lim+ = lim+ = lim+ (− x) = 0
x →0 x →0 1 / x x → 0 ( −1 / x 2 ) x →0
by L‘Hôpital’s rule,
lim+ x x = lim+ e x ln x = e 0 = 1.
x →0 x →0
x
⎛ 1⎞
Example 9 Show that lim⎜1 + ⎟ = e
x →∞
⎝ x⎠
Solution: Observe that the limit has the indeterminate form 1∞ . As in example 8, since
x
x ⎛ 1⎞ x
⎛ 1⎞ ln ⎜ 1+ ⎟
⎛ 1⎞
⎜1 + ⎟ = e ⎝ ⎠ first let us evaluate lim ln⎜1 + ⎟ . But in doing so we have
x
⎝ x⎠ x →∞
⎝ x⎠
ln(1 + 1 / x)
x
⎛ 1⎞ ⎛ 1⎞
lim ln⎜1 + ⎟ = lim x ln⎜1 + ⎟ = lim .
x →∞
⎝ x⎠ x →∞
⎝ x ⎠ x →∞ 1 / x
This expression is now prepared for L‘Hôpital’s rule as the limit has 0/0 form. As a result
1 ⎛ 1 ⎞
⎜− ⎟
ln(1 + 1 / x) (1 + 1 / x) ⎝ x 2 ⎠ 1
lim = lim = lim = 1.
x →∞ 1/ x x →∞ − 1/ x 2 x →∞ 1 + 1 / x
Thus
x
x ⎛ 1⎞
⎛ 1⎞ ln ⎜ 1+ ⎟
lim⎜1 + ⎟ = lim e ⎝ x ⎠ = e 0 = 1.
x →∞
⎝ x⎠ x →∞
⎛ 1 1⎞
Example 10 Find lim+ ⎜ x − ⎟.
x →0 ⎝ e − 1 x⎠
Solution: The limit has the indeterminate form ∞ − ∞ ; however; if the difference is
written as a single fraction, then
− ex 1
= lim+ x =− .
x →0 xe + 2e x
2
Exercise
I Find the limit
x6 −1 xm −1 sin x − x
1. lim 4 2. lim n 3. lim
x → −1 x − 1 x →1 x − 1 x →0 x3
sin ax tan 1 / x tan −1 (2 x)
4. lim 5. lim 6. lim
x →0 sin bx x →∞ 1 / x x →0 3x
e − 1 − x − ( x / 2)
x 2
7. lim 3
8. lim xe x 9. lim ( x − x 2 − 1)
x →0 x x → −∞ x →∞
x
⎛ 3 5 ⎞ ⎛ 1⎞ ⎛ 1⎞
10. lim⎜1 + + 2 ⎟ 11. lim⎜1 − ⎟ 12. lim x 2 ⎜1 − x sin ⎟
x →∞
⎝ x x ⎠ x →∞
⎝ x⎠ x →∞
⎝ 3⎠
⎛ 1 1 ⎞ ⎛ 1 1 ⎞
13. lim⎜ − ⎟ 14. lim (tan x) tan 2 x 15. lim⎜ 2 − ⎟
x →1 ln x
⎝ x − 1⎠ x →π / 4 x → 0
⎝x sin 2 x ⎠
where the positive square root represents the top semi-circle and the negative square root
represents the bottom semi-circle. Since the point (3, -4) lies on the bottom semi-circle given
by
,
the derivative of y is
,
i.e.,
.
Thus, the slope of the line tangent to the graph at the point (3, -4) is
.
Unfortunately, not every equation involving x and y can be solved explicitly for y . For the
sake of illustration we will find the derivative of y WITHOUT writing y explicitly as a
function of x . Recall that the derivative (D) of a function of x squared, (f(x))2 , can be found
using the chain rule :
.
Since y symbolically represents a function of x, the derivative of y2 can be found in the same
fashion :
,
i.e.,
.
Thus, the slope of the line tangent to the graph at the point (3, -4) is
.
This second method illustrates the process of implicit differentiation. It is important to note
that the derivative expression for explicit differentiation involves x only, while the derivative
expression for implicit differentiation may involve BOTH x AND y .
The following problems range in difficulty from average to challenging.
Example 1 Assume that y is a function of x . Find y’ = dy/dx for x3 + y3 = 4 .
SOLUTION: Begin with x3 + y3 = 4 . Differentiate both sides of the equation, getting
D ( x3 + y3 ) = D ( 4 ) ,
D ( x3 ) + D ( y3 ) = D ( 4 ) ,
(Remember to use the chain rule on D ( y3 ) .)
3x2 + 3y2 y’ = 0 ,
so that (Now solve for y’ .)
3y2 y’ = - 3x2 ,
and
,
2 (x-y) (1- y’) = 1 + y’ ,
so that (Now solve for y’ .)
2 (x-y) - 2 (x-y) y’ = 1 + y’ ,
- 2 (x-y) y’ - y’ = 1 - 2 (x-y) ,
,
so that (Now solve for y’ .)
,
(Factor out y’ .)
,
and
,
(Remember to use the chain rule on D ( y3 ) and D ( y2 ) .)
,
2 2 3 3 2 2
y’ = 3x y y’ + 2x y + 2x y y’ + 3x y ,
so that (Now solve for y’ .)
y’ - 3x2 y2 y’ - 2x3 y y’ = 2x y3 + 3x2 y2 ,
(Factor out y’ .)
y’ [ 1 - 3x2 y2 - 2x3 y ] = 2x y3 + 3x2 y2 ,
and
,
so that (Now solve for y’ .)
,
(Factor out y’ .)
,
and
,
1 = (1/2)( x2 + y2 )-1/2 D ( x2 + y2 ) ,
1 = (1/2)( x2 + y2 )-1/2 ( 2x + 2y y’ ) ,
so that (Now solve for y’ .)
,
and
.
x − y3
Exercise 8: Assume that y is a function of x . Find y’ = dy/dx for = x+2.
y + x2
x − y3
SOLUTION: Begin with = x + 2 . Clear the fraction by multiplying both sides of
y + x2
the equation by y + x2 , getting
x − y3
( y + x 2 ) = x + 2( y + x 2 )
y+x 2
or x - y3 = xy + 2y + x3 + 2x2 .
Now differentiate both sides of the equation, getting
D ( x - y3 ) = D ( xy + 2y + x3 + 2x2 ) ,
D ( x ) - D (y3 ) = D ( xy ) + D ( 2y ) + D ( x3 ) + D ( 2x2 ) ,
(Remember to use the chain rule on D (y3 ) .)
1 - 3 y2 y’ = ( xy’ + (1)y ) + 2 y’ + 3x2 + 4x ,
so that (Now solve for y’ .)
1 - y - 3x2 - 4x = 3 y2 y’ + xy’ + 2 y’ ,
(Factor out y’ .)
1 - y - 3x2 - 4x = (3y2 + x + 2) y’ ,
and
point (-1, 1) .
SOLUTION Begin with (x2+y2)3 = 8x2y2 . Now differentiate both sides of the equation,
getting
D (x2+y2)3 = D ( 8x2y2 ) ,
3 (x2+y2)2 D (x2+y2) = 8x2 D (y2 ) + D ( 8x2 ) y2 ,
(Remember to use the chain rule on D (y2 ) .)
3 (x2+y2)2 ( 2x + 2 y y’ ) = 8x2 (2 y y’ ) + ( 16 x ) y2 ,
so that (Now solve for y’ .)
6x (x2+y2)2 + 6 y (x2+y2)2 y’ = 16 x2 y y’ + 16 x y2 ,
6 y (x2+y2)2 y’ - 16 x2 y y’ = 16 x y2 - 6x (x2+y2)2 ,
(Factor out y’ .)
y’ [ 6 y (x2+y2)2 - 16 x2 y ] = 16 x y2 - 6x (x2+y2)2 ,
and
.
Thus, the slope of the line tangent to the graph at the point (-1, 1) is
,
and the equation of the tangent line is
y - ( 1 ) = (1) ( x - ( -1 ) )
or
y=x+2
Example 11 Find an equation of the line tangent to the graph of x2 + (y-x)3 = 9 at x=1.
SOLUTION: Begin with x2 + (y-x)3 = 9 . If x=1 , then
(1)2 + ( y-1 )3 = 9
so that
( y-1 )3 = 8 ,
y-1 = 2 ,
y=3,
and the tangent line passes through the point (1, 3) . Now differentiate both sides of the
original equation, getting
D ( x2 + (y-x)3 ) = D ( 9 ) ,
D ( x2 ) + D (y-x)3 = D ( 9 ) ,
2x + 3 (y-x)2 D (y-x) = 0 ,
2x + 3 (y-x)2 (y’-1) = 0 ,
so that (Now solve for y’ .)
2x + 3 (y-x)2 y’- 3 (y-x)2 = 0 ,
3 (y-x)2 y’ = 3 (y-x)2 - 2x ,
.
Thus, the slope of the line tangent to the graph at (1, 3) is
a. x3 + y3 = 1
b. x 2 + 6 xy + y 2 = 8
c. x + y = 1.
Then the function does not have an extreme value at 0. Since f ' does not change sign at
0. But f has a local maximum at 2 since f ' changes sign from positive to negative and
the local maximum value is given by f(2)=21/3(8 –2)= 63 2 . Then using the sign chart and
the extreme value we sketch the graph as bellow.
2 0 2 4 6 8 10
4 2 0 2 4
3
f ( x) := x − 3x + 1
2
Find f ".
f " (x) = 36 ⋅x + 48 ⋅x
Evaluate f " at the critical
numbers where f ' = 0.
20
x
Class Work
Find (a) the intervals of increasing or decreasing, b) the local maximum and minimum
values of the points of inflection. Then use this information to sketch the graph.
a) f(x)=x3 –x b) f ( x) = x x + 1 c) f ( x) = x 1 / 3 ( x + 3) 2 / 3
4.4.3 Curve Sketching
x2
Example If g ( x) = , discuss and sketch the graph of g.
1− x2
Solution:
1. Analyze the first derivative.
Notice that neither g(x) nor its derivative are defined at x = 1 and x = –1.
The derivative is negative for x < 0, except at x = –1, where it is not
defined. It is positive for x > 0, except at x = 1, where it is not defined.
2
x
lim simplifies to −1
2
x→ ∞ 1−x
2
x
lim simplifies to −1
2
x→ −∞ 1−x
h( x) := −1 is a horizontal asymptote.
2
x
lim simplifies to −∞
+ 2
x→ 1 1− x
2
x
lim simplifies to ∞
− 2
x→ 1 1− x
2
x
lim simplifies to ∞
+ 2
x → −1 1 − x
2
x
lim simplifies to −∞
− 2
x → −1 1 − x
g ( r)
h ( r) 4 2 0 2 4
Notice that all the aspects of the graph you found in your analysis
are present: a local minimum at x = 0, vertical asymptotes at x = 1
and x = –1, a horizontal asymptote at y = –1, downward sloping
when x < 0, upward sloping when x > 0.
Class Work
Discuss and sketch the graph of f if
x2 x 2x 2x 2 + 1
a) f ( x) = b) f ( x) = c) f ( x) = d) f ( x) =
x −x−2
2
( x + 1) 2
x2 +1 3x − 5
Note your sketch should look like one of the graphs bellow.
10 5 0 5 10
4 2 0 2 4
2
5
5 0 5 10
10 0 10
⎛ ax ⎞ ax
D x ⎜⎜ ⎟⎟ = a x 10. ∫ a dx = x
+c
⎝ ln a ⎠ ln a
1 1
D x (ln x ) =
x
11. ∫ x dx = ln x + c
∫ (6 x − 5)dx.
2
Example 1.0 Evaluate
−2
∫ 2 x − 5dx = ∫ 2 x − 5 12 2dx
= 1
2 ∫ 2 x − 5 2dx
We now substitute and use the power rule for integration:
∫ 2 x − 5dx = 12 ∫ u du
1
= 1
2 ∫u 2
du
3
1 u
2
= 2 3
+c
2
3
= 13 u 2 + c
3
= 13 (2 x − 5) 2 + c
Example 2 Evaluate ∫ sin 2 xdx.
Solution: We make the substitution
u = 2 x, du = 2dx .
Since du contains the factor 2, we adjust the integrand by multiplying by 2 and
compensate by multiplying the integral by 12 before substituting:
= ∫ sin u du
1
2
= − 12 cos u + c
= − 12 cos 2 x + c
It is not always easy to decide what substitution u = g(x) is needed to transform an
indefinite integral into a form that can be readily evaluated. It may be necessary to try
several different possibilities before finding a suitable substitution. In most cases no
substitution will simplify the integrand properly. The following guidelines may be
helpful.
Guidelines for changing variables in indefinite integrals
1. Decide on a reasonable substitution u = g(x).
2. Calculate du = g ' ( x)dx.
3. Using 1 and 2, try to transform the integral into a form that involves only the variable
u. If necessary, introduce a constant factor k into the integrand and compensate by
1/k. If any part of the resulting integrand contains the variable x, use a different
substitution in 1.
4. Evaluate the integral obtained in 3, obtaining an antiderivative involving u.
= ∫u
1 10
9 du
1 ⎛ u 11 ⎞
= ⎜⎜ ⎟+c
9 ⎝ 11 ⎟⎠
= 991 (3 x 2 + 2)11 + c.
Example 4 Evaluate ∫x 3x − 1dx.
Solution: To simplify the expression 3 x − 1 , we let
u = 3x − 1, so that du = 3dx.
Then
1
67u 8 } 3
du
∫ x 3x − 1dx = ∫ x 3x − 1dx
Thus we still need to find x in terms of u. From the equation u=3x –1 we deduce that
1
x = (u + 1) .
3
Therefore
1 1
( u +1)
} 678 }
u du
3 3
∫ x 3x − 1dx = ∫ x 3x − 1dx = ∫ 13 (u + 1) u 13 du
⎛⎜ u 3 2 + u 12 ⎞⎟du
= ∫⎝
1
9
⎠
1⎛2 5 2 3 ⎞
= ⎜ u 2 + u 2⎟+c
9⎝5 3 ⎠
2 5 2 3
= (3 x − 1) 2 + (3 x − 1) 2 + c.
45 27
Sometimes there is more than one substitution that will work. For instance, in Example 4
we could have let u = 3 x − 1 , then u 2 = 3 x − 1 or x = 13 (u 2 + 1) and
2udu = 3dx so 2
3 udu = dx,
As a result,
= ∫ (u + 1)u 2 du
2 2
9
= ∫ (u + u 2 )du = 92 ( 15 u 5 + 13 u 3 ) + c
2 4
9
2 5 2 3
=
(3 x − 1) 2 + (3 x − 1) 2 + c.
45 27
Even though we used a different substitution, the final answer remains the same. Example 5
Evaluate ∫ xe x dx
2
Solution: We let
u = x 2 , so that du = 2 xdx.
Then
1u
}e
}
2
du
∫ xe dx = ∫ e xdx = ∫ e 12 du
2 2
x x u
1 u
= e +c
2
1 2
= e x + c.
2
1
∫ x (1 + ln x)
4
Example 6 Evaluate dx.
Solution: We let
1
u = 1 + ln x, so than du = dx.
x
Then
1 1
∫ x (1 + ln x) dx = ∫ u du = (1 + ln x) 5 + c.
4 4
5
Example 7 Evaluate ∫ tan xdx.
Solution: First write the integral in the following form
sin x
∫ tan xdx = ∫ cos x dx.
Now let u = cos x, so that du = − sin xdx.
sin x 1
Then ∫ tan xdx = ∫ dx = ∫ (− du ) = − ln u + c = − ln cos x + c.
cos x u
Example 8 Evaluate ∫ sec xdx.
Solution: We first put the integral in the form
sec x + tan x sec 2 x + sec x tan x
∫ sec xdx = ∫ sec x + tan x
sec x dx = ∫ sec x + tan x dx
If we now let u = sec x + tan x, so that du = (sec x tan x + sec 2 x)dx, then
Solution: The integral may be written as in the first formula 12 of table 1.0 by letting a=1
and using the substitution
u = e2x , du = 2e 2 x dx.
Then
e2x 1 1 1 −1 1 −1 2 x
∫ 1 − e 4 x dx = 2 ∫ 1 − u 2 du = 2 sin u + c = 2 sin e + c.
π /2
∫ sin x cos
4
Example 10 Evaluate xdx
0
∫0 = ∫ − = − = −
4 4 5
sin x cos xdx u ( du ) u cos x
5 5 0
1 π 1 1
= − cos 5 + cos 5 0 = .
5 2 5 5
Exercise 1.2 Evaluate the following integrals.
1. ∫ sin 2 xdx 2. ∫ csc xdx
x x
3. ∫ (x 2
+ 5) 3
dx 4. ∫ 3
1 − 2x 2
dx
2
t2
∫x x −1dx ∫
5 2
5. 6. dt
−1 t+2
2 3
e x 1
7. ∫ 2 dx
1 x
8. ∫ x(ln x) 2
dx
2/2
3 sin x x
9. ∫ 1 + 2 cos x dx 10. ∫
0 1− x4
dx
by using the method of substitution we obviously fail. But don’t worry the next formula
will enable us to evaluate not only these, but also many other types of integrals.
∫ = − ∫ = xe x − e x + c.
x x x
x e dx x e e dx
Example 2 Evaluate
π /3
= x tan x + ln cos x + c.
b) The indefinite integral obtained in part (a) is an antiderivative of x sec 2 x. Using the
fundamental theorem of calculus (and dropping the constant of integration c), we
obtain
⎛π π π ⎞
= ⎜⎜ tan + ln cos ⎟⎟ − (0 + ln 1)
⎝3 3 3⎠
⎛π 1⎞
=⎜ 3 + ln ⎟ − (0 + 0)
⎝3 2⎠
π
= 3 − ln 2.
3
Example 3 Evaluate ∫ ln xdx.
Solution: Let u = ln x and dv = dx
1
Then du = dx and v = x
x
and integrating by parts yields:
1
∫ ln xdx = x ln x − ∫ x( x dx) = x ln x − ∫ dx = x ln x − x + c.
Sometimes it is necessary to usse integration by parts more than once in the same
problem. This is illustrated in the next example.
π /2
∫x
2
Example 4 Evaluate sin 2 xdx.
0
Solution: Let
u = x 2 and dv = sin 2 xdx
1
Then du = 2 xdx and v = − cos 2 x .
2
Thus using integration by parts we have;
π /2 π /2 π /2
⎡ 1 2 ⎤ ⎛ 1 ⎞
∫0 = − − ∫ 2 x⎜ − cos 2 x ⎟dx
2
x sin 2 xdx ⎢⎣ 2 x cos 2 x ⎥⎦
0 0 ⎝ 2 ⎠
π /2 π /2
⎡ 1 ⎤
= ⎢− x 2 cos 2 x ⎥
⎣ 2 ⎦0
+ ∫ x cos 2 xdx
0
but then since
π /2 2
⎡ 1 2 ⎤ 1 ⎛π ⎞ π 2
π /2
1 ⎡π π ⎤ 1 ⎡ cos 2 x ⎤
= ⎢ sin 2( ) − 0⎥ − ⎢−
2 ⎣2 2 ⎦ 2⎣ 2 ⎥⎦ 0
1⎡ π ⎤ 1 1
⎢ =
cos 2( ) − cos 0⎥ = [−1 − 1] = −
4⎣ 2 ⎦ 4 2
Hence,
π /2
π 2
1
∫0 x sin 2 xdx = 8 − 2 .
2
The following example illustrates another device for evaluating an integral by means of
two applications of the integration by parts formula.
Example 5 Evaluate ∫ e x cos xdx.
Solution: We could either let dv = cos xdx or let dv = e x dx, since each of these
expression is readily integrable. Let us choose
u = e x and dv = cos xdx
so that du = e x dx and v = sin x
Then by integrating by parts we have;
∫ e cos xdx = e sin x − ∫ e sin xdx.
x x x
(1)
We next apply integration by parts to the integral of the right side of equation (1). Since
we chose a trigonometric form for dv in the first integration by parts, we shall also choose
a trigonometric form for the second. Letting
u = e x and dv = sin xdx so that
du = e x dx and v = − cos x
integrating by parts, we have
∫ e sin xdx = e (− cos x) − ∫ (− cos x)e dx
x x x
If we now use equation (2) to substitute on the right side of equation (1), we obtain
x x x
[
∫ e cos xdx = e sin x − − e cos x + ∫ e cos xdx
x
]
or ∫e cos xdx = e x sin x + e x cos x − ∫ e x cos xdx .
x
Adding ∫ e x
cos xdx to both sides of the last equation gives us
2 ∫ e x cos xdx =e x (sin x + cos x).
Finally, dividing both sides by 2 and adding the constant of integration yiels
1 x
∫ e cos xdx = 2 e (sin x + cos x) + c.
x
We could have evaluated the given integral by using dv = e x dx for both the first and
second applications of the integration by parts formula.
In all except ∫ ( polynomial ) ln xdx , the most effective choice of u is the polynomial,
since the derivatives of a polynomial are simpler than the polynomial itself, while the
choice u = ln x is effective for ∫ ( polynomial ) ln xdx .
Example 6 Evaluate ∫ sin −1 xdx.
Solution: Let
1
u = sin −1 x and dv = dx so that du = dx and v = x .
1− x2
Then
x
∫ sin xdx = x sin −1 x − ∫
−1
dx
1− x2
Now we use substitution to solve the integral to the right. That is let
w = 1 − x 2 or w 2 = 1 − x 2 so that 2 wdw = −2 xdx
we then have
x wdw
∫ 1− x2
dx = − ∫
w
= − ∫ dw = − w + c = − 1 − x 2 + c
Consequently
∫ sin
−1
xdx = x sin −1 x + 1 − x 2 + c.
Consequently,
The left side of the last equation reduces to n ∫ sin n xdx . Dividing both sides by n, we
obtain
1 n −1
∫ sinxdx = − cos x sin n −1 x + ∫ sin n − 2 xdx.
n
n n
In a similar fashion we can show the reduction formula for ∫ cos n xdx is given by:
1 n −1
∫ cos sin x cos n −1 x +
xdx =
n ∫
cos n − 2 xdx.
n
n
Example 8 Evaluate ∫ sin 5 xdx.
Solution: Using the reduction formula for sine with n = 5 gives us
1 4
∫ sin xdx = − 5 cos x sin x + 5 ∫ sin xdx
5 4 3
3 3
1 2
= − cos x sin 2 x − cos x + C1
3 3
Consequently
1 4⎛ 1 2 ⎞
∫ sin xdx = − cos x sin 4 x + ⎜ − cos x sin 2 x − cos x + C1 ⎟
5
5 5⎝ 3 3 ⎠
1 4 8
= − cos x sin 4 x − cos x sin 2 x − cos x + C.
5 15 15
Exercise 1.2
Evaluate the integral
1. ∫ xe − x dx 2. ∫ x ln xdx
∫ sec ∫ x2 dx
3
3. xdx 4. x
π /2
5. ∫ x tan x sec xdx 6. ∫ 2t sin 2tdt
0
Integrating and letting C denote the sum of the constants of integration we have
4 x 2 + 13 x − 9 3 −1 2
∫ x( x + 3)( x − 1) dx = ∫ x dx + ∫ x + 3 dx + ∫ x − 1 dx.
= 3 ln x − ln x + 3 + 2 ln x − 1 + C
2
= ln x 3 − ln x + 3 + ln x − 1 + C
x 3 ( x − 1) 2
= ln + C.
x+3
Another technique for finding A, B, and C is to expand the right-hand side of (*) and
collect like powers of x as follows:
4 x 2 + 13 x − 9 = ( A + B + C ) x 2 + (2 A − B + 3C ) x − 3 A
We now use the fact that if two polynomials are equal, then coefficients of like powers
of x are the same. It is convenient to arrange our work in the following way, which we
call comparing coefficients of x.
Coefficients of x2: A+B +C=4
Coefficients of x: 2 A − B + 3C = 13
Constant terms: - 3A = -9
We may show the solution of this system of equations is A = 3, B = -1, and C = 2.
13 − 7 x
Example 2 Evaluate ∫ dx
( x + 2)( x − 1) 3
Solution: By Rule (a) of the Guidelines the partial fraction of the integrand has the form
This leads to
x 2 + 2 x + 7 = A( x 2 + 2 x + 2) + ( Bx + C )( x − 1) (* )
As in previous examples, substituting x = 1 in (*) gives us
10 = A(5) or A = 2
The remaining constants may be found by combining like powers of x:
x 2 + 2 x + 7 = (2 + B ) x 2 + (4 + C − B ) x + (4 − C ) (**)
and comparing coefficients in (**).
Coefficients of x2: 1 = 2 + B or B = -1
Constant terms: 7=4-C or C = -3
Thus the partial fraction decomposition of the integrand is
Consequently
x 2 + 2x + 7 2 x+3
∫ x 3 + x 2 − 2 dx = ∫ x − 1 dx − ∫ x 2 + 2 x + 2 dx
To evaluate the right-hand integral, we first complete the square in the denominator to
obtain x 2 + 2 x + 2 = ( x + 1) 2 + 1
and substitute u = x + 1, so that du = dx and x +3 = u + 2
Therefore
x+3 x+3 u+2
∫ x 2 + 2 x + 2 dx = ∫ ( x + 1) 2 + 1 dx = ∫ u 2 + 1 du
u 1
=∫ 2 du + 2 ∫ 2 du
u +1 u +1
1 2u 1
= ∫ 2 du + 2∫ 2 du
2 u +1 u +1
1
= ln(u 2 + 1) + 2 arctan u + C
2
1
= ln(( x + 1) 2 + 1) + 2 arctan( x + 1) + C.
2
Hence
x 2 + 2x + 7 2 x+3
∫ x 3 + x 2 − 2 dx = ∫ x − 1 dx − ∫ x 2 + 2 x + 2 dx
= 2 ln x − 1 − 12 ln(( x + 1) 2 + 1) − 2 arctan( x + 1) + C
5 x 3 − 3x 2 + 7 x − 3
Example 4 Evaluate ∫ ( x 2 + 1) 2 dx.
Solution: Applying Rule b) of the Guidelines, with n = 2, yields
5 x 3 − 3x 2 + 7 x − 3 Ax + B Cx + D
= 2 + .
( x 2 + 1) 2 x + 1 ( x 2 + 1) 2
Multiplying by both sides of the equation by ( x 2 + 1) 2 gives
5 x 3 − 3x 2 + 7 x − 3 = ( Ax + B)( x 2 + 1) + Cx + D
5 x 3 − 3 x 2 + 7 x − 3 = Ax 3 + Bx 2 + ( A + C ) x + ( B + D)
We next compare coefficients as follows:
coefficients of x3: 5=A
coefficients of x2: -3 = B
coefficients of x : 7 = A + C or C = 2
constant terms : -3 = B + D or D = 0
Therefore
5 x 3 − 3x 2 + 7 x − 3 5 x − 3 2x
= 2 + 2
( x + 1)
2 2
x + 1 ( x + 1) 2
so that
dx 1 cos x − 1 1 cos x
∫ sin x(2 + cos 2
x)
= ln −
6 cos x + 1 3 2
arctan
2
+ C.
Exercise 1.3
x2 2 x 2 − 12 x + 4
1. ∫ 2 dx 2. ∫ x 3 − 4 x 2 dx
x −1
0
x2 + x +1 − x3 + x2 + x + 3
3. ∫ dx 4. ∫ dx
−1 x2 +1 ( x + 1)( x 2 + 1) 2
ex dx
9. ∫ 1 − e 3 x dx 10. ∫ 1 + 3e x
+ 2e 2 x
= 15 u 5 − 13 u 3 + C
= 15 cos 5 x − 13 cos 3 x + C.
Example 2 Evaluate ∫ sin 2 x cos 4 xdx.
Solution: By guideline 3 we have
∫ sin x cos xdx = ∫ (sin x cos x) cos xdx
2 4 2 2 2
2
⎛1 ⎞ ⎛ 1 + cos 2 x ⎞
= ∫ ⎜ sin 2 x ⎟ ⎜ ⎟dx
⎝2 ⎠ ⎝ 2 ⎠
1 1
= ∫ sin 2 2 xdx + ∫ sin 2 2 x cos 2 xdx
8 8
1 − cos 4 x
Putting sin 2 2 x = and u = sin 2 x so that du = 2 cos 2 xdx in the first and second
2
integrals of the right of the last equation we get:
1 1 − cos 4 x 1 1
= ∫ dx + ∫ u 2 du
8 2 8 2
1 1 1
= x − sin 4 x + u 3 + C
16 64 48
1 1 1
= x − sin 4 x + sin 3 2 x + C.
16 64 48
An alternative way to evaluate ∫ sin x cos xdx when m and n are even is to use the
m n
identity sin 2 x + cos 2 x = 1, but this time we transform the integral into integrals of the form
∫ sin xdx or of the form ∫ cos k xdx , which can be evaluated by the reduction formulas.
k
sec x by using the trigonometric identity tan 2 x = sec 2 x − 1. Make the substitution
u = sec x, du = sec x tan xdx
and evaluate the resulting integral.
2. If n is an even integer: write the integral as
∫ tan x sec xdx = ∫ tan x sec x sec xdx
m n m n−2 2
= ∫ (u 6 − u 4 )du.
= 17 u 7 − 15 u 5 + C
= 17 sec 7 x − 15 sec 5 x + C
∫ tan
3
Example 4 Evaluate x sec 4 xdx.
Solution: By guideline 2 above
∫ tan x sec xdx = ∫ tan x sec x sec xdx
3 4 3 2 2
= ∫ (u 5 + u 3 )du
= 16 u 6 + 14 u 4 + C
= 16 tan 6 x + 14 tan 4 x + C.
Integrals of the form ∫ cot m x csc n xdx may be evaluated in similar fashion.
Finally, the evaluation of integrals of the form ∫ sin ax cos bxdx depends on the
trigonometric identity
1 1
sin x cos y = sin( x − y ) + sin( x + y )
2 2
With the appropriate replacements, this identity becomes
1 1
sin ax cos bx = sin( a − b) x + sin( a + b) x (* )
2 2
Notice that 12 sin( a − b) x and 12 sin( a + b) x are easy to integrate by substitution.
Example 5 Evaluate ∫ sin 4 x cos 2 xdx.
Solution: Using (*) with a = 4 and b = 2, we find that
Table 1.1
1
Example 1 Evaluate ∫x 2
16 − x 2
dx.
1
=∫ (4 cosθ )dθ
16 sin 2 θ 4 1 − sin 2 θ
1 1 1
= ∫ dθ = ∫ csc 2 θdθ
16 sin θ 2
16
1
= − cot θ + C.
16
In order to write the answer in terms of the original variable x, we draw the triangle as
fig1.1, in which x = 4 sin θ .
x 4 16 − x 2
θ cot θ =
x
16 − x 2
Fig 1.1
Thus
1 1 16 − x 2
∫x 2
16 − x 2
dx = − cot θ + C = −
16 16 x
+ C.
5/ 2
Example 2 Evaluate ∫
−5 / 2
25 − 4 x 2 dx
∫ 25 − 4 x dx = ∫ 5 2 − (2 x) 2 dx
2
−5 / 2 −5 / 2
π /2
⎛5 ⎞
=
π
∫
− /2
5 2 − 5 2 sin 2 θ ⎜ cosθ ⎟dθ
⎝2 ⎠
π /2
25
1 − sin 2 θ (cosθ )dθ
2 −π∫/ 2
=
π /2
25
= ∫ cos 2 θdθ
2 −π / 2
π /2
25 ⎛ 1 1 ⎞
= ⎜ θ + sin 2θ ⎟
2 ⎝2 4 ⎠ −π / 2
25 ⎛ π ⎛ π ⎞ ⎞ 25
⎜ − ⎜ − ⎟⎟ = π
=
2 ⎜⎝ 4 ⎝ 4 ⎠ ⎟⎠ 4
1
Example 3 Evaluate ∫ dx.
x 16 + x 2
2
and
1 secθ 1 cosθ
= ∫ dθ = ∫ dθ
16 tan θ 2
16 sin 2 θ
1
=−
16 sin θ
To give the answer in terms of x, we use the triangle in Fig 1.2, with x = 4 tan θ . We then
find that
16 + x 2
x
x sin θ = and
16 + x 2
θ
1 1 16 + x 2
4
∫x 2
16 + x 2
dx = −
16 sin θ
=
16 x
+ C.
Fig 1.1
−3
x2 − 9
Example 4 Evaluate ∫
−6
x
dx.
π π
3 tan θ
= ∫
4π / 3
3 secθ
(3 secθ tan θ )dθ = 3 ∫ tan 2 θdθ
4π / 3
π
π
=3 ∫ (sec θ − 1)dθ = 3(tan θ − θ ) 4π / 3
2
π
4 /3
= π − 3 3.
Integrals containing bx 2 + cx + d
By completing the square in bx 2 + cx + d we can express bx 2 + cx + d in terms of
a 2 − x 2 , x 2 + a 2 , or x 2 − a 2 for suitable a > 0. Then a trigonometric substitution
eliminates the square root as before.
1
Example 5 Evaluate ∫ dx.
x + 8 x + 25
2
and = ∫ secθ dθ
= ln secθ + tan θ + C.
Using our formulas for tan θ and secθ , we conclude that
x 2 + 8 x + 25 x + 4
1
∫ x 2 + 8x + 25 dx = ln 3
+
3
+ C.
6 2
1
5. ∫ x4 x2 − 9
dx 6. ∫ arc sec dx
3 2 2
3x
e 1
7. ∫
1− e 2x
dx 8. ∫
4x − x 2
dx
1 x+5
9. ∫ 2 dx 10. ∫ 2 dx
x − 2x + 2 9 x + 6 x + 17
t
lim ∫ f ( x)dx exists. In that case
t →∞
a
∞ t
∫
−∞
f ( x)dx = lim ∫ f ( x)dx
t → −∞
t
(2)
= lim[ln( x + 1)]0
t
t →∞
= lim[ln(t − 1)] = ∞.
t →∞
Since the limit does not exist, the improper integral diverges.
1
Example 2 Determine whether the integral ∫e dx converges or diverges, and if it
x
−∞
converges, find its value.
Solution: As in Example 1;
[ ]
1 1
∫ e dx = lim ∫ e dx = lim e
x x x 1
t
t → −∞ t → −∞
−∞ t
[
= lim e1 − e t = e.
t → −∞
]
Thus, the integral converges and has the value e.
Finally, for integrals over the range (−∞, ∞) , we write
∞ a ∞
∫
−∞
f ( x)dx = ∫
−∞
f ( x)dx + ∫ f ( x)dx
a
(3)
π π
= lim [arctan 0 − arctan t ] = 0 − (− ) = .
t → −∞ 2 2
Similarly, we may show, by using (1) that
∞
1 π
∫0 1 + x 2 dx = 2 .
π π
Consequently the given improper integral converges and has the value + = π.
2 2
1.6.2 Integrals with Unbounded Integrands
We now consider a function f that is continuous at every point in (a, b] and unbounded
near a. By assumption f is continuous on the interval [t , b] for any t in (a, b), so that
b
∫ f ( x)dx
t
is defined for such t. If the one-sided limit
b
lim+ ∫ f ( x)dx
t →a
t
b
exists, then we define ∫ f ( x)dx
a
to be the limit. This idea leads us to the following
definitions:
(i) If f is continuous on [a, b) and discontinuous at b, then
b t
∫
a
f ( x)dx = lim+ ∫ f ( x)dx,
t →a
t
(5)
Consequently the improper integral diverges, since the limit does not exist.
We give the definition of another improper integral as follows.
If f has a discontinuity at a number c in the open interval (a,b) but continuous elsewhere
on [a, b], then
b c b
∫
a
f ( x)dx = ∫ f ( x)dx + ∫ f ( x)dx,
a c
(6)
provided both of the improper integrals on the right converge. If both converge, then the
b
value of the improper integral ∫ f ( x)dx is the sum of the two values.
a
4
1
Example 6 Determine whether the improper integral ∫ ( x − 3)
0
2
dx converges or diverges.
Solution: The integrand is undefined at x = 3. Since this number is in the interval (0,4),
we use (6), with c = 3:
4 3 4
1 1 1
∫0 ( x − 3) 2 dx = ∫0 ( x − 3) 2 dx + ∫3 ( x − 3) 2 dx
For the integral on the left to converge, both integrals on the right must converge.
However, since
3 t
1 1
∫0 ( x − 3) 2 dx = lim
t →3 − ∫
0 ( x − 3) 2
dx
t
⎡ −1 ⎤
= lim− ⎢
t →3 ⎣ x − 3 ⎥
⎦0
⎡ −1 1⎤
= lim− ⎢ − ⎥=∞
t →3 ⎣ t − 3 3⎦
the given improper integral diverges.
c b
integrals ∫ f ( x)dx
a
and ∫ f ( x)dx
c
converge. Otherwise we say that the integral is
divergent.
1
1 − 2x
Example 7 Determine whether
x − x2
∫
dx diverges.
0
Solution: The integrand is unbounded near both the endpoints 0 and 1 and is continuous
on (0,1). Consequently the integral is of the type under consideration. If we let c = 34 ,then
we need to analyze the convergence of
3/ 4 1
1 − 2x 1 − 2x
∫0 x − x 2 dx and 3∫/ 4 x − x 2 dx
For 0 < t < 34 we have
3/ 4 3/ 4
1 − 2x 1 − 2x 3/ 4
∫
0 x − x2
dx = lim+
t →0 ∫
t x − x2
dx = lim+ [2 x − x 2 ]
t →0 t
= lim+ [2( 3
16 − t − t 2 )] = 2
3
t →0
A similar computation shows that the second improper integral also converges and that
1
1 − 2x 3
∫3 / 4 x − x 2 dx = − 2 .
Therefore the original integral converges, and
1 3/ 4 1
1 − 2x 1 − 2x 1 − 2x 3 3
∫0 x − x 2 dx = ∫0 x − x 2 dx + ∫3 / 4 x − x 2 dx = 2 − 2 = 0 .
Exercise 1.6
Determine whether the integral converges or diverges, and if it converges, find its value.
∞ 0
x 1
1. ∫ dx 2. ∫ dx
0 1 + x 2
−∞ ( x + 3) 2
∞ ∞
1
∫ ∫ xe
−x2
3. dx 4. dx
1 x2 −1 −∞
9 π /2
1
∫ ∫ sec
2
5. dx 6. xdx
0 x 0
0 π
1
7. ∫
−2 4 − x2
dx 8. ∫ sec xdx
0
7 1
1 3x 2 − 1
9. ∫−2 ( x + 1) 2 / 3 dx 10. ∫0 x 3 − x dx
Example 1 Find the area of the region bounded by the graphs of the equations
y = x 2 and y = x .
Solution: First sketch the graphs on the same plane. And find the intesection of the two
graphs by putting x 2 = x . Observe that
x2 = x ⇒ x4 = x ⇔ x4 − x = 0
Hence x=0 or ⇔ x ( x − 1)( x + x + 1) x=1 since
2
32
= .
3
Class Work
Find the area A of the regions bounded between the graphs of the equations bellow.
a) y=x2+1 and y=2x+9 b) x=y2-y and x=y-y2
Volume
The cross –section method
If a solid region D has cross-sectional area A(x) for a ≤ x ≤ b, and if A is continuous on
[a,b] , then we define the volume V of D by the fromula
−r −r
r
⎡ x3 ⎤
= π ⎢r 2 x − ⎥
⎣ 3 ⎦ −r
= 43 πr 3
Class work
Suppose a pyramid is 4 units tall and has a squere base 3 units on a side. Find the volume
V of the pyramid.
Similarly if
f (n) = a n for n ≥ m
then we would write {a n }n = m for the sequence.
∞
Example 1 List the first four terms and the tenth term of each sequence:
∞
∞
⎧⎪⎛ 1 ⎞ n ⎫⎪
⎧
(a) ⎨(−1) n −1
2n ⎫
⎬
n + 1⎭ n =1
(b) 2 + (0.1) { }
n ∞
(c) ⎨⎜ ⎟ ⎬
n =0 (d) {2}n =1
∞
⎩ ⎪⎩⎝ 2 ⎠ ⎪⎭ n =0
Solution: To find the first four terms, we substitute, successively, n = 1, 2, 3, and 4 in the
formula for a n . The tenth term is found by substituting 10 for n. Doing this and
simplifying gives us the following:
Sequence nth term an The first four terms Tenth term
⎧ 2n ⎫
∞ 2n 4 3 8 20
(a) ⎨(−1) n −1 (−1) n −1 1,− , ,− −
⎬ n +1 3 2 5 11
⎩ n + 1⎭ n =1
{
(b) 2 + (0.1) n ∞
}
n =0
2 + (0.1) n −1 2,2.1,2.01,2.001 2.000000001
⎧⎪⎛ 1 ⎞ n ⎫⎪
∞
⎛1⎞
n −1 1 1 1 1
⎜ ⎟ 1, , ,
(c) ⎨⎜ ⎟ ⎬ 2 4 8 29
⎪⎩⎝ 2 ⎠ ⎪⎭ n =0 ⎝ 2⎠
When the first few terms of a sequence are given, the general term is obtained by
inspection.
Example 2 Obtain the nth term for each of the sequences:
a) 1, 4, 9, 16, 25, . . . b) 3, 7, 11, 19, 23, . . .
lim a n = L or a n → L as n → ∞,
n→∞
such that
If n ≥ N , then a n > M
we say that {a n }n =1 diverges to ∞, and we write
∞
lim a n = ∞.
n→∞
lim a n = −∞.
n→∞
lim(n + 2) = ∞ .
3
n →∞
Solution: Notice
n
n = n1 / n = e (1 / n ) ln n
Thus we let
f (x) = e (1 / x ) ln x for x ≥ 1
so that f is continuous and f (n) = e (1 / n ) ln n for x ≥ 1 . Since
lim x = ∞ = lim ln
n→∞ n →∞
by l’Hôpital’s Rule implies that
ln x 1/ x 1
lim = lim = lim = 0
n→∞ x n →∞ 1 n→∞ x
lim ca n = c lim a n
n→∞ n →∞
a n n →∞ lim a n
lim = ( provided lim bn ≠ 0)
n→∞ b
n lim bn n →∞
n→∞
Solution: We divide both the numerator and denominator by n3 and apply the above limit
theorems as follows:
n3 1 lim 1
lim 3 = lim = n →∞
n → ∞ 2n + 4n n →∞ 2 + ( 4 / n 2 ) lim[2 + (4 / n 2 )]
n →∞
1 1 1
= = = .
lim 2 + lim 4 / n 2
2+0 2
n →∞ n →∞
The version of the squeezing Theorem for sequences is as follows:
Theorem 6.5 If {a n }n = m , {bn }n = m , and {c n }n = m are sequences and a n ≤ bn ≤ c n for every n
∞ ∞ ∞
and if
lim a n = L = lim c n ,
n→∞ n →∞
then lim bn = L.
n→∞
⎧ sin 2 n ⎫
Example 6 Find the limit of the sequence ⎨ n ⎬.
⎩ 2 ⎭
Solution: Since 0 ≤ sin n ≤ 1 for every positive integer n,
2
sin 2 n 1
0≤ ≤ n .
2n 2
Applying Example 3 with r = 2 , we have
1
n
1 ⎛1⎞
lim n = lim⎜ ⎟ = 0
n→∞ 2
n→∞ 2
⎝ ⎠
Moreover, lim 0 = 0. Hence it follows from the squeezing theorem that
n→∞
sin 2 n
lim = 0.
n→∞ 2n
Hence the limit of the sequence is 0.
there is a number M such that a n ≤ M for every n ≥ m . Otherwise we say that the
sequence is unbounded. For instance the sequences {1 / n}n =1 and (−1) n
∞
{ } ∞
n =1 are bounded,
{ }
∞
whereas the sequence n 2 n =1 is unbounded.
The following theorem gives as important criteria boundedness and divergence of
sequences
Theorem 2.6 a. If {a n }n = m converges, then {a n }n = m is bounded
∞ ∞
{ }
∞
{ }
bounced. And the unboundedness of n 2 n =1 implies by again Theorem 6.6 that n 2 n =1 is
∞
divergent.
Note: The above theorem does not imply that all bounded sequences converge, and
{ }∞
indeed that is not the case. For example the sequence (−1) n n =1 is bounded but it
diverges.
Definition 6.7 A sequence {a n }n = m is said to be an increasing sequence if a n ≤ a n +1 for
∞
n ≥ m.
∞
⎧ n ⎫
⎬ and {1 / n}n =1 are increasing and decreasing
∞
Example 8 The sequences ⎨
⎩ n + 1⎭ n =1
sequences respectively by definition 2.7.
The other way of showing whether a sequence {a n }n = m is first to find a continuous real
∞
valued function f , if possible, such that f (n) = a n and show that whether f is increasing
or decreasing by using the first derivative test, and consequently decide that the sequence
x n
is increasing or decreasing. In Example 8 above if we let f ( x) = then f (n) =
x +1 n +1
1
and f ' ( x) = > 0 for every x thus f is an increasing function for every x
( x + 1) 2
∞
⎧ n ⎫
⎬ is decreasing. Similarly we can show that {1 / n}n =1
∞
consequently the sequence ⎨
⎩ n + 1⎭ n =1
is decreasing.
Definition 6.8 A sequence which is either increasing or decreasing is said to be
monotonic sequence
Theorem 6.9 A bounded monotonic sequence {a n }n = m converges. If the sequence is
∞
increasing, then the limit is the smallest number L such that a n ≤ L for n ≥ m. If the
sequence is decreasing, then the limit is the largest number L such that a n ≥ L for n ≥ m.
Example 8 Let
1
an = for n ≥ 1.
n+2
Show that {a n }n =1 is convergent.
∞
Solution: Since
1 1 1
a n +1 = = < = an
(n + 1) + 2 n + 3 n + 2
The sequence is decreasing. Moreover
1 1
0≤ ≤ for n ≥ 1
n+2 3
{
7. 2 − n cos n } ∞
n =1 8. { n + 1 − n} ∞
n =1
integers such that nk < nk +1 for each k, that is, {n k }k =1 is a strictly increasing sequence.
∞
∞
⎧1 ⎫
Example 1 Consider the sequence ⎨ ⎬ . If we let nk = 2k for each positive integer k,
⎩ n ⎭ n =1
∞ ∞ ∞
⎧1 ⎫ ⎧1⎫ ⎧1⎫
the corresponding subsequence of ⎨ ⎬ is ⎨ ⎬ = ⎨ ⎬ . Furthermore if we let
⎩ n ⎭ n =1 ⎩ 2k ⎭ k =1 ⎩ 2n ⎭ n =1
{nk }∞k =1 be any strictly increasing sequence of positive integers, then the sequence
∞ ∞
⎧1⎫ ⎧1 ⎫
⎨ ⎬ is a subsequence of the sequence ⎨ ⎬ .
⎩ n k ⎭ n =1 ⎩ n ⎭ n =1
Note: If {a n }n =1 is a sequence, then {a n }n =1 is a trivial subsequence of itself.
∞ ∞
∞
⎧1 ⎫
Example 2 Observe that the sequence ⎨ ⎬ in Example 1 above, converges to 0,
⎩ n ⎭ n =1
∞ ∞
⎧ 1 ⎫ ⎧1⎫
consequently by Theorem 2.11 the subsequences ⎨ ⎬ and ⎨ ⎬ converge to 0.
⎩ 2n − 1⎭ n =1 ⎩ 2n ⎭ n =1
Definition 6.12 If the sequence {a n }n =1 diverges but does not diverge to positive infinity
∞
sequence.
Exercise 6.3 Give the subsequence(s) and limit point(s) of the following sequences.
∞
⎧ (−1) n ⎫
2. {cos nπ }n =1
∞
1. ⎨ ⎬
⎩ n ⎭ n =1
∞ ∞
⎧ ⎛ nπ ⎞⎫ ⎧ n 2 + 1⎫
2. ⎨sin ⎜ ⎟⎬ 4. ⎨ ⎬
⎩ ⎝ 4 ⎠⎭ n =1 ⎩ n ⎭ n =1
Worksheet
1. Write the first four terms of the sequence and determine whether it is convergent or
divergent. If the sequence converges, find its limit.
a. {sinh n} b. {n 2
+ n − n2 } ⎧n⎫
c. ⎨ n ⎬ c > 1
⎩c ⎭
n
⎛ 3⎞
a. a n = ⎜1 + ⎟ b. a n = 3 n + 2 − 3 n + 1
⎝ n⎠
n
⎛ n2 −1⎞ n nπ
c. a n = ⎜⎜ ⎟⎟ d. a n = sin
⎝ n ⎠ n +1 2
n 2 (n!)
e. a n = tanh n f. a n =
(n + 2)!
3. Determine whether the given sequence is monotonic or not, and convergent or not.
⎧ 3n ⎫ ⎧ n! ⎫
a. ⎨ n ⎬
b. ⎨ n⎬ c. { cos nπ }
⎩2 + 3 ⎭ ⎩n ⎭
⎧ ⎛ 3n ⎞⎫
d. ⎨ln⎜ ⎟⎬
⎩ ⎝ n + 1 ⎠⎭
e. {3
n n
+ 4n } ⎧⎪⎛ 1 ⎞ 2 ⎫⎪
f. ⎨⎜1 + ⎟ ⎬
⎪⎩⎝ n ⎠ ⎪⎭
3n
ln n ⎛ 1 ⎞ 1 + 3 + 5 + . . . + (2n − 1)
a. a n = b. ⎜1 + 2 ⎟ c.
n +1 ⎝ n ⎠ n2
a
⎛ 1⎞
1 − ⎜1 − ⎟
⎝ n ⎠ , where a and b are constants and b ≠ 0 .
n
d. a n = ∑ 2 − k e. a n = b
k =0 ⎛ 1⎞
1 − ⎜1 − ⎟
⎝ n⎠
⎧0 if r <1
5. i. Using lim r n = ⎨
⎩∞ if r >1
n→∞
1 + ( 13 )
n
1 + (−1) n
a. lim b. lim c. lim n 4 n + 5 n
n→∞ 2 n →∞ e 2n n→∞
1 1 1
7. Let i. a n = + +.. . + . Show that lim a n = 1 .
1⋅ 2 2 ⋅ 3 n(n + 1) n →∞
1 1 1
ii. bn = + +. . . + . Show that lim bn = 1 .
n→∞
n +1
2
n +2
2
n +n
2
8. Using the limit theorem sequence it can be show that if a n → 0 and {bn } is bounded
then lim a n bn = 0 . Use this result to show the following sequences converge to 0.
n →∞
10. Find two limit points and subsequences, which converge to each of these points for
⎧ ⎛ 1 ⎞⎫ ⎧ nπ ⎫
a. ⎨(−1) n ⎜ 2 − ⎟⎬ b. ⎨sin ⎬
⎩ ⎝ n ⎠⎭ ⎩ 4 ⎭
∑a
n =1
n or ∑a n
is S j = a 0 + a1 + a3 + . . . a j −1 .
j
consequently the jth partial sum Sj = ∑ S n of the series is given by
n =1
1 ⎛ 1 1⎞ ⎛1 1⎞ ⎛ 1 1⎞ ⎛1 1 ⎞
Sj = (1 − ) + ⎜ − ⎟ + ⎜ − ⎟ + . . . + ⎜⎜ − ⎟⎟ + ⎜⎜ − ⎟⎟.
2 ⎝ 2 3⎠ ⎝ 3 4⎠ ⎝ j − 1 j ⎠ ⎝ j j + 1⎠
Since adjacent pairs of numbers cancel each other we have
1 ⎛ 1 ⎞
S j = 1− and thus lim S j = lim⎜⎜1 − ⎟ = 1.
j +1 n→∞ j →∞
⎝ j + 1 ⎟⎠
∞
1
The series ∑ n(n + 1)
n =1
is called telescopic series.
⎧ 1 if n is odd
Sn = ⎨
⎩0 if n is even
∞
1
Example 4: Show that the series ∑n
n =1
diverges.
∞
1
thus ∑n
n =1
diverges. ◊
∞
1
Definition 6.17 The divergent series ∑n
n =1
is called harmonic series.
∞
Theorem 6.18 a. If ∑a
n =1
n converges, then lim a n =0.
n →∞
∞
b. If lim a n is not zero (or does nor exist),then
n →∞
∑a
n =1
n diverges.
Question: Is the converse of the statement in theorem 2.5a. above always true? if not give
example.
The next illustration shows how to apply the nth-term test to a series.
We have seen that the third series is the harmonic divergent series and we shall see in
the next section that the second series is converges.
One of the very important series in solutions of applied problems is the geometric
∞
series which is of the form ∑ cr n , where r and c are constants and c ≠ 0 .The
n =m
∞
convergence of geometric series ∑ cr
n =m
n
depends entirely on the choice of r, as we see in
Theorem 6.19 Let r be any number, and let c ≠ 0 and m ≥ 0 . Then the geometric series
∞
∑ cr
n =m
n
converges if and only if r < 1 and
∞
cr m
∑ cr n =
n =m 1− r
.
Proof: We consider the cases r ≥ 1 and r < 1 separately .If r ≥ 1 , cr n ≥ c for all
n ≥ m thus lim cr n ≠ 0 consequently by theorem 2.18(b) the series diverges. If r < 1 ,
n→∞
cr m cr m
lim S j = lim(1 − r j ) = . ◊
j →∞ 1 − r j →∞ 1− r
Solution: The common ratio of the series is r = 12 ; hence the series is convergent by
theorem 6.19. Since the first term is ( 12 ) 0 = 1 we have
∞ n
⎛1⎞ 1
∑ ⎜ ⎟ =
n =0 ⎝ 2 ⎠ 1 − 12
= 2. ◊
3 n +3 ∞
Example 6 Determine whether or not the series ∑ (−1) n −1 converges, and if so, find n
n =0 5
its sum.
3 n +3
∞ ∞ n
⎛ 3⎞
Solution: Since ∑ (−1) n
n =0 5 n −1
= ∑
n =0
135⎜ − ⎟ and so the series is a geometric series
⎝ 5⎠
with common ration r = − 53 , it is convergent. Since the first term is 135( 53 ) = 135 , the
0
sum is given by
∞
3 n +3 135 675
∑ (−1) n
n =0 5 n −1
=
1 − (− 5 )
3
=
8
. ◊
Combination of Series
The proof of the next theorem follows directly from Definition (6.3)
Theorem 6.20 If ∑a n and ∑b n are convergent series, then
i. ∑ (a + b ) converges and ∑ (a + b ) = ∑ a + ∑ b
n n n n n n
1 − 13
= 2 .Moreover the series ∑
n = 0 n( n + 1)
∞
6
is the convergent telescopic series with sum ∑ =6.
n = 0 n( n + 1)
Consequently from theorem (2.20) we have
Exercise 6.4
I. Compute the third, fourth and nth partial sums and find the sum of the series,
if it converges.
∞ ∞
1. ∑1
n =1
2. ∑ (−1)
n =1
n
∞
−2 ∞
1
3. ∑ (2n + 5)(2n + 3)
n =1
4.
−1
∑ 4n
n =1
2
II. Use the nth term test to determine whether the series diverges or needs further
investigation.
∞
2n ∞
⎛ 1⎞ ∞
⎛π 1 ⎞ 1
1. ∑ 2. ∑ ⎜1 + ⎟ 3. ∑ tan⎜ + ⎟ 4. ∑ n
n =1 4n − 1 n =1 ⎝ n⎠ n =1 ⎝ 2 n⎠ e
III. Express the repeating decimals as a fraction.
___
1. 0. 2 2. 2. 32
IV. Determine whether the following series converge and if so find its sum.
∞
3 ∞
3 n+3 ∞
⎛ 1 1⎞ ∞
3n + 4 n
1. ∑ 2. ∑ n −1 3. ∑ ⎜⎜ − ⎟⎟ 4. ∑
n =1 ( n + 3)( n + 4) n =1 5 n =1 ⎝ n( n + 1) n =0 3 4
n n
n⎠
In this section we will develop tests for convergence or divergence of a series ∑a n that
employ the nth term. These tastes will not give us the sum S of the series, but instead will
tell us only whether the sum exists. For the present we will restrict our attention to
nonnegative series, that is, to series whose terms are nonnegative. For simplicity we
assume that the initial index is 1. The sequence of partial sums {Sj} ∞j =1 of the nonnegative
series ∑a n form an increasing sequence:
S j = a1 + a 2 + . . . + a j ≤ a1 + a 2 + . . . + a j + a j +1 = S j +1 for j ≥ 1
∞
Consequently if {Sj} ∞j =1 is bounded, then lim S j exists, so
j →∞
∑a
n =1
n converges. By contrast,
∞
if {Sj} ∞j =1 is unbounded, then lim S j cannot exist, so
j →∞
∑a
n =1
n diverges.
[ ]
∞
⎡ 1⎤ 1
t
2 t 1
∫1 ∫
− x2 2
xe dx = lim xe − x dx = lim (− 12 )e − x 1 = − lim ⎢ 1t 2 − ⎥ =
t →∞
1
t →∞ 2 t →∞ ⎣ e e ⎦ 2e
Hence the series converges.
⎛ 1 ⎞
Solution: If p ≤ 0, then lim⎜ p ⎟ ≠ 0 and, by theorem (6.18), the series diverges. If
n→∞ n
⎝ ⎠
p = 1 , we have the divergent harmonic series. Hence from here on in the proof, we
assume that p > 0 and p ≠ 1. We shall employ the integral test, defining the ideal
1
function f by f ( x) = p for x ≥ 1 .
x
1
Since f is continuous, f (n) = p , f ' ( x) = − px − p −1 < 0 , and hence f is decreasing f
n
satisfies the conditions stated in the integral test. Thus we have
∞ t
1
t
⎡ x1− p ⎤ 1
∫1 x p ∫
−p
dx = lim x dx = lim ⎢ ⎥ = lim(t 1− p − 1).
t →∞
1
t →∞ 1 − p
⎣ ⎦ 1 1 − p t →∞
If p>1, then p-1>0 and the last expression may be written
1 1 1
lim(t 1− p − 1) = (0 − 1) = , hence the improper integral converges
1− p t → ∞ 1− p 1− p
consequently the p-series converges by theorem (6.8) if p>1.
Class Work
Use the integral test to determine whether the series converges or diverges for the series:
∞ ∞ ∞
ln n 1
a. ∑ b. ∑ ∑
3
2
c. n 2 e −n
n =2 n n =2 n(ln n ) n =1
∞
arctan n
d. ∑
n =1 1 + n
2
However,
1 1
≥ n for n ≥ 1
n
2 −1 2
and thus it is impossible to determine the convergence or divergence of the given series
∞
1
by comparing it with the series ∑ n . But we can see that
n =1 2
1 1 1 1
≤ n n −1
= n −1 = n −1 for n ≥ 1
2 −1 2 − 2
n
2 (2 − 1) 2
∞
1
and since ∑ n −1 converges, the comparison test implies that the given series converges.
n =1 2
Class work: Determine whether the following series converges or diverges.
∞ ∞ ∞
1 arctan n n2
a. ∑ 4 b. ∑ c. ∑
n =1 n + n + 1 n =1 n + 1
2 3
n =1 n
Theorem 6.24(Limit Comparison Test)
Let ∑ a n and ∑ bn be nonnegative series.
an
a. If lim =L>0, then either both series converge or both diverge.
n →∞ b
n
a
b. If lim n =0 and ∑ bn converges, then ∑ a n also converges.
n →∞ b
n
a
c. If lim n = ∝ and ∑ bn converges, then ∑ a n also converges.
n →∞ b
n
2n 2 + 1 ∞
it follows from limit comparison test (a) that the series ∑ 5 converges.
n =1 n + 7 n − 2
3
1 1 1
b. Let a n = we then may choose bn = 2 . Since the series ∑ is a
3
n2 +1 n3 3
n2
divergent p-series (with p=2/3) and
1
3
n2 +1
lim =1> 0
n →∞ 1
3
n2
∞
1
it follows from limit comparison test (a) that the series ∑ diverges.
n =1
3
n2 +1
∞
ln n
Example 7 Test the series
n =1 n
∑
for convergence or divergence.
a (n + 1)! /( n + 1) n +1 nn 1 1
c. Since r = lim n +1 = lim = lim = lim = <1
n→∞ a n→∞ n! / n n n →∞ ( n + 1) n n →∞ (1 + 1 / n) n
e
n
∞
n!
consequently from theorem 6.25 that the series ∑n
n =1
n
converges.
⎛π ⎞
∞ n ∞ ∞ n n
⎛ n ⎞ n ⎛ 1⎞
a. ∑ ⎜ ⎟ b. ∑ n c. ∑ ⎜1 + ⎟ d .∑ n⎜ ⎟
n =1 ⎝ ln n ⎠ n =1 3 n =1 ⎝ n⎠ ⎝4⎠
Solution: a. Applying the root test we have
n
⎛ n ⎞ ⎛ n ⎞ ∞ 1
r = lim ⎜ n⎟ = lim ⎜ ⎟{ ∞ } = lim = ∞ >1.
n→∞
⎝ ln n ⎠ n → ∞
⎝ ln n ⎠ n → ∞ 1/ n
Since r>1, the series diverges.
b. Applying the root test and the fact that lim n n = 1 we have
n →∞
∑ (− 1) = −1 + 1 − 1 + 1 − L
n
n =1
∞
1 1 1 1
∑ (− 1)
n +1
and = 1− + − +L
n =1 n! 2 6 24
are alternating series.
the sum S and the sequence of partial sums {S j }j =1 satisfy the inequality
∞
S − S j ≤ a j +1
Example 1 Show that the alternating harmonic series
∞
∑ (− 1)n−1 1 = 1 − 1 + 1 − 1 + ...
n =1 n 2 3 4
converges.
Solution: Let an=1/n, since an=1/n > 1/n+1 =an+1 the sequence {an} is a decreasing,
nonnegative sequence such that lim a n = 0. Therefore the alternating harmonic series
n→∞
satisfies the conditions of the Alternating Series Test and consequently must converge.
Example 2 Determine the convergence or divergence of the alternating series:
∞ ∞
2n
a. ∑ (− 1)
n −1
b. ∑ (− 1)n−1 2n
n =1 4n − 3
2
n =1 4n − 3
2n
Solution: a. Let a n = 2 .
4n − 3
In applying the alternating series test, we must show that
i. {an}is decreasing
ii. lim a n = 0
n →∞
There are several ways to prove (i). One method is to show that the ideal function to an,
2x
f ( x) = 2 is decreasing for x≥1. So finding the derivative of f we have
4x − 3
Hence f is decreasing and, therefore, f(n)≥f(n+1); that is, an ≥ an+1 for every positive
integer k.
To prove (ii), we see that
2n
lim a n = lim 2 =0
n→∞ n →∞ 4n − 3
∞ 3
n −1 ⎛ 1 ⎞
Theorem (6.28) the series
⎝n⎠
converges. ∑ (− 1) ⎜ ⎟
n =1
◊
∞
cos nπ / 4
Example 2 Show that the series ∑ converges.
n =1 n2
Solution: Calculating a few values of cos nπ / 4 , we can see that the series is neither
nonnegative nor alternating. Thus none of the earlier tests applies directly to it. However,
since
cos nπ / 4 1
2
≤ 2 for n ≥ 1
n n
∞
1
and ∑n
n =1
2
converges because it is a p-series with p=2, we know by the comparison test
cos nπ / 4
∞
that the series
n =1 n2
∑ converges. Consequently Theorem (6.28) tells us that the
∞
n −1 ⎛ 1 ⎞
Example 3 The alternate harmonic series ∑ (− 1) ⎜ ⎟ is conditionally convergent
n =1 ⎝n⎠
∞
cos nπ / 4
while the series ∑ is absolutely convergent. Note also that all convergent
n =1 n2
nonnegative series converge absolutely.
∞
1 ∞
(− 1)n (−10) n
∞
∑ (− 1) ∑ n(ln n) c. ∑
n +1
a. b.
n =1 3n + 4 n=2 n =1 n!
∑an =1
n converges (absolutely).
∞ ∞
If r<1, then ∑a
n =1
n converges (absolutely). If r>1, then ∑ a n diverges.
n =1
If r=1, then from this test alone we cannot draw any conclusion about the
convergence of the series.
∞ ∞
If r<1, then ∑a
n =1
n converges (absolutely). If r>1, then ∑a
n =1
n diverges.
If r=1, then from this test alone we cannot draw any conclusion about the
convergence of the series.
∞
xn
Example 3 Show that the series ∑ converges absolutely for x < 1 , converges
n =1 n
conditionally for x=-1 and diverges for x=1 and for x > 1.
Solution: If x=0, the series converges. If x ≠ 0, then
x n +1 /( n + 1) n
lim = lim x = x.
n→∞ x /n
n n →∞ n + 1
Therefore the Generalized Ratio Test implies that the given series converges for x < 1
∑
∞
and diverges for x > 1. For x=1 the series becomes the harmonic series n =1
1 / n , which
diverges. For x=-1 the series becomes
∞
(− 1)n
n
∑ n =1
This is the negative of the alternating harmonic series and consequently converges. Since
∞
(− 1)n ∞
1
∑ n =1 n
=∑
n =1 n
∑ (− 1)
∞
◊
n
which diverges, we conclude that n =1
/ n converges conditionally.
Example 4 Show that
∞
(− 1)n x 2 n+1 = x − x 3 + x 5 − x 7 + L
∑
n = 0 2n + 1 3 5 7
converges absolutely for x < 1, converges conditionally for x = 1 , and diverges for
x > 1.
Solution: If x=0, the series converges. If x ≠ 0, then we have
( −1)n
2 ( n +1) +1 x 2( n +1) +1 2n + 1 2
lim = lim x = x2
n→∞ ( −1)n 2 n +1 n →∞ 2n + 3
2 n +1 x
Consequently the Generalized Ratio Test implies that the series converges absolutely for
x < 1 and diverges for x > 1. It remains to consider the cases in which x = 1. For x = −1
The series becomes
− (− 1) (− 1)
∞ ∞ n n +1
∑
n = 0 2n + 1
=∑
n = 0 2n + 1
then
lim a n = 0
n→∞
xn
Class Work: 1. Show that lim = 0 for all x.
n → ∞ n!
∞
n!
2. Show that the series ∑ n x n converges for x < e.
n =1 n
∞ ∞
n ⎛ 2n ⎞
d. ∑
n =1 ln(n + 1)
e. ∑n =1
ln⎜
⎝ 7n − 5 ⎠
⎟
3. Determine whether the following series converge and if so find its sum.
∞
−1 ∞
⎛ n ⎞ ∞
1
a. ∑ 2 b. ∑ ln⎜ ⎟ c. ∑
n =1 9n + 3n − 2 n =1 ⎝ n + 1⎠ n =1 n +1 + n
∞
1 ∞
3n ∞
⎡ ⎛1⎞ ⎛ 1 ⎞⎤
∑ ∑ (− 1) f. ∑ ⎢sin ⎜ ⎟ − sin ⎜ ⎟⎥
n
d. e.
n =1 n( n + 1)( n + 2) n =1 2 n+ 2 n =1 ⎣ ⎝n⎠ ⎝ n + 1 ⎠⎦
∞
3 +2
n n ∞
⎛ n2 − 1⎞ ∞
2n + 1
g. ∑ 6n
h. ∑ ln ⎜⎜ 2 ⎟⎟ i. ∑ 2
n =1 n ( n + 1)
2
n =1 n=2 ⎝ n ⎠
∑
∞
4. If the nth partial sum of a series n =1
a n is
n −1
find an and ∑n =1 a n .
∞
sn =
n +1
5. Find the value of x for which the series converges, and find the sum of the series
for
a. 1 − x + x 2 − x 3 + L + (−1) n −1 x n −1 + L
1 ( x − 3) ( x − 3) 2 ( x − 3) n
b. + + +L+ +L
2 4 8 2 n +1
6. Use CT, LCT, IT, RaT, or Root Test to determine whether the series below
converges or diverges:
∞ ∞ ∞ ∞
1 n cos 2 n 1
a. ∑ n 2 b. ∑ n c. ∑ 3 d. ∑ sin 2
n =1 e n =1 5 n =1 n 2 n =1 n
∞
n2 + 2n ∞
1 ∞
sin n + 2 n ∞
2n!
e. ∑
n =1 n + 3
n
f. ∑ ln(1 +
n =1 2n
) g. ∑
n =1 n + 5n
h. ∑ (n!)
n =1
2
n
1 ⋅ 4 ⋅ 7 L (3n − 2)
n
∞
⎛ n! ⎞ ∞ ∞
sin 1 / n! ∞
⎛ n 1⎞
i. ∑ ⎜ n ⎟ j. ∑ k. ∑ l. ∑ ⎜ ∑ ⎟
n =1 ⎝ n ⎠ n =1 2 ⋅ 4 ⋅ 6 L ( 2 n) n =1 cos 1 / n! n =1 ⎝ k =1 k ⎠
d. ∑
∞
n =1
(− 10)n
n!
e.
n =1
∑ (− 1) (
∞
n
n +1 − n )
n =1
d.
∞
∑ (− 1)
n
(n 2
+1 − n )
9. Discuss the convergence of the following series
1⋅ 2 2⋅3 3⋅ 4
a. + + +L
3⋅ 4⋅5 4⋅5⋅6 5⋅6⋅7
1 3! 5!
b. + + +L
2 2⋅4 2⋅4⋅6
1 1 1
c. + 2 + 2 + L for real of x.
1+ x 2
2 +x 2
3 + x2
1 1 1
d. + + +L for positive values of x.
1 + x 1 + 2x 2
1 + 3x 3
⎧ 1
∞ ⎪ − n if n is a perfect square
e. ∑ c n , where c n = ⎨
1
n =1 ⎪ 2 if n is not a perfect squar
⎩n
⎧ 1 1
∞ ⎪ − n if 4 n is an int eger.
e. ∑ c n , where c n = ⎨
1 1
n =1 ⎪ 2 if n is not an int eger.
⎩n 4
10. A series ∑ a n is defined recursively by the equations
2 + cos n
a1 = 1, a n +1 =
an
n
Determine whether ∑ a n converges or diverges.
∞
11. If ∑a n is convergent and ∑b
n =1
n is divergent, show that the series ∑ (a n + bn ) is
divergent.
∞
n
12. Consider ∑ (n + 1)!
n =1
a) By using the pattern of the partial sums the first four partial sums guess a
formula for the nth partial sum.
b) Use mathematical induction to prove your guess. Show that the given
infinite sum is convergent and find its sum.