0% found this document useful (0 votes)
21 views159 pages

General Mathematics II: Dr. Mohamad Alghamdi

The document is a comprehensive outline for a course titled General Mathematics II, authored by Dr. Mohamad Alghamdi. It covers various mathematical topics including conic sections, matrices and determinants, systems of linear equations, integration, applications of integration, partial derivatives, and differential equations. Each section is detailed with subtopics, providing a structured approach to advanced mathematical concepts.

Uploaded by

lamayaslam795
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views159 pages

General Mathematics II: Dr. Mohamad Alghamdi

The document is a comprehensive outline for a course titled General Mathematics II, authored by Dr. Mohamad Alghamdi. It covers various mathematical topics including conic sections, matrices and determinants, systems of linear equations, integration, applications of integration, partial derivatives, and differential equations. Each section is detailed with subtopics, providing a structured approach to advanced mathematical concepts.

Uploaded by

lamayaslam795
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 159

General Mathematics II

Dr. Mohamad Alghamdi


General Mathematics II

Dr. Mohamad Alghamdi


3
Contents 1

Contents

List of Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

1 CONIC SECTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.1 Parabola . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.1.1 Vertical Parabolas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.1.2 Horizontal Parabolas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

1.2 Ellipse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.2.1 Ellipses with the Center at the Origin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.2.2 Ellipses with the Center Not at the Origin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

1.3 Hyperbola . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1.3.1 Hyperbola with the Center at the Origin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.3.2 Hyperbola with the Center Not at the Origin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

2 Matrices and Determinants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26


2.1 Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.1.1 Definitions and Notations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.1.2 Special Types of Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.1.3 Operations on Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

2.2 Determinants of Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33


2.2.1 The determinant of an 2 × 2 Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.2.2 The determinant of an n × n Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

3 SYSTEMS OF LINEAR EQUATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40


3.1 Linear Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40

3.2 Solution of Linear Equations Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41


3.2.1 Cramer’s Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

3.3 Gauss Elimination Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

3.4 Gauss-Jordan Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

4 INTEGRATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
4.1 Antiderivatives and Indefinite Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
4.1.1 Antiderivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
2 Contents

4.1.2 Indefinite Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

4.2 Properties of Indefinite Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50


4.2.1 Integration as an Inverse Process of Differentiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

4.3 Definite Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54


4.3.1 Summation Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
4.3.2 Riemann Sum and Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
4.3.3 Properties of Definite Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
4.3.4 The Fundamental Theorem of Calculus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58

4.4 Techniques of Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59


4.4.1 Integration By Substitution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
4.4.2 Integration by Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
4.4.3 Integrals of Rational Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

5 APPLICATIONS OF INTEGRATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
5.1 Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
5.1.1 Region Bounded by a Curve and x-axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
5.1.2 Region Bounded by a Curve and y-axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
5.1.3 Region Bounded by Two Curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

5.2 Solids of Revolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83

5.3 Volumes of Revolution Solids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84


5.3.1 Disk Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
5.3.2 Washer Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
5.3.3 Method of Cylindrical Shells . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94

6 PARTIAL DERIVATIVES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101


6.1 Functions of Several Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101

6.2 Partial Derivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101


6.2.1 Partial Derivatives of Functions of Several Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
6.2.2 Second Partial Derivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102

6.3 Chain Rule for Partial Derivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103

6.4 Implicit Differentiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105

7 DIFFERENTIAL EQUATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109


7.1 Definition of Differential Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109

7.2 Separable Differential Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110

7.3 First-Order Linear Differential Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111

8 Polar Coordinates System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115


8.1 Polar Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115

8.2 The Relationship between Cartesian and Polar Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117

8.3 Polar Curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120


Contents 3

8.4 Area in Polar Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126

Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Appendix (1): Integration Rules and Integrals Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133

Appendix (2): Answers to Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136

Basic Mathematical Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1


List of Abbreviations 5

List of Abbreviations

Symbol Symbol Name Meaning / definition

f (x) function of x map x to f (x)

D( f ) domain domain of a function f

f ◦g composite composition of functions f and g


R
f (x) dx integral the indefinite integral of a function f with respect to x

lim f (x) limit as x approaches a limit value of a function f


x→a

x → a+ x approaches a from the right x approaching a, and x is greater than a


dy
y0 = dx derivative differentiate a function y with respect to x
d2 y
y00 = dx2
second derivative differentiate a function twice
dn y
y(n) = dxn nth derivative differentiate a function n-times
∂f
∂x
partial derivative partial derivative of f with respect to x
2
∂ f
∂x2
second partial derivative second partial derivative of f with respect to x

e constant / Euler’s number e ≈ 2.718281828

[a, b] closed interval [a, b] = {x | a ≤ x ≤ b}

(a, b) open interval (a, b) = {x | a < x < b}

{a, b, c, ...} set a collection of elements

∞ lemniscate infinity symbol

± plus - minus represents positive and negative number

∈ element of set membership

|x| absolute value the absolute value of x is always either positive or zero

a∼
=b approximate a is approximately equal to b

∀ for all x the statement is true for all values of x

an power or exponent times of using number a in a multiplication


√ √ √
a square root a a=a

n
√ √ √
a nth root (radical) n times in a multiplication a a ... a = a

A = [ai j ]m×n matrix a matrix A

In identity matrix ai j = 1 if i = j and 0 otherwise

At transpose of a matrix A if A = [ai j ]m×n then At = [a ji ]n×m

det(A) = |A| determinant of A ∑nj=1 (−1)i+ j ai j Ai j (i = 1, ..., n)

Continued on next page


List of Abbreviations 6

Symbol Symbol Name Meaning / definition

π constant π ≈ 3.141592654

r radius radius of a circle or a disk

∑ sigma represents summation

N natural numbers set N = {1, 2, 3...}

(x1 , x2 ) ordered pair (x1 , x2 ) ∈ mathbbR2

Z integer numbers set Z = {..., −3, −2, −1, 0, 1, 2, 3, ...}

Q rational numbers set Q = {x | x = ba , a ∈ Z, b ∈ Z∗ }

R real numbers set R = {x | −∞ < x < ∞}

P partition P = {x0 , x1 , ..., xn } partition of an interval [a, b]

∆xk length of a subinterval [xk−1 , xk ] ∆xk = xk − xk−1

||P|| norm the largest length among lengths of subintervals

ω mark on P ω = (ω1 , ω2 , ..., ωn ), ωk ∈ [xk−1 , xk ]


n
Rp Riemann sum R p = lim ∑ f (ωk )∆xk
n→∞ k=1

loga x general logarithmic function logarithm with base a > 0

ln x natural logarithmic function logarithm with base e

ax general exponential function exponent with base a > 0

ex natural exponential function exponent with base e

A area area of a region

V volume volume of solid of revolution

L( f ) arc length arc length of a curve of f

S.A area of revolution surface

m slope the slope of the tangent line


7

Chapter 1

CONIC SECTIONS

1.1 Parabola

Definition 1.1 A parabola is a set of all points in a plane that are equidistant from a fixed point F (called the focus) and a
fixed line D (called the directrix) in the same plane.

Let the focus lies along the x-axis at F = (a, 0) and let the directrix
be the line x = −a. From Definition 1.1, we have |PF| = |PD|. Then
from the distance formula, we obtain
q q
(x − a)2 + (y − 0)2 = (x + a)2 + (y − y)2
q
⇒ (x − a)2 + y2 = (x + a)
⇒ (x − a)2 + y2 = (x + a)2
⇒ y2 = (x + a)2 − (x − a)2
⇒ y2 = 4ax .

Figure 1.1: An illustrative graph of of the parabola.

The result is the equation of a parabola with vertex at the origin, that opens to the right. Similarly, we can extract the other equations of
the parabola. In each case, a > 0 which represents the distance from the vertex to the focus. The axis of symmetry of the parabola is a
line that passes through the vertex and is perpendicular to the directrix.

1.1.1 Vertical Parabolas

When a parabola opens right or left, it has a vertical axis of symmetry. In this case, the parabola is called a vertical parabola. We study
the special and general cases of the vertical parabolas. In the special case, we assume that the vertex of the parabola is at the origin. In
the general case, we assume that the vertex is at V (h, k).

(A) Vertical Parabolas with the Vertex at the Origin.

The equation of the vertical parabola with the vertex at the origin is x2 = ±4ay, where a > 0.
8 CONIC SECTIONS

(1) The equation x2 = 4ay has the following properties:

• The vertex of the parabola is V (0, 0).

• The parabola opens upwards.

• The axis of symmetry of the parabola is y-axis.

• The focus of the parabola is F(0, a).

• The directrix of the parabola is y = −a.

Figure 1.2: The graph of the parabola x2 = 4ay.

(2) The equation x2 = −4ay has the following properties:

• The vertex of the parabola is V (0, 0).

• The parabola opens downwards.

• The axis of symmetry of the parabola is y-axis.

• The focus of the parabola is F(0, −a).

• The directrix of the parabola is y = a.

Figure 1.3: The graph of the parabola x2 = −4ay.

(B) Vertical Parabolas with the Vertex at V (h, k).

The equation of the vertical parabola with the vertex at V (h, k) is (x − h)2 = ±4a(y − k), where a > 0. The previous form is the general
formula of the vertical parabolas.

(1) The equation (x − h)2 = 4a(y − k) has the following properties:

• The vertex of the parabola is V (h, k).

• The parabola opens upwards.

• The axis of symmetry of the parabola is parallel to y-axis.

• The focus of the parabola is F(h, k + a).

• The directrix of the parabola is y = k − a.

Figure 1.4: The graph of the parabola (x − h)2 = 4a(y − k)


for h, k > 0.
Parabola 9

(2) The equation (x − h)2 = −4a(y − k) has the following properties:

• The vertex of the parabola is V (h, k).

• The parabola opens downwards.

• The axis of symmetry of the parabola is parallel to y-axis.

• The focus of the parabola is F(h, k − a).

• The directrix of the parabola is y = k + a.

Figure 1.5: The graph of the parabola (x − h)2 = −4a(y − k)


for h, k > 0.

 Example 1.1 Find the focus and the directrix of the parabola x2 = 4y, and sketch its graph.

Solution:
The equation x2 = 4y takes the form x2 = 4ay with a = 1.

Therefore, the parabola has the following properties:

• The vertex of the parabola is V (0, 0).

• The parabola opens upwards.

• The axis of symmetry of the parabola is y-axis.

• The focus of the parabola is F(0, 1).

• The directrix of the parabola is y = −1.


Figure 1.6: The parabola x2 = 4y.

 Example 1.2 Find the focus and the directrix of the parabola (x + 1)2 = −4(y − 1), and sketch its graph.

Solution: The equation (x + 1)2 = −4(y − 1) takes the form

(x − h)2 = −4a(y − k) .

This implies a = 1, h = −1 and k = 1. The parabola has the following


properties:

• The vertex of the parabola is V (−1, 1).

• The parabola opens downwards.

• The axis of symmetry of the parabola is parallel to y-axis.

• The focus of the parabola is F(−1, −1).

• The directrix of the parabola is y = 2. Figure 1.7: The graph of the parabola (x + 1)2 = −4(y − 1).

 Example 1.3 Find the equation of the parabola with vertex (2, 1) and focus F(2, 3). Then, sketch the graph.
10 CONIC SECTIONS

Solution:
Since the vertex and focus are in the same line x = 2, then the axis
of symmetry of the parabola is parallel to the y-axis. Also, from the
y-coordinate of the vertex and focus, the parabola opens upwards.
Thus, the equation of the parabola takes the form

(x − h)2 = 4a(y − k) .

From the vertex and focus, we have

V (h, k) = (2, 1) ⇒ h = 2 and k = 1

F(h, k + a) = (2, 3) ⇒ a = 2
By substituting the values of a, h and k, the equation of the parabola
becomes (x − 2)2 = 8(y − 1).
Figure 1.8: The graph of the parabola (x − 2)2 = 8(y − 1).

1.1.2 Horizontal Parabolas

When a parabola opens upwards or downwards, it has a horizontal axis of symmetry. In this case, the parabola is called a horizontal
parabola. We consider the two cases: the vertex at the origin and the vertex at V (h, k).

(A) Horizontal Parabolas with the Vertex at the Origin. The equation of the horizontal parabola with the vertex at the origin is
y2 = ±4ax, where a > 0.

(1) The equation y2 = 4ax has the following properties:

• The vertex of the parabola is V (0, 0).

• The parabola opens to the right.

• The axis of symmetry of the parabola is x-axis.

• The focus of the parabola is F(a, 0).

• The directrix of the parabola is x = −a.

Figure 1.9: The graph of the parabola y2 = 4ax.

(2) The equation y2 = −4ax has the following properties:

• The vertex of the parabola is V (0, 0).

• The parabola opens to the left.

• The axis of symmetry of the parabola is x-axis.

• The focus of the parabola is F(−a, 0).

• The directrix of the parabola is x = a.

Figure 1.10: The graph of the parabola y2 = −4ax.

(B) Horizontal Parabolas with the Vertex at V (h, k). The general equation of the horizontal parabola with the vertex at V (h, k) is
(y − k)2 = ±4a(x − h), where a > 0.
Parabola 11

(1) The equation (y − k)2 = 4a(x − h) has the following properties:

• The vertex of the parabola is V (h, k).

• The parabola opens to the right.

• The axis of symmetry of the parabola is parallel to x-axis.

• The focus of the parabola is F(h + a, k).

• The directrix of the parabola is x = h − a.

Figure 1.11: The graph of the parabola (y − k)2 = 4a(x − h)


for h, k > 0.

(2) The equation (y − k)2 = −4a(x − h) has the following properties:

• The vertex of the parabola is V (h, k).

• The parabola opens to the left.

• The axis of symmetry of the parabola is parallel to x-axis.

• The focus of the parabola is F(h − a, k).

• The directrix of the parabola is x = h + a.

Figure 1.12: The graph of the parabola (y − k)2 = −4a(x −


h).

 Example 1.4 Find the focus and the directrix of the parabola y2 = −8x, and sketch its graph.

Solution:

The equation y2 = −8x takes the form y2 = −4ax with a = 2.

The parabola has the following properties:

• The vertex of the parabola is V (0, 0).

• The parabola opens to the left.

• The axis of symmetry of the parabola is x-axis.

• The focus of the parabola is F(−2, 0).

• The directrix of the parabola is x = 2.

Figure 1.13: The parabola y2 = −8x.


12 CONIC SECTIONS

 Example 1.5 Find the equation of the parabola with focus (3, 0) and directrix x = −3. Then, sketch the graph.

Solution:

Since the focus of the parabola is F(3, 0) = F(a, 0), the axis of
symmetry of the parabola is x-axis and it opens to the right.

Thus, the equation of the parabola takes the form y2 = 4ax.

Since a = 3, then the equation of the parabola is y2 = 12x. The


directrix of the parabola is x = −3.

Figure 1.14: The parabola y2 = 12x.

 Example 1.6 Find the focus and the directrix of the parabola 2y2 − 4y + 8x + 10 = 0, and sketch its graph.

Solution:

Since the quadrature is on the y−term, then the parabola takes the form (y − k)2 = ±4a(x − h).

2y2 − 4y + 8x + 10 = 0, divide all terms by 2


2
y − 2y + 4x + 5 = 0,
y2 − 2y = −4x − 5, isolate y-terms
(y2 − 2y + 1) = −4x − 4
| {z }
completing square

(y − 1)2 = −4(x + 1) (y − k)2 = −4a(x − h)

The parabola has the following properties:

• The vertex of the parabola is V (−1, 1).

• The parabola opens to the left.

• The axis of symmetry of the parabola is parallel to x-axis.

• The focus of the parabola is F(−2, 1).

• The directrix of the parabola is x = 0.

Figure 1.15: The graph of the parabola (y−1)2 = −4(x+1).

1.2 Ellipse

Definition 1.2 An ellipse is a set of all points in a plane such that the sum of the distances from each point to two fixed points
(called foci) is constant.
Ellipse 13

• Each of the two fixed points mentioned in the previous


definition is called a focus. The line containing the foci
intersects the ellipse at points called vertices.

• The line segment between the vertices is called the major


axis, and its midpoint is the center of the ellipse.

• A line perpendicular to the major axis through the center


intersects the ellipse is called the minor axis and its endpoints
called co-vertices.

Figure 1.16: An illustrative graph of of the ellipse.

Let c2 be a circle with midpoint F2 and radius 2a. From Figure 1.17, the distance of the point P to the circle c2 equals the distance to the
focus F1 . Therefore, if the point P = W1 (0, b), then |PF1 | = |Pc2 | = a. From Pythagoras’ theorem, we have a2 = b2 + c2 .

Figure 1.17

From Definition 1.2, we have


PF2 | + |PF1 | = 2a
|p p
(x + c)2 + y2 = 2a − p(x − c)2 + y2
2 2 2 2 2 2 2
p+ c) + y = 4a − 4a c (x − c) + y + (x − c) + y
(x
(x − c)2 + y2 = − a − a x
2
(x − c)2 + y2 = a2 − ac2 x2 − 2cx
2
x2 − 2cx + c2 + y2 = a2 − ac2 x2 − 2cx isolate x-terms any y-terms
2 2
( a a−c 2 2 2
2 )x + y = a − c
2 divide both sides by a2 − c2
x2 y2
a2
+ a2 −c2 = 1
2
x2
a2
+ by2 = 1 b2 = a2 − c2

Figure 1.18

1.2.1 Ellipses with the Center at the Origin

2
x2
The equation of the ellipse is a2
+ by2 = 1.
14 CONIC SECTIONS

(A) If a > b, the ellipse has the following properties:


• The center of the ellipse is P(0, 0).

• The vertices of the ellipse are V1 (a, 0), V2 (−a, 0).

• The foci of the ellipse are F1 (c, 0), F2 (−c, 0), where
p
c = a2 − b2 .

• The major axis of the ellipse is x-axis with length 2a.

• The minor axis endpoints (co-vertices) are W1 (0, b), W2 (0, −b).

• The minor axis of the ellipse is y-axis with length 2b.


x2 y2
Figure 1.19: The graph of the ellipse a2
+ b2
= 1, where
a > b.

(B) If b > a, the ellipse has the following properties:

• The center of the ellipse is P(0, 0).

• The vertices of the ellipse are V1 (0, b), V2 (0, −b).

• The foci of the ellipse are F1 (0, c), F2 (0, −c), where
p
c = b2 − a2 .

• The major axis of the ellipse is x-axis with length 2b.

• The minor axis endpoints (co-vertices) are W1 (a, 0), W2 (−a, 0).

• The minor axis of the ellipse is y-axis with length 2a. Figure 1.20: The graph of the ellipse x2
+ y2
= 1, where
a2 b2
b > a.

 Example 1.7 Identify the features of the ellipse and sketch its graph.
(1) 9x2 + 25y2 = 225 (2) 16x2 + 9y2 = 144

Solution:
2 2
x2 x2
1. By dividing both sides by 225, we have 25 + y9 = 1. The result takes the form a2
+ by2 = 1, where a = 5 and b = 3. Since a > b,
√ √
then c = 25 − 9 = 16 = 4.

The ellipse has the following properties:

• The center of the ellipse is P(0, 0).

• The vertices of the ellipse are V1 (5, 0), V2 (−5, 0).

• The foci of the ellipse are F1 (4, 0), F2 (−4, 0)

• The major axis of the ellipse is x-axis with length 10.

• The minor axis endpoints (co-vertices) are W1 (0, 3), W2 (0, −3).

• The minor axis of the ellipse is y-axis with length 6.


x2 y2
Figure 1.21: The graph of the ellipse 25 + 9 = 1, where
a > b.
Ellipse 15
2 2
x2 y x2
2. By dividing both sides by 144, we have 9 + 16 = 1. The result takes the form a2
+ by2 = 1, where a = 3 and b = 4. Since b > a,
√ √
then c = 16 − 9 = 7.

The ellipse has the following properties:

• The center of the ellipse is P(0, 0).

• The Vertices of the ellipse are V1 (0, 4), V2 (0, −4).


√ √
• The foci of the ellipse are F1 (0, 7), F2 (0, − 7)

• The of the ellipse is x-axis with length 8.

• The minor axis endpoints (co-vertices) are W1 (3, 0), W2 (−3, 0).

• The minor axis of the ellipse is y-axis with length 6.


x2 y2
Figure 1.22: The graph of the ellipse 9 + 16 = 1, where
b > a.

 Example 1.8 Find an equation of an ellipse if the center is at the origin and
(1) Major axis on x-axis (2) Major axis on y-axis
Major axis length = 14 Minor axis length = 14 √
Minor axis length = 10 Distance of foci from center = 10 2

Solution:
2 2
(1) Since the major axis is on x-axis, then the equation of the ellipse takes the form ax2 + by2 = 1, where a > b. Also, the major axis
length is 2a = 14 and this implies a = 7. The minor axis length is 2b = 10, so b = 5. From this, the equation of the ellipse
x2 y2
becomes 49 + 25 = 1.
2 2
(2) Since the major axis is on y-axis, then the equation of the ellipse takes the form ax2 + by2 = 1, where b > a. From the minor axis

length 2a = 14, we have a = 7. Also, the distance of foci from the center is c = 10 2. Since c2 = b2 − a2 , then b2 = 249. By
x2 y2
substituting the values of a and b, we have 49 + 249 = 1.

1.2.2 Ellipses with the Center Not at the Origin

(x−h)2 (y−k)2
The equation of an ellipse of the form is a2
+ b2
= 1.

(A) If a > b, the ellipse has the following properties:

• The center of the ellipse is P(h, k).

• The Vertices of the ellipse are V1 (h + a, k), V2 (h − a, k).

• The foci of the ellipse are F1 (h + c, k), F2 (h − c, k), where


p
c = a2 − b2 .

• The major axis of the ellipse is x-axis with length 2a.

• The minor axis endpoints are W1 (h, k + b), W2 (h, k − b).

• The minor axis of the ellipse is y-axis with length 2b. (x−h)2 (y−k)2
Figure 1.23: The graph of the ellipse a2
+ b2
= 1,
where a > b.
16 CONIC SECTIONS

(B) If a < b, the ellipse has the following properties:

• The center of the ellipse is P(h, k).

• The Vertices of the ellipse are V1 (h, k + b), V2 (h, k − b).

• The foci of the ellipse are F1 (h, k + c), F2 (h, k − c), where
p
c = b2 − a2 .

• The major axis of the ellipse is y-axis with length 2b.

• The minor axis endpoints are W1 (h + a, k), W2 (h − a, k).

• The minor axis of the ellipse is x-axis with length 2a. (x−h)2 (y−k)2
Figure 1.24: The graph of the ellipse a2
+ b2
= 1,
where b > a.

 Example 1.9 Find the equation of the ellipse with foci at (−3, 1), (5, 1) and one of its vertice is (7, 1), then sketch its graph.

Solution:
(x−h)2 (y−k)2
Since the y−term in the foci is constant, the equation of the ellipse is of the form a2
+ b2
= 1 where a > b.

From the given foci, we have


Illustration:
F1 (h + c, k) = (5, 1) ⇒ h + c = 5, k = 1
h+c = 5 → 1
F2 (h − c, k) = (−3, 1) ⇒ h − c = −3, k = 1
h − c = −3 → 2
By doing some calculation, we obtain h = 1 and c = 4.
Also, from the given vertex, we have V1 (h + a, k) = (7, 1) and by substituting the value of h, we obtain a = 6.

From the formula c2 = a2 − b2 , we have b2 = 36 − 16 = 20, so b = 2 5. Thus, the equation of the ellipse is

(x − 1)2 (y − 1)2
+ =1.
36 20

The ellipse has the following properties:

• The center of the ellipse is P(1, 1).

• The Vertices of the ellipse are V1 (7, 1), V2 (−5, 1).

• The foci of the ellipse are F1 (5, 1), F2 (−3, 1).

• The major axis of the ellipse is x-axis with length 12.



• The endpoints
√ of the minor axis are W1 (1, 1 + 4 5) and
W2 (1, 1 − 4 5).

• The minor axis of the ellipse is y-axis with length 8 5.
(x−1)2 2
Figure 1.25: The graph of the ellipse 36 + (y−1)
20 = 1.

 Example 1.10 Find the equation of the ellipse with foci at (2, 5), (2, −3) and the length of its minor axis equals 6, then and sketch
its graph.
Ellipse 17

Solution:

(x−h)2 (y−k)2
Since the x−term in the foci is constant, the equation of the ellipse is of the form a2
+ b2
= 1 where b > a.

From the given foci, we have Illustration:


F1 (h, k + c) = (2, 5) ⇒ h = 2, k + c = 5
k+c = 5 → 1
F2 (h, k − c) = (2, −3) ⇒ h = 2, k − c = −3
By doing some calculation, we obtain k = 1 and c = 4. k − c = −3 → 2

Also, the length of its minor axis equals 2a = 6, hence a = 3. From the formula c2 = b2 − a2 , we have b2 = 16 + 9 = 25, so b = 5. Thus,
the equation of the ellipse is
(x − 2)2 (y − 1)2
+ =1.
9 25

The ellipse has the following properties:

• The center of the ellipse is P(2, 1).

• The Vertices of the ellipse are V1 (2, 6), V2 (2, −4).

• The foci of the ellipse are F1 (2, 5), F2 (2, −3).

• The major axis of the ellipse is y-axis with length 10.

• The minor axis endpoints are W1 (5, 1), W2 (−1, 1).

• The minor axis of the ellipse is x-axis with length 6.


(x−2)2 2
Figure 1.26: The graph of the ellipse 9 + (y−1)
25 = 1.

 Example 1.11 Identify the features of the ellipse 4x2 + 2y2 − 8x − 8y − 20 = 0, then sketch its graph.

Solution:

4x2 + 2y2 − 8x − 8y − 20 = 0
2x2 + y2 − 4x − 4y − 10 = 0
2x2 − 4x + y2 − 4y = 10 isolate x any y terms
2 2
2(x − 2x + 1) + (y − 4x + 4) = 10 + 2 + 4 completing square: (a ± b)2 = a2 ± 2ab + b2
2(x − 1)2 + (y − 2)2 = 16
(x − 1)2 (y − 2)2
+ =1 divide by 16 .
8 16

The result takes the standard form


(x − h)2 (y − k)2
+ =1,
a2 b2

where
√ √ √
h = 1, k = 2, a = 2 2, and b = 4, then c = 16 − 8 = 2 2 .
18 CONIC SECTIONS

The ellipse has the following properties:

• The center of the ellipse is P(1, 2).

• The Vertices of the ellipse are V1 (1, 6), V2 (1, −2).


√ √
• The foci of the ellipse are F1 (1, 2 + 2 2), F2 (1, 2 − 2 2).

• The major axis of the ellipse is y-axis with length 8.



• The endpoints
√ of the minor axis are W1 (1 + 2 2, 2) and
W2 (1 − 2 2, 2).

• The minor axis of the ellipse is x-axis with length 4 2.
(x−1)2 2
Figure 1.27: The graph of the ellipse 8 + (y−2)
16 = 1.

1.3 Hyperbola

Definition 1.3 A hyperbola is the set of all points in a plane such that the absolute value of the difference of the distances of
each point from two fixed points (called foci) is constant.

• Each fixed point mentioned in the previous definition is called


a focus.

• The point midway between the foci is called the center. The
line containing the foci is the transverse axis.

• The graph of the hyperbola is made up of two parts called


branches. Each branch intersects the transverse axis at a
point called the vertex.

Figure 1.28: An illustrative graph of the hyperbola.

Let c2 be the circle with midpoint F2 and radius 2a. The distance of a point P of the right branch to the circle c2 equals the distance to
the focus F1 : |PF1 | = |Pc2 |.
Hyperbola 19

Figure 1.29

From Definition 1.3, we have


||PF1 | − |PF2 || = 2a
q q
(x − c)2 + y2 − (x + c)2 + y2 = 2a
x2 (c2 − a2 ) − a2 y2 = a2 (c2 − a2 ) Rearranging and completing the square
x2 y2
− =1 dividing both sides by c2 − a2
a2 c2 − a2
x2 y2
− =1 b2 = c2 − a2 .
a2 b2

1.3.1 Hyperbola with the Center at the Origin


2
x2
(A) The equation of the hyperbola is a2
− by2 = 1.

The hyperbola has the following properties:

• The center of the ellipse is P(0, 0).

• The vertices of the ellipse are V1 (a, 0), V2 (−a, 0).

• The foci of the ellipse are F1 (c, 0), F2 (−c, 0), where
p
c = a2 + b2 .

• The transverse axis is x-axis with length 2a.

• The asymptotes are y = ± ab x.


2
x2
Figure 1.30: The graph of the hyperbola a2
− by2 = 1.

y2 2
(B) The equation of the hyperbola is a2
− bx2 = 1.

The hyperbola has the following properties:

• The center of the ellipse is P(0, 0).

• The vertices of the ellipse are V1 (0, b), V2 (0, −b).

• The foci of the ellipse are F1 (0, c), F2 (0, −c), where
p
c = a2 + b2 .

• The transverse axis is x-axis with length 2b.

• The asymptotes are y = ± ab x.


y2 2
Figure 1.31: The graph of the hyperbola b2
− ax2 = 1.
20 CONIC SECTIONS

 Example 1.12 Identify the features of the hyperbola and sketch its graph.

(1) 4x2 − 16y2 = 64

(2) 4y2 − 9x2 = 36

Solution:

2 2 2
x2
x
(1) By dividing both sides by 64, we have 16 − y4 = 1. The result takes the form a2
− by2 = 1.
√ √
Since a = 4 and b = 2, then c = 16 + 4 = 2 5.

The hyperbola has the following properties:

• The center of the ellipse is P(0, 0)

• The vertices of the ellipse are V1 (4, 0), V2 (−4, 0).


√ √
• The foci of the ellipse are F1 (2 5, 0), F2 (−2 5, 0).

• The transverse axis is x-axis with length 8.

• The asymptotes are y = ± 21 x.


2
x2
Figure 1.32: The graph of the hyperbola 16 − y4 = 1.

2 2 y2 2
(2) Divide both sides by 36 to have y9 − x4 = 1. The result takes the form b2
− ax2 = 1.
√ √
Since a = 2 and b = 3, then c = 4 + 9 = 13.

The hyperbola has the following properties:

• The center of the ellipse is P(0, 0)

• The vertices of the ellipse are V1 (0, 3), V2 (0, −3).


√ √
• The foci of the ellipse are F1 (0, 13), F2 (0, − 13).

• The transverse axis is x-axis with length 6.

• The asymptotes are y = ± 32 x.

y2 2
Figure 1.33: The graph of the hyperbola 9 − x4 = 1.

 Example 1.13 Find an equation of the hyperbola if its vertices are V1 (3, 0) and V2 (−3, 0), and one of its foci (4, 0), then sketch its
graph.

Solution:

2
x2
Since the y−term in the vertices is constant, the equation of the hyperbola takes the form a2
− by2 = 1. Also, V1 (a, 0) = V1 (3, 0) implies
a = 3 and F1 (c, 0) = F1 (4, 0) implies c = 4.
Hyperbola 21

√ √
From the formula c2 = a2 + b2 , we have b = 16 − 9 = 7.
2 2
Thus, the equation of the hyperbola is x9 − y7 = 1.
The hyperbola has the following properties:
• The center of the ellipse is P(0, 0)

• The vertices of the ellipse are V1 (3, 0), V2 (−3, 0).

• The foci of the ellipse are F1 (4, 0) and F2 (−4, 0).

• The transverse axis is x-axis with length 6.



7
• The asymptotes are y = ± 3 x.
2
x2
Figure 1.34: The graph of the hyperbola a2
− by2 = 1.

1.3.2 Hyperbola with the Center Not at the Origin

(x−h)2 (y−k)2
(A) The equation of the hyperbola is a2
− b2
= 1.

The hyperbola has the following properties:

• The center of the ellipse is P(h, k)

• The vertices of the ellipse are V1 (h + a, k), V2 (h − a, k).

• The foci of the ellipse are F1 (h + c, k), F2 (h − c, k), where


p
c = a2 + b2 .

• The transverse axis is x-axis with length 2a.

• The asymptotes are (y − k) = ± ab (x − h).


(x−h)2 2
Figure 1.35: The graph of the hyperbola a2
− (y−k)
b2
= 1.

(y−k)2 (x−h)2
(B) The equation of the hyperbola is b2
− a2
= 1.

The hyperbola has the following properties:

• The center of the ellipse is P(h, k)

• The vertices of the ellipse are V1 (h, k + b), V2 (h, k − b).

• The foci of the ellipse are F1 (h, k + c), F2 (h, k − c).

• The transverse axis is x-axis with length 2b.

• The asymptotes are (y − k) = ± ab (x − h).

(y−k)2 2
Figure 1.36: The graph of the hyperbola b2
− (x−h)
a2
= 1.
22 CONIC SECTIONS

 Example 1.14 Find the equation of the hyperbola with foci at (−2, 2), (6, 2) and one of its vertices is (5, 2), then sketch its graph.

Solution:

Since the y−term in the foci is constant, then the equation of the
(x−h)2 (y−k)2
hyperbola takes the form a2 + b2 = 1. Illustration:
From the given foci, we have

F1 (h + c, k) = (6, 2) ⇒ h + c = 6, k = 2 h+c = 6 → 1
F2 (h − c, k) = (−2, 2) ⇒ h − c = −2, k = 2 h − c = −2 → 2
By doing some calculation, we obtain h = 2 and c = 4.

Also, from the given vertex V1 (h + a, k) = (5, 2), we have h + a = 5. By substituting the value of h, we obtain a = 3. From the formula
√ (x−2)2 (y−2)2
c2 = a2 + b2 , we find b2 = 16 − 9 = 7 and this implies b = 7. Thus, the equation of the hyperbola is 9 + 7 = 1.

The hyperbola has the following properties:

• The center of the ellipse is P(2, 2)

• The vertices of the ellipse are V1 (5, 2), V2 (−1, 2).

• The foci of the ellipse are F1 (6, 2), F2 (−4, 2).

• The transverse axis is x-axis with length 6.



7
• The asymptotes are (y − 2) = ± 3 (x − 2).

(x−2)2 2
Figure 1.37: The graph of the hyperbola 9 + (y−2)
7 = 1.

 Example 1.15 Find the equation of the hyperbola with foci at (−1, −6) , (−1, 4) and the length of its transverse axis is 8, and sketch
its graph.

Solution:

(y−k)2 (x−h)2
Since the x−term in the foci is constant, the equation of the hyperbola takes the form b2
− a2
= 1.

From the foci, we have Illustration:


F1 (h, k + c) = (−1, 4) ⇒ h = −1, k + c = 4
k+c = 4 → 1
F2 (h, k − c) = (−1, −6) ⇒ h = −1, k − c = −6
By doing some calculation, we obtain k = −1 and c = 5. k − c = −6 → 2

Also, the length of the transverse axis is 2b = 8 and this implies b = 4. From the formula c2 = a2 + b2 , we have a2 = 25 − 16 = 9, so
a = 3.

Thus, the equation of the hyperbola is


(y + 1)2 (x + 1)2
− =1.
16 9
Hyperbola 23

The hyperbola has the following properties:

• The center of the ellipse is P(−1, −1)

• The vertices of the ellipse are V1 (−1, 3), V2 (−1, −4).

• The foci of the ellipse are F1 (−1, 4), F2 (−1, −6).

• The transverse axis is x-axis with length 8.

• The asymptotes are (y + 1) = ± 34 (x + 1).

(y+1)2 2
Figure 1.38: The graph of the hyperbola 16 + (x+1)
9 = 1.

 Example 1.16 Identify the features of the hyperbola 2y2 − 4x2 − 4y − 8x − 34 = 0. Then, sketch its graph.

Solution:

2y2 − 4x2 − 4y − 8x − 34 = 0,
2y2 − 4y − 4x2 − 8x = 34
2(y2 − 2y) − 4(x2 − 2x) = 34 Rearranging x-terms and y-terms
2(y2 − 2y + 1) − 4(x2 − 2x + 1) = 34 + 2 + 4 completing the square
2 2
2(y − 1) − 4(x + 1) = 40
(y − 1)2 (x + 1)2
− =1 dividing both sides by 40
20 10
.

(y−k)2 (x−h)2 √ √
From the standard form b2
− a2
= 1, we have h = −1, k = 1, a = 10, and b = 2 5. Thus, from the formula c2 = a2 + b2 , we

have c = 30.

The hyperbola has the following properties:

• The center of the ellipse is P(−1, 1)

• The vertices of the ellipse are


√ √
V1 (−1, 1 + 2 5), V2 (−1, 1 − 2 5) .

• The foci of the ellipse are


√ √
F1 (−1, 1 + 30), F2 (−1, 1 − 30) .

• The transverse axis is x-axis with length 4 5.

• The asymptotes are (y − 1) = ± 2(x + 1). (y−1)2 2
Figure 1.39: The graph of the hyperbola 20 − (x+1)
10 =
1.
Exercises 24

Exercises

1 - 13 Write an equation of the parabola with the given elements, then sketch the graph.

1 Vertex at (−4, 2) and focus at (− 72 , 2).

2 Vertex at (2, 6), passes through (−1, 4) and opens to the left.

3 Vertex at (−1, 1) and y-intercept of (0, 2).

4 Focus at (2, 4) and directrix is y = −2.

5 Vertex at (0, −2), passes through (−2, 0) and opens to the left.

6 Vertex at (5, 3), passes through (3, −1) and opens downwards.

7 Vertex at (1, 2) and focus at (1, 3).

8 Vertex at (4, −3), passes through (10, −6) and opens downwards.

9 Vertex at (−3, −5), passes through (−5, −6) and opens downwards.

10 Focus at (4, 1) and directrix is the y-axis.

11 Vertex at (4, −5), passes through (6, 1) and opens upwards.

12 Vertex at (−8, 2), passes through (2, −3) and opens downwards.

13 Focus at (3, 6) and the directrix y = 2.

14 - 21 Write an equation of the ellipse with the given elements, then sketch the graph.

14 Center at the origin and major axis on x-axis and its length equals 8 and minor axis length equals 6.

15 One of its vertices (3, 0), one of its foci at (2, 0).

16 Center at (2, 2), one of its vertices (4, 2), and one of its foci (2 + 3, 2).

17 Center at (1, −1), one of its vertices (4, −1), and one of its foci (1 + 5, −1).

18 Center at (−2, 3), major axis is parallel to y-axis, and its length equals 8 and minor axis length equals 4.

19 Vertices (2, 3) and (2, −2), and minor axis is parallel to x-axis and its length equals 2.

20 Vertices (−1, −1) and (−1, 9), and minor axis is parallel to x-axis with length 8.

21 Foci (10, −2), (4, −2) and one of its vertices (12, −2).

22 - 31 Write an equation of the hyperbola with the given elements, then sketch the graph.


22 Vertices (0, −2) and (0, 2) and one of its foci (0, 13).

23 Vertices (0, −6) and (0, 6), and one of its foci (0, −8).

24 Vertices (1, 1) and (11, 1), and one of its foci (12, 1).
Exercises 25

25 One of its vertices (−4, 0) and the asymptotes y = ±x.

26 One of its vertices (1, 0) and the asymptotes y = ±2x.

27 One of its vertices (0, 5) and the asymptotes y = ± 53 x.

28 One of its vertices (0, − 27 ) and the asymptotes y = ± 12 x.



29 Center at (3, 5), one of its vertices (3, 11) and one of foci (3, 5 + 2 10).

30 Center at (4, 2), one of its vertices (9, 2) and one of foci (4 + 26, 2).

31 Foci (4, −2) and (10, −2), and one of its vertices (8, −2).

32 - 75 Determine the elements of the conic section and sketch its graph.

32 (x − 1)2 = 8(y + 1) 54 y = −2x2 − 28x − 89

33 y = −(x − 2)2 − 2 55 y = x2 + 6x + 5

34 y = − 34 (x + 2)2 + 3 56 y = 2(x − 4)2 − 3

35 y = 12 (x + 2)2 − 5 57 y = −2x2 − 16x − 35

58 x − 5 = (y − 3)2
36 y = −4(x − 1)2 + 1
59 x = −2y2 − 4y − 5
37 y = 4x2 + 24x + 25
60 x2 + 5y2 + 6x − 40y + 84 = 0
38 y = 4(x − 5)2 − 7
61 x2 + 2y + 2x = 2
39 y = −5(x + 4)2 + 9
2
x2
40 y = x2 − 8x + 7 62 25 − y9 = 1
2
x2
41 4x2 + 10y2 = 100 63 16 − y9 = 1

42 x2 + 9y2 = 36 64 y2 x
− 25
2
=1
49
2
x2 y
43 100 + 49 =1 x2 y 2
65 4 − 49 =1
2
x2
44 5 + y7 = 1 x2 y 2
66 25 − 81 =1
2
x2 y
45 49 + 36 =1 y2 x 2
67 64 − 25 =1
(x+3)2 (y−2)2
46 + =1 x2 y 2
16 9 68 36 − 20 =1
2
x2 y
47 36 + 81 =1 (x+3)2 (y−2)2
69 16 − 9 =1
x2 y2
48 15 + 30 =1 (x−2)2 y 2
70 25 − 16 =1
2
x2 y
49 55 + 27 =1 (y−5)2 (x−6)2
71 64 − 25 =1
x2 y2
50 64 + 10 =1 (x+4)2 (y−5)2
72 81 − 55 =1
51 25(x − 3)2 + 10(y + 2)2 = 100
73 −4x2 + 10y2 = 100
2 2
x (y−2)
52 9 + 25 =1 74 10y2 + 49x2 = 490
53 49x2 + 4y2 = 196 75 y2 − 5x2 + 6y − 40x − 76 = 0
26 Matrices and Determinants

Chapter 2

MATRICES AND DETERMINANTS

2.1 Matrices

2.1.1 Definitions and Notations

Definition 2.1 A matrix A of order m × n is a set of numbers or expressions arranged in a rectangular array of m rows and n
columns.

A matrix is a rectangular table of form

···
 
a11 a12 a13 a1,n−1 a1n

 a21 a22 a23 ··· a2,n−1 a2n 

 a31 a32 a33 ··· a3,n−1 a3n 
A= .
 
.. .. .. .. .. ..

 . . . . . . 

a
m−1,1 am−1,2 am−1,3 ··· am−1,n−1 am−1,n 
am1 am2 am3 ··· am,n−1 amn

Notes :

(1) The horizontal arrays of a matrix are called its rows and the vertical arrays are called its columns.

(2) ai j represents the element of the matrix A that lies in row i and column j.

(3) The matrix A can also be written as A = [ai j ]m×n .

 Example 2.1 Find the order of each matrix, then find the given elements.
 
2 −4
(1) A = , a11 and a22
1 0
 
1 3 5
(2) B = , a12 , a21 and a23
2 1 0

Solution:

1. The matrix A is of order 2 × 2. The elements a11 = 2 and a22 = 0.

2. The matrix B is of order 2 × 3. The elements a12 = 3, a21 = 2 and a23 = 0.


Matrices 27

Definition 2.2 Two matrices A = [ai j ] and B = [bi j ] having the same order m × n are equal if ai j = bi j for each i = 1, 2, ..., m
and j = 1, 2, ..., n.

Example 2.2 Find the value of x if the matrices A = B.


   
1 2 1 2
A= ,B=
−1 4x − 1 −1 11

Solution:

Since the matrices A = B, then from Definition 2.2, we have 4x − 1 = 11. This implies x = 3.

2.1.2 Special Types of Matrices

1. Row vector. A row vector of order n is a matrix of order 1 × n written as A = [a1 a2 ... an ]. For example, A = [2 7 0 − 1 9] is
a row vector of order 5.
 
a1  
a2  1
2. Column vector. A column vector of order n is a matrix of order n × 1 written as A =  . . For example, A = 7 is a column
 
 .. 
3
an
vector of order 3.
3. Null matrix. The matrix A = [ai j ]m×n is called a null matrix if ai j = 0 for all i and j i.e.

···
 
0 0 0
0 0 ··· 0
A = .
 
.. .. .. 
 .. . . .
0 0 ··· 0
 
0 0 0
For example, is a null matrix of order 2 × 3.
0 0 0
4. Square matrix. If the number of rows equals the number of columns (m = n), then the matrix is called a square matrix of order
n. In a square matrix A = [ai j ], the set of elements of the form aii is called the diagonal of the matrix. For example, the diagonal
 
2 −7 3
of the following square matrix is highlighted in red  1 0 9. = The main diagonal of A
−1 6 8
5. Upper triangular matrix. The square matrix A = [ai j ] of order n is called an upper triangular matrix if ai j = 0 for all i > j:

···
 
a11 a12 a13 a1n
 0
 a22 a23 ··· a2n 

A= 0
 0 a33 ··· a3n 

 . .. .. ..
 ..

. . . 
0 0 0 ··· ann
 
2 3 1
For example, 0 −1 4 is an upper triangular matrix of order 3.
0 0 5
6. Lower triangular matrix. The square matrix A = [ai j ] of order n is called a lower triangular matrix if ai j = 0 for all i < j:

···
 
a11 0 0 0
a21
 a22 0 ··· 0 

A = a31
 a32 a33 ··· 0 .

 . .. .. ..
 ..

. . . 
an1 an2 an3 ··· ann
28 Matrices and Determinants

 
4 0 0
For example, 1 −1 0 is a lower triangular matrix of order 3.
2 3 5
7. Diagonal matrix. The square matrix A = [ai j ] of order n is called a diagonal matrix if ai j = 0 for all i j:

···
 
a11 0 0 0
 0
 a22 0 ··· 0 

A= 0
 0 a33 ··· 0 

 . .. .. ..
 ..

. . . 
0 0 0 ··· ann

This can be written


  11 , a22 , ..., ann ).
as diag(a
2 0 0
For example, 0 1 0 is a diagonal matrix of order 3. Note that a square matrix that is both upper and lower triangular is
0 0 5
called a diagonal matrix.

1 :i= j
8. Identity matrix. The square matrix In = [ai j ] of order n is called an identity matrix if ai j = .
0 : i 6= j
An identity matrix of order n can be represents by

1 0 0 ··· 0
 
0 1 0 · · · 0
 
In = 0 0 1 · · · 0
 
. . . .
 .. .. .. ..


0 0 0 ··· 1
 
1 0 0
For example, 0 1 0 is an identity matrix of order 3.
0 0 1

2.1.3 Operations on Matrices

(1) Addition and subtraction of matrices :

Definition 2.3 Let A = [ai j ] and B = [bi j ] be two matrices of order m × n. Then,
1. A + B = C with ci j = ai j + bi j .

2. A − B = C with ci j = ai j − bi j .

From Definition 2.3, if A = [ai j ] and B = [bi j ] are two matrices of order m × n, then

···
 
a11 + b11 a12 + b12 a1n + b1n
 a21 + b21 a22 + b22 ··· a2n + b2n 
A+B =  .
 
.. .. .. ..
 . . . . 
am1 + bm1 am2 + bm2 ··· amn + bmn

Also,
a11 − b11 a12 − b12 ··· a1n − b1n
 
 a21 − b21 a22 − b22 ··· a2n − b2n 
A−B =  .
 
.. .. .. ..
 . . . . 
am1 − bm1 am2 − bm2 ··· amn − bmn
Matrices 29

   
1 3 2 5 0 8
 Example 2.3 If A = 5 −4 6 and B =  1 4 −1, find A + B and A − B.
0 9 2 10 11 −2

Solution:
   
1+5 3+0 2+8 6 3 10
A+B =  5 + 1 −4 + 4 6 + (−1) =  6 0 5 .
0 + 10 9 + 11 2 + (−2) 10 20 0
   
1−5 3−0 2−8 −4 3 −6
A-B =  5 − 1 −4 − 4 6 − (−1) =  4 −8 7 .
0 − 10 9 − 11 2 − (−2) −10 −2 4
(2) Multiplying a matrix by a scalar:

Definition 2.4 Let A = [ai j ] be a matrix of order m × n. Then, for any k ∈ R, kA is a matrix C = [ci j ] with ci j = kai j .

From Definition 2.4, if A = [ai j ] is a matrix of order m × n and k ∈ R then k A = [k ai j].

···
 
ka11 ka12 ka1n
 ka21 ka22 ··· ka2n 
kA =  . ..  .
 
.. ..
 .. . . . 
kam1 kam2 ··· kamn

 
1 3 2
 Example 2.4 If A = , find 3A.
0 9 2

Solution:    
3×1 3×3 3×2 3 9 6
3A = =
3×0 3×9 3×2 0 27 6

   
1 6 2 3
 Example 2.5 If A = and B = , find −2A + 3B.
−2 4 0 8

Solution:
         
1 6 2 3 −2 −12 6 9 4 −3
−2A + 3B = −2 +3 = + = .
−2 4 0 8 4 −8 0 24 4 16

Theorem 2.5 Let A, B and C be matrices of order m × n, and let k, ` ∈ R. Then


1. The addition of matrices is commutative: A + B = B + A.

2. The addition of matrices is associative: (A + B) +C = A + (B +C).

3. The null matrix is the identity matrix of addition: A + 0 = A.

4. (k + `)A = kA + `A.

5. k(`A) = (k`)A.
30 Matrices and Determinants

Definition 2.6 Let A = [ai j ] be a matrix of order m × n. There exists a matrix B such that A + B = 0. This matrix B is called
the additive inverse of A and it is denoted by −A = (−1)A.

(3) Multiplication of matrices:

Definition 2.7 Let A = [ai j ] be a matrix of order m × n and B = [bi j ] be a matrix of order n × p. The multiplication AB is a
matrix C = [ci j ] of order m × p, where
n
ci j = ∑ aik bk j = ai1 b1 j + ai2 b2 j + ... + ain bn j .
k=1

Note: the multiplication AB is defined if and only if the number of columns of A equals the number of rows of B; otherwise, we say the
multiplication is undefined.

   
1 6 2 3
 Example 2.6 If A = and B = , find AB.
−2 4 0 8

Solution:
      
1 6 2 3 1 × 2 + 6 × 10 1×3+6×8 2 51
AB = = = .
−2 4 0 8 −2 × 2 + 4 × 0 −2 × 3 + 4 × 8 −4 26

 
  2 3 0
1 6 2
 Example 2.7 If A = and B = −1 4 2, find AB.
−2 4 1
0 1 7

Solution:
 
  2 3 0  
1 6 2  −4 29 26
AB = −1 4 2 = .
−2 4 1 −8 11 15
0 1 7

A special case of multiplication of matrices is multiplying a row vector by a column vector. Let A = [a1 a2 ... an ] be a row vector of
 
b1
b2 
order n and B =  .  be a column vector of order n. Then the multiplication AB is a matrix C = [c] of order 1, where
 
 .. 
bn
n
c= ∑ ak bk = a1 b1 + a2 b2 + ... + an bn .
k=1

 
  8
 Example 2.8 If A = 2 1 4 and B = −3, find AB
5

Solution:
Matrices 31

AB = [2 × 8 + 1 × (−3) + 4 × 5] = [33].

 
1
  3
 Example 2.9 If A = 2 1 4 −6 and B = 
−4, find AB

Solution:
AB = [2 × 1 + 1 × 3 + 4 × (−4) + (−6) × 7] = [−53].

   
  2 2 3
 Example 2.10 If A = 1 3 5 , B = −1 and C = −1 4 , Compute (if possible) 1. AB 2. BC.
0 0 1

Solution:

  2
(1) AB = A = 1 3 5 −1 = [−1].
0
(2) The multiplication BC is not possible since the matrix B of order 3 × 1 and the matrix C of order 3 × 2.

Theorem 2.8 Let A be a matrix of order m × n, B be a matrix of order n × p and C be a matrix of order p × q. Then,
1. The multiplication of matrices is not commutative: AB 6= BA.

2. The multiplication of matrices is associative: (AB)C = A(BC).

3. The matrix In is the identity matrix of multiplication: AIn = A.

4. For any k ∈ R, (kA)B = k(AB) = A(kB).

Theorem 2.9 Let A and B be any two matrices of order m × n. The multiplication of matrices is distributive:
1. (A + B)C = AC + BC, where C is a matrix of order n × p.

2. C(A + B) = CA +CB, where C is a matrix of order p × m.

   
4 3 9 2 3
 Example 2.11 If A = and B = Compute (if possible) 1. AB 2. BA.
−1 2 0 0 1

Solution:

(1) The multiplication BC is not possible since the matrix B of order 3 × 1 and the matrix C of order 3 × 2.
    
2 3 4 3 9 5 12 13
(2) BA = = .
0 1 −1 2 0 −1 2 0

   
3 4 7 5
 Example 2.12 If A = and B = , compute (if possible) 1. AB 2. BA.
−1 2 1 0

Solution:
32 Matrices and Determinants

    
3 4 7 5 25 15
(1) AB = = .
−1 2 1 0 −5 −5
    
7 5 3 4 16 38
(2) BA = = .
1 0 −1 2 3 4

From this example, we find AB 6= BA and this means the multiplication of matrices is not commutative.

 
4 3
 Example 2.13 If A = , find AI2
−1 2

    
4 3 1 0 4 3
Solution: AIn = = .
−1 2 0 1 −1 2

Definition 2.10 Let A = [ai j ] be a matrix of order m × n. Then, the transpose of A is At = [a ji ]n×m .

Theorem 2.11 Let A and B be any two matrices of order m × n and k ∈ R.


1. (At )t = A.

2. (A + B)t = At + Bt .

3. (kA)t = kAt .

4. (AB)t = Bt At .

Remark 2.12
1. The transpose of a row vector is a column vector and vice-versa.

2. The transpose of a lower triangular matrix is an upper triangular matrix and vice-versa.

 
    5 3
3 −1 0 2 1 −2
 Example 2.14 If A = ,B= and C =  1 4 , Compute
2 5 1 −1 0 1
−1 2
(1) (At )t (3) (3A)t

(2) (A + B)t (4) (AC)t

Solution:
 
3 2  
3 −1 0
(1) (At ) = −1 5, so (At )t = .
2 5 1
0 1
 
      5 1
3 −1 0 2 1 −2 5 0 −2
(2) (A + B) = + = . From this, (A + B)t =  0 5.
2 5 1 −1 0 1 1 5 2
−2 2
   
3 2 9 6
(3) (3A)t = 3At = 3 −1 5 = −3 15.
0 1 0 3
Matrices 33

 
  3 2  
5 1 −1  14 3
(4) (AC)t = Ct At = −1 5 = .
3 4 2 5 50
0 1

2.2 Determinants of Matrices

Let A be a square matrix. Then, the determinant of A is denoted by det(A) or |A|.

Definition 2.13 Let A = [ai j ] be a square matrix of order n. Then, the determinant of A can be defined as follows:

a : A = [a]
det(A) =
∑nj=1 (−1)i+ j ai j Ai j (i = 1, ..., n) : otherwise,

where Ai j is det(A) after removing the row i and clomun j.

2.2.1 The determinant of an 2 × 2 Matrix

Let A be a square matrix of order 2 as follows:


 
a a12 a a12
A = 11 . Then det(A) = 11 = a11 a22 − a21 a12 .
a21 a22 a21 a22

 Example
 2.15
 Find the determinant of the matrix.  
1 5 4 −1
(1) A = (2) B =
3 7 2 9

Solution:
1 5
1. det(A) = = 1 × 7 − 3 × 5 = 7 − 15 = −8.
3 7
4 −1
2. det(B) = = 4 × 9 − (−1) × 2 = 36 + 2 = 38.
2 9

2.2.2 The determinant of an n × n Matrix

Before starting evaluating the determinant of an n × n matrix, we first need to define the minor and cofactor of that matrix. The minor
Mi j is the determinant of the matrix obtained by eliminating the ith row and the jth column of A.
 
1 3 1
 Example 2.16 If A = −2 −1 2, find the minors M11 , M12 and M13 .
2 4 5
Solution:
−1 2
M11 = = −1 × 5 − 2 × 4 = −13.
4 5

−2 2
M12 = = −2 × 5 − 2 × 2 = −14.
2 5

−2 −1
M13 = = −2 × 4 − (−1) × 2 = −6.
2 4
34 Matrices and Determinants

The cofactor Ci j of the matrix A is defined as follows:

Ci j = (−1)i+ j Mi j .

Note that the cofactor Ci j depends on the minor Mi j .

 Example 2.17 In the previous example, calculate the corresponding cofactors of the minors M11 , M12 and M13 .

Solution:

C11 = (−1)(1+1) M11 = (1)(−13) = −13.

C12 = (−1)(1+2) M12 = (−1)(−14) = 14.

C13 = (−1)(1+3) M13 = (1)(−6) = −6.

(1) The determinant of an 3 × 3 Matrix

The determinant of a matrix A is obtained as follows:

• Choose a row or a column of A (we usually choose a row).

• Multiply each of the elements ai j of the row (or column) by its corresponding cofactor Ci j .

Let A be a square matrix of order 3 as follows:


 
a11 a12 a13
A = a21 a22 a23  .
a31 a32 a33

To calculate the determinant, choose the first row of A and multiply each of its elements by the corresponding cofactor:

det(A) = a11C11 + a12C12 + a13C13


= a11 (−1)(1+1) M11 + a12 (−1)(1+2) M12 + a13 (−1)(1+3) M13
a22 a23 a a23 a a22
= a11 − a12 21 + a13 21
a32 a33 a31 a33 a31 a32
= a11 (a22 a33 − a23 a32 ) − a12 (a21 a33 − a23 a31 ) + a13 (a21 a32 − a22 a31 ) .

 Example
 2.18 Findthe determinant of the matrix.  
1 6 3 4 1 5
(1) A =  5 −1 4 (2) B = 2 1 −2
−2 9 7 1 8 7
Matrices 35

Solution:

1 6 3
(1) det(A) = 5 −1 4 = 1C11 + 6C12 + 3C13
−2 9 7
= 1(−1)(1+1) M11 + 6(−1)(1+2) M12 + 3(−1)(1+3) M13
−1 4 5 4 5 −1
=1 −6 +3
9 7 −2 7 −2 9
= 1(−7 − 36) − 6(35 + 8) + 3(45 − 2) = −42 − 258 + 129 = −171 .

4 1 5
(2) det(B) = 2 1 −2 = 4C11 + 1C12 + 5C13
1 8 7
= 4(−1)(1+1) M11 + 1(−1)(1+2) M12 + 5(−1)(1+3) M13
1 −2 2 −2 2 1
=4 −1 +5
8 7 1 7 1 8
= 4(7 + 16) − 1(14 + 2) + 5(16 − 1) = 92 − 16 + 75 = 151 .

(2) The determinant of an 4 × 4 Matrix

Sarrus rule
Let A be a square matrix of order 4 as follows:
 
a11 a12 a13 a14
a21 a22 a23 a24 
A=
 .
a31 a32 a33 a34 
a41 a42 a43 a44

Then

det(A) = a11C11 + a12C12 + a13C13 + a14C14


= a11 (−1)(1+1) M11 + a12 (−1)(1+2) M12 + a13 (−1)(1+3) M13 + a14 (−1)(1+4) M14

where

   
a22 a23 a24 a21 a23 a24
M11 = a32 a33 a34  , M12 = a31 a33 a34  ,
a42 a43 a44 a41 a43 a44

   
a21 a22 a24 a21 a22 a23
M13 = a31 a32 a34  , M14 = a31 a32 a33  .
a41 a42 a44 a41 a42 a43

 Example
 2.19 Find the determinant
 of the matrix.  
1 6 3 2 4 1 5 2
 5 −1 4 1  2 1 0 1
(1) A = 
−2
 (2) B =  
9 7 3 0 1 3 9
7 1 3 −6 1 7 4 6
36 Matrices and Determinants

Solution:

−1 4 1
7 3 9 3 9 7
(1) det(A1 ) = 9 7 3 = −1 −4 +1
3 −6 1 −6 1 3
1 3 −6
= −1(−42 − 9) − 4(−54 − 3) + 1(27 − 7) = 51 + 228 + 20 = 299 .
5 4 1
7 3 −2 3 −2 7
det(A2 ) = −2 7 3 =5 −4 +1
3 −6 7 −6 7 3
7 3 −6
= 5(−42 − 9) − 4(12 − 21) + 1(−6 − 49) = −255 + 36 − 55 = −274 .
5 −1 1
9 3 −2 3 −2 9
det(A3 ) = −2 9 3 =5 +1 +1
1 −6 7 −6 7 1
7 1 −6
= 5(−54 − 3) + 1(12 − 21) + 1(−2 − 63) = −285 − 9 − 65 = −359 .
5 −1 4
9 7 −2 7 −2 9
det(A4 ) = −2 9 7 =5 +1 +4
1 3 7 3 7 1
7 1 3
= 5(27 − 7) + 1(−6 − 49) + 4(−2 − 63) = 100 − 55 − 260 = −215 .

Thus,

det(A) = 1 det(A1 ) − 6 det(A2 ) + 3 det(A3 ) − 2 det(A4 ) = 1(299) − 6(−274) + 3(−359) − 2(−215) = 1296 .

1 0 1
3 9 1 9 1 3
(2) det(B1 ) = 1 3 9 =1 −0 +1
4 6 7 6 7 4
7 4 6
= 1(18 − 36) − 0 + 1(4 − 21) = −18 − 17 = −35 .
2 0 1
3 9 0 9 0 3
det(B2 ) = 0 3 9 =2 −0 +1
4 6 1 6 1 4
1 4 6
= 2(18 − 36) − 0 + 1(0 − 3) = −36 − 3 = −39 .
2 1 1
1 9 0 9 0 1
det(B3 ) = 0 1 9 =2 −1 +1
7 6 1 6 1 7
1 7 6
= 2(6 − 63) − 1(0 − 9) + 1(0 − 1) = −114 + 9 − 1 = −106 .
2 1 0
1 3 0 3 0 1
det(B4 ) = 0 1 3 =2 −1 +0
7 4 1 4 1 7
1 7 4
= 2(4 − 21) − 1(0 − 3) + 0 = −35 + 3 = −32 .

Thus,

det(B) = 4 det(B1 ) − 1 det(B2 ) + 5 det(B3 ) − 2 det(B4 ) = 4(−35) − 1(−39) + 5(−106) − 2(−32) = −773 .
Matrices 37

Theorem 2.14
1. If A is a square matrix having a zero row (or a zero column), then det(A) = 0.

2. If A is a square matrix having two equal rows (or two equal columns), then det(A) = 0.

3. If A is a square matrix having a row which is a multiple of another row (or a column which is a multiple of another
column), then det(A) = 0.

4. If A is a diagonal matrix or an upper triangular matrix or a lower triangular matrix, then det(A) is the product of the
elements of the main diagonal.

5. The determinant of the null matrix is 0 and the determinant of the identity matrix is 1.

6. If B is obtained from A by multiplying a row (or column) by λ, then det(B) = λ det(A).

7. If B is obtained from A by interchanging two rows (or two columns), then det(B) = −det(A).

8. If B is obtained from A by multiplying a row by a non-zero constant and adding the result to another row (or multiplying
a column by a non-zero constant and adding the result to another column), then det(B) = det(A).

 Example
 2.20 Find
 the determinant the matrix.  
1 2 −2 1 2 −2
(1) A = 0 0 0 (3) C = 4 7 5
3 4 7 3 6 −6
   
1 2 1 3 1 4
(2) B = 6 5 6 (4) D = 0 −1 2
3 4 3 0 0 5

Solution:

(1) The matrix A contains a zero row, so from (item 1) in Theorem 2.14, we have det(A) = 0.
(2) The matrix A contains two equal columns, so from (item 2) in Theorem 2.14, we have det(A) = 0.
(3) The third row in matrix A is a multiple of the first row by 2, so from (item 3) in Theorem 2.14, we have det(A) = 0.
(4) The matrix A is an upper triangular matrix, so from (item 4) in Theorem 2.14, we have det(A) = −15.

 Example
 2.21 Findthe determinant the matrix.  
1 3 1 4 2 −1
(1) A = 4 2 −1 (3) C = 1 3 1
0 −3 2 0 −3 2
   
2 6 2 1 3 1
(2) B = 4 2 −1 (4) D = 6 8 2
0 −3 2 0 −3 2

Solution:

(1) det(A) = 1(4 − 3) − 3(8 − 0) + 1(−12 − 0) = −35.


(2) The matrix B is obtained from A (in item 1) by multiplying the first row by 2, then det(B) = 2det(A) = −70.
(3) The matrix C is obtained from A by interchanging the first and second rows, then det(C) = −det(A) = 35.
(4) The matrix C is obtained from A by multiplying the first row by 2 and adding the result to the second row. Therefore, det(D) =
det(A) = −35.
Exercises 38

Theorem 2.15
1. Let A and B be square matrices of order n. Then det(AB) = det(A)det(B).
2. Let A be a square matrix. Then det(A) = det(At ).

   
1 3 −2 0
 Example 2.22 If A = and B = , find (1) det(AB) (2) det(At ).
4 2 3 1

Solution:

First, we compute det(A) and det(B).

1 3 −2 0
det(A) = = −10 and det(B) = = −2.
4 2 3 1

(1) From Theorem 2.15, det(AB) = det(A)det(B) = −10 × (−2) = 20.


(2) From Theorem 2.15, det(At ) = det(A) = −10.

Exercises

     
1 3 2 5 0 −2 0
1 - 10 If A = 5 −4 6 , B =  1 4  and C =  0 7, compute the following (if possible):
0 9 2 10 11 5 3

1 B +C 6 BA

2 2B + 3C 7 At

3 C−B 8 (3A)t

4 A −C 9 det(A)

5 AB 10 det(2A)

   
4 −1 −2 1  
1 2 1
11 - 20 If A = 1 5 ,B= 3 6 and C = , compute the following (if possible):
9 5 3
2 7 1 4

11 A + B 16 BC

12 5A 17 AB

13 −3A + 2B 18 Bt

14 A −C 19 (2A)t

15 AC 20 (At )t

21 - 24 If det(B) = 2 and det(A) = −3, find the following:


Exercises 39

21 7det(A) 23 det(At )

22 det(AB) 24 det((AB)t )
25 - 32 Find the determinant.
1 −2 2 3
25 29
2 7 1 4

3 1 3 2 −2 2
26 7 2 9 30 −3 10 1
1 7 4 5 1 1

4 −2 3 1 −2 3
27 3 7 2 31 4 0 1
6 9 5 2 7 0

4 −2 3 1 1 5 3 6
3 7 2 2 1 0 1 2
28 32
6 9 5 −1 2 7 0 1
1 0 5 1 2 1 0 1
40 Chapter 3. SYSTEMS OF LINEAR EQUATIONS

Chapter 3

SYSTEMS OF LINEAR EQUATIONS

3.1 Linear Systems

Definition 3.1 A linear system of m equations in n unknowns x1 , x2 , ..., xn is a set of equations of the form

a11 x1 + a12 x2 + a13 x3 + ... + a1n xn = b1


a21 x1 + a22 x2 + a23 x3 + ... + a2n xn = b2
a31 x1 + a32 x2 + a33 x3 + ... + a3n xn = b3 (3.1)
··· +··· +··· +··· +··· = ···
am1 x1 + am2 x2 + am3 x3 + ... + +amn xn = bm

where ai j , b j ∈ R for 1 ≤ i ≤ n and 1 ≤ j ≤ m.

The above system of linear equations can be written as AX = B where

···
     
a11 a12 a1n x1 b1
a21 a22 ··· a2n  x2  b2 
A= . ..  , X =  ..  , and B =  ..  .
     
.. ..
 .. . . .  . .
an1 an2 ··· ann xn bn

A is called the coefficients matrix

X is called the column vector of the variables (or column vector of the unknowns)

B is called the column vector of constants (or column vector of the resultants)

A special case of the linear system of equations is a system of two different variables x1 and x2 :

a11 x1 + a12 x2 = b1
a21 x1 + a22 x2 = b2
     
a11 a12 x b
The above system of linear equations can be written as AX = B where A = , X = 1 , and B = 1 .
a21 a22 x2 b2
Solution of Linear Equations Systems 41

3.2 Solution of Linear Equations Systems

A solution of the linear system Ax = B is a column vector Y with entries y1 , y2 , ..., yn such that the linear system (3.1) is satisfied if we
replace yi with xi i.e., AY = B holds where Y t = [y1 , y2 , ..., yn ]. Note that for the linear system of equations AX = 0, the column vector
X t = [0, 0, ..., 0] is always solution and it is called the trivial solution.

In this chapter, we present three methods to solve the system of linear equations (3.1): Cramer’s method, Gauss elimination method,
and Gauss-Jordan method.

3.2.1 Cramer’s Method

Theorem 3.2 Let AX = B be a linear system with n equations in n variables. The system has a solution if det(A) 6= 0.

Theorem 3.3 Let AX = B be a linear system with n equations in n variables. If det(A) 6= 0, then the unique solution to this
system is
det(Ai )
xi = for everyi = 1, 2, ..., n ,
det(A)
where Ai is the matrix formed by replacing the ith column of A by the column vector of constants B.

The matrix A1 is formed by replacing the first column of A by the column vector of constants B:

b1 a12 · · · a1n
 
b2 a22 · · · a2n 
A1 =  . ..  .
 
.. ..
 .. . . . 
bn an2 · · · ann

The matrix A2 is formed by replacing the second column of A by the column vector of constants B:

a11 b1 · · · a1n
 
a21 b2 · · · a2n 
A2 =  . ..  .
 
.. ..
 .. . . . 
an1 bn · · · ann

By continuing doing so, the matrix An is formed by replacing the last column of A by the column vector of constants B:

a11 a12 · · · b1
 
a21 a22 · · · b2 
An =  . ..  .
 
.. ..
 .. . . .
an1 an2 · · · bn

 Example 3.1 Solve the linear system by Cramer’s rule.

(1) 2x + 3y = 7 (3) x1 + 2x2 = 1


−x+y = 4 2x1 + x2 = −1

(2) 2x + y + z = 3 (4) x + y + z = 12
4x + y − z = −2 x−y = 2
2x − 2y + z = 6 x−z = 4
42 Chapter 3. SYSTEMS OF LINEAR EQUATIONS

Solution:
 
2 3
(1) A = ⇒ det(A) = 5.
−1 1
 
7 3
A1 = ⇒ det(A1 ) = −5.
4 1
 
2 7
A2 = ⇒ det(A2 ) = 15.
−1 4
Hence,
det(A1 ) −5 det(A2 ) 15
x1 = = = −1 and x2 = = =3
det(A) 5 det(A) 5
 
−1
The column vector of variables is X = .
3
 
2 1 1
(2) A = 4 1 −1 ⇒ det(A) = −18.
2 −2 1
 
3 1 1
A1 = −2 1 −1 ⇒ det(A1 ) = −9.
6 −2 1
 
2 3 1
A2 = 4 −2 −1 ⇒ det(A2 ) = 18.
2 6 1
 
2 1 3
A3 = 4 1 −2 ⇒ det(A3 ) = −54.
2 −2 6
Hence,
det(A1 ) −9 1 det(A2 ) 18 det(A3 ) −54
x= = = , y= = = −1 and z = = =3.
det(A) −18 2 det(A) −18 det(A) −18
 1 
2
The column vector of variables is X = −1.
3
 
1 2
(3) A = ⇒ det(A) = −3.
2 1
 
1 2
A1 = ⇒ det(A1 ) = 3.
−1 1
 
1 1
A2 = ⇒ det(A2 ) = −3.
2 −1
From this,
det(A1 ) 3 det(A2 ) −3
x1 = = = −1 and x2 = = =1.
det(A) −3 det(A) −3
 
−1
The column vector of variables is X = .
1
 
1 1 1
(4) A = 1 −1 0  ⇒ det(A) = 3.
1 0 −1
 
12 1 1
A1 =  2 −1 0  ⇒ det(A1 ) = 18.
4 0 −1
 
1 12 1
A2 = 1 2 0  ⇒ det(A2 ) = 12.
1 4 −1
 
1 1 12
A3 = 1 −1 2  ⇒ det(A3 ) = 6.
1 0 4
Therefore,
det(A1 ) 18 det(A2 ) 12 det(A3 ) 6
x= = = 6, y = = = 4 and z = = =2.
det(A) 3 det(A) 3 det(A) 3
Gauss Elimination Method 43

 
6
The column vector of variables is X = 4.
2

3.3 Gauss Elimination Method

Definition 3.4 The following operations are called elementary operations:


1. Interchange of two equations.
2. Multiply a non-zero constant throughout an equation.
3. Replace an equation by itself plus a constant multiple of another equation.

Definition 3.5 Two linear systems are said to be equivalent if one can be obtained from the other by a finite number of
elementary operations.

The elementary operations help us in getting a linear system from the system (3.1), which is easily solvable.

Theorem 3.6 Let CX = D be the linear system obtained from the linear system AX = B by a finite number of elementary
operations. Then, the linear systems AX = B and CX = D have the same set of solutions.

Elementary Row Operations


Rewriting the system of linear equations in matrix form simplifies the solution process. The operations on the corresponding matrix are
exactly the same operations on the original system of equations as follows:
1. In the linear system, we can multiply the corresponding equation by a real number λ 6= 0. In a matrix, we can multiply the elements
of one row by that number.
2. In the linear system, we can replace one of the original equations with another after multiplying by a number. In a matrix, we can
substitute any row with another row after adding one multiplied by that number.
3. In the linear system, we can interchange any two equations. In the matrix, we can interchange the two corresponding rows.
The previous operations can be summarized in the following table:

Elementary Operations

Elementary Operations on Linear Systems Elementary Row Operations

Multiply ith equation by λ Multiply ith row (Ri ) by λ:


λRi
−−→

Multiply ist equation by λ and add the result Multiply ith row (Ri ) by λ and add the result
λRi + R j
to jth equation to jth row (R j ): −−−−−→

Replace ith equation by jth equation Replace ith row (Ri ) by jth row (R j ):

Ri ↔ R j

Table 3.1

For example, for a linear system with two equations

x + y = 11 → 1
2x + y = 25 → 2
44 Chapter 3. SYSTEMS OF LINEAR EQUATIONS

Multiply the 1st row by −2 and add the result to 2nd row

−2x − 2y = −22
2x + y = 25

This can be represented by the following elementary row operation:


   
1 1 11 −2R1 + R2 −2 −2 −22
[A|B] = −−−− −−→
2 1 25 2 1 25

Definition 3.7 Two matrices are said to be row-equivalent if one can be obtained from the other by a finite number of
elementary row operations.

Example 3.2 The three matrices given below are row equivalent.
     
2 −3 1 −1 5 2 −2 10 4
 −1 R 1 ↔R2 2R 1
5 2  −−−−−→  2 −3 1  −−→  2 −3 1 .
1 −2 −7 1 −2 −7 1 −2 −7

Definition 3.8 Gaussian elimination is a method of solving a linear system AX = B by constructing the augmented matrix
[A|B] and transforming the matrix A to an upper triangular matrix [C|D].

The Method:

1. Construct the augmented matrix [A|B]:


···
 
a11 a12 a1n b1
 a21 a22 ··· a2n b2 
.
 
 .. .. .. .. ..
 . . . . . 
an1 an2 ··· ann bn

2. Use the elementary row operations on the augmented matrix to transform the matrix A to an upper triangular matrix with a leading
coefficient of each row equals 1:

1 ···
 
c12 c13 c14 c1n d1
 0 1 c33 c24 ··· c2n d2 
.. .. .. .. .. ..
 
 .. .


 . . . . . . . 
 0 0 0 ··· 1 c(n−1)n dn−1 
0 0 0 ··· 1 1 dn

3. From the last augmented matrix, we have xn = dn and the rest of the unknowns can be calculated by backward substitution.

 Example 3.3 Solve the linear system by Gauss elimination method.

(1) 3x1 + x2 = 9 (3) x + y + z = 2


x1 + 2x2 = 8 x − y + 2z = 0
2x + z = 2
(2) x − 2y + z = 4 (4) x + 2y + 3z = 14
− x + 2y + z = −2 2x + y + 2z = 10
4x − 3y − z = −4 3x + 4y − 3z = 2
Gauss-Jordan Method 45

Solution: For each system, construct the augmented matrix [A|B]. Then, use elementary row operations on the augmented matrix to
transform the matrix A to an upper triangular matrix with leading coefficient of each row equals 1.

      1  
3 1 9 R ↔R2 1 2 8 -3 R1 + R2 1 2 8 − R1 1 2 8
(1) [A|B] = −−1−−−→ −−−− −−→ −−5−→ .
1 2 8 3 1 9 0 −5 −13 0 1 13 5
Thus, x2 = 13 and x1 + 2x2 = 8. By substituting the value of x2 , we obtain x1 = 14
5 . Therefore, the column vector of variables is
 14  5
X = 13 5 .
5
     
1 −2 1 4 1 −2 1 4 1 −2 1 4 1
R2
1R + R R2 ↔ R3
(2) [A|B] =  −1 2 1 1
−2  −−−−−−→ 0 2
0 2 2  −−−−−→ 0 5 −5 −20  −5−→
−4R1 + R3 1
4 −3 −1 −4 0 5 −5 −20 0 0 2 2 2 R3
 
1 −2 1 4
 0 1 −1 −4  .
0 0 1 1

 y − z = −4 and x − 2y + z = 4. By doing some substitution, we obtain y = −3 and x = −3. The column vector of variables
z = 1,
Hence, 
−3
is X = −3 .
1
     
1 1 1 2 1 1 1 2 1 1 1 2
−1R 1 + R 2  −1R2 + R3
(3) [A|B] =  1 −1 2 0  −−−− −−→ 0 −2 1 −2  −−−−−−→ 0 −2 1 −2 
−2R1 + R3
2 0 1 2 0 −2 −1 −2 0 0 −2 0
 
1 1 1 2
− 1 R2
−−2−→ 0 1 − 12 1  .
− 12 R3
0 0 1 0

Thus, z = 0, y − 12 z = 1 and x + y + z = 2. By substituting the value of z and then y, we have y = 1 and x = 1. The column vector of
 
1
variables is X = 1 .
0
     
1 2 3 14 1 2 3 14 − 12 R3
1 2 3 14
−2R 1 + R 2
(4) [A|B] =  2 1 2 10  −−−−−−→ 0 −3 −4 −18  −−−→ 0 −3 −4 −18 
−3R1 + R3
3 4 −3 2 0 −2 −12 −40 0 1 6 20
     
1 2 3 14 1 2 3 14 1
R
1 2 3 14
R ↔ R3 3R2 + R3 3
−−2−−−→  0 1 6 20  −−−−−→ 0 1 6 20  −− 14
−→ 0 1 6 20  .
0 −3 −4 −18 0 0 14 42 0 0 1 3

Hence, we have z = 3, y + 6z =


 20 and x + 2y + 3z = 14. By substituting the value of z and then y, we have y = 2 and x = 1. The column
1
vector of variables is X = 2 .
3

3.4 Gauss-Jordan Method

Definition 3.9 Gauss-Jordan elimination is a method of solving a linear system AX = B by constructing the augmented matrix
[A|B] and transforming the matrix A to an identity matrix [In |D].
Exercises 46

The Method:

1. Construct the augmented matrix [A|B] .


···
 
a11 a12 a1n b1
 a21 a22 ··· a2n b2 
.
 
 .. .. .. .. ..
 . . . . . 
an1 an2 ··· ann bn

2. Use the elementary row operations on the augmented matrix [A|B] to transform the matrix A to the identity matrix In .

···
 
1 0 0 0 0 d1

 0 1 0 0 ··· 0 d2 

.. .. .. .. ..
.
 

 . . . . . 
 0 0 0 ··· 1 0 dn−1 
0 0 0 0 ··· 1 dn

3. From the last augmented matrix, xi = di for every i = 1, 2, , n.

 Example 3.4 Solve the linear system by Gauss-Jordan elimination method.

(1) x + y = 2 (3) x − 2y + 2z = 5
2x + y = 1 5x + 3y + 6z = 57
x + 2y + 2z = 21
(2) x + y + z = 2
x − y + 2z = 0
2x + z = 2

Solution: For each linear system, construct the augmented matrix [A|B]. Then, use the elementary row operations on the augmented
matrix to transform the matrix A to the identity matrix In .
       
1 1 2 −2R + R
1 2 1 1 2 1R + R
2 1 0
1 −1 −1R2 1 0 −1
(1) [A|B] = −−−− −−→ −−− −−→ −−−→ .
2 1 1 0 −1 −3 0 −1 −3 0 1 3
 
−1
Thus, x = −1 and y = 3. The column vector of variables is X = .
3
     
1 1 1 2 1 1 1 2 1 1 1 2 − 1 R2
−1R 1 + R 2 −1R2 + R3
(2) [A|B] =  1 −1 2 0  −−−−−−→ 0 −2 1 −2  −−−−−−→  0 −2 1 −2  −−2−→
−2R1 + R3 − 12 R3
2 0 1 2 0 −2 −1 −2 0 0 −2 0
       
1 1 1 2 1 1 1 1 2 1 0 1 1 1 0 0 1
R 3 + R 2 −1R + R −1R + R
 0 1 − 1 1  −2−−−−→  0 1 0 1  −−−− 2
−−→ 1 
0 1 0 1  −−−− 3
−−→ 1 
0 1 0 1 .
2
0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0
 
1
Hence, x = 1, y = 1 and z = 0. The column vector of variables is X = 1 .
0
     
1 −2 2 5 1 −2 2 5 1
R
1 −2 2 5
−5R1 + R2  3 R ↔ R3
(3) [A|B] =  5 3 6 57  −−−− −−→ 0 13 −4 32  −4−→  0 13 −4 32  −−2−−−→
−1R1 + R3
1 2 2 21 0 4 0 16 0 1 0 4
       
1 −2 2 5 1 −2 2 5 1
− 4 R3
1 −2 2 5 1 0 2 13
−13R2 + R3 2R 2 + R 1 −2R3 + R1
 0 1 0 4  −−−−−−−→  0 1 0 4  −−−→  0 1 0 4  −−−−−→  0 1 0 4  −−−− −−→
0 13 −4 32 0 0 −4 −20 0 0 1 5 0 0 1 5
 
1 0 0 3
 0 1 0 4 .
0 0 1 5
 
3
Hence, x = 3, y = 4 and z = 5. The column vector of variables is X = 4 .
5
Exercises 47

Exercises

1-8 Use Cramer’s rule to solve the system of linear equations

1 x + y + z = 18 5 x+y−z = 1
x−y+z = 6 x − y + 2z = 2
x+y−z = 4 4x + y − z = 2

2 x1 + x2 − 2x3 = 1 6 x1 + 3x2 − x3 = 2
2x1 − 3x2 + x3 = −8 x1 − x2 + 5x3 = 3
3x1 + x2 + 4x3 = 7 3x1 + x2 − x3 = 1

3 x + 2y − z = −1 7 x + y − z = −3
x − 3y + 2z = 3 x − 6y + 5z = 1
x+y−z = 2 x + 4y + z = 1

4 2x1 + 2x2 − x3 = 1 8 2x − 4y + 3z = 10
2x1 − x2 + 2x3 = 1 3x + y − 2z = 6
x1 + x2 − 4x3 = 5 x + 3y − z = 20

9 - 16 Use Gauss elimination method to solve the system

9 x + y + z = 18 13 x1 + 4x2 − x3 = 1
x−y+z = 6 x1 − 2x2 + 7x3 = 9
x+y−z = 4 x1 + 2x2 + x3 = 3

10 x1 + 3x2 − x3 = 2 14 x + 2y + z = 11
x1 − x2 + 5x3 = 3 x + y − z = 20
3x1 + x2 − x3 = 1 x−y+z = 5

11 x − y − z = 1 15 x1 + 2x2 + x3 = 15
x − 6y + 5z = 4 x1 + 3x2 + x3 = 5
2x + y + z = 6 − 3x1 − x2 + 2x3 = 1

12 x1 − x2 − x3 = 4 16 x + y + z = 12
− 2x1 − x2 + x3 = 2 x−y = 2
x1 + x2 + 3x3 = 7 x−z = 4

17 - 24 Use Gauss-Jordan method to solve the system


Exercises 48

17 x − 3y + z = 21 21 2x + y + 3z = 5
4x + 2y + z = 14 − 5x − 3y + z = 13
3x + 3y + z = 7 x + y + 2z = 7

18 x1 + 3x2 − x3 = 2 22 x1 + x2 + x3 = 1
x1 − x2 + 5x3 = 3 − x1 + x2 + x3 = 3
3x1 + x2 − x3 = 1 2x1 + x2 − 3x3 = 5

19 2x + 2y + 6z = 8 23 x1 + 6x2 + 3x3 = 4
x + 2y − z = 1 2x1 + x2 + 2x3 = 1
x + y − 3z = 1 3x1 + x2 + x3 = 5

20 x1 + x2 − 2x3 = 1 24 2x − 4y + 3z = 10
2x1 − 3x2 + x3 = −8 3x + y − 2z = 6
3x1 + x2 + 4x3 = 7 x + 3y − z = 20
49

Chapter 4

INTEGRATION

4.1 Antiderivatives and Indefinite Integrals

We begin with a definition of antiderivatives and indefinite integrals. Then, we provide basic integration rules.

4.1.1 Antiderivatives

Definition 4.1 A function F is called an antiderivative function of a function f on an interval I if


0
F (x) = f (x) for every x ∈ I.

 Example 4.1
(1) Consider the functions F(x) = x3 + 4x2 − x + 5 and f (x) = 3x2 + 8x − 1.

0
Since F (x) = 3x2 + 8x − 1 = f (x), then the function F(x) is an antiderivative of f (x).

(2) Consider the functions G(x) = tan x + x2 − 1 and g(x) = sec2 x + 2x.

0
Since G (x) = sec2 x + 2x = g(x), then the function G(x) is an antiderivative of g(x).

Now, assume that F(x) is an antiderivative function of a function f (x), then every function F(x) + c is also antiderivative of f (x), where
c is a constant. For different values of the constant c, we have different antiderivatives, but they are very similar geometrically. The
upcoming theorem states that any antiderivative G(x), which is different from F(x) can be expressed as F(x) + c where c is an arbitrary
constant. In particular, if F(x) and G(x) are antiderivative functions of f (x), then

G(x) = F(x) + c .

Theorem 4.2 Functions with same derivatives differ by a constant.

 Example 4.2 If f (x) = 3x2 , the following functions

F(x) = x3 + 2,
G(x) = x3 − 21 , F(x) − G(x) = x3 + 2 − (x3 − 12 ) = 52 = c
√ √
√ F(x) − H(x) = x3 + 2 − (x3 + 3 2) = 2 − 3 2 = c
H(x) = x3 + 3 2
50 INTEGRATION

are antiderivative functions of the function f (x). The difference between any two antiderivative functions is a constant c. Therefore,
F(x) = x3 + c is a general form of the antiderivatives of the function f (x) = 2x.

4.1.2 Indefinite Integrals

From Theorem 4.2, if F(x) + c is an antiderivative function of f (x), then there exist no antiderivative R
functions in different forms for
the function f (x). This leads us to define the indefinite integral. We introduce a symbol, namely, f (x) dx which will represent the
antiderivative the function f (x) and it is read as the indefinite integral of the function f with respect to x.

Definition 4.3 Let f be a continuous function on an interval I. The indefinite integral of f is the general antiderivative of f on
I: Z
f (x) dx = F(x) + c.
Z
The function f is called the integrand, the symbol is the integral sign, x is called the variable of the integration and c is the
constant of the integration.

Now, by using the previous definition, the general antiderivatives in Example 4.1 are
Z
(1) (3x2 + 8x − 1) dx = x3 + 4x2 − x +c.
| {z }
= F(x)
Z
(2) (sec2 x + 2x) dx = tan x + x2 +c.
| {z }
= F(x)

4.2 Properties of Indefinite Integrals

Theorem 4.4 Assume f and g have antiderivatives on an interval I, then

d
Z Z  Z Z
1. f (x) dx = f (x). 3. f (x) ± g(x) dx = f (x) dx ± g(x) dx.
dx
Z Z
d
Z
2. (F(x)) dx = F(x) + c. 4. k f (x) dx = k f (x) dx, where k is a constant.
dx

Notes

The properties 3. and 4. can be generalized to a finite number of functions f1 , f2 , ..., fn and real numbers, k1 , k2 , ..., kn :
Z  Z Z Z
k1 f1 (x) + k2 f2 (x) + ... + kn fn (x) dx = k1 f1 (x) dx + k2 f2 (x) dx + ... + kn fn (x) dx .

For property 3., we shall write only one constant of integration in the final answer.

4.2.1 Integration as an Inverse Process of Differentiation

In this section, we are given the derivative of certain functions and asked to find their antiderivatives. We will notice that the antiderivative
functions are obtained directly from the corresponding formula for differentiation. That is, by knowing the derivation formulas, we can
write the corresponding formulas for integration.
Properties of Indefinite Integrals 51

Rule 1: Power of x.
d xn+1 xn+1
Z
( ) = xn , so xn dx = + c for n 6= −1 . Note
dx n + 1 n+1
Note that Rule 1 cannot be applied
In words, to integrate the function xn , we add 1 to the power (i.e., for n = −1.
n + 1) and divide the function by n + 1.
For this value, the formula gives
For n = 0, we have a special case
x0
Z
Z x−1 dx = =∞.
1 dx = x + c. 0

 
d xn+1
Recall, if c ∈ R, then dx n+1 + c = xn . Thus, antiderivatives are
not unique.

 Example 4.3 Evaluate the integral.


Z
(1) (x + 1) dx
Z
(2) (4x3 + 2x2 + 1) dx

1
Z
(3) x2 − dx
x3

Solution:

x2
Z Z Z
(1) (x + 1) dx = x dx + 1 dx = +x+c .
2
4x4 2 3 2
Z Z Z Z
(2) (4x3 + 2x2 + 1) dx = 4x3 dx + 2x2 dx + 1 dx = + x + x + c = x4 + x3 + x + c .
4 3 3
1 x3 x−2
Z Z Z
(3) x2 − dx = x2 dx − x−3 dx = + +c .
x3 3 2

Rule 2: Trigonometric Functions.

Z Z
d
• dx (sin x) = cos x ⇒ cos dx = sin x + c • d
dx (cot x) = − csc x ⇒ − csc2 x dx = cot x + c
Z Z
d d
• dx (cos x) = − sin x ⇒ − sin x dx = cos x + c • dx (sec x) = sec x tan x ⇒ sec x tan x dx = sec x + c
Z Z
• d
dx (tan x) = sec2 x ⇒ sec2 x dx = tan x + c • d
dx (csc x) = − csc x cot x ⇒ − csc x cot x dx = csc x + c

 Example 4.4 Evaluate the integral.


Z
(1) (sin x − csc x cot x) dx

1
Z  
(2) + cos x dx
sec x
tan x
Z  
(3) − x2 dx
cos x

Solution:
Z Z Z
(1) (cos x − csc x cot x) dx = cos x dx − csc x cot x dx = sin x + csc x + c .
52 INTEGRATION

1
Z   Z Z
(2) − sin x dx = cos x dx − sin x dx = sin x + cos x + c .
sec x
tan x x3
Z   Z Z
(3) − x2 dx = tan x sec x dx − x2 dx = sec x − + c .
cos x 3

Rule 3: Natural Logarithmic and Exponential Functions.

ln : (0, ∞) −→ R ,
If u = g(x) is a differentiable function, then
0
Z 0
u e : R −→ (0, ∞) ,
d
ln |u| = uu =⇒

• dx dx = ln |u| + c
u y = ex ⇔ ln y = x
3 y

As special case:
1
Z
d
 1 2
dx ln |x| = x =⇒ dx = ln |x| + c
x y = ex

1 y = ln x
Z
d
eu = eu .u0 =⇒ eu u0 dx = eu + c

• dx x
1 2 3 4

As special case: Z −1
d x x ex dx = ex + c

dx e = e =⇒
−2

 Example 4.5 Evaluate the integral.


sin x
Z
3
Z
(1) dx (6) dx
x cos x
Z Z
2
x3 + x−1 + ex dx 2x e(x +1)

(2) (7) dx
Z
1 1
Z 
(3) + dx (8) sin x ecos x dx
3e−x x2

1 e x
Z Z
(4) dx (9) √ dx
x+2 x
3x2 − 1 etan x
Z Z
(5) dx (10) dx
2x3 − x2 + 1 cos2 x

Solution:
3 1
Z Z
(1) dx = 3 dx = 3 ln |x| + c.
x x
1 x4
Z Z Z Z
x3 + x−1 + ex dx = x3 dx + dx + ex dx = + ln |x| + ex + c.

(2)
x 4
1 1 1 1
Z  Z Z
(3) −x
+ 2 dx = ex dx + x−2 dx = ex − x−1 + c.
3e x 3 3
1
Z
(4) dx = ln |x + 2| + c.
x+2
3x2 − 1 1 2(3x2 − 1)
Z Z
(5) dx = dx = ln |2x3 − x2 + 1| + c.
2x − x2 + 1
3 2 2x3 − x2 + 1
Properties of Indefinite Integrals 53

sin x − sin x
Z Z
(6) dx = − dx = ln | cos x| + c.
cos x cos x
Z
2 2
(7) 2x e(x +1)
dx = e(x +1)
+c
Z Z
(8) sin x ecos x dx = − − sin x ecos x dx = ecos x + c.

e x √ 1 √
Z Z
√ dx = 2 x √ dx = 2e x + c.
(9) e
x 2 x
etan x 1
Z Z Z
(10) dx = etan x
dx = etan x
sec2 x dx = etan x + c.
cos2 x cos2 x

Rule 4: Inverse Trigonometric Functions.


d
sin−1 = √ 1 2 d
cot−1 1

• dx • dx = − 1+x 2
1−x

d
sec−1 √1

d
cos−1 1 •

• = −√ dx =
dx 1−x2 x x2 −1

d
csc−1 √1

d
tan−1 1 • =−

• dx = 1+x2 dx x x2 −1

In general, we have

1 x
Z
• √ dx = sin−1 +c
2
a −x 2 a

1 1 x
Z
• dx = tan−1 +c
a2 + x2 a a

1 1 x
Z
• √ dx = sec−1 +c
2
x x −a2 a a

 Example 4.6 Evaluate the integral.

6
Z
(1) dx
4 + x2
1 1 
Z 
(2) √ + √ dx
1−x 2 x
1
Z  
(3) 5x + √ dx
2
x x −5

Solution:
6 1 x
Z Z
(1) 2
dx = 6 2
dx = 3 tan−1 ( ) + c.
4+x 4+x 2
Z 
1 1  Z
1
Z
1 √
(2) √ + √ dx = √ dx + x− 2 dx = sin−1 x + 2 x + c.
1−x 2 x 1−x 2

1 1 5x2 1 x
Z   Z Z
(3) 5x + √ dx = 5x dx + √ dx = + √ sec−1 ( √ ) + c.
x x2 − 5 x x2 − 5 2 5 5

Notes
54 INTEGRATION

When evaluating an integral, we can always verify our answer by deriving the result of the integral.

In the previous examples, we use x as a variable of the integral. However, for this role, we can use any variable such as y, z, t,
etc . That is, instead of f (x) dx, we can integrate f (y) dy or f (t) dt.

 Example 4.7 Evaluate the integral.


Z
(1) (y2 + y + 1) dy
Z
(2) (cos t + sec2 t) dt

Solution:
y3 y2
Z
(1) (y2 + y + 1) dy = + +y+c .
3 2
Z
(2) (cos t + sec2 t) dt = sin t + tan t + c .

4.3 Definite Integrals

4.3.1 Summation Notation

Summation (or sigma notation) is a simple form used to give a concise expression for a sum of values.

n
Definition 4.5 Let {a1 , a2 , ..., an } be a set of numbers. The symbol ∑ ak represents their sum:
k=1
n
∑ ak = a1 + a2 + ... + an .
k=1

 Example 4.8 Evaluate the sum.


3 5 3
(1) ∑ i2 (2) ∑ ( j + 1) (3) ∑ (k + 1)k2
i=1 j=1 k=1

Solution:
3
(1) ∑ i2 = 12 + 22 + 32 = 1 + 4 + 9 = 14.
i=1
5
(2) ∑ ( j + 1) = (1 + 1) + (2 + 1) + (3 + 1) + (4 + 1) + (5 + 1) = 2 + 3 + 4 + 5 + 6 = 20.
j=1
3
(3) ∑ (k + 1)k2 = (1 + 1)(1)2 + (2 + 1)(2)2 + (3 + 1)(3)2 = 2 + 12 + 36 = 50.
k=1

Theorem 4.6 Let {a1 , a2 , ..., an } and {b1 , b2 , ..., bn } be sets of real numbers. If n is any positive integer, then
n
1. ∑ c = c + c + ... + c = nc for any c ∈ R.
k=1 | {z }
n-times

n n n
2. ∑ (ak ± bk ) = ∑ ak ± ∑ bk .
k=1 k=1 k=1

n n
3. ∑ c ak = c ∑ ak for any c ∈ R.
k=1 k=1
Definite Integrals 55

 Example 4.9 Evaluate the sum.


10 3 4
(1) ∑ 6 (2) ∑ (k2 + 2k) (3) ∑ 3(k + 1)
k=1 k=1 k=1

Solution:
10
(1) ∑ 6 = (10)(6) = 60.
k=1
3 3 3
(2) ∑ (k2 + 2k) = ∑ k2 + 2 ∑ k = (12 + 22 + 32 ) + 2(1 + 2 + 3) = 14 + 12 = 26.
k=1 k=1 k=1
4 4
(3) ∑ 3(k + 1) = 3 ∑ (k + 1) = 3(2 + 3 + 4 + 5) = 42.
k=1 k=1

4.3.2 Riemann Sum and Area

Riemann sum is a mathematical model where one of its applications is to approximate the areas of the regions bounded by the graphs of
the functions. In the following, we will provide some basic definitions that we need to define the definite integral.

Definition 4.7 A set P = {x0 , x1 , x2 , ..., xn } is called a partition of a closed interval [a, b] if for any positive integer n,

a = x0 < x1 < x2 < .... < xn−1 < xn = b.

Figure 4.1: A partition of the interval [a, b].

Notes

The division of the interval [a, b] by a partition P generates n subintervals: [x0 , x1 ], [x1 , x2 ], [x2 , x3 ], ..., [xn−1 , xn ].

The length of each subinterval [xk−1 , xk ] is ∆xk = xk − xk−1 .

The largest length among ∆x1 , ∆x2 , ∆x3 , ..., ∆xn is called the norm of the partition P:

|| P ||= max{∆x1 , ∆x2 , ∆x3 , ..., ∆xn } .

The partition P of the interval [a, b] is regular if ∆x0 = ∆x1 = ∆x2 = ... = ∆xn = ∆x.

For any positive integer n, if the partition P is regular, then


b−a
∆x = and xk = x0 + k ∆x .
n
To see this, let P be a regular partition of the interval [a, b]. Since x0 = a and xn = b, then

x1 = x0 + ∆x ,
x2 = x1 + ∆x = (x0 + ∆x) + ∆x = x0 + 2∆x ,
x3 = x2 + ∆x = (x0 + 2∆x) + ∆x = x0 + 3∆x.

By continuing doing so, we have xk = x0 + k ∆x.


56 INTEGRATION

Figure 4.2: A regular partition of the interval [a, b].

Riemann Sum

Definition 4.8 Let f be a bounded and defined function on a closed bounded interval [a, b] and let P = {x0 , x1 , ..., xn } be
a partition of [a, b]. Let ω = (ω1 , ω2 , ..., ωn ) be a mark on the partition P where ωk ∈ [xk−1 , xk ], k = 1, 2, 3, ..., n. Then the
Riemann sum of f with respect to the partition P and the mark ω is
n
R( f , P, ω) = ∑ f (ωk )∆xk .
k=1

As shown in Figure 4.3, the amount f (ω1 )∆x1 is the area of the rectangle A1 , f (ω2 )∆x2 is the area of the rectangle A2 and so on. The
sum of these areas approximates the area of the whole region under the graph of the function f (x) from x = a to x = b. This indicates
that if the function f is bounded and non-negative on a closed bounded interval [a, b] and P = {x0 = a, x1 , . . . , xn = b} is a partition of
that interval where ω = (ω1 , ω2 , ..., ωn ) is a mark on the partition P, then the Riemann sum estimates the area of the region under the
function f (x) from x = a to x = b. As the number of the subintervals increases n → ∞ (i.e., ||P|| → 0), the estimation becomes better.
Therefore,

n
A = lim R( f , P, ω) = lim ∑ f (ωk )∆xk (4.1)
kPk→0 kPk→0 k=1

if the limit exists.

Figure 4.3: A region under a function f from x = a to x = b.

The following definition shows that the definite integral of a defined function f on a closed bounded interval [a, b] is a Riemann sum
when k P k→ 0.
Definite Integrals 57

Definite Integrals

Definition 4.9 For any function f bounded and defined on a closed bounded interval [a, b], the definite integral of f from a to
b is Z b

a
f (x) dx = lim
n→∞ ∑ f (ωk )∆xk , (k P k→ 0)
k
if the limit exists. The numbers a and b are called the limits of the integration.

Notes

The limit in the previous definition is over all points in the partition P = {([xk−1 , xk ], ωk )}1≤k≤n . When the limit exists, we say
that f is Riemann integrable (or integrable) on [a, b].

Any continuous function is Riemann integrable on a closed bounded interval [a, b].

4.3.3 Properties of Definite Integrals

Theorem
Z 4.10 b
1. c dx = c(b − a).
a
Z a
2. f (x) dx = 0 if f (a) exists.
a

 Example 4.10 Evaluate the integral.


Z 2 Z 3p
(1) 5 dx (2) x2 − 1 dx
0 3

Solution:
Z 2
(1) 5 dx = 5(2 − 0) = 10.
Z03
(2) (x2 − 1) dx = 0.
3

Theorem 4.11
1. Let f and g be integrable functions on [a, b], then the functions f + g and f − g are integrable on [a, b] and
Z b  Z b Z b
f (x) ± g(x) dx = f (x) ± g(x) dx.
a a a

2. Let f be integrable function on [a, b] and k ∈ R, then the function k f is integrable on [a, b] and
Z b Z b
k f (x) dx = k f (x) dx.
a a

Z b Z b Z b
g(x) 
 Example 4.11 If f (x) dx = 5 and g(x) dx = 9, find the value of the integral 4 f (x) − dx.
a a a 3

Solution:
58 INTEGRATION

Z b Z b Z b
g(x)  1
4 f (x) − dx = 4 f (x) dx − g(x) dx (Using Theorem 4.11 )
a 3 a 3 a
1
= 4(5) − (9) = 17 .
3

Theorem 4.12
1. If f and g are integrable on [a, b] and f (x) ≥ g(x) for all x ∈ [a, b], then
Z b Z b
f (x) dx ≥ g(x) dx.
a a

2. If f is integrable on [a, b] and f (x) ≥ 0 for all x ∈ [a, b], then


Z b
f (x) dx ≥ 0.
a

Z 2 Z 2
 Example 4.12 Prove that (x3 + x2 + 2) dx ≥ (x2 + 1) dx without evaluating the integrals.
0 0

Solution: Let f (x) = x3 + x2 + 2 and g(x) = x2 + 1. We can find that f (x) − g(x) = x3 + 1 > 0 for all x ∈ [0, 2]. This implies that
f (x) > g(x) and from Theorem 4.12, we have
Z 2 Z 2
(x3 + x2 + 2) dx ≥ (x2 + 1) dx .
0 0

Theorem 4.13 If f is integrable on the intervals [a, c] and [c, b], then f is integrable on [a, b] and
Z b Z c Z b
f (x) dx = f (x) dx + f (x) dx.
a a c

Theorem 4.14 If f is integrable on [a, b], then


Z b Z a
f (x) dx = − f (x) dx.
a b

4.3.4 The Fundamental Theorem of Calculus

Theorem 4.15 Suppose that f is continuous on the closed interval [a, b].
Z x
1. If F(x) = f (t) dt for every x ∈ [a, b], then F(x) is an antiderivative of f on [a, b].
a Z b
2. If F(x) is any antiderivative of f on [a, b], then f (x) dx = F(b) − F(a).
a

Z b
From the previous theorem, the definite integral f (x) dx is evaluated by two steps:
a
Techniques of Integration 59

Z
Step 1: Find the indefinite integral f (x) dx = F(x) and no need to put a constant c.

Step 2: Evaluate the antiderivative F at upper and lower limits by substituting x = b and x = a then calculate F(b) − F(a).

 Example 4.13 Evaluate the integral.


Z 2 Z π
2
(1) (2x + 1) dx (4) (sin x + 1) dx
−1 0 Note
Z 3 Z π For trigonometric functions,
3
(2) (x2 + 1) dx (5) π
(sec2 x − 4) dx students can use the values in Table
0 4 ?? on the page 9.
Z 2
1 Z 1
(3) √ dx (6) x2 (x3 + 1)4 dx
1 x3 0

Solution:
Z 2 h i2
(2x + 1) dx = x2 + x = 4 + 2 − (−1)2 + (−1) = 6 − 0 = 6.
 
(1)
−1 −1

Z 3 h x3
27 i3
(2) (x2 + 1) dx = + 3) − 0 = 12.
+x =(
0 33 0

Z 2
1 h −2 i2 −2 −2 + 2 2 √
(3) √ dx = √ = √ − (−2) = √ = − 2 + 2.
1 x 3 x 1 2 2
Z π iπ
2
h
2 π π π
(4) (sin x + 1) dx = − cos x + x = (− cos + ) − (− cos 0 + 0) = + 1.
0 0 2 2 2
Z π iπ
h π π
(5) π (sec2 x − 4) dx = tan x − 4x π = tan π − 4π − tan − 4 = −4π − (1 − π) = −3π − 1.

4 4 4 4

x2 i π3 π ( π )2  π2 π2
π
0
Z h
3
(6) (sec x tan x + x) dx = sec x + = sec + 3 − sec 0 + = 2+ −1 = 1+ .
0 2 0 3 2 2 18 18

4.4 Techniques of Integration

In the previous section, we demonstrated the importance of basic integral rules and the integral properties in evaluating several integrals.
Those rules are elementary for simple functions, but in this section we will study new techniques that will enable us to evaluate more
complex functions.

4.4.1 Integration By Substitution

The integration by substitution (known as u-substitution) is one of the important methods for evaluating the integrals. The method is
based on changing the variable of the integral to obtain a simple integral.

Theorem 4.16 Let g be a differentiable function on an interval I where the derivative is continuous. Let f be continuous on
the interval J contains the range of the function g. If F is an antiderivative of the function f on J, then
Z
0
f (g(x))g (x) dx = F(g(x)) + c, ∀x ∈ I.

0
In the following examples, we will check if the integrand has the form f (g(x))g (x) so that we can use Theorem 4.16.

Z
 Example 4.14 Evaluate the integral 3x2 (x3 + 1)5 dx.
60 INTEGRATION

5 Note
 theorem by assuming f (x) = x
Solution: We can use the previous
and g(x) = x3 + 1, then f g(x) = (x3 + 1)5 . Z
f (x) dx = F(x) + c
0
Since g (x) = 3x2 , then
x6
Z
⇒ x5 dx = +c
(x3 + 1)6 6
Z
3x2 (x3 + 1)5 dx = + c.
6

Note that in the previous example, we can end with the same solution by using the following steps of the substitution method.
Steps of the integration by substitution:
Step 1: Choose a new variable u. Observe the integrand f (x) and choose an inside function u as a function of x. Then check if f (x) can
be decomposed into
f (x) = (function of u).constant multiple of u0 (x)
Step 2: Determine the value of du.
Step 3: Make the substitution i.e., eliminate all occurrences of x in the integral by making the entire integral in terms of u.
Step 4: Evaluate the new integral.
Step 5: Return the evaluation to the initial variable x.
In Example 4.14, let u = x3 + 1, this implies du = 3x2 dx. Now apply the substitution by substituting all x-terms into u-terms:
u6
Z Z
(x3 + 1)5 |{z}
3x2 dx = u5 du = +c .
| {z } 6
u du

By returning the evaluation to the initial variable x, we have


(x3 + 1)6
Z
3x2 (x3 + 1)5 dx = +c .
6

Z p
 Example 4.15 Evaluate the integral (3x − 1) 3x2 − 2x + 1 dx.

√  √
Solution: Assume f (x) = x and g(x) = 3x2 − 2x + 1, then f g(x) = 3x2 − 2x + 1. Since g0 (x) = 6x − 2 = 2(3x − 1), then from
Theorem 4.16,
1
Z p Z p
(3x − 1) 3x2 − 2x + 1 dx = 2(3x − 1) 3x2 − 2x + 1 dx
2
3
1 2 3 (3x2 − 2x + 1) 2
= (3x2 − 2x + 1) 2 + c = +c .
2 3 3

By using the steps of the substitution method, let u = 3x2 − 2x + 1 and this implies du = (6x − 2)dx = 2(3x − 1)dx. By substitution, we
have 3 3
√ du 1 Z 1 u2 (3x2 − 2x + 1) 2
Z
u = u 2 du = +c = +c .
2 2 3 3


cos x
Z
 Example 4.16 Evaluate the integral √ dx.
x
√  √ 0 √
Solution: Assume f (x) = cos x and g(x) = x, then f g(x) = cos x. Since g (x) = 1/(2 x), then from Theorem 4.16, we have
√ √
Z
cos x
Z
cos x √
√ dx = 2 √ dx = 2 sin x + c .
x 2 x

√ 1
By using the steps of the substitution method, let u = x and this implies du = √ dx. By substitution, we obtain
2 x
Z

2 cos u du = 2 sin u + c = 2 sin x + c.
Techniques of Integration 61

Z
 Example 4.17 Evaluate the integral tan x dx.

sin x
Solution: Write tan x = and assume u = cos x. This implies du = − sin x dx, then −du = sin x dx.
cos x
Hence,
sin x 1 Rules
Z Z Z
tan x dx = dx = . sin x dx
cos x cos x Z
• tan x dx = − ln | cos x| + c
1
Z
=− du = − ln |u| + c (Using Rule 3 on page 52 ) . = ln | sec x| + c
u Z
• cot x dx = ln | sin x| + c
By returning the evaluation to the initial variable x, we have
= − ln | csc x| + c
Z
tan x dx = − ln | cos x| + c .

x2 − 1
Z
 Example 4.18 Evaluate the integral dx.
(x3 − 3x + 1)6

Solution: Let u = x3 − 3x + 1, then du = 3(x2 − 1) dx. By substitution, we have


1 1 1 −1
Z
u−6 du = +c = + c.
3 3 −5 u5 15(x3 − 3x + 1)5
Z
 Example 4.19 Evaluate the integral sin3 x cos x dx.

Solution:
Let u = sin x, then du = cos x dx. By substitution, we
have Note
Any power of a trigonometric
u4
Z
u3 du = +c function can be integrated by Rule
4 1 on page 51 when accompanied by
sin4 x its differential.
= + c.
4

sin−1 x
Z
 Example 4.20 Evaluate the integral √ dx.
1 − x2

Solution: Let u = sin−1 x, then du = √ 1 dx. By


1−x2
substitution, we have Note
Any inverse trigonometric function
u2
Z
such that the differential is
u du = +c accompanied can be integrated in
2
the same manner of Example 4.20.
(sin−1 x)2
= + c.
2

Z
Corollary 4.17 If f (x) dx = F(x) + c, then for any a 6= 0,

1
Z
f (ax ± b) dx = F(ax ± b) + c.
a

 Example 4.21 Evaluate the integral.


Z √
(1) 3x − 2 dx
62 INTEGRATION

Z
(2) sec2 (5x + 4) dx

Solution: From Corollary 4.17, we have


Z √
1 (3x − 2)3/2 (3x − 2)3/2
(1) 3x − 2 dx = +c = + c.
3 3/2 3
1
Z
(2) sec2 (5x + 4) dx = tan (5x + 4) + c.
5

Notes
Z b
When using the substitution method to evaluate the definite integral f (x) dx, we have two options:
a

Option 1: Change the limits of integration to the new variable. In this case, we evaluate the integral without returning to the
original variable.

Option 2: Leave the limits in terms of the original variable. In this case, we evaluate the integral and return the result to the
original variable. After that, we substitute x = b and x = a into the antiderivative.

Z 1 p
 Example 4.22 Evaluate the integral 2x x2 + 1 dx.
0

Solution:
Option 1: Let u = x2 + 1, this implies du = 2x dx. Change the limits u(0) = 1 and u(1) = 2. By substitution, we have
Z 2
2  3 i2 2  3 3
 2 √ 
u1/2 du = u 2 = 22 −12 = 2 2−1 .
1 3 1 3 3

2 3 2
Z
3
Option 2: Let u = x2 + 1, then du = 2x dx. By substitution, we have u1/2 du = u 2 = (x2 + 1) 2 + c. Thus,
3 3
Z 1 p
2 h 3
i1 2  √ 
2x x2 + 1 dx = (x2 + 1) 2 = 2 2−1 .
0 3 0 3

π
sin x
Z
2
 Example 4.23 Evaluate the integral dx.
0 1 + cos2 x

Solution: Let u = cos2 x, this implies du = − sin x dx. Change the limits u(0) = 1 and u( π2 ) = 0. By substitution, we have
Z 0 Z 1 i1 
1 1 h  π π
− du = du = tan−1 u = tan−1 (1) − tan−1 (0) = ( − 0) = .
1 1 + u2 0 1+u 2 0 4 4

4.4.2 Integration by Parts

In this section we will learn another important technique of integration, called integration by parts. This technique depends on the
product rule in differentiation, so it can be thought as the product formula for integration. In practice, the integrand is divided into two
parts u and dv, then we find du by deriving u and v by integrating dv. This method transfers a product integral (the original integrand)
into another product integral that can be evaluated.

Theorem 4.18 If u = f (x) and v = g(x) such that f 0 and g0 are continuous, then
Z Z
u dv = uv − v du.
Techniques of Integration 63

Z Z
Theorem 4.18 shows that the integration by parts transfers the integral u dv into an easier integral v du. The question here is, what
we choose as u and what we choose as dv = v0 dx.

A Guideline for Choosing u and dv:

(1) Choose u a portion of the integrand that can be easily differentiated. We can choose u to be the function that comes first in this list:
(a) Inverse trigonometric function.
(b) Logarithmic function.
(c) Algebraic function.
(d) Exponential function.
(e) Trigonometric function.

(2) Choose dv the most complicated portion of the integrand that can be easily integrated.

This guideline is useful, but is not enough to solve all product integrals. Sometimes we need to analyze the integrand and examine the
best way of using integration by parts.

Z
 Example 4.24 Evaluate the integral x ex dx.

Solution: Note
The integrand xex is a product of two functions x and ex . Now we • We choose u = x because it can be
need to identify one function as u and the other one as dv such that differentiated to a constant. Thus the
R
the new product integral v du is easier than the original integrand. new product integral will not involve
a product anymore.
Z • Try to choose
Let I = x ex dx and choose u = x, and dv = ex dx. Then, u = ex and dv = x dx

u = x ⇒ du = dx , We will obtain
Z ttttttttttttttttttttttttttttttttttttttttttttttttttt
2
x x x2 x
Z
dv = ex dx ⇒ v = ex dx = ex . I= e − e dx.
2 2
From Theorem 4.18, we have x2 x
Z
However, the integral e dx is
Z 2
I = x ex − ex dx = x ex − ex + c. more
Z difficult than the original one
xex dx.

Z
 Example 4.25 Evaluate the integral x cos x dx.

Z
Solution: In the same manner as in the preceding example, let I = x cos x dx. Set u = x and dv = cos x dx. Hence,

u = x ⇒ du = dx ,
Z
dv = cos x dx ⇒ v = cos x dx = sin x. Try to choose

u = cos x and dv = x dx
From Theorem 4.18, we have
Z Do you have the same result?
I = x sin x − sin x dx

= x sin x + cos x + c .

Z
 Example 4.26 Evaluate the integral ln x dx.
64 INTEGRATION

Z
Solution: Let I = ln x dx and choose u = ln x, and dv = dx. Then,

Remember
1 If u = g(x) is differentiable, then
u = ln x ⇒ du = dx ,
x
d u0
Z
dv = dx ⇒ v = 1 dx = x. (ln |u|) =
dx u

Apply Theorem 4.18 to have


1
Z
I = x ln x − x dx
x
Z
= x ln x − 1 dx = x ln x − x + c .

Z
 Example 4.27 Evaluate the integral x3 ln x dx.

Solution:
Z
Let I = x3 ln x dx and choose u = ln x, and dv = x3 dx. Then,
Rule
1
u = ln x ⇒ du = dx , In the same manner
Z as in Example
x
4.28, to evaluate xn ln x dx, let
x4
Z
dv = x3 dx ⇒ v = x3 dx = .
4 u = ln x ⇒ du = 1x dx
From Theorem 4.18, we have xn+1
dv = xn dx ⇒ v = xn dx =
R
n+1
x4 x4 1
Z
I= ln x − dx Hence,
4 4 x
x4 1 xn+1 xn+1
Z Z
= ln x − x3 dx xn ln x dx = ln x+ +c
4 4 n+1 (n + 1)2
x4 x4
= ln x − +c .
4 16

Notes

Remember when we consider the integration by parts, we want to obtain an easier integral. As we saw in Example 4.28, if we
Z 2
x x
choose u = ex and dv = x dx, we have e dx which is more difficult than the original integral.
2
When considering the integration by parts, we have to choose dv a function that can be integrated (see Example 4.28 ).

Z
 Example 4.28 Evaluate the integral sin x ln(cos x) dx.

Solution:
Z
Let I = sin x ln(cos x) dx and choose u = ln(cos x) for cos x > 0, and dv = sin x dx. Then,

− sin x
u = ln(cos x) ⇒ du = dx = − tan x dx,
Z
cos x
dv = sin x dx ⇒ v = sin x dx = − cos x.

Hence,
Techniques of Integration 65

Similarly, we can evaluate the


Z integral
I = − cos x ln(cos x) − cos x tan x dx Z
Z cos x ln(sin x) dx
= − cos x ln(cos x) − sin x dx
by choosing u = ln(sin x) for
= − cos x ln(cos x) + cos x + c .
sin x > 0, and dv = cos x dx.

Z 1
 Example 4.29 Evaluate the integral tan−1 x dx.
0

Solution:
Z
Let I = tan−1 x dx and choose u = tan−1 x, and dv = dx. Hence, Rule
Any inverse trigonometric function
1 such that the differential is not
u = tan−1 x ⇒ du = dx ,
x2 + 1 accompanied can be integrated in
Z
the same manner of Example 4.29.
dv = dx ⇒ v = 1 dx = x.

By applying Theorem 4.18, we obtain


1 2x 1
Z
I = x tan−1 x − dx = x tan−1 x − ln(x2 + 1) + c.
2 x2 + 1 2
| {z }
apply substitution u=x2 +1

Therefore, Z 1 h 1 i1 1 1 π √
tan−1 x dx = x tan−1 x − ln(x2 + 1) = (tan−1 (1) − ln 2) − (0 − ln 1) = − ln 2.
0 2 0 2 2 4

Note that sometimes we need to use the integration by parts twice as in the following examples.
Z
 Example 4.30 Evaluate the integral x2 ex dx.

Solution:
Z
Let I = x2 ex dx and choose u = x2 , and dv = ex dx. Then, Note
In successive application of the
u = x2 ⇒ du = 2x dx ,
Z integration by parts, do not switch
dv = ex dx ⇒ v = ex dx = ex . choices for u and dv. In Example
4.30, we choose dv = ex in integrals
Z I and J.
This implies I = x2 ex − 2 xex dx.
Z Z
We use the integration by parts again for the integral xex dx where we assume J = xex dx.

Let u = x and dv = ex dx. Hence,


u = x ⇒ du = dx ,
Z
dv = ex dx ⇒ v = ex dx = ex .

Therefore, Z
J = xex − ex dx = xex − ex + c .
By substituting the result of J into I, we have
I = x2 ex − 2(xex − ex ) + c
= ex (x2 − 2x + 2) + c .
66 INTEGRATION

Z
 Example 4.31 Evaluate the integral ex cos x dx.

Z
Solution: Let I = ex cos x dx and choose u = ex , and dv = cos x dx. Note
Then, In Example 4.31,

u = ex ⇒ du = ex dx , try to choose
Z
dv = cos x dx ⇒ v = cos x dx = sin x. u = cos x and dv = ex
Z
Do you have the same result?
Hence, I = ex sin x − ex sin x dx.
Z Z
The integral ex sin x dx cannot be evaluated. Therefore, we use the integration by parts again where we assume J = ex sin x dx.

Let u = ex and dv = sin x dx. Then,

u = ex ⇒ du = ex dx ,
Z
dv = sin x dx ⇒ v = sin x dx = − cos x.

Hence, Z
J = −ex cos x + ex cos x dx .

By substituting the result of J into I, we have

I = ex sin x − J
Z
= ex sin x + ex cos x − ex cos x dx

⇒ I = ex sin x + ex cos x − I.

This implies
1
2I = ex sin x + ex cos x ⇒ I = (ex sin x + ex cos x)
2
ex
Z
⇒ ex cos x dx = (sin x + cos x) + c .
2

4.4.3 Integrals of Rational Functions

f (x)
A rational function is a quotient of two polynomials of the form q(x) = g(x)
. A Polynomial f (x) is a linear sum of powers of x, for
example f (x) = 5x3 + x2 + x + 1
or g(x) = x4 − x.
The degree of a polynomial is the highest power occurring in the polynomial, for
example the degree of f (x) is 3 and the degree of g(x) is 4.

Steps of the integration of the rational functions:

ä Step 1: If the degree of f (x) is equal or greater than the degree of g(x), we do polynomial long-division; otherwise we move to step 2.
By doing the long-division, we reduce the fraction to a
mixed quantity.
 h(x)
f (x) r(x) g(x) f(x)
q(x) = = h(x) + ,
g(x) g(x) - ...
...
where h(x) is the quotient and r(x) is the remainder. r(x)
The degree of the numerator of the new fraction will
be less than the degree of the denominator.

ä Step 2: Factor the denominator g(x) into irreducible polynomials where the factors are either linear or irreducible quadratic polynomials.
Techniques of Integration 67

f (x) r(x)
ä Step 3: Find the partial fraction decomposition. This step depends on the result of step 2 where the fraction g(x) or g(x) can be written
as a sum of partial fractions:
q(x) = P1 (x) + P2 (x) + P3 (x) + ... + Pn (x) ,
Ak Ak x + Bk
where Pk (x) = , n ∈ N or Pk (x) = if b2 − 4ac < 0. The constants Ak and Bk are real numbers and computed
(ax + b)n (ax2 + bx + c)n
later. Note that the denominators of the fractions Pk (x) are the factors of the original denominator obtained in step 2.

ä Step 4: Integrate the result of step 3:


Z Z Z Z Z
q(x) dx = P1 (x) dx + P2 (x) dx + P3 (x) dx + ... + Pn (x) dx .

Cases of factoring the denominator g(x):


Case 1: The denominator g(x) is a product of distinct linear factors.
f (x)
If g(x) = (a1 x + b1 )(a2 x + b2 )...(an x + bn ), then the fraction g(x)
can be written as a sum of partial fractions:

f (x) A1 A2 A3 An
= + + + ... +
g(x) a1 x + b1 a2 x + b2 a3 x + b3 an x + bn

Case 2: The denominator g(x) has repeated linear factors of the form (ai x + bi )k where k > 1. Then,

f (x) A1 A2 A3 An
= + + + ... + .
g(x) (ai x + bi ) (ai x + bi )2 (ai x + bi )3 (ai x + bi )k

Case 3: The denominator g(x) has factors which are irreducible quadratics of the form ai x2 + bi x + ci where b2i − 4ai ci < 0. In this
Ai x + Bi
case, we include terms of the form .
ai x2 + bi x + ci

2x3 − 4x2 − 15x + 5


Z
 Example 4.32 Evaluate the integral dx.
x2 + 3x + 2

Solution:

Illustration:
Step 1: Do the polynomial long-division.
Since the degree of the denominator g(x) is less than the degree of
the numerator f (x), we do the polynomial long-division given on 2x −10
x2 + 3x + 2 2x3 −4x2

−15x +5
the right side. Hence, we have
−(2x3 +6x2 +4x)
11x + 25 −10x2 −19x +5
q(x) = (2x − 10) + . −(−10x2 −30x −20)
x2 + 3x + 2 11x +25

Step 2: Factor the denominator g(x) into irreducible polynomials

g(x) = x2 + 3x + 2 = (x + 1)(x + 2).

Here we have case 2 in factoring the denominator g(x).


Step 3: Find the partial fractions
11x + 25 A B Ax + 2A + Bx + B
q(x) = (2x − 10) + = (2x − 10) + + = (2x − 10) + .
x2 + 3x + 2 x+1 x+2 (x + 1)(x + 2)
We need to find the constants A and B by equating the coefficients of like powers of x in the two sides of the equation:

11x + 25 = (A + B)x + (2A + B)


68 INTEGRATION

Coefficients of the numerators:

Illustration:
Multiply equation 1 by −2 and

coefficients of x: A + B = 11 → 1 add the result to equation 2

constants: 2A + B = 25 → 2 −2A − 2B = −22


2A + B = 25
By doing some calculation, we have A = 14 and B = −3. Hence,
−−−−−−−−−
14 −3 −B = 3
q(x) = (2x − 10) + + .
x+1 x+2

Step 4: Integrate the result of step 3.


14 −3
Z Z Z Z
q(x) dx = (2x − 10) dx + dx + dx
x+1 x+2
= x2 − 10x + 14 ln | x + 1 | −3 ln | x + 2 | +c.

x+1
Z
 Example 4.33 Evaluate the integral dx.
x2 − 2x − 8

Solution:
Step 1: This step can be skipped since the degree of f (x) = x + 1 is less than the degree of g(x) = x2 − 2x − 8.
Step 2: Factor the denominator g(x) into irreducible polynomials
g(x) = x2 − 2x − 8 = (x + 2)(x − 4) .
Here we have case 2 in factoring the denominator g(x).
Step 3: Find the partial fraction decomposition
x+1 A B Ax − 4A + Bx + 2B
= + = .
x2 − 2x − 8 x + 2 x − 4 (x + 2)(x − 4)

We need to find the constants A and B by equating the coefficients of like powers of x in the two sides of the equation:
x + 1 = (A + B)x + (−4A + 2B)

Coefficients of the numerators: Illustration:

Multiply equation 1 by 4 and add the result to


coefficients of x: A+B = 1 → 1 equation 2

constants: − 4A + 2B = 1 → 2 4A + 4B = 4

1
−4A + 2B = 1
By doing some calculation, we obtain A = 6 and B = 56 . Thus,
−−−−−−−−−
x+1 1/6 5/6 6B = 5
= + .
x2 − 2x − 8 x + 2 x − 4

Step 4: Integrate the result of step 3.


x+1 1/6 5/6 1 5
Z Z Z
dx = dx + dx = ln | x + 2 | + ln | x − 4 | +c.
x2 − 2x − 8 x+2 x−4 6 6
Techniques of Integration 69

2x2 − 25x − 33
Z
 Example 4.34 Evaluate the integral dx.
(x + 1)2 (x − 5)

Solution:

Steps 1 and 2 can be skipped in this example. According to the cases of factoring the denominator, we have cases 1 and 2.

Step 3: Find the partial fraction decomposition.

Since the denominator g(x) has repeated factors, then

2x2 − 25x − 33 A B C A(x2 − 4x − 5) + B(x − 5) +C(x2 + 2x + 1)


2
= + 2
+ = .
(x + 1) (x − 5) x + 1 (x + 1) x−5 (x + 1)2 (x − 5)

Coefficients of the numerators:


Illustration:
5× 2 + 3 :
coefficients of x2 : A +C = 2 → 1
−25A + 11C = −158 → 4
coefficients of x: − 4A + B + 2C = −25 → 2 25 × 1 + 4 :
36C = −108 ⇒ C = −3
constants: − 5A − 5B +C = −33 → 3

By solving the system of equations, we have A = 5, B = 1 and C = −3.

Step 4: Integrate the result of step 3.

2x2 − 25x − 33 5 1 −3
Z Z Z Z
dx = dx + dx + dx
(x + 1)2 (x − 5) x+1 (x + 1)2 x−5
Z
= 5 ln | x + 1 | + (x + 1)−2 dx − 3 ln | x − 5 |
1
= 5 ln | x + 1 | − − 3 ln | x − 5 | +c.
(x + 1)

x+1
Z
 Example 4.35 Evaluate the integral dx.
x(x2 + 1)

Solution:

Steps 1 and 2 can be skipped in this example. Here we have cases 1 and 3 of factoring the denominator.

Step 3: Find the partial fraction decomposition.

x+1 A Bx +C Ax2 + A + Bx2 +Cx


2
= + 2 = .
x(x + 1) x x +1 x(x2 + 1)

Coefficients of the numerators:

coefficients of x2 : A+B = 0 → 1
coefficients of x: C=1→ 2
constants: A=1→ 3

We have A = 1, B = −1 and C = 1.
70 INTEGRATION

Step 4: Integrate the result of step 3.


x+1 1 −x + 1
Z Z Z
dx = dx + dx
x(x2 + 1) x x2 + 1
x 1
Z Z
= ln | x | − dx + dx
x2 + 1 x2 + 1
1
= ln | x | − ln(x2 + 1) + tan−1 x + c.
2
Exercises 71

Exercises

1 - 38 Evaluate the integral.


Z Z 5
1 sec2 (3x − 5) dx 20 | x − 1 | dx
Z0
Z
dx √
2 √ 21 x ln x dx
16 − x2 Z 3
Z
3 xe2x dx 22 (x2 + 1) dx
1
Z Z 5
4 x cos(2x) dx 1
23 dx
Z ex−2
sin−1 x dx
Z 6
5 1 2 
24 + dx
3 x−2 x+1
dx
Z
6
Z π/2

x 2 −x−2 25 (1 + cos x)2 sin x dx
Z 0
7 x(2x2 − 3)8 dx Z 10
3
√ 26 (x 2 + 1) dx
Z
cos 3 x 0
8 √3 2
dx Z 2
2
x 27 √ dx
Z 3 1 x
2
9 (2 − x + x ) dx Z 2
0 28 | x − 1 | dx
Z 1 0
10 (x2 + 3x + 1) dx Z 1
−1 29 | 3x + 1 | dx
Z π
2
−1
11 cos x dx Z π
2 1
0 30 dx
Z π
4
π
3 sin2 x
12 (sin x + cos x) dx Z 3
0
Z π 31 | 2x − 3 | dx
3 0
13 π
sec x (tan x + sec x) dx Z 3
4 32 (x − 2)(x + 3) dx
Z 4 1
14 2 dx Z π
−2 33 sin x dx
Z 5 0
π
15 (3 − x) dx
Z
4
0 34 cos 2x dx
Z 4 0
(2x2 + x − 1) dx
Z π
16
−1 35 sec x (tan x − sec x) dx
Z 2 Z0
17 (6x2 + 3) dx 36 x cos x2 dx
2
Z 1 √
(x3 − 4x4 ) dx csc2 x
Z
18 37 √ dx
0 x
Z 2 p
sec x + tan x
Z
19 x x2 + 1 dx 38 dx
−1 cos x

39 - 52 Evaluate the integral.


Exercises 72

1
Z
Z
√ 46 dx
39 x ln x dx x2 + 2x − 3

x2
Z Z 7
40 2
x sec x dx 47 dx
3 x2 − x − 2

3x2 − 10
Z Z
41 x e−4x dx 48 dx
x2 − 4x + 4
Z
x2 − 9
Z
42 (ln x)2 dx 49 dx
x−1
1
Z
2x4 − 3x3 − 10x2 + 2x + 11
Z
43 dx
(x − 3)(x − 1)2 50 dx
x3 − x2 − 5x − 3
1
Z
1
Z
44 dx 51 dx
x2 + 6x + 8 1 + ex
x
Z
45 dx 2x3 − 18x2 + 29x − 4
Z
x2 − x − 2 52 dx
(x + 1)(x − 2)3

Z b Z c Z b
53 - 58 If f (x) dx = 2, f (x) dx = 2 and g(x) dx = 3 where c ∈ (a, b), evaluate the integral.
a b a
Z a Z a 
53 f (x) dx 56 5 f (x) − 3g(x) dx
b b

Z c Z b
54 f (x) dx 1 
57 f (x) + 7g(x) dx
a a 3
Z b  Z a 
55 2 f (x) + g(x) dx 58 4 f (x) + g(x) dx
a a

59 - 64 Use the properties of the definite integrals to prove the inequality without evaluating the integrals.
Z 1 Z 1 Z 3
59 x dx ≥ x2 dx 62 (x2 − 3x + 4) dx ≥ 0
0 0 0

Z 3 Z 3 Z 2√ Z 2√
x
60 dx ≥ x dx 63 5 − x dx ≥ x + 1 dx
0 x3 + 2 0 1 1

Z 4 Z 4 Z 2 p
61 (2x + 2) dx ≥ (3x + 1) dx 64 2 < 1 + x2 dx
1 1 −1
Exercises 73

65 - 71 Choose the correct answer.

sin x
Z
65 The value of the integral √ dx is equal to
2 + cos x
√ √
(a) −2
√ 2 + cos x + c (c) −√ 2 + cos x + c
(b) 2 + cos x + c (d) 2 2 + cos x + c

sin (tan x)
Z
66 The value of the integral dx is equal to
cos2 x
(a) cos (tan x) + c (c) − cos (tan x) + c
(b) sin (tan x) + c (d) − sin (tan x) + c
Z p
67 The integral x x2 + 1 dx is equal to
√ 3
(a) 21 x2 x2 + 1 + c (c) − 32 (x2 + 1) 2 + c
3 3
(b) 23 (x2 + 1) + c
2 (d) 13 (x2 + 1) + c
2

x
Z
68 The integral dx is equal to
cos2 x2
(a) 21 tan x2 + c (c) 12 tan x + c
(b) tan x2 + c (d) − cos1 x2 + c

sec2 x
Z
69 The value of the integral dx is equal to
cot2 x
1+cos2 x cot4 x
(a) 3 cos3 x
+c (c) 4 +c
1−3 cos2 x tan3 x
(b) 3 cos3 x
+c (d) 3 +c

cos x
Z
70 The value of the integral √ dx
4 + sin x
√ √
(a) 12 sin x + 4 + c √ x+4+c
(c) 2 sin

(b) sin x + 4 + c (d) −2 sin x + 4 + c

Z 1
71 The value of the integral 2 | x |3 dx
−1
(a) 2 (b) 1 (c) 0 (d) −1
74 APPLICATIONS OF INTEGRATION

Chapter 5

APPLICATIONS OF INTEGRATION

5.1 Areas

As shown in Chapter 4, if the function f is bounded and non-negative on a closed bounded interval [a, b] and P = {x0 = a, x1 , . . . , xn = b}
is a partition of that interval where ω = (ω1 , ω2 , ..., ωn ) is a mark on the partition P, then the Riemann sum estimates the area of the
region under the function f (x) from x = a to x = b:
n Z b
A = lim ∑ f (ωk )∆xk = f (x) dx .
kPk→0 k=1 a

In this section we find the area of ??the regions for the following cases:

The region bounded by a graph of a function and x-axis from x = a to x = b.

The region bounded by a graph of a function and y-axis from y = c to y = d.

The region bounded by graphs of two or more functions.

Figure 5.1

5.1.1 Region Bounded by a Curve and x-axis

Consider the region between the graph of the function y = f (x), the x-axis, and the ordinates x = a and x = b as shown in Figure 5.2.
Now we want to find the area of the shaded region.
Areas 75

Remember
See the explanation on page 57.

Figure 5.2: The region R bounded by the graph of y = f (x), and the
ordinates x = a and x = b.

As mentioned in Chapter 4, we divide the interval [a, b] into n


subintervals and choose xi∗ in the ith subinterval. As shown in Figure
5.3, the amount f (x1∗ )∆x1 is the area of the rectangle A1 , f (x2∗ )∆x2
is the area of the rectangle A2 and so on.

The sum of the rectangles areas approximates the area of the whole
region under the graph of the function f from x = a to x = b, where
as the number of the subintervals increases n → ∞ (||P|| → 0), the
estimation becomes better.

From Definition ??, we have


n Z b
A = lim
||P||→0
∑ f (xi∗ )∆xi = a
f (x) dx
i=1

where P is a partition of [a, b].

Thus, if y = f (x) is continuous and f (x) ≥ 0 on [a, b], the definite


Z b
integral f (x) dx is exactly the area of the region under the graph
a
of y = f (x) from a to b:

Z b
A= f (x) dx
a

Figure 5.3: The region R bounded by the graph of y = f (x), and the
ordinates x = a and x = b.

 Example 5.1 Express the area of the shaded region as a definite integral then find the area.
76 APPLICATIONS OF INTEGRATION

(1) (2)

y y

f (x) = x2
f (x) = 2x + 1

R R

x
1 3 x 1 4

Figure 5.4

Solution:
Z 3 h i3 h i
(1) A = (2x + 1) dx = x2 + x = (32 + 3) − (12 + 1) = 12 − 2 = 10.
1 1

Z 4 h i4 h i
(2) A = x2 dx = 1
3 x3 = 31 64 − 1 = 63
3 = 21.
1 1


 Example 5.2 Sketch the region bounded by the graph of y = x from x = 0 to x = 3, then find its area.

y
Solution:
The region bounded by the graph of the function y =

x in the interval [0, 3] is shown in the figure.

y= x
The area of the region is

Z 3

A= x dx
0
2h i3
= x3/2
3 0

= 2 3. x
3

Figure 5.5

5.1.2 Region Bounded by a Curve and y-axis

Consider the region between the graph of the function x = f (y), the y-axis, and the ordinates y = c and y = d as shown in Figure 5.6.
Now we want to find the area of the shaded region.
Areas 77

Figure 5.6: The region R bounded by the graph of x = f (y), and the ordinates y = c and y = d.

Divide the interval [c, d] into n subintervals and choose y∗i in the ith subinterval. As shown in Figure ??, the area of the rectangle A1 is
f (y∗1 )∆y1 , the area of the rectangle A2 is f (y∗2 )∆y2 and so on.

The sum of the areas of the rectangles approximates the area of the whole region under the graph of the function x = f (y) from y = c to
y = d where as the number of the subintervals increases n → ∞ (||P|| → 0), the estimation becomes better.

From Definition ??, we have


n Z d
A = lim ∑ f (y∗i )∆yi = f (y) dx
||P||→0 i=1 c
Z d
where P is a partition of [c, d]. Thus, if x = f (y) is continuous and f (y) ≥ 0 on [c, d], the definite integral f (y) dy is exactly the area
c
of the region under the graph of x = f (y) from y = c to y = d:

Z d
A= f (y) dy
c

 Example 5.3 Sketch the region bounded by the graph of x = y + 1 and y-axis over the interval [−1, 0], then find its area.

y
Solution: Figure 5.7 shows the region bounded by the
function x = y + 1 and y-axis over the interval [−1, 0].

The area of the region is


x = y+1
Z 0 x
A= (y + 1) dy
−1 1
h y2 i0
= +y
2 −1
h 1 i0
= 0 − ( − 1)
2 −1
1
= .
2

Figure 5.7
78 APPLICATIONS OF INTEGRATION


 Example 5.4 Sketch the region bounded by the graph of x = y from y = 0 to y = 1, then find its area.

y

Solution: The region bounded by the function x = y
in the interval [0, 1] is shown in Figure 5.8.

The area of the region is


1
Z 1
√ √
A= y dy x= y
0
2 h 3/2 i1
= y
3 0
2 x
= .
3

Figure 5.8

5.1.3 Region Bounded by Two Curves

If f (x) and g(x) are continuous functions such that f (x) ≥ g(x) ∀x ∈ [a, b], then the area A of the region R bounded by the graphs of
f (x) (the upper boundary of R) and g(x) (the lower boundary of R) from x = a to x = b is subtracting the area of the region under g(x)
from the area of the region under f (x). This can be stated as follows:

Z b 
A= f (x) − g(x) dx
a

If f (y) and g(y) are continuous functions such that f (y) ≥ g(y) ∀y ∈ [c, d], then the area A of the region R bounded by the graphs of
f (y) (the right boundary of R) and g(y) (the left boundary of R) from y = c to y = d is subtracting the area of the region bounded by g(y)
from the area of the region bounded by f (y). This can be stated as follows:

Z d 
A= f (y) − g(y) dy
c
Areas 79

y y

f (x)
R

R
g(y)
g(x) f (y)

c x
x
a b

Figure 5.9: The area of the region bounded by the graphs of the tow functions f and g.

 Example 5.5 Express the area of the shaded region as a definite integral, then find the area.
(2)
(1)

y
y

g(x) = 2x − 1
f (x) = x2 + 2

f (x) = x

g(x) = x + 4

x
x
1 2 3
1 2 3 4

Figure 5.10
Solution:
(1) The area of the region bounded by the two curves f (x) and g(x) is

Z 3 Z 3 h x2 i3 h 9 i 3
A= (2x − 1) − x dx = (x − 1) dx = −x = 9 − 3) − (2 − 2) = .
2 2 2 2 2 2
80 APPLICATIONS OF INTEGRATION

(2) We have two regions:

Region (1) is in the interval [1, 2].

Upper graph: y = x + 4
g(x) = x + 4
Lower graph: y = x2 + 2 f (x) = x2 + 2

Z 2
(x + 4) − (x2 + 2) dx

A1 =
1
Z 2
2 + x − x2 dx

=
1
x
h x2 x3 i2 13
= 2x + − = . 1 2
2 3 1 6

Figure 5.11

y
Region (2) is in the interval [2, 4].

Upper graph: y = x2 + 2
Lower graph: y = x + 4
f (x) = x2 + 2
Z 4
(x2 + 2) − (x + 4) dx

A2 =
2
Z 4
x2 + x − 2 dx

=
2 g(x) = x + 4
h x3 x2 i4 26
= − − 2x = .
3 2 2 3
x
13 26 65
The total area is A = A1 + A2 = + = . 2 4
6 3 6

Figure 5.12

 Example 5.6 Sketch the region bounded by the graphs of y = x2 and y = x + 6 over the interval [−2, 3], then find its area.
Solution: The region bounded by the two functions is shown in Figure 5.13.
Areas 81

The area of the region is

Z 3
A= (x + 6 − x2 ) dx
−2
h x2 x3 i3 y = x+6
= + 6x −
2 3 −2
h 27 22 i
= +
2 3 y = x2
125
= .
6
x
-2 3

Figure 5.13

 Example 5.7 Sketch the region bounded by the graphs of y = x3 and y = x in the interval [−1, 1], then find its area.
Solution:
The figure on the right shows the region bounded by the two functions. The region is divided into two regions as follows:
Region (1) is in the interval [−1, 0]
Upper graph: y = x3 y
Lower graph: y = x
Z 0 h x4 x2 i0 h 1 1 i
A1 = (x3 − x) dx = − = 0−( − )
−1 4 2 −1 4 2
1
= .
4 y = x3
x
Region (2) is in the interval [0, 1] -1 1
Upper graph: y = x
Lower graph: y = x3 y=x
Z 1 h x2 x4 i1 h 1 1 i
A2 = (x − x3 ) dx = − = ( − )−0
0 2 4 0 2 4
1
= .
4
1 1 1
The total area is A = A1 + A2 = + = .
4 4 2
Figure 5.14

 Example 5.8 Sketch the region bounded by the graphs of y = x2 and x = y2 over [0, 1], then find its area.
Solution:
The region bounded by the graphs of y = x2 and x = y2 over [0, 1] is displayed in Figure 5.15. We write the two functions in terms of x,
so the upper graph:

x = y2 ⇒ y = x.
82 APPLICATIONS OF INTEGRATION

The area of the region is

Z 1
√ x = y2
A= ( x − x2 ) dx y = x2
0
h 2 3 x3 i1
= x2 − x
3 3 0 1
h2 1i
= −
3 3
1
= .
3

Figure 5.15

π
 Example 5.9 Sketch the region determined by the graphs of y = sin x, y = cos x and y-axis over the interval [0, ]. Then find its
4
area.
Solution:
The figure on the right shows the region bounded by the two functions. Over the interval [0, π4 ], the two curves intersect at π4 .

Hence, the area of the shaded region is


Z π
4 
A= cos x − sin x dx y = sin x
0
h iπ x
4
= sin x + cos x
0 π/4
h 1 1  i
= √ +√ − 1
2 2
√ y = cos x
= 2 − 1.

Figure 5.16

y
 Example 5.10 Sketch the region bounded by the graphs of x = 2y and x = 2 + 3, then find its area.
Solution:
Let f (y) = 2y + 3 and g(y) = 2y. To sketch the region bounded by the two functions, we find out whether the two functions are intersected.
Solids of Revolution 83

f (y) = g(y)
y
⇒ + 3 = 2y
2
⇒ y + 6 = 4y
⇒ y = 2.
Substitute y = 2 in f (y) or g(y), we have x = 4. Thus, the two curves intersect at (4, 2).

y
4
Based on the region given in Figure 5.17, the area is

Z 2 3
y
A= ( + 3 − 2y) dy
0 2
Z 2
3 2
= (− y + 3) dy x = 2y
0 2
h 3 i2
= − y2 + 3y
4 0 1
x = y/2 + 3
= −3 + 6 = 3.
x
1 2 3 4 5

Figure 5.17

5.2 Solids of Revolution

Definition 5.1 If R is a plane region, the solid of revolution S is a solid generated from revolving R about a line in the same
plane where the line is called the axis of revolution.

In the following examples, we show some simple solids of revolution.

 Example 5.11 Let y = f (x) ≥ 0 be a continuous function for every x ∈ [a, b]. Let R be a region bounded by the graph of f and the
x-axis from x = a to x = b. The region revolution about x-axis generates a solid given in Figure 5.18 (right).

Figure 5.18: Revolution of the region R about x-axis. The figure on the left shows the region under the continuous function y = f (x) ≥ 0 over the
interval [a, b]. The figure on the right shows the solid S generated by revolving the region about x-axis.
84 APPLICATIONS OF INTEGRATION

 Example 5.12 Let y = f (x) be a constant function from x = a to x = b, as in Figure 5.19. The region R is a rectangle and by
revolving it about x-axis, we obtain a circular cylinder.

Figure 5.19: Revolution of the rectangular region R about x-axis. The figure on the left shows the region under the constant function f (x) = c over the
interval [a, b]. The figure on the right shows the circular cylinder generated by revolving the region about x-axis.

 Example 5.13 Consider a region R bounded by the graph of x = f (y) from y = c to y = d. Revolution of R about y-axis generates a
solid given in Figure 5.20.

Figure 5.20: Revolution of the region R about y-axis. The figure on the left displays the region under the function x = f (y) over the interval [c, d]. The
figure on the right displays the solid S generated by revolving the region about y-axis.

5.3 Volumes of Revolution Solids

One of the interesting applications of the definite integral is computing the solids revolution. In this section, we study three methods to
compute the volumes of the revolution solids known as disk method, washer method and cylindrical shells method.

5.3.1 Disk Method

Let y = f (x) ≥ 0 be a continuous function for every x ∈ [a, b] and let R be a region bounded by the graph of f and x-axis form x = a to
x = b. Let S be a solid generated by revolving R about x-axis. Assume that P is a partition of [a, b] and ω = (ω1 , ω2 , ..., ωn ) is a mark
where ωk ∈ [xk−1 , xk ]. From each subinterval [xk−1 , xk ], we form a vertical rectangle with high f (ωk ) and width ∆xk .
Volumes of Revolution Solids 85

The revolution of the vertical rectangle about x-axis generates a


circular disk as shown in Figure 5.21.

The volume of the circular disk with radius r and high h is

V = πr2 h .

Figure 5.21
From Figure 5.22, revolution of the rectangular k generates a circular disk with radius r = f (ωk ) and high h = ∆xk . Thus the volume of
the generated circular disk is

Vk = π( f (ωk ))2 ∆xk , k = 1, 2, ..., n .

The sum of the volumes of the circular disks approximates the volume of the revolution solid:

n n 2 Z bh i2
V= ∑ Vk = kPk→0
lim ∑ π f (ωk ) ∆xk = π f (x) dx.
k=1 k=1 a

Figure 5.22: The volume of the revolution solid about x-axis by the disk method. The figure on the left shows the region R bounded by the function
y = f (x) ≥ 0 on the interval [a, b] and the figure on the right shows the solid S generated by revolving R about x-axis.

Similarly, we can find the volume of the revolution solid generated by revolving a region R about y-axis. Let f be continuous on [c, d]
and R be a region bounded by the graph of f and y-axis from y = c to y = d. Let S be a solid generated by revolving R about y-axis.
Assume that P is a partition of [c, d] and ω = (ω1 , ω2 , ..., ωn ) is a mark where ωk ∈ [yk−1 , yk ]. From each subinterval [yk−1 , yk ], we form
a horizontal rectangle, its high and width are f (ωk ) and ∆yk , respectively.

The revolution of each horizontal rectangle about y-axis generates a circular disk as shown in Figure 5.23 with radius r = f (ωk ) and high
h = ∆yk . Therefore, the volume of each circular disk is

Vk = π( f (ωk ))2 ∆yk , k = 1, 2, ..., n .


86 APPLICATIONS OF INTEGRATION

Figure 5.23: The volume of the revolution solid about y-axis by the disk method. The figure on the left shows the region R bounded by the function f
on the interval [c, d] and the figure on the right shows the solid S generated by revolving R about y-axis.

The sum of the volumes of the circular disks approximates the volume of the revolution solid given in Figure 5.23 (right):

n n
V= lim ∑ π( f (ωk ))2 ∆yk
∑ Vk = kPk→0
k=1 k=1
Z dh i2
=π f (y) dy.
c

These considerations are summarized in the following theorem:

Theorem 5.2
1. If R is a region bounded by the graph of f on the interval [a, b], the volume of the revolution solid generated by revolving
R about x-axis is Z h bi 2
V =π f (x) dx.
a

2. If R is a region bounded by the graph of f on the interval [c, d], the volume of the revolution solid generated by revolving
R about y-axis is
Z dh i2
V =π f (y) dy.
c

 Example 5.14 Sketch the region R bounded by the graph of y = x + 1 on the interval [0, 2]. Then, find the volume of the solid
generated by revolving R about x-axis.
Solution: First, we sketch the graph of the function y = x + 1 and determine the region R in the interval [0, 2]. Then, we sketch the solid
generated by revolving R about the x-axis.
Volumes of Revolution Solids 87

Figure 5.24

From the figure, we have a vertical disk with radius y = x + 1 and thickness dx. Thus, the volume of the solid S is as follows:

Z 2 i2 π
πh 26π
V =π (x + 1)2 dx = (x + 1)3 = (27 − 1) = .
0 3 0 3 3

 Example 5.15 Sketch the region R bounded by the graph of y = x from x = 0 to x = 4. Then, find the volume of the solid generated
by revolving R about x-axis.
Solution: Figure 5.25 shows the region R and the solid S generated by revolving the region about the x-axis.

Figure 5.25


Since the revolution is about the x-axis, we have a vertical disk with radius y = x and thickness dx.
Thus, the volume of the solid S is as follows:

Z 4
√ Z 4
π h 2 i4 π h i
V =π ( x)2 dx = π x dx = x = 16 − 0 = 8π.
0 0 2 0 2

2
 Example 5.16 Sketch the region R bounded by the graph of the function y = x and x-axis from x = −2 to x = 2. Then, find the
volume of the solid generated by revolving R about x-axis.
Solution: The figure on the left shows the region R bounded by the graph of y = x2 in the interval [−2, 2]. The figure to the right shows
the solid S generated by revolving the region about the x-axis.
88 APPLICATIONS OF INTEGRATION

Figure 5.26

From the figure, we have a vertical disk with radius y = x2 and thickness dx. Thus, the volume of the solid S is as follows:

Z 2
π h 5 i2 64π
V =π (x2 )2 dx = x = .
−2 5 −2 5

 Example 5.17 Sketch the region R bounded by the graph of the equations x = y + 1, y = 1, y = 3. Then, find the volume of the solid
generated by revolving R about y-axis.
Solution: The figure shows the region R and the solid S generated by revolving the region about the y-axis.

Figure 5.27

From the figure, we have a vertical disk with radius x = y + 1 and thickness dy. Thus, the volume of the solid S is as follows:

Z 3 i3 56π
πh
V =π (y + 1)2 dy = (y + 1)3 = .
1 3 1 3

2
 Example 5.18 Sketch the region R bounded by the graph of the equation x = y on the interval [0, 2]. Then, find the volume of the
solid generated by revolving R about y-axis.
Solution: The figure on the left shows the region R bounded by the graph of x = y2 in the interval [0, 2]. The figure to the right shows the
solid S generated by revolving the region about the y-axis.
Volumes of Revolution Solids 89

Figure 5.28

Since the revolution of R is about the y-axis, we have a horizontal disk with radius x = y2 and thickness dy. Thus, the volume of the solid
S is as follows: Z 2
π h 5 i2 32π
V = π (y2 )2 dy = y = .
0 5 0 5


 Example 5.19 Sketch the region R bounded by the graph of the equation x = y − 1 from y = 1 to y = 3. Then, find the volume of
the solid generated by revolving R about y-axis.
Solution: The figure shows the region R and the solid S generated by revolving the region about the y-axis.

Figure 5.29

Since the revolution of R is about the y-axis, we have a horizontal disk with radius x = y − 1 and thickness dy. Thus, the volume of the
solid S is as follows:
Z 3 p h y2 i3
V = π ( y − 1)2 dy = π − y = 2π.
1 2 1

5.3.2 Washer Method


When we have an area defined by a single function, the revolution around an axis generates a disk. Thus, when the region is bound by
two functions, the revolution generates two disks, an inner disk and an outer disk. In this case, we say we have a washer method.
Let R be a region bounded by the graphs of f (x) and g(x) from x = a to x = b such that f (x) ≥ g(x) for all x ∈ [a, b] as shown in Figure
5.30. The volume of the solid S generated by revolving the region R about x-axis can be found by calculating the difference between the
volumes of the two solids generated by revolving the regions under f and g about the x-axis as follows:
90 APPLICATIONS OF INTEGRATION

The outer radius: y1 = f (x)


The inner radius: y2 = g(x)
The thickness: dx h i
The volume of a washer is dV = π (the outer radius)2 − (the inner radius)2 . thickness.
h i
This implies dV = π ( f (x))2 − (g(x))2 dx.
Hence, the volume of the solid over the interval [a, b] is

Z bh 2 2 i
V =π f (x) − g(x) dx.
a

Figure 5.30: The volume of the solid generated by revolving the region about the x-axis using the washer method.

Similarly, let R be a region bounded by the graphs of f (y) and g(y) such that f (y) ≥ g(y) for all y ∈ [c, d] as shown in Figure 5.31. The
volume of the solid S generated by revolving R about the y-axis is

Z dh 2 2 i
V =π f (y) − g(y) dy.
c

Figure 5.31: The volume of the solid generated by revolving the region about the y-axis using the washer method.

The following theorem summarizes the washer method.


Volumes of Revolution Solids 91

Theorem 5.3
1. If R is a region bounded by the graphs of f and g on the interval [a, b] such that f ≥ g, the volume of the revolution solid
generated by revolving R about x-axis is
Z bh 2 2 i
V =π f (x) − g(x) dx.
a

2. If R is a region bounded by the graphs of f and g on the interval [c, d] such that f ≥ g, the volume of the revolution solid
generated by revolving R about y-axis is
Z dh 2 2 i
V =π f (y) − g(y) dy.
c

 Example 5.20 Let R be a region bounded by the graphs of the functions y = x2 and y = 2x. Evaluate the volume of the solid
generated by revolving R about x-axis.
Solution:
Let f (x) = x2 and g(x) = 2x. First, we check whether the graphs of the two functions are intersecting or not.
Note
f (x) = g(x) ⇒ x2 = 2x ⇒ x2 − 2x = 0 The graphs of two functions f (x)
⇒ x(x − 2) = 0 and g(x) intersect at x = x0 if
f (x0 ) = g(x0 ).
⇒ x = 0 or x = 2.

Substituting x = 0 into f (x) or g(x) gives y = 0. Similarly, substitute x = 2 into any of the two functions gives y = 2. Thus, the two
curves intersect in two points (0, 0) and (2, 4).

Figure 5.32

The figure shows the region R and the solid generated by revolving the region about the x-axis. A vertical rectangle generates a washer
where
the outer radius: y1 = 2x,
the inner radius: y2 = x2 and
the thickness: dx. h i
The volume of the washer is dV = π (2x)2 − (x2 )2 dx.
92 APPLICATIONS OF INTEGRATION

Hence, the volume of the solid over the interval [0, 2] is


Z 2  Z 2
V =π (2x)2 − (x2 )2 dx = π (4x2 − x4 ) dx
0 0
h 4x3 x5 i2
=π −
3 5 0
h 32 32 i
=π −
3 5
64
= π.
15

2
 Example 5.21 Consider the same region as in Example 5.20 enclosed by the graphs of y = x and y = 2x. Revolve the region about
y-axis instead and find the volume of the generated solid.
Solution: The figure shows the region R and the solid generated by revolving the region about the y-axis.

Figure 5.33

Since the revolution is about the y-axis, we need to rewrite the equations in term of y i.e., x = f (y) and x = g(y).
√ y
y = x2 ⇒ x = y = f (y) and x = = g(y) .
2
The two horizontal rectangles generate a washer where

the outer radius: x1 = y,
the inner radius: x2 = 2y and
the thickness: dy. h√ i
The volume of the washer is dV = π ( y)2 − ( 2y )2 dy.

Hence, the volume of the solid over the interval [0, 4] is


y2 
Z 4 Z 4
√ y 
V =π ( y)2 − ( )2 dy = π y− dy
0 2 0 4
h y2 y3 i4
=π −
2 12 0
8
= π.
3


 Example 5.22 Consider a region R bounded by the graphs of the functions y = x, y = 6 − x and x-axis. Revolve the region about
y-axis and find the volume of the generated solid.
Solution: Since the revolution is about the y-axis, we need to rewrite the functions in terms of y i.e., x = f (y) and x = g(y).

y = x ⇒ x = y2 = f (y) and y = 6 − x ⇒ x = 6 − y = g(y).
Volumes of Revolution Solids 93

Now, we find the intersection points: f (y) = g(y) ⇒ y2 = 6 − y ⇒ y2 + y − 6 = 0 ⇒ y = −3 or y = 2.


Since y = x, we ignore the value y = −3. By substituting y = 2 into the two functions, we have x = 4. Thus, the two curves intersect in
one point (4, 2). The solid S generated by revolving the region R about y-axis is shown in Figure 5.34.

Also, the revolution is about the y-axis, so we have a horizontal rectangle that generates a washer where
the outer radius: x1 = 6 − y,
the inner radius: x2 = y2 and
the thickness: dy.
The volume of the washer is dV = π (6 − y)2 − (y2 )2 dy.
 

The volume of the solid over the interval [0, 2] is

Z 2 h (6 − y)3 y5 i2
(6 − y)2 − (y2 )2 dy = π −

V =π −
0 3 5 0
h 64 32  216 i
=π − − − − −0
3 5 3
664
= π.
15

Figure 5.34


 Example 5.23 Consider the same region as in Example 5.22 enclosed by the graphs of y = x, y = 6 − x and x-axis. Revolve the
region about x-axis instead and find the volume of the generated solid.
Solution: From the figure, we find that the solid is made up of two separate regions and each requires its own integral. Hence, we use the
disk method to evaluate the volume of the solid generated by revolving each region.

From revolution of the first region R1 about the x-axis, we have a vertical disk with radius y = x2 and thickness dx. Thus, the volume of
the solid S1 is as follows:

Z 4
√ Z 4
V1 = π ( x)2 dx = π x dx
0 0
π h 2 i4 32
= x = π.
2 0 3

From revolution of the first region R2 about the x-axis, we have a vertical disk with radius y = 6 − x and thickness dx. Thus, the volume
of the solid S2 is as follows:
94 APPLICATIONS OF INTEGRATION

Note
Z 6 Z 6 Use the substitution method to do
V2 = π (6 − x)2 dx = π (6 − x)2 dx the second integral with
4 4
πh i6 32 u = 6 − x and − du = dx
= − (6 − x)3 = π.
3 4 3

The volume of the total solid is

V = V1 +V2
8 32
= 8π + π = π.
3 3

Figure 5.35

5.3.3 Method of Cylindrical Shells


In this section, we study a new method to evaluate the volume of revolution solid called cylindrical shells method. In the washer method,
we assume that the rectangle from each subinterval is vertical to the revolution axis while in the cylindrical shells method, the rectangle
will be parallel to the revolution axis.

Figure 5.36 shows a cylindrical shell. Let

r1 be the inner radius of the shell,


r2 be the outer radius of the shell,
h be high of the shell,
∆r = r2 − r1 be the thickness of the shell,
r1 +r2
r= 2 be the average radius of the shell.

Figure 5.36
Volumes of Revolution Solids 95

The volume of the cylindrical shell is

V = V2 −V1
Note
= πr22 h − πr12 h
= π(r22 − r12 )h V = V2 − V1
|{z}
= π(r2 + r1 )(r2 − r1 )h
|{z} |{z}
volume of the cylindrical shell volume of the outer cylinder volume of the inner cylinder
r2 + r1
= 2π( )h(r2 − r1 )
2
= 2πrh∆r.
Now, let R be a region R on the interval [a, b] and S be a solid generated by revolving the region about y-axis (Figure 5.37). Let P be a
partition of the interval [a, b] and let ω = (ω1 , ω2 , ..., ωn ) be a mark on P where ωk is the midpoint of [xk−1 , xk ].

The revolution of the rectangle about the y-axis generates a cylindrical shell where
the high = f (ωk ),
the average radius = ωk ,
the thickness = ∆xk .

A B

Figure 5.37: The volume of the revolution solid about the y-axis by the cylindrical shells method.

Hence, the volume of the cylindrical shell is Vk = 2πωk f (ωk )∆xk . To evaluate the volume of the whole solid, we sum the volumes of all
cylindrical shells. This implies
n n
V= ∑ Vk = 2π ∑ ωk f (ωk )∆xk .
k=1 k=1

From the Riemann sum


n Z b
lim
kPk→0
∑ ωk f (ωk )∆xk = a
x f (x) dx .
k=1

This implies
Z b
V = 2π x f (x) dx.
a

Similarly, we can find that if the revolution of the region is about x-axis, the volume of the revolution solid is

Z d
V = 2π y f (y) dy.
c
96 APPLICATIONS OF INTEGRATION

Theorem 5.4
1. If R is a region bounded by the graph of f on the interval [a, b], the volume of the revolution solid generated by revolving
R about y-axis is
Z b
V = 2π x f (x) dx.
a
2. If R is a region bounded by the graph of f on the interval [a, b], the volume of the revolution solid generated by revolving
R about x-axis is Z d
V = 2π y f (y) dy.
c

Note: The importance of the cylindrical shells method appears when solving equations for one variable in terms of another (i.e., solving
x in terms of y). For example, let S be a solid generated by revolving the region bounded by y = 2x2 − x3 and y = 0 about y-axis. By the
washer method, we have to solve the cubic equation for x in terms of y, but this is not simple.

2
 Example 5.24 Sketch the region R bounded by the graph of y = 2x − x and x-axis. Then, by the cylindrical shells method, find the
volume of the solid generated by revolving R about y-axis.

Solution:
The figure shows the region R and the solid S generated by revolving the region about the y-axis.

Try to solve Exercise 5.24 using the


disk method.

Figure 5.38

Since the revolution is about the y-axis, the rectangle is vertical and by revolving it, we obtain a cylindrical shell where
the high: y = 2x − x2 ,
the average radius: x,
the thickness: dx.

The volume of the cylindrical shell is dV = 2πx(2x − x2 ) dx = 2π(2x2 − x3 ) dx.

Thus, the volume of the solid over the interval [0, 2] is


Z 2
V = 2π (2x2 − x3 ) dx
0
h 2x3 x4 i2
= 2π −
3 4 0
16 16  8π
= 2π − = .
3 4 3
Volumes of Revolution Solids 97


 Example 5.25 Sketch the region R bounded by the graphs of the equations x = y and y = 4, and y-axis. Then, find the volume of
the solid generated by revolving R about x-axis.
Solution:

Figure 5.39

Since the revolution is about the x-axis, the rectangle is horizontal and by revolving it, we have a cylindrical shell where

the high: x = y,
the average radius: y,
the thickness: dy.


The volume of the cylindrical shell is dV = 2π y y dy.

Thus, the volume of the solid over the interval [0, 4] is


Z 4 Z 4
√ 3
V = 2π y y dy = 2π y 2 dy
0 0
4π h 5 i4
= y2
5 0
4π h i 128π
= 32 − 0 = .
5 5
Exercises 98

Exercises

1 - 36 Sketch the region bounded by the graphs of the given equations, then find its area.

1 y = x + 2 and x-axis over [−2, 1] 19 y = x2 + 1 and y = x + 1 from x = 0 to x = 1


2 y = x3 and x-axis over [0, 2] 20 x = y and 2x = y from y = 0 to y = 4


3 y = x2 , y = 4 21 y = x + 1, y = x + 1


4 x = y3 and y-axis from y = 0 to y = 2 22 y = x2 , y = x

5 x = y2 and y-axis from y = −1 to y = 1 23 y = x2 + 1, y = 2x and x = 0

6 y = x3 , y = −x, y = 8 24 y = sin x and y = cos x from x = 0 to x = π


2

7 y = x + 1, y = 2x and x-axis 25 y = ex and x-axis over [0, ln 4]

8 x = y3 − 1 and y-axis from y = 1 to y = 2 26 y = 3x, y = −x + 2 and x-axis

9 y = x, x = 2 − y, y = 0 27 y = e−x from x = −1 to x = 2

10 y = x, y = x − 1 over [0, 2] 28 y = sin x and y = cos x over [0, π6 ]

11 x2 + y = 4, y = 0 29 y = ex and y-axis from x = 0 to x = ln 2

12 x = 2y, y + 6 = 2x, x = 0 30 y = x, y = −x + 2 and x-axis


13 y = x2 , y = x 31 y = cos 2x and x-axis over [0, π4 ]

14 x = y2 , y = x + 1, y = 1, y = 2 32 y = sin x, x = π4 , x = π
2

−π
15 y − 1 = 3x and y − 2 = x from x = 0 to x = 1 33 y = sec2 x, y = 0, x = 4 , x= π
4


16 y = x + 1 and y = x − 1 over [1, 3] 34 y = tan x and x-axis from x = 0 to x = π
4

17 y = x3 , y = x2 35 y = x2 − 1, x = 1, x = 2

18 y = (x + 1)2 and x-axis over [−2, 0] 36 y = ln x, y = 0, x = e2


Exercises 99

37 - 54 Sketch the region R bounded by the graphs of the given equations and find the volume of the solid generated by revolving R
about x-axis.

46 x = y, x = y
37 y = 2x and x-axis over [0, 1]

47 y = x3 , y = x2 , x = 1, x = 3/2
38 y = x, x + y = 4 and y-axis

48 y = 4x − x2 and x-axis
39 y = x2 , y = 4 − x2

1 49 y = ex over [0, 2]
40 y = x and x-axis over [1, 3]

√ 50 y = x2 , y = 9
41 y = x2 , y = x
51 y = x2 , y = x
42 y = x2 , y = 1 − x2
52 y = ln x over [1, 4]
43 y = x2 , y = x3
π
53 y = sin x and y = cos x from x = 0 to x = 4 (use
44 y = 1 + x3 , x = 1, x = 2, y = 0
cos2 x = 1+cos
2
2x
, sin2 x = 1−cos
2
2x
)

45 x = y + 1, x = 2y − 3, x = 1, x = 3 π
54 y = sin x from x = 0 to x = 2
55 - 72 Sketch the region R bounded by the graphs of the given equations and find the volume of the solid generated by revolving R
about y-axis.

55 x = 3y and x-axis over [0, 1] 64 x = y, x = y + 1, y = 0, y = 2

56 x = y2 , x = 2y 65 y = x2 − 1, y = 0, x = 1, x = 2

57 y = x3 and y-axis over [0, 1] 66 x = y3 , x = y, y = 0, y = 1

58 y = x2 , y = 0 and x = 2 67 (x − 2)2 + y = 1, y = 0

59 x = y2 , y = x − 2 68 y = 1 − x2 , y = 1 − x

60 y = cos x, x = 0, x = π
2 69 y = x2 + 1 and x-axis over [0, 1]

π
61 y = cos x, y = sin x, x = 0, x = 4 70 y = 6 − 3x and y-axis

62 y2 = 1 − x, x = 0 71 y = 1 − x2 , x = 0, x = 1

63 x = 3y and x = y + 2 from y = 0 to y = 1 72 y = (x − 1)2 and x-axis over [0, 2]


Exercises 100

73 - 78 Choose the correct answer.

73 The area of the region bounded by the graphs of the functions y = x2 and y = 2 − x2 is equal to
(a) 2 (b) 4 (c) 38 (d) 83

74 The area of the region bounded by the graphs of the functions x = −y2 and x = −1 is equal to
(a) 34 (b) 19 (c) 16 (d) 83

75 The area of the region bounded by the graphs of the functions y = x and y = −x and y = 1 is equal to
(a) 1 (b) 0 (c) 2 (d) 21

76 The area of the region bounded by the graphs of the functions y = 2x and y = x and 0 ≤ x ≤ 1 is equal to
(a) 21 (b) 14 (c) 2 (d) 13
π
77 The area of the region bounded by the graphs of the functions y = cos x, y = sin x, x = 0 and x = is equal to
√ √ √ 4
(a) 2 − 1 (b) 0 (c) 2 + 1 (d) 1 − 2

78 The area of the region bounded by the graphs of the functions x = y2 and x = 2 − y2 is equal to
(a) 31 (b) 8 (c) 1 (d) 83
101

Chapter 6

PARTIAL DERIVATIVES

6.1 Functions of Several Variables

Definition 6.1
1. A function of two variables is a rule that assigns an ordered pair (x1 , x2 ) to a real number w:

f : R2 −→ R

(x1 , x2 ) −→ w .

2. A function of three variables is a rule that assigns an ordered triple (x1 , x2 , x3 ) to a real number w:

f : R3 −→ R

(x1 , x2 , x3 ) −→ w .

 Example 6.1
(1) f (x, y) = x2 + y2 is a function of two variables x and y. The function f (x, y) takes (x, y) ∈ R2 to ω ∈ R. For example, f (1, 2) =
12 + 22 = 5 i.e., the function f takes (1, 2) ∈ R2 to 5 ∈ R.

(2) f (x, y, z) = x2 + y2 + z is a function of three variables x, y and z. The function f (x, y, z) takes (x, y, z) ∈ R3 to ω ∈ R. For example,
the function f takes (1, 2, −1) ∈ R3 to 4 ∈ R.

Definition 6.2 A function of n variables is a rule that assigns an ordered n-tuple (x1 , x2 , ..., xn ) to a real number w:

f : Rn −→ R

(x1 , x2 , ..., xn ) −→ w .

Example 6.2 f (x, y, z, u, v) = x2 + y2 − 7zu + v2 is a function of five variables. The function f (x, y, z, u, v) takes (x, y, z, u, v) ∈ R5 to
ω ∈ R. For example, the function f takes (1, 0, 1, 1, 2) ∈ R5 to −2 ∈ R.

6.2 Partial Derivatives

For one variable y = f (x), the derivative dy/dx gives the change rate of y with respect to x. A similar thing occurs with functions of
more than one variable. For example, for a function of two variables ω = f (x, y), the independent variables are x and y while ω is the
dependent variable i.e. as x and y vary the value of ω traces out a surface.
102 PARTIAL DERIVATIVES

6.2.1 Partial Derivatives of Functions of Several Variables

Definition 6.3 Let w = f (x, y) be a function of two variables.


∂ f ∂w
1. The partial derivative of ω = f (x, y) with respect to x denoted ,
∂x ∂x
, fx or wx is calculated by applying the rules of
differentiation to x holding y constant.
∂ f ∂w
2. The partial derivative of ω = f (x, y) with respect to y denoted ,
∂y ∂y
, fy or wy is calculated by applying the rules of
differentiation to y holding x constant.

 Example 6.3 If f (x, y) = x2 y3 + xy ln(x + y), calculate (1) fx and (2) fy .


Solution:
If u = g(x) is differentiable, then
1 xy
(1) fx = 2xy3 + y ln(x + y) + xy = 2xy3 + y ln(x + y) + x+y

x+y .
d u0
1 xy (ln u) =
= 3x2 y2 + x ln(x + y) + xy = 3x2 y2 + x ln(x + y) + x+y

(2) fy x+y . dx u

2x
 Example 6.4 If f (x, y) = y + sin(xy), calculate (1) fx and (2) fy .
Solution:
If u = g(x) is differentiable, then
2
(1) fx = y + y cos(xy) .
d
(sin(u)) = cos(u) u0
(2) fy = − 2x
y2
+ x cos(xy) . dx

Definition 6.4 Let w = f (x, y, z) be a function of three variables.


∂ f ∂w
1. The partial derivative of ω = f (x, y, z) with respect to x denoted ,
∂x ∂x
, fx or wx is calculated by applying the rules of
differentiation to x holding y and z constants.
∂ f ∂w
2. The partial derivative of ω = f (x, y, z) with respect to y denoted ,
∂y ∂y
, fy or wy is calculated by applying the rules of
differentiation to y holding x and z constants.
∂ f ∂w
3. The partial derivative of ω = f (x, y, z) with respect to z denoted ,
∂z ∂z
, fz or wz is calculated by applying the rules of
differentiation to z holding x and y constants.

 Example 6.5 If f (x, y) = z2 y3 − y2 (x3 + z), calculate (1) fx (2) fy (3) fz .


Solution:
(1) fx = 0 − y2 (3x2 ) = −3y2 x2 .

(2) fy = 3z2 y2 − 2y(x3 + z) .

(3) fz = 2zy3 − y2 (1) = 2zy3 − y2 .

6.2.2 Second Partial Derivatives


In derivative calculus with one variable, we saw that the second derivative is often useful. It tells how the curve is sharp and determines
the maximum and minimum points. In a more complicated case, the second derivative will be used for multi-variable functions. With
two variables f (x, y), there are four possible second derivatives:
∂2 f ∂2 f ∂2 f ∂2 f
2
, , , .
∂x ∂x∂y ∂y∂x ∂y2
Therefore, as number of variables increases, the number of second derivatives increases. Now, let ω = f (x, y) be a function of x and y,
then 2
• ∂∂x2f means the second derivative with respect to x holding y constant.
Chain Rule for Partial Derivatives 103

∂2 f
• ∂y2
means the second derivative with respect to y holding x constant.
∂2 f
• ∂x∂y
means differentiate first with respect to y and then with respect to x.

Definition 6.5 Let w = f (x, y) be a function of two variables, then


2
∂ ∂f
1. ∂∂x2f = ∂x ∂
( ∂x ) = ∂x fx = fxx .

∂2 f ∂ ∂f ∂
2. ∂y2
= ( )
∂y ∂y
= f
∂y y
= fyy .

∂2 f ∂ ∂f ∂
3. ∂x∂y
= ( )
∂x ∂y
= f
∂x y
= fyx .

∂2 f ∂ ∂f ∂
4. ∂y∂x
= ( )
∂y ∂x
= f
∂y x
= fxy .

The second partial derivatives of functions of three variables are defined in the same manner given in the previous definition.

Theorem 6.6
(1) Let f (x, y) be a function of two variables. If the second partial derivatives fxy and fyx exist and are continuous, then
fxy = fyx .

(2) Let f (x, y, z) be a function of three variables. If the partial derivatives fxy , fyx , fxz , and fzx exist and are continuous, then
fxy = fyx , fxz = fzx and fyz = fzy .

 Example 6.6 If f (x, y) = x3 + 2x2 y2 + y3 , calculate (1) fxy (2) fyx .


Solution:
(1) fx = 3x2 + 4xy2 , then fxy = 8xy.

(2) fy = 4x2 y + 3y2 , then fyx = 8xy.


From this example, we have fxy = fyx .

 Example 6.7 If f (x, y, z) = z3 x + y2 (x + yz), calculate


(1) fx , fy and fz at (1, 1, 1).

(2) fxx , fyy and fzz .

(3) fxy , fyz and fzx at (0, −1, 1).


Solution:
(1) fx = z3 + y2 , fy = 2y(x + yz) + y2 z = 2xy + 3y2 z and fz = 3xz2 + y3 . At (1, 1, 1), we have fx = 2, fy = 5 and fz = 4.

(2) fxx = 0, fyy = 2x + 6yz and fzz = 6xz.

(3) fxy = 2y, fyz = 3y2 and fzx = 3z2 . At (0, −1, 1), we have fxy = −2, fyz = 3 and fzx = 3.

6.3 Chain Rule for Partial Derivatives

A chain rule for ordinary derivatives is to differentiate a function of a function (composite functions). If f (x) and g(x) are two
functions, then the composite function of the two functions is ( f ◦ g)(x) = f g(x) . For example, if f (x) = cos x and g(x) = x2 , then
( f ◦ g) = f g(x) = cos x2 . To differentiate such function, we apply the chain rule given in the following definition.

104 PARTIAL DERIVATIVES

Definition 6.7 If g is a differentiable function at x and f is differentiable at g(x), then the composite function F = f ◦ g
defined by F(x) = f g(x) is differentiable at x as follows:

dF d f dg(x)
= .
dx dg(x) dx

dy
 Example 6.8 If y = cos x2 , calculate dx .
Solution:
Let f (x) = cos x and g(x) = x2 , then ( f ◦ g)(x) = f g(x) = cos x2 .


It follows that
df  dg(x)
= − sin g(x) and = 2x .
dg(x) dx
By applying the chain rule, we have

dy d f dg(x)
=
dx dg(x) dx
= − sin g(x) (2x) = −2x sin x2 .


In the following, we expanded the chain rule for composite functions of two or three functions. Thus, we need to use the chain rule more
than once.
1. If w = f (x, y), x = g(t), and y = h(t) such that f , g and h are differentiable, then

df dw ∂w dx ∂w dy
= = + .
dt dt ∂x dt ∂y dt

2. If w = f (x, y), x = g(t, s), and y = h(t, s) such that f , g and h are differentiable, then

∂f ∂w ∂w ∂x ∂w ∂y
= = + .
∂t ∂t ∂x ∂t ∂y ∂t

∂f ∂w ∂w ∂x ∂w ∂y
= = + .
∂s ∂s ∂x ∂s ∂y ∂s

3. If w = f (x, y, z), x = g(t, s), y = h(t, s), and z = k(t, s) such that f , g, h and k are differentiable, then

∂f ∂w ∂w ∂x ∂w ∂y ∂w ∂z
= = + + .
∂t ∂t ∂x ∂t ∂y ∂t ∂z ∂t

∂f ∂w ∂w ∂x ∂w ∂y ∂w ∂z
= = + + .
∂s ∂s ∂x ∂s ∂y ∂s ∂z ∂s
Note that the previous result can be proven by repeating the chain rule.

∂f ∂f
 Example 6.9 If f (x, y) = xy + y2 , x = s2 t, and y = s + t, calculate (1) ∂t
(2) ∂s
.
Solution:
(1) ∂∂tf = ∂ f ∂x
∂x ∂t
+ ∂∂yf ∂y
∂t
=y s2 + (x + 2y)(1)
= (s + t)s2 + s2 t + 2s + 2t
= s3 + 2s2 t + 2s + 2t .
∂f
(2) ∂s
= ∂∂xf ∂x
∂s
+ ∂∂yf ∂y
∂s
= y (2st) + (x + 2y)(1)
= (s + t)(2st) + s2 t + 2s + 2t
= 3s2 t + 2st 2 + 2s + 2t .
Implicit Differentiation 105

∂f ∂f
 Example 6.10 If f (x, y, z) = x + sin(xy) + cos(xz), x = ts, y = s + t, and z = st , calculate (1) ∂t
(2) ∂s
.
Solution:
(1) ∂∂tf = ∂ f ∂x
∂x ∂t
+ ∂∂yf ∂y
∂t
+ ∂∂zf ∂z
∂t
= (1 + y cos(xy) − z sin(xz))s + x cos(xy)(1) − x sin(xz)( −st2
)
s s 2
 
= s + (s + t)s + ts cos(ts(s + t)) + ( t 2 )ts − ( t )s sin(s )
= s + (s2 + 2ts) cos(ts(s + t)) .
∂f ∂ f ∂x
(2) ∂s
= ∂x ∂s
+ ∂∂yf ∂y
∂s
+ ∂∂zf ∂z
∂s
= (1 + y cos(xy) − z sin(xz))t + x cos(xy)(1) − x sin(xz)( 1t )
= t + (s + t)s + ts cos(ts(s + t)) − ( st )t + ( st )t sin(s2 )
 

= s + (s2 + 2ts) cos(ts(s + t)) − 2s sin(s2 ) .

6.4 Implicit Differentiation


Sometimes a function can be defined implicitly by an equation of the form f (x, y) = 0. We can solve y in terms of x to have a function
y = y(x) such that f (x, y(x)) = 0 for all x. For example, consider the following equation 2y + 8x = 6. We can rewrite the equation as
dy
y = 3 − 4x which is in the form y = f (x). By taking the derivative, we have dx = −4.
Alternatively, we know that y is a function of x i.e. y = y(x). By differentiating the equation 2y + 8x = 6 implicitly, we have
dy dx d6
2 +8 =
dx dx dx
dy
2 +8 = 0 .
dx
dy
Now, rearrange to have dx ,
dy dy 8
2 +8 = 0 ⇒ = − = −4
dx dx 2
and this what we obtained before.
Suppose we cannot find y explicitly as a function of x, only implicitly through the equation F(x, y) = 0. For example, consider a circle of
radius r centered at the origin and represented by the formula x2 + y2 =√ r2 . The graph of the circle is not the graph of a function because
it fails the vertical line test. By solving y in terms of x, we have y = ± r2 − x2 . This formula of the circle cannot be expressed as one
dy
function, so how we can find dx . The answer is by implicit differentiation.

We know that F(x, y) = 0 defines y as a function of x, y = y(x). Now, differentiate both sides of F(x, y(x)) = 0 by using the chain rule.
This implies
∂F ∂F dy dy ∂F/∂x
(1) + =0⇒ =− .
∂x ∂y dx dx ∂F/∂y

The following definition summarizes the implicit differentiation.

Definition 6.8
1. Suppose that the equation F(x, y) = 0 defines y implicitly as a function of x, y = f (x) such that f is differentiable. Then,
dy Fx
=− .
dx Fy

2. Suppose that the equation F(x, y, z) = 0 defines z implicitly as a function of x and y, z = f (x, y) such that f is differentiable.
Then,
∂z Fx ∂z Fy
= − and =− .
∂x Fz ∂x Fz

dy
 Example 6.11 Let y2 − xy + 3x2 = 0, find dx .
Solution:
Let F(x, y) = y2 − xy + 3x2 = 0, then Fx = −y + 6x and Fy = 2y − x. Hence,
dy Fx −y + 6x y − 6x
=− =− = .
dx Fy 2y − x 2y − x
106 PARTIAL DERIVATIVES

 Example 6.12 Let F(x, y, z) = x2 y + z2 + sin(xyz) = 0, calculate (1) ∂z


∂x
(2) ∂z
∂y
.
Solution:
Fx = 2xy + yz cos(xyz), Fy = x2 + xz cos(xyz) and Fz = 2z + xy cos(xyz). Hence,
∂z Fx 2xy + yz cos(xyz)
(1) =− =− .
dx Fz 2z + xy cos(xyz)

∂z Fy x2 + xz cos(xyz)
(2) =− =− .
dy Fz 2z + xy cos(xyz)
Exercises 107

Exercises

1 - 26 Find fx , fy , fxx and fyy .

1 f (x, y) = 2x4 y3 − xy2 + 3y + 1 14 f (x, y) = xy ln x


2 3 1
2 f (x, y) = 4ex y 15 f (x, y) = x2 +y2

3 f (x, y) = 3x + 4y 16 f (x, y) = x2 + xy − y2
4 f (x, y) = xy3 + x2 y2 17 f (x, y) = ln(x2 − y)
5 f (x, y) = x3 y + ex 18 f (x, y) = x cos y + yex
6 f (x, y) = xe2x+3y 19 f (x, y) = y sin xy
x−y
7 f (x, y) = x+y 20 f (x, y) = 4x2 − 8xy4 + 7y3 − 3

8 f (x, y) = 2x sin(x2 y) 21 f (x, y) = sin xy

9 f (x, y) = x2 sin y + y2 cos x 22 f (x, y) = x3 + 3x2 y + y2 + 4x + 2

10 f (x, y) = x3 + xy2 + y 23 f (x, y) = x2 y + 4xy3

11 f (x, y) = x2 y2 + xy2 24 f (x, y) = x2 tan y + y2

12 f (x, y) = x3 + x + 2y2 + y 25 f (x, y) = x3 ln y + xy4

13 f (x, y) = yx3 + xy4 − 3x − 3y 26 f (x, y) = x3 y − y3 x

27 - 41 Find fxy , fxz , fyz , and fzz at the given point.

27 f (x, y, z) = x cos z + x2 y3 ez , (1, 1, 0) 35 f (x, y, z) = x2 + yz + 2z3 , (1, 0, 0)

28 f (x, y, z) = 2y − sin(xz), (0, 1, 0) 36 f (x, y, z) = cos xy + 2z2 + xy2 z3 , (0, 0, −1)

29 f (x, y, z) = ln(z + xy2 ), (1, 1, 1) 37 f (x, y, z) = 4x3 y + zx + y, (1, 1, 1)

30 f (x, y, z) = x2 + xy + y2 z3 , (1, −1, 1) 38 f (x, y, z) = 3x2 + 2y2 + xy3 + z2 , (1, −1, 1)

31 f (x, y, z) = xy + yz, (2, 2, 1) 39 f (x, y, z) = x2 + xy2 + y2 z3 , (1, 1, 1)

32 f (x, y, z) = x3 z + x + y2 z, (1, −2, 1) 40 f (x, y, z) = x3 + x2 y2 + 2y3 + 2x + z3 , (2, 2, 1)

33 f (x, y, z) = x2 y + xz3 , (−3, 2, 1) 41 f (x, y, z) = xyz + y2 + x3 + z, (1, −1, 2)

34 f (x, y, z) = xyz − exz , (0, 1, 0)


Exercises 108

∂f ∂f
42 - 57 Find ∂s
and ∂t
at the given point.

42 f (x, y) = x2 + 2xy, x = 2s + t, y = s lnt, (1, 1)


43 f (x, y) = x2 y, x = st 2 , y = st 3 , (−1, 1)
44 f (x, y) = xy, x = st, y = t 2 − s2 , (1, 1)
45 f (x, y) = x2 y, x = sin(st), y = t 2 − s2 , (0, 1)
46 f (x, y) = xy2 , x = sint, y = s(t 2 + 1), (1, 1)
47 f (x, y) = cos(x2 y) + y3 , x = s + t 2 , y = st, (1, −1)
2
48 f (x, y) = ex +y2 , x = 3t, y = s + t, (−1, 1)
49 f (x, y) = xy ln(xy), x = s + t, y = 2st, (1, 1)
1
50 f (x, y) = xy , x = st, y = s2 t, (1, 1)

51 f (x, y, z) = y + cos(xy) + sin(xz), x = st, y = s + t, z = t(s + 1) (1, 1)


52 f (x, y, z) = y + tan(xz) + cos y, x = s2 t, y = st , z = st (0, 1)

53 f (x, y, z) = xyz, x = t 2 + s, y = st, z = t 3 (1, 1)


54 f (x, y, z) = (x + y)z, x = t + s, y = st, z = t 2 (1, −1)
55 f (x, y, z) = (cos x + y)z, x = 2t + s, y = st, z = 3t (1, 1)
56 f (x, y, z) = ex+y+z , x = 3t + s, y = s2 , z = t 2 (1, 1)
57 f (x, y, z) = x2 yz, x = s sint, y = t 2 + 1, z = s + 1 (1, 1)
dy
58 - 75 By using the implicit function differentiation, find dx .

58 x3 − 3xy2 + y3 = 5 67 y sin y + x = 1
√ 68 x2 + y2 − 4 = 0
59 x − xy + 3y = 4

60 4x + 6y = 5 69 xy − y2 + 2x = 2
1
61 x2 + y2 = 1 70 y 2 − 2x2 + 5y = 1
62 4y + 2x = 8 71 x2 y3 + x = 2
63 y2 + x2 = 16 72 ln x + ln y = 4
64 5y3 + 4x5 = 20 73 sin−1 x − y = 0
65 x2 + y3 = 2
p
74 1 + x2 y2 = 2xy
66 y2 − x3 (2 − x) = 0 75 2x3 + x2 y + y3 = 1
109

Chapter 7

DIFFERENTIAL EQUATIONS

7.1 Definition of Differential Equations


A differential equation is an equation which contains derivatives of the unknown. There are two classes of the differential equations:
ordinary differential equations (O.D.E.) and partial differential equations (P.D.E.). In this book, we only consider the ordinary differential
equations.

Definition 7.1 An equation that involves x, y, y0 , y00 , y000 , y(4) , ..., y(n) for a function y(x) with nth derivative of y with respect to
x is an ordinary differential equation of order n.

 Example 7.1
(1) y0 = x2 + 5 is a differential equation of order 1.

(2) y00 + x(y0 )3 − y = x is a differential equation of order 2.

(3) (y(4) )3 + x2 y00 = 2x is a differential equation of order 4.

Remark 7.2 y = y(x) is called a solution of a differential equation if it satisfies that differential equation.

 Example 7.2 Verify that y = 3x2 + 4x is a solution of the differential equation y0 = 6x + 4.

Solution:
We want to see whether the function y satisfies the equation. By taking the derivative, we obtain y0 = 6x + 4 and this is the given
differential equation.

Note:
1. y = y(x) + c is the general solution of the differential equation.

2. If an initial condition was added to the differential equation to assign a certain value for c, then y = y(x) is called the particular solution
of the differential equation.

 Example 7.3 Verify that y = 4x3 + 2x2 + x is a solution of the differential equation y0 = 12x2 + 4x + 1. Then, with the initial condition
y(0) = 2, find the particular solution of the equation.

Solution:
110 DIFFERENTIAL EQUATIONS

First, we want to check whether the function y satisfies the differential equation. By taking the derivative, we have y0 = 12x2 + 4x + 1
and this is the given differential equation. Hence, y = 4x3 + 2x2 + x + c is the general solution of the given differential equation. Now,
since y(0) = 2, then
y(0) = 403 + 202 + 0 + c = 2 ⇒ c = 2 .
Therefore, y = 4x3 + 2x2 + x + 2 is the particular solution of the differential equation y0 = 12x2 + 4x + 1.

7.2 Separable Differential Equations


A differential equation is separable if the equation can be written in the form
M(x) + N(y)y0 = 0
dy
where M(x) and N(y) are continuous functions and y0 = dx .
To solve the separable differential equation, we have the following steps:
1. Write the equation as M(x)dx + N(y)dy = 0. This implies N(y)dy = −M(x)dx.
R R
2. Integrate the left-hand side with respect to y and the right-hand side with respect to x: N(y)dy = −M(x)dx.
3. Solve for y to write the solution in the form y = y(x).

 Example 7.4 Solve the differential equation y0 − y2 ex = 0.


Solution: Manipulate the differential equation to become N(y)dy = −M(x)dx.
dy dy
y0 − y2 ex = 0 ⇒ = y2 ex ⇒ 2 = ex dx
dx y
Z Z
⇒ y−2 dy = ex dx integrate both sides

y−1
⇒ = ex + c
−1
1
⇒y = − . solve for y
ex + c

dy
 Example 7.5 Solve the differential equation dx = y2 ex , with y(0) = 1.
Solution: Write the differential equation in the form N(y)dy = −M(x)dx.
dy dy
= yx ⇒ = x dx
dx y
1
Z Z
⇒ dy = x dx integrate both sides
y
⇒ ln |y| = x2 + c
2
+c
⇒y = ex . solve for y
2
With y(0) = 1, we have 1 = ec . This implies c = ln(1) = 0. Hence, the particular solution is y = ex .

 Example 7.6 Solve the differential equation dy − (1 + y2 ) sin x dx = 0.


Solution: Write the differential equation in the form N(y)dy = −M(x)dx.
dy
dy − (1 + y2 ) sin x dx = 0 ⇒ = sin x dx
1 + y2
1
Z Z
⇒ dy = sin x dx integrate both sides
1 + y2
⇒ tan−1 y = − cos x + c
⇒y = tan(− cos x + c) . solve for y by taking tan function for both sides
First-Order Linear Differential Equations 111

dy
 Example 7.7 Solve the differential equation dx − 12 y = 32 , with y(0) = 4.
Solution: Manipulate the differential equation to become N(y)dy = −M(x)dx.

dy 1 3 dy dy
− y = ⇒ 2 −y = 3 ⇒ = 2 dx
dx 2 2 dx 3+y
1
Z Z
⇒ dy = 2 dx integrate both sides
3+y
⇒ ln |3 + y| = 2x + c
⇒y = e2x+c − 3 . solve for y

With y(0) = 4, we have 4 = ec − 3. Hence, ec = 7 and this implies c = ln(7). Therefore, the particular solution is y = 7e2x − 3.

 Example 7.8 Solve the differential equation e−y sin x − y0 cos2 x = 0


Solution: Write the differential equation in the form N(y)dy = −M(x)dx.

cos2 x dy sin x
e−y sin x − y0 cos2 x = 0 ⇒ e−y − = 0 ⇒ey = 2x
dx
sin x dx Z
cos Z
⇒ ey dy = tan x sec x dx integrate both sides

⇒ey = sec x + c
⇒y = ln | sec x + c| . solve for y by taking ln for both sides

 Example 7.9 Solve the differential equation y0 = 1 − y + x2 − yx2 .


Solution: Write the differential equation in the form N(y)dy = −M(x)dx.

y0 = 1 − y + x2 − yx2 ⇒ y0 = (1 − y) + x2 (1 − y) ⇒dy = (1 − y)(1 + x2 )dx


1
Z Z
⇒ dy = (1 + x2 ) dx integrate both sides
1−y
x3
⇒ − ln |1 − y| = x + +c
3
x3
⇒1 − y = e−(x+ 3 +c) solve for y
3
−(x+ x3 +c)
⇒y = 1 − e .

7.3 First-Order Linear Differential Equations

The first-order linear differential equation has the form

y0 + P(x)y = Q(x) ,

where P(x) and Q(x) are continuous functions of x.


To solve the first-order linear equation,
R first rewrite the equation (if necessary) in the standard form above, then multiply both sides by
the integrating factor µ(x) = e P(x) dx . This implies
112 DIFFERENTIAL EQUATIONS

y0 + P(x)y = Q(x) ⇒ µ(x)y0 + µ(x)P(x)y = µ(x)Q(x)


dy R
⇒ µ(x) + e P(x) dx P(x)y = µ(x)Q(x)
dx
dy d R P(x) dx 
⇒ µ(x) + y e = µ(x)Q(x)
dx dx
dy dµ(x)
⇒ µ(x) + y = µ(x)Q(x)
dx dx
d 
⇒ µ(x)y = µ(x)Q(x)
dx Z
⇒ µ(x)y = µ(x)Q(x) dx
1
Z
⇒y= µ(x)Q(x) dx .
µ(x)
From this, to solve the first-order linear Rdifferential equation, we do the following steps:
1. Compute the integrating factor µ(x) = e P(x) dx .

2. Find the general solution by using the formula:


1
Z
y(x) = µ(x)Q(x) dx .
µ(x)

dy
 Example 7.10 Solve the differential equation x dx + y = x2 + 1.
Solution: Write the differential equation in the form y0 + P(x)y = Q(x).

dy 1 x2 + 1
x + y = x2 + 1 ⇒ y0 + y = .
dx x x
2
R 1
From this, we have P(x) = 1x and Q(x) = x x+1 . Hence, the integrating factor is µ(x) = e x dx = eln |x| = x.
The general solution of the first-order linear differential equation is

1 x2 + 1 
Z
y(x) = x dx
x x
1
Z
= (x2 + 1) dx
x
1 x3
= ( + x) + c
x 3
x2 c
= +1+ .
3 x

 Example 7.11 Solve the differential equation y0 − 2x y = x2 ex , with y(1) = e.


Solution: The differential equation is in the form y0 + P(x)y = Q(x) where P(x) = − 2x and Q(x) = x2 ex . Hence, the integrating factor is
R 1
µ(x) = e−2 x dx = e−2 ln |x| = x−2 .
The general solution of the first-order linear differential equation is
1 2 x
Z
y(x) = x2 2
(x e ) dx
Z
x
= x2 ex dx

= x2 ex + c .


With y(1) = e, we have e = 1 + c and this implies c = e − 1. The particular solution is y = x2 (ex + e − 1).

 Example 7.12 Solve the differential equation y0 + y = cos(ex ) .


First-Order Linear Differential Equations 113

Solution: The
R differential equation takes the form y0 + P(x)y = Q(x) where P(x) = 1 and Q(x) = cos(ex ). Hence, the integrating factor
is µ(x) = e 1 dx = ex .
The general solution of the first-order linear differential equation is
Z
y(x) = e−x ex cos(ex ) dx Use integration by substitution
with u = ex and du = ex dx
= e−x sin(ex ) + c .


 Example 7.13 Solve the differential equation xy0 − 3y = x .


Solution:R The differential equation is in the form y0 + P(x)y = Q(x) where P(x) = −3 and Q(x) = x. Hence, the integrating factor is
µ(x) = e −3 dx = e−3x .
The general solution of the first-order linear differential equation is
Z
y(x) = e3x x e−3x dx Use integration by parts with
u = x and dv = e−3x dx
x21
= e3x − e−3x − e−3x + c .

3 9
Exercises 114

Exercises

1 - 16 Solve the differential equation.

1 x2 dy + y2 dx = 0 9 xy0 − y = x2 e−x , x > 0

2 cos2 xdy − y2 dx = 0 10 2y0 − y = 4


3x2 +2x−1
dy
3 x dx − 2y = x3 sec x tan x 11 y0 = 2y

4 y0 = 1 + y 12 y0 = y cos x

5 y0 + 3y = e−2x 13 xy0 + 2y = 4x3

6 dy
dx = (1 + y2 ) sin x 14 y0 − y = e−x

7 y0 + y = e2x 15 y0 + 1+x
2x
2y=1

8 xy0 − y = x3 ex 16 dy
+ y − ex 1+1 = 0
dx
17 - 40 Solve the differential equation with the given initial condition.
1+3x2
17 y0 + 2y = x, y(0) = 1 29 y0 = 3y2
, y(0) = 1

18 dy
dx + 2y = e−x , y(0) = 3
4
30 cos xy0 + sin xy = 2 cos3 x sin x, y( π4 ) = 3 2, 0 ≤ x < π
2

dy dy 1
19 dx − 2xy = x, y(0) = 0 31 dx = 5y2 x, y(1) = 25

20 (1 + x2 )y0 + 4xy = x 3x2 +4x−4


(1+x2 )2
, y(0) = 1 32 y0 = 2y , y(1) = 3

21 xy0 + y = sin x, y( π3 ) = 2 33 y0 =
2
√xy , y(0) = −1
1+x2
22 y0 − 13 y = e−x , y(0) = a 34 y0 = e−y (2x − 4), y(5) = 0
23 xy0 + 2y = 4x2 , y(1) = 2 dy y2
35 dx = x, y(1) = 2
dy 3x2 +4x+2
24 = , y(0) = −1
dx 2y 36 y0 = ex−sin y sec(y), y(0) = 0
25 y0 = 3x2 + 3x2 y, y(0) = 0 37 xy0 + y = x3 , y(1) = −3
26 xy0 + y = x3 , y(−1) = 3 38 y0 = 1+2x
y(0) = 0
tan y ,

27 y0 − 1x y = x, y(1) = 2
39 y0 = 2x2 + 2x2 y2 , y(0) = 0
28 y0 − y2 = 0, y(0) = 1 40 xy0 + 2y = x2 − x + 1, y(1) = 1
2
115

Chapter 8

Polar Coordinates System

8.1 Polar Coordinates


So far we have used functions of the form y = f (x) or x = f (y) to describe curves by determining points (x, y) in a Cartesian (rectangular)
coordinate system. In this chapter, we are going to study a new coordinate system called a polar coordinate system. Figure 8.1 shows the
Cartesian and polar coordinates system.

Definition 8.1 The polar coordinate system is a two-dimensional system consisted of a pole and polar axis (half line). Each
point P in a polar plane is determined by a distance r from a fixed point O called the pole (or origin) and an angle θ from a fixed
direction.

Figure 8.1: The Cartesian coordinate system (on the left) and the polar coordinate system (on the right).

Note:
1. The point P in the polar coordinate system is represented by the ordered pair (r, θ) where r and θ are called polar coordinates.

2. The angle θ takes positive numbers if it is measured counterclockwise from the polar axis, but if the angle is measured clockwise, it
takes negative numbers.

3. In the polar coordinate system, if r > 0, the point P(r, θ) will be in the same quadrant as θ. However, if r < 0, the point will be in the
quadrant on the opposite side of the pole. That is, the points P(r, θ) and P(−r, θ) lie in the same line through the pole O, but on opposite
sides.

4. In the Cartesian coordinate system, every point has only one representation while in the polar coordinate system, each point has many
representations. The following formula gives all representations of the point P(r, θ) in the polar coordinate system
116 Polar Coordinates System

P(r, θ + 2nπ) = P(r, θ) = P(−r, θ + (2n + 1)π), n ∈ Z .

Figure 8.2

 Example 8.1 Plot the points whose polar coordinates are given.
(1) (2, 5π/4)
(2) (2, −3π/4)
(3) (2, 13π/4)
(4) (−2, π/4)
The Relationship between Cartesian and Polar Coordinates 117

Solution:
(1) (2)

(3) (4)

Figure 8.3

8.2 The Relationship between Cartesian and Polar Coordinates

Let (x, y) be a Cartesian coordinate and (r, θ) be a polar coordinate of the same point P. Let the pole be at the origin of the Cartesian
coordinates system, and let the polar axis lies on the positive x-axis and the line θ = π2 lies on the positive y-axis as shown in Figure 8.4.

From the right triangle, we have


x
cos θ = ⇒ x = r cos θ and
r
y
sin θ = ⇒ y = r sin θ.
r
Hence,

x2 + y2 = (r cos θ)2 + (r sin θ)2


= r2 (cos2 θ + sin2 θ)
= r2 cos2 θ + sin2 θ = 1
y
This implies, x2 + y2 = r2 and tan θ = x for x 6= 0.
Figure 8.4: The relationship between the Cartesian and polar
coordinates.

The previous relationships can be summarized as follows:


118 Polar Coordinates System

x = r cos θ, y = r sin θ
y
tan θ = for x 6= 0
x
x2 + y2 = r2

 Example 8.2 Convert from polar coordinates to Cartesian coordinates.


(1) (1, π/4) (3) (2, −2π/3)

(2) (2, π) (4) (4, 3π/4)


Solution:
(1) From the polar point (1, π/4), we have r = 1 and θ = π4 . Hence,
π 1
x = r cos θ = (1) cos =√ ,
4 2
π 1
y = r sin θ = (1) sin =√ .
4 2
Therefore, in the Cartesian coordinates, the point (1, π/4) is represented by ( √1 , √1 ).
2 2

(2) From the polar point (2, π), we have r = 2 and θ = π. Hence,

x = r cos θ = 2 cos π = −2 ,

y = r sin θ = 2 sin π = 0.
Hence, the polar point (2, π) is (−2, 0) in the Cartesian coordinates.
−2π
(3) From the polar point (2, −2π/3), we have r = 2 and θ = 3 . Hence,
−2π
x = r cos θ = 2 cos = −1 ,
3
−2π √
y = r sin θ = 2 sin = − 3.
3

Therefore, the Cartesian coordinate (−1, − 3) is the point corresponding to the polar point (2, −2π/3).

(4) From the polar point (4, 3π/4), we have r = 4 and θ = 4 . Hence,
3π √
x = r cos θ = 4 cos = −2 2 ,
4
3π √
y = r sin θ = 4 sin = 2 2.
4
√ √
In the Cartesian coordinates, the point (4, 3π/4) is represented by (−2 2, 2 2).

 Example 8.3 For the given Cartesian point, find one representation in the polar coordinates.
(1) (1, −1) (3) (−2, 2)

(2) (2 3, −2) (4) (1, 1)
Solution:

(1) From the given Cartesian point, we have x = 1 and y = −1. Hence,

x2 + y2 = r2 ⇒ r = 2,
y π
tan θ = = −1 ⇒ θ = − .
x 4

In the polar coordinates, the Cartesian point (1, −1) can be represented by ( 2, − π4 ).
Remember, there are infinitely polar representations of the point (x, y) (see Note 4 on page 115).
The Relationship between Cartesian and Polar Coordinates 119


(2) From the Cartesian point, we have x = 2 3 and y = −2. Hence,

x2 + y2 = r2 ⇒ r = 4,
y −1 5π
tan θ = = √ ⇒θ= .
x 3 6

Therefore, the polar point (4, 5π
6 ) is one representation of the Cartesian point (2 3, −2).

(3) From the Cartesian point, we have x = −2 and y = 2. Hence,



x2 + y2 = r2 ⇒ r = 2 2,
y 3π
tan θ = = −1 ⇒ θ = .
x 4
√ 3π
The polar point (2 2, 4 ) is one representation of the Cartesian point (−2, 2).

(4) From the Cartesian point, we have x = 1 and y = 1. Hence,



x2 + y2 = r2 ⇒ r = 2,
y π
tan θ = =1⇒θ= .
x 4

The Cartesian point (1, 1) can be represented by ( 2, π4 ) in the polar coordinates.

In the Cartesian coordinates, the function y = f (x) is a dependent relation which can be represented by a curve in the Cartesian plane. In
polar coordinates, the function r = f (θ) is a dependent relation between coordinates r and θ which also can be represented by a curve
called a polar curve. For example, r = 2 cos θ is a polar equation represents the dependent relation between coordinates r and θ:

π π π π
θ 0 √
6 4 √ 3 2
r 2 3 2/ 2 1 0
Table 8.1

 Example 8.4 Find a polar equation that has the same graph as the equation in x and y.
(1) x = −5 (3) x2 + y2 = 2

(2) y = 3 (4) y2 = 9x
Solution:
(1) x = 7 ⇒ r cos θ = −5 ⇒ r = −5 sec θ.

(2) y = −3 ⇒ r sin θ = 3 ⇒ r = 3 csc θ.

(3) x2 + y2 = 2 ⇒ r2 cos2 θ + r2 sin2 θ = 2


⇒ r2 (cos2 θ + sin2 θ) = 2
⇒ r2 = 2 .

(4) y2 = 9x ⇒ r2 sin2 θ = 9r cos θ


⇒ r sin2 θ = 9 cos θ
⇒ r = 9 cot θ csc θ.

 Example 8.5 Find an equation in x and y that has the same graph as the polar equation.
(1) r = 4 (3) r = 6 cos θ

(2) r = 3 sin θ (4) r = sec θ


Solution: p
(1) r = 4 ⇒ x2 + y2 = 4 ⇒ x2 + y2 = 4.

(2) r = 3 sin θ ⇒ r = 3 yr ⇒ r2 = 3y ⇒ x2 + y2 = 3y ⇒ x2 + y2 − 3y = 0.
120 Polar Coordinates System

x
(3) r = 6 cos θ ⇒ r = 6 r ⇒ r2 = 6x ⇒ x2 + y2 − 6x = 0.
1
(4) r = sec θ ⇒ r = cos θ ⇒ r cos θ = 1 ⇒ x = 1.

8.3 Polar Curves


Before starting sketching the polar curves, we study symmetry in the polar coordinates system.
Symmetry in Polar Coordinates

Theorem 8.2
1. Symmetry about the polar axis.
The graph of r = f (θ) is symmetric with respect to the polar axis if replacing (r, θ) with (r, −θ) or with (−r, π − θ) does
not change the polar equation.

2. Symmetry about the vertical line θ = π2 .


π
The graph of r = f (θ) is symmetric with respect to the vertical line θ = 2 if replacing (r, θ) with (r, π − θ) or with
(−r, −θ) does not change the polar equation.

3. Symmetry about the pole θ = 0.


The graph of r = f (θ) is symmetric with respect to the pole if replacing (r, θ) with (−r, θ) or with (r, θ + π) does not
change the polar equation.

A B C

Figure 8.5: Symmetry of the curves in the polar coordinates system. (A) symmetry about the polar axis, (B) symmetry about the vertical line θ = π2 ,
and (C) symmetry about the pole θ = 0.

 Example 8.6

(1) The graph of r = 4 cos θ is symmetric about the polar axis. By replacing (r, θ) with (r, −θ), we have
4 cos (−θ) = 4 cos θ = r, thus (r, θ) = (r, −θ) .
Also, by replacing (r, θ) with (−r, π − θ), we have
−4 cos(π − θ) = 4 cos θ = r, thus (r, θ) = (−r, π − θ) .

(2) The graph of r = 2 sin θ is symmetric about the vertical line θ = π2 . By replacing (r, θ) with (r, π − θ), we obtain
2 sin (π − θ) = 2 sin θ = r, so (r, θ) = (r, π − θ) .
Also, by replacing (r, θ) with (−r, −θ), we have
−2 sin (−θ) = 2 sin θ = r, so (r, θ) = (−r, −θ) .
Polar Curves 121

(3) The graph of r2 = a2 sin 2θ is symmetric about the pole. If we replace (r, θ) with (−r, θ), we have

(−r)2 = a2 sin 2θ and this implies r2 = a2 sin 2θ, thus (r, θ) = (−r, θ) .

Also, if we replace (r, θ) with (r, θ + π), we have

r2 = a2 sin 2(π + θ) = a2 sin (2π + 2θ) = a2 sin 2θ, thus (r, θ) = (r, θ + π) .


Some Special Polar Curves


Lines in polar coordinates system
c
1. The polar equation of a straight line ax + by = c is r = a cos θ+b sin θ .
Since x = r cos θ and y = r sin θ, then

c
ax + by = c ⇒ r(a cos θ + b sin θ) = c ⇒ r =
(a cos θ + b sin θ)

2. The polar equation of a vertical line x = k is r = k sec θ .


Let x = k, then r cos θ = k. This implies r = cosk θ = k sec θ.

3. The polar equation of a horizontal line y = k is r = k csc θ.


Let y = k, then r sin θ = k. This implies r = sink θ = k csc θ.

4. The polar equation of a line that passes the origin point and makes an angle θ0 with the positive x-axis is θ = θ0 .
 Example 8.7 Sketch the graph of θ = π4 .
Solution:

We are looking for a graph of the set of polar points:

{(r, θ) |, r ∈ R}
π π π π π π
θ 4 4 4 4 4 4
r −6 −3 −1 1 3 6

Table 8.2

Figure 8.6

Circles in polar coordinates system


1. The circle equation with center at the pole O and radius |a| is r = a.
2. The circle equation with center at (a, 0) and radius |a| is r = 2a cos θ.
3. The circle equation with center at (0, a) and radius |a| is r = 2a sin θ.
122 Polar Coordinates System

Figure 8.7: Circles in polar coordinates.

 Example 8.8 Sketch the graph of r = 4 sin θ.


Solution: Note that the graph of r = 4 sin θ is symmetric about the vertical line θ = π2 since 4 sin (π − θ) = 4 sin θ. Therefore, we restrict
our attention to the interval [0, π/2] and by the symmetry, we complete the graph. The following table displays the polar coordinates of
some points on the curve:

π π π π
θ 0 6 4 √ 3√ 2
r 0 2 4/ 2 2 3 4
Table 8.3

Figure 8.8: The graph of the polar curve r = 4 sin θ.

Cardioid curves
1. r = a(1 ± cos θ) 2. r = a(1 ± sin θ)
r = a(1 + cos θ) r = a(1 − cos θ)
Polar Curves 123

r = a(1 + sin θ) r = a(1 − sin θ)

Figure 8.9: Cardioid curves.


 Example 8.9 Sketch the graph of r = a(1 − cos θ) where a > 0.
Solution:
The curve is symmetric about the polar axis since cos (−θ) = cos θ. Therefore, we restrict our attention to the interval [0, π] and by the
symmetry, we complete the graph. The following table displays some solutions of the equation r = a(1 − cos θ):

π π 2π
θ 0 3 2 3 π
r 0 a/2 a 3a/2 2a
Table 8.4

Limaçons curves
1. r = a ± b cos θ 2. r = a ± b sin θ

r = a + b cos θ
124 Polar Coordinates System

Figure 8.10: The graph of r = a(1 − cos θ) where a > 0.

r = a − b cos θ

Figure 8.11: Limaçons curves r = a ± b cos θ.

r = a + b sin θ
Polar Curves 125

r = a − b sin θ

Figure 8.12: Limaçons curves r = a ± b sin θ.


Roses
1. r = a cos (nθ) 2. r = a sin (nθ) where n ∈ N.
r = a cos (nθ)

r = a sin (nθ)
126 Polar Coordinates System

Figure 8.13: Roses in polar coordinates.


Note that if n is odd, there are n petals; however, if n is even, there are 2n petals.

Spiral of Archimedes
r=aθ

Figure 8.14: Spiral of Archimedes.

8.4 Area in Polar Coordinates


In chapter 5, we have seen how to compute area of the region under a function f (x) over the interval [a, b]. Now, consider what happens
if we use a polar function r = f (θ) for θ in the interval [α, β]. Let r = f (θ) be a continuous function on the interval [α, β] such that
0 ≤ α ≤ β ≤ 2π. Let f (θ) ≥ 0 over that interval and R be a polar region bounded by the polar equations r = f (θ) from θ = α to θ = β
as shown in Figure 8.15.

Figure 8.15: Areas in polar coordinates.

To find the area of R, let P = {θ1 , θ2 , ..., θn } be a regular partition of the interval [α, β]. Consider the interval [θi−1 , θi ] where
Area in Polar Coordinates 127

∆θi = θi − θi−1 . By choosing ωi ∈ [θi−1 , θi ], we have a circular sector where its angle and radius are ∆θi and f (ωi ), respectively. The
area between θi−1 and θi can be approximated by the area of a circular sector.

Let f (ui ) and f (vi ) be the maximum and minimum values of f on


[θi−1 , θi ]. From Figure 8.16, we have
1 2 1 2
f (ui ) ∆θi ≤ ∆Ai ≤ f (vi ) ∆θi
2
| {z } 2
| {z }
Area of the sector of radius f (ui ) Area of the sector of radius f (vi )

Figure 8.16
By summing from i = 1 to i = n, we obtain

n n n
1 2 1 2
∑2 f (ui ) ∆θi f (ui ) ≤ ∑ ∆Ai ≤ ∑ 2 f (vi ) ∆θi f (vi )
i=1 i=1 i=1
| {z }
=A

The limit of the sums as the norm ||P|| approaches zero,

n n
1 1 β 1
2 2 Z 2
lim ∑2 f (ui ) ∆θi f (ui ) = lim ∑2 f (ui ) ∆θi f (vi ) = f (θ) dθ .
||P||→0 i=1 ||P||→0 i=1 α 2

Therefore,

1
Z β 2
A= f (θ) dθ
2 α

Similarly, assume f and g are continuous on the interval [α, β] such that f (θ) ≥ g(θ). The area of the region bounded by the polar graphs
of f and g on the interval [α, β] is

1
Z βh 2 2 i
A= f (θ) − g(θ) dθ
2 α

 Example 8.10 Find the area of the region bounded by the graph of the polar equation.

(1) r = 3

(2) r = 2 cos θ

(3) r = 4 sin θ

(4) r = 6 − 6 sin θ
Solution:
128 Polar Coordinates System

(1) From Figure 8.17, the area is


Z 2π Z 2π
1 9 9 h i2π
A= 32 dθ = dθ = θ = 9π.
2 0 2 0 2 0

Note that we can evaluate the area in the first quadrant and multiply
the result by 4 to find the area of the whole region i.e.
 1 Z π2  Z π
2
h iπ
2
A=4 32 dθ = 2 9 dθ = 18 θ = 9π.
2 0 0 0

Figure 8.17

(2) We find the area of the upper half circle and multiply the result by 2
as follows:
 1 Z π2  Z π2
A=2 (2 cos θ)2 dθ = 4 cos2 θ dθ
2 0 0
Z π
2
=2 (1 + cos 2θ) dθ
0
h sin 2θ i π2
= 2 θ+
2 0
hπ i
= 2 −0
2
= π.

Figure 8.18

(3) From Figure 8.19, the area of the region is


1 16 π
Z π Z
A= (4 sin θ)2 dθ = (1 − cos 2θ) dθ
2 0 4 0
h sin 2θ iπ
= 4 θ−
h i2 0

= 4 π−0
= 4π.

Figure 8.19
Area in Polar Coordinates 129

(4) From Figure 8.20, the area of the region is


Z 2π
1
A= 36(1 − sin θ)2 dθ
2 0
Z 2π
= 18 (1 − 2 sin θ + sin2 θ) dθ
0
h θ sin 2θ i2π
= 18 θ + 2 cos θ + −
h 2 i 4 0

= 18 (2π + 2 + π) − 2
= 54π.

Figure 8.20

 Example 8.11 Find the area of the region that is between the curves r = 2 and r = 3 in the first quadrant.
Solution: The region bounded by the two curves r1 = 2 and r2 = 3 is displayed in the figure.

π
1 2 2
Z
A= (r − r12 ) dθ
2 0 2
Z π
1 2
= 5 dθ
2 0
5 h i π2
= θ
2 0
5 π
h i
= −0
2 2

= .
4

Figure 8.21


 Example 8.12 Find the area of the region that is inside the graphs of the equations r = sin θ and r = 3 cos θ.
130 Polar Coordinates System

Solution:
First, we find the intersection points of the two curves
√ √ π
sin θ = 3 cos θ ⇒ tan θ = 3 ⇒ θ = .
3
The origin O is in each circle, but it cannot be found by solving the
equations. Therefore, when looking for the intersection points of
the polar graphs, we sometimes take under consideration the graphs.
The region is divided into two small regions: below and above the
line π3 .

Figure 8.22

Region(1) is in the interval [0, π3 ].


π π
1 1 3
Z Z
3
A1 = sin2 θ dθ = (1 − cos 2θ) dθ
2 0 4 0
1h sin 2θ i π3
= θ−
4 2 0
1 h π sin 2π3
i
= −
4 3 2

1hπ 3i
= − .
4 3 4

Figure 8.23

Region(2) is in the interval [ π3 , π2 ].

1
Z π
2 √ Z π
3 2
A2 = ( 3 cos θ)2 dθ = (1 + cos 2θ) dθ
2 π
3
4 π3
3h sin 2θ i π2
= θ+
4 2 π
3
√ i
3h π  π 3
= −0 − +
4 2 3 4
√ i
3hπ 3
= − .
4 6 4

Figure 8.24

5π 3
Total area A = A1 + A2 = 24 − 4 .
Area in Polar Coordinates 131

 Example 8.13 Find the area of the region that is outside the graph of r = 3 and inside the graph of r = 2 + 2 cos θ.
Solution: The intersection point of the two curves in the first quadrant is
1 π
2 + 2 cos θ = 3 ⇒ cos θ = ⇒θ= .
2 3
As shown in the figure, we find the area in the first quadrant, then we double the result to find the area of the whole region.

 1 Z π3  
A=2 4(1 + cos θ)2 − 9 dθ
2 0
Z π
3
4(1 + 2 cos θ + cos2 θ) − 9 dθ

=
0
Z π
3
= (8 cos θ + 4 cos2 θ − 5) dθ
0
h iπ
3
= 8 sin θ + sin 2θ − 3θ
0
9√
= 3 − π.
2

Figure 8.25
Exercises 132

Exercises

1-8 Find the corresponding Cartesian coordinates for the given polar coordinates.

1 (2, π3 ) 5 ( 12 , 3π
2 )

2 (1, π2 ) 6 (3, 2π)

3 (−2, π6 ) 7 (−7, 3π
4 )

4 (3, π) 8 (3, π3 )
9 - 16 Find the corresponding polar coordinates for the given Cartesian coordinates for r ≥ 0 and 0 ≤ θ ≤ π.

9 (1, 1) 13 ( 3, 1)

10 (1, 3) 14 ( 21 , 21 )

11 (−1, 1) 15 (−1, 3)

12 ( 3, 3) 16 (3, 0)
17 - 24 Find a polar equation that has the same graph as the equation in x and y and vice versa.

17 x = 4 21 x2 = 2y

18 x2 + y2 = 5 22 x2 − y2 = 9x

19 r = csc θ 3
23 r = 1−sin θ

20 r = 6 cos θ 24 r = 2 − 3 sin θ
25 - 28 Sketch the curve of the polar equations.
25 r = 3 sec θ 27 r = 2 + 2 sin θ

26 r = 4 cos θ 28 r = 3 + 2 cos θ
29 - 34 Find the area of the region bounded by the graph of the polar equation.

29 r = 3 sin θ 32 r = 4 cos θ

30 r = 1 + sin θ 33 r = 6(1 + cos θ)

31 r = 2 34 r = 2(1 − sin θ)
35 - 41 Find the area of the region bounded by the graph of the polar equations.

35 inside r = 2

36 between r = 2 and r = 3

37 inside r = 1 + cos θ and outside r = 3 cos θ

38 inside r = 2 + 2 cos θ and outside r = 3

39 outside r = 2 − 2 cos θ and inside r = 4

40 inside both graphs r = 1 + cos θ and r = 1

41 inside both graphs r = 2 cos θ and r = 2 sin θ


Appendix

Appendix (1): Integration Rules and Integrals Table

Integration Rules: Z
Z Z Z
f 0 g(x) g0 (x) dx = f g(x) + c
  
f (x) ± g(x) dx = f (x) dx ± g(x) dx
Z Z Z b
k f (x) dx = k f (x) dx f 0 (x) dx = f (b) − f (a)
a

Elementary Integrals: Z
xr+1 sec x tan x dx = sec x
Z
xr dx = if r 6= −1
r+1 Z
csc x cot x dx = − csc x
Z
sin x dx = cos x
1 x
Z
dx = sin−1
Z
cos x dx = − sin x
p
a2 − x2 a

1 1 x
Z Z
sec2 x dx = tan x dx = tan−1
a2 + x 2 a a
1 1 x
Z Z
csc2 x dx = − cot x p dx = sec−1 | |
x x 2 − a2 a a

Inverse Trigonometric Integrals:

Z p
sin−1 x dx = x sin−1 x + 1 − x2 + c

1
Z
tan−1 x dx = x tan−1 x − ln(1 + x2 ) + c
2
Z p
sec−1 x dx = x sec−1 x − ln | x + x2 − 1 | +c

xn+1 1 xn+1
Z Z
xn sin−1 x dx = sin−1 x − p dx + c if n 6= −1
n+1 n+1 1 − x2

xn+1 1 xn+1
Z Z
xn tan−1 x dx = tan−1 x − dx + c if n 6= −1
n+1 n+1 1 + x2
xn+1 1 xn
Z Z
xn sec−1 x dx = sec−1 x − p dx + c if n 6= −1
n+1 n+1 x2 − 1
Appendix 134

Trigonometric Integrals:
x sin 2x
Z
sin2 x dx = − +c
2 4
x sin 2x
Z
cos2 x dx = + +c
2 4
Z
tan2 x dx = tan x − x + c
Z
cot2 x dx = − cot x − x + c

1 1
Z
sec3 x dx = sec x tan x + ln | sec x + tan x | +c
2 2
1 1
Z
sec3 x dx = csc x cot x + ln | csc x − cot x | +c
2 2
1 n−1
Z Z
sinn x dx = − sinn−1 x cos x + sinn−2 x dx + c
n n
1 n−1
Z Z
cosn x dx = cosn−1 x sin x + cosn−2 x dx + c
n n
tann−1 x
Z Z
tann x dx = − tann−2 x dx + c if n 6= 1
n−1
cotn−1 x
Z Z
cotn x dx = − − cotn−2 x dx + c if n 6= 1
n−1
1 n−2
Z Z
secn x dx = secn−2 x tan x + secn−2 x dx + c if n 6= 1
n−1 n−1
1 n−2
Z Z
cscn x dx = − cscn−2 x cot x + cscn−2 x dx + c if n 6= 1
n−1 n−1
sinn−1 x cosm+1 x n−1
Z Z
sinn x cosm x dx = − + sinn−2 x cosm x dx + c if n 6= m
n+m n+m
sinn+1 x cosm−1 x m − 1
Z Z
sinn x cosm x dx = + sinn x cosm−2 x dx + c if m 6= n
n+m n+m
Z Z
xn sin x dx = −xn cos x + n xn−1 cos x dx + c
Z Z
xn cos x dx = xn sin x − n xn−1 sin x dx + c

Miscellaneous Integrals:
x b
Z
x(ax + b)−1 dx = − ln |ax + b| + c
a a2
1 b 
Z
x(ax + b)−2 dx = 2 ln | ax + b | + +c
a ax + b
(ax + b)n+1 ax + b b 
Z
x(ax + b)n dx = − +c
a2 n+2 n−1
a 1 x 1
Z Z 
dx = 2 + (2n − 3) dx if n 6= −1
(a2 ± x2 )n 2a (n − 1) (a2 ± x2 )n−1 (a2 ± x2 )n−1
Z √ 2
x ax + b dx = (3ax − 2b)(ax + b)3/2 + c
15a2
Z √ 2
Z √
xn ax + b dx = xn (ax + b)3/2 − nb xn−1 ax + b dx

a(2n + 3)
Z
x 2 √
√ dx = 2 (ax − 2b) ax + b + c
ax + b 3a
Z
xn 2 √ Z
xn−1
xn ax + b − nb √

√ dx = dx
ax + b a(2n + 1) ax + b
√ √
1 1 ax + b − b
Z
√ dx = √ ln | √ √ | +c if b > 0
x ax + b b ax + b + b
r
1 1 ax + b
Z
√ dx = √ tan−1 + c if b < 0
x ax + b −b −b

1 ax + b (2n − 3)a 1
Z Z
√ dx = − − √ dx if n 6= 1
xn ax + b b(n − 1)xn−1 2(n − 1)b xn−1 ax + b

x−a p a2 a−x
Z p
2ax − x2 dx = 2ax − x2 + cos−1 ( )+c
2 2 a
2x2 − ax − 3a3 p a3 a−x
Z p
x 2ax − x2 dx = 2ax − x2 + cos−1 ( )+c
6 2 a
Z p
2ax − x2 p a−x
dx = 2ax − x2 + a cos−1 ( )+c
x a
p p
2ax − x2 2 2ax − x2 a−x
Z
dx = − − cos−1 ( )+c
x2 x a
dx a−x
Z
p = cos−1 ( )+c
2ax − x2 a
Appendix 135

x a−x
Z p
p dx = − 2ax − x2 + a cos−1 ( )+c
2ax − x2 a

x2 (x + 3a) p 3a2 a−x


Z
p dx = − 2ax − x2 + cos−1 ( )+c
2ax − x2 2 2 a
p
1 2ax − x2
Z
p dx = − +c
x 2ax − x2 ax
136

Appendix (2): Answers to Exercises


Chapter 1: 35 V (−2, −5), F(−2, − 92 ), D : y = − 11
2
1 (y − 2)2 = 2(x + 4) 15 ), D : y = 17
36 V (1, 1), F(1, 16 16
2 (y − 6)2 = − 43 (x − 2)
37 V (−3, −11), F(−3, −10 15 1
16 ), D : y = −11 16
3 (x + 1)2 = (y − 1)
38 V (5, −7), F(5, −6 15 1
16 ), D : y = −7 16
4 (x − 2)2 = 12(y − 1)
39 V (−4, 9), F(−4, 8 19 1
20 ), D : y = 9 20
5 (y + 2)2 = −2x
40 V (4, −9), F(4, −8 34 ), D : y = −9 41
6 (x − 5)2 = − 12 (y − 3) √ √
41 V1 (5, 0),V2 (−5, 0), F1 ( 15, 0), F2 (− 15, 0)
√ √
7 (x − 1)2 = 4(y − 2) 42 V1 (6, 0),V2 (−6, 0), F1 (4 2, 0), F2 (−4 2, 0)
√ √
8 (x − 4)2 = −12(y + 3) 43 V1 (10, 0),V2 (−10, 0), F1 ( 51, 0), F2 (− 51, 0)
√ √ √ √
9 (x + 3)2 = −4(y + 5) 44 V1 (0, 7),V2 (0, − 7), F1 (0, 2), F2 (0, − 2)
√ √
10 (y − 1)2 = 8(x − 2) 45 V1 (7, 0),V2 (−7, 0), F1 ( 13, 0), F2 (− 13, 0)
√ √
46 V1 (1, 2),V2 (−7, 2), F1 (−3 + 7, 2), F2 (−3 − 7, 2)
11 (x − 4)2 = 23 (y + 5)
√ √
47 V1 (0, 9),V2 (0, −9), F1 (0, 3 5), F2 (0, −3 5)
12 (x + 8)2 = −20(y − 2) √ √ √ √
48 V1 (0, 30),V2 (0, − 30), F1 (0, 15), F2 (0, − 15)
13 (x − 3)2 = 8(y − 4) √ √ √ √
49 V1 ( 55, 0),V2 (− 55, 0), F1 (2 7, 0), F2 (−2 7, 0)
x2 2
14 16 + y9 = 1 √ √
50 V1 (8, 0),V2 (−8, 0), F1 (3 6, 0), F2 (−3 6, 0)
2 √ √ √ √
15 x2 + y5 = 1 51 V1 (3, −2 + 10),V2 (3, −2 − 10), F1 (3, −2 + 6), F2 (3, −2 − 6)
9
52 V1 (0, 7),V2 (0, −3), F1 (0, 6), F2 (0, −2)
(x−2)2
16 4 + (y − 2)2 = 1 √ √
53 V1 (0, 7),V2 (0, −7), F1 (0, 3 5), F2 (0, −3 5)
(x−1)2 (y+1)2
17 + =1
9 4 54 V (−7, 9), F(−7, 8 78 ), D : y = 9 81
(x+2)2 (y−3)2
18 4 + 16 =1 55 V (−3, −4), F(−3, −3 34 ), D : y = −4 41

(x−2)2 (y− 1 2 56 V (4, −3), F(4, −2 78 ), D : y = −3 81


19 +4 2) =1
4 25
57 V (−4, −3), F(−4, −3 18 ), D : y = −2 86
(x+1)2 (y−4)2
20 16 + 25 =1
58 V (5, 3), F(5 14 , 3), D : x = 4 43
(x−7)2 (y+2)2
21 25 + 16 =1 59 V (−3, −1), F(−3 18 , −1), D : x = −2 78
√ √
y2 2
60 V1 (−3 + 5, 4),V2 (−3 − 5, 4), F1 (−1, 4), F2 (−5, 4)
22 4 − x9 = 1

y2 2 61 V (−1, 32 ), F(−1, 1), D : y = 2


23 36 − x28 = 1
√ √
62 V1 (5, 0),V2 (−5, 0), F1 ( 34, 0), F2 (− 34, 0)
(x−6)2 (y−1)2
24 25 − 9 =1
63 V1 (4, 0),V2 (−4, 0), F1 (5, 0), F1 (−5, 0)
√ √
x2 y2 64 V1 (0, 7),V2 (0, −7), F1 (0, 74), F2 (0, − 74)
25 16 − 16 =1
√ √
2 65 V1 (2, 0),V2 (−2, 0), F1 ( 53, 0), F2 (− 53, 0)
26 x2 − y4 = 1 √ √
66 V1 (5, 0),V2 (−5, 0), F1 ( 106, 0), F2 (− 106, 0)
y2 2 √ √
27 25 − x9 = 1 67 V1 (0, 8),V2 (0, −8), F1 (0, 89), F2 (0, − 89)
2 2
√ √
28 4 y49 − x49 = 1 68 V1 (6, 0),V2 (−6, 0), F1 (2 14, 0), F2 (−2 14, 0)

69 V1 (1, 2),V2 (−7, 2), F1 (2, 2), F2 (−8, 2)


(y−5)2 (x−3)2
29 36 − 4 =1 √ √
70 V1 (7, 0),V2 (−3, 0), F1 (2 + 41, 0), F2 (2 − 41, 0)
(x−4)2 √ √
30 25 − (y − 2)2 = 1 71 V1 (6, 13),V2 (6, −3), F1 (6, 5 + 89), F2 (6, 5 − 89)
√ √
(y+2)2 72 V1 (5, 5),V2 (−13, 5), F1 (−4 + 2 34, 5), F2 (−4 − 2 34, 5)
31 (x − 7)2 − 8 =1
√ √ √ √
73 V1 (0, 10),V2 (0, − 10), F1 (0, 35), F2 (0, − 35)
32 V (1, −1), F(1, 1), D : y = −3 √ √
74 V1 (0, 7),V2 (0, −7), F1 (0, 39), F2 (0, − 39)
33 V (2, −2), F(2, − 94 ), D : y = − 74 √ √ √
34 V (−2, 3), F(−2, 38 ), D : y = 10
√ V1 (−4, −3 +
75 5),V2 (−4, −3 − 5), F1 (−4, −3 + 6), F2 (−4, −3 −
3 6)
137

 79   
0
5
15 X = −10 20 X = 3
96 1
5
Chapter 2:  
− 16
 
  6
3 0    173 
1 1 11 −16 5 16 X = 4 21 X =  3 
13  3 −3  2 10
15 14 3
−4 −13  7 
−1
   
4 0 14 Not possible 2
17 X = − 27  22 X =  13
2 2 29

4
 
−5 3 1
35 31 7 − 54
15  46 27 16  
  65 39 23 3 
19

−7 0  10 
18 X =  45   10 
23 X =  75 
 
3 −1 3 7 1 1
7
−5 −8 16 57 36 21 10 − 21
10
37 22 13  7   
4 Not possible 2 6
17 Not possible
    19 X = −1 24 X =  8 
28 34 −2 3 1 1
10
18 2
5 81 50 1 6 4
29 58  
8 2 4
19
6 Not possible −2 10 14
  Chapter 4:
  4 −1
1 5 0 1
20 1 5 1 tan(3x − 5) + c
7 3 −4 9 3
2 7
2 6 2
21 −21 2 sin−1 4x + c
 
3 15 0 22 −6 1 2x 1 2x
8 9 −12 27 23 −3
3 2 xe − 4 e + c
6 18 6
24 −6 4 x sin 2x + 41 cos 2x + c
2
9 −2 25 11 p
10 −16 26 −43 5 x sin−1 x + 1 − x2 + c
27 29
− 31 ln |x + 1| + 13 ln |x − 2| + c
 
2 0 6
11 4 11 28 638
3 11 29 5 1 2 9
7 36 (2x − 3) + c
  30 −104 √
20 −5 8 3 sin 3 x + c
31 73
12  5 25 
10 35 32 12 21
9 2

10 8
3

11 1
Chapter 3:
    12 1
5 6 √
1 X = 6 8 X =8 13 1 + √1 − 2
3
7 10
    14 12
0 5
15 5
2 X = 3 9 X = 6 2
1 7
16 275
 4    6
3
3
3 X =  −3   10  17 0
10 X =  54 
− 11 7
3 10 18 − 11
20
 8 
7
 7 
1
√ √ 
4 X = − 97 
3
5 
19 3 5 5−2 2
11 X =  11
− 97 29 17
33 20 2
1  
3 13 1 x2 ln |x| − 1 x2 + c
5 X = 3  543  21 4 8
7 12 X = − 10 
3 29 32
10 22 3
 
3  
 10  2 23 ln(3) − ln(e − 2)
6 X =  45  13 X = 0
7
10 1 24 2 ln(7) − ln(4)
 9  25  17
−4 25 6
2
7 X =  21  14 X =  2  √
5 − 11 26 40 10 + 10
4 2

27 4( 2 − 1)

28 1
138

29 10
3

30 √1
3
9 1
44 373 π
31 9 3 14
2 10 2
45 10π
2 11 32
32 3 46 2
3 15 π
12 12
33 2 47 4387
1 4480 π
13 3
34 1 512 π
2 11 48 15
14 6
35 −2 (e4 −1)
15 1 49 2 π
2
36 1
sin x2 + c √ 1944 π
2 23−8 2 50 5
16 6

37 −2 cot x + c 51 2
17 1 15 π
6
38 tan x + sec x + c 4 52 16 ln2 (2) − 16 ln(2) +
18 3 
3 3 6 π
39 2x2 ln |x| − 4x2 +c 9
3 9 19 2 53 π
2
40 x tan x + ln | cos x| + c 20 4
3 54 π2
4
1 −4x + c 21 1
41 − 4x − 16 e 6 55 3π
22 1 64
56 15 π
42 x(ln x)2 − 2x ln |x| + 2x + c 3

23 1 3
3 57 5π
43 − 14 ln |x − 1| + 2(x−1)
1 + 41 ln |x − 3| + c √
24 2 2 − 2 58 8π
1 72 π
44 2 ln |x + 2| − 12 ln |x + 4| + c 25 3 59 5
26 3 60 (π − 2)π
45 1 ln |x + 1| + 23 ln |x − 2| + c 2
3 √π

e3 −1
61 −2 π
27 2
e2
 
46 − 14 ln | x+1 x+1
2 + 1| − ln | 2 − 1| + c √ 62 16 π
3−1 15
28 2 10 π
47 4 + 23 ln(50) − ln(2) 29 2 ln(2) − 1
63 3
64 6π
2
−10 + 6(x − 2 + 2 ln |x − 2|) + c 30 1
48 − 3xx−2 65 9π
31 1 2
2
(x−1)2 √ 66 4
49 + 2(x − 1) − 8 ln |x − 1| + c 2−1
√ 21 π
2 32
2 16 π
67 3
50 x2 − x − 32 ln |x + 1| + x+1
1 + 1 ln |x − 3| + c
2 33 2
√ 68 π
6
34 ln( 2)
51 x − ln(ex + 1) + c 3π
4 69 2
35 3
52 53 1 ln |x − 2| + 55 +
ln |x + 1| + 27 1 +c
27 9(x−2) 3(x−2)2
70 8π
36 e2 + 1 π
4
71 2
53 −2 37 3π
72 4π
38 16π 3
54 4
√ 73 (d)
39 64 2 π
55 7 3
74 (a)
40 2π
56 −1 3 75 (a)
41 3
57 65 10 π 76 (a)
3 √
42 2 2π 77 (a)
58 0 3
2 78 (d)
65 (a) 43 35 π

66 (c)
67 (d) Chapter 6:
68 (a) 1 fx = 8x3 y3 − y2
69 (d) fy = 6x4 y2 − 2xy + 3
fxx = 24x2 y3
70 (c)
fyy = 12x4 y − 2x
71 (b)
2 3
2 fx = 8xy3 ex y
2 3
fy = 12x2 y2 ex y
Chapter 5: 2 3 2 3
fxx = 8y3 ex y + 16x2 y6 ex y
9 5 2
1 3 2 3 2 3
2 fyy = 24x2 yex y + +36x4 y4 ex y
2 4 6 44
3 32 7 1
3
8 11
4 4 4
139

3 fx = 3 16 fx = 2x + y
fy = 4 fy = x − 2y
fxx = 0 fxx = 2
fyy = 0 fyy = −2

4 fx = y3 + 2xy2 17 fx = 22x
x −y
fy = 3xy2 + 2x2 y
fy = − 21
x −y
fxx = 2y2
−2(x2 +y)
fyy = 6xy + 2x2 fxx =
(x2 −y)2
fyy = −1
5 fx = 3x2 y + ex (x2 −y)2
f y = x3
fxx = 6xy + ex 18 fx = cos y + yex
fyy = 0 fy = −x sin y + ex
fxx = yex
6 fx = e2x+3y + 2xe2x+3y fyy = −x cos y
fy = 3xe2x+3y
19 fx = y2 cos(xy)
fxx = 4e2x+3y + 4xe2x+3y
fy = sin(xy) + xy cos(xy)
fyy = 9xe2x+3y
fxx = −y3 sin(xy)
2y
7 fx = fyy = 2x cos(xy) − x2 y sin(xy)
(x+y)2
fy = −2x 2 20 fx = 8x − 8y4
(x+y)
−4y fy = −32xy3 + 21y2
fxx =
(x+y)3 fxx = 8
4x
fyy =
(x+y)3 fyy = −96xy2 + 42y

21 fx = y cos(xy)
8 fx = 2 sin(x2 y) + 4x2 y cos(x2 y)
fy = x cos(xy)
fy = 2x3 cos(x2 y)
fxx = −y2 sin(xy)
fxx = 12xy cos(x2 y) − 8x3 y2 sin(x2 y)
fyy = −x2 sin(xy)
fyy = −2x5 sin(x2 y)
22 fx = 3x2 + 6xy + 4
9 fx = 2x sin y − y2 sin x
fy = 3x2 + 2y
fy = x2 cos y + 2y cos x
fxx = 6x + 6y
fxx = 2 sin y − y2 cos x
fyy = 2
fyy = x2 sin y + 2 cos x
23 fx = 2xy + 4y3
10 fx = 3x2 + y2
fy = x2 + 12xy2
fy = 2xy + 1
fxx = 2y
fxx = 6x
fyy = 24xy
fyy = 2x
24 fx = 2x tan y
11 fx = 2xy2 + y2 fy = x2 sec2 y + 2y
fy = 2x2 y + 2xy fxx = 2 tan y
fxx = 2y2 fyy = 2x2 sec2 y tan y + 2
fyy = 2x(x + 1)
25 fx = 3x2 ln y + y4
12 fx = 3x2 + 1 3
fy = xy + 4xy3
fy = 4y + 1
fxx = 6x ln y
fxx = 6x 3
fyy = 4 fyy = − x2 + 12xy2
y

13 fx = 3yx2 + y4 − 3 26 fx = 3x2 y + y3
fy = x3 + 4xy3 − 3 fy = x3 − 3xy2
fxx = 6yx fxx = 6xy
fyy = 12xy2 fyy = −6xy

14 fx = − y2 ln x + y2 27 6, 2, 3, 1
x x
fy = lnxx 28 0, −1, 0, 0
fxx = 2y3 ln x − 3y3
x x 29 3, − 14 , − 21 , − 14
4
fyy = 0
30 1, 0, −6, 6
15 fx = −2x
(x2 +y2 )2
31 1, 0, 1, 0
−2y
fy =
(x2 +y2 )2
32 0, 3, −4, 0
2 2
fxx = 6x2 −2y
2 3
(x +y )
33 −6, 3, 0, −18
2 2
fyy = 6y2 −2x
2 3
(x +y ) 34 0, 0, 0, 0
140

Chapter 7:
35 0, 0, 1, 0
x
1 y = − 1+cx
36 0, 0, 0, 4
2 y = − tan1x+c
37 12, 1, 0, 0

38 3, 0, 0, 2 3 y = x2 (sec x + c)

39 2, 0, 6, 6 4 y = ex (−e−x + c)

40 16, 0, 0, 6 5 y = e−3x (ex + c)

41 2, −1, 1, 0 6 y = tan(− cos x + c)

7 y = e−x 31 e3x + c

42 12, 12

43 3, −7 8 y = x(xex − ex + c)

44 −2, 2 9 y = x(−e−x + c)
x −x
45 0, 0 10 y = e 2 4e 2 + c


46 8 sin(1), 4 cos(1) + 8 sin(1) p


11 y = x3 + x2 − x + c
47 −8 sin(4) + 3, 4 sin(4) + 3
12 y = esin x+c
48 0, 18e9
13 y = 12 45 x5 + c

x
49 6(ln(4) + 1), 6(ln(4) + 1)
14 y = ex − 21 e−2x + c

50 −3, −2
1 3
x + x3 + c

51 −3 sin(2) + 3 cos(2) + 1, −3 sin(2) + 4 cos(2) + 1 15 y =
1+x2

52 1, 0 16 y = e−x ln(ex + 1) + c


53 3, 10
17 y = e−2x 2x e2x − 14 e2x + 54


54 0, 4
18 y = e−2x (ex − 41 )
55 3 − 3 sin(3), 6 − 6 sin(3) + 3 cos(3)
2 2
19 y = ex − 12 e−x + 12

56 3e6 , 5e6
20 y = 1 1 ln(1 + x2 ) + 1

57 10 sin2 (1), 4 sin(1) 2 cos(1) + sin(1)

1+x2 2

21 y = 1x − cos x + 4π+3

y2 −x2 6
58
2xy+y2
x −4x
 
√ 22 y = e 3 − 34 e 3 + a + 34
y−2 xy
59 √
6 xy−x
 
23 y = 12 x4 + 1
60 − 23 x

− xy
p
61 24 y = x3 + 2x2 + 2x + 1
3 3
62 − 12 25 y = ex − e−x + 1


63 − xy 4
26 y = 1x x4 − 13

4
4
64 − 4x2 27 y = x(x + 1)
3y
1
28 y = − x−1
65 − 2x2
3y
3 3
p
29 y = x +x+1
66 3x2 −2x3
y
30 y = cos x sin2 x + 11

2
67 1
− sin y+y cos y
31 y = − 5 21
2 (x −11)
68 − xy
p

y+4 xy
32 y = x3 + 2x2 − 4x + 10
69 √
4y xy−x
33 y = − √ 1
1+x2
70 8x
−1
y 2 +10 34 y = ln |x2 − 4x − 4|
3 1
71 − 2xy2 +1 35 y = −
2
3x y ln |x|− 1
2

72 − xy 36 y = sin−1 x

√1 4
73 37 y = 1x x4 − 13

1−x2 4
2
38 y = π2 cos−1 e−(x +x)
q 
2y 1+x2 y2 −xy2
74 q
x2 y−2x 1+x2 y2
39 y = tan 32 x3


75 − 6x+2xy
2 2 4 3 2
x +3y 40 y = 12 x4 − x3 + x2 + 12
1 
x
141

Chapter 8: 27

1 (1, 3)

2 (0, 1)

3 (− 3, −1)

4 (−3, 0)

5 (0, − 21 )

6 (3, 0)

7 ( √7 , − √7 ) 28
2 2

8 ( 32 , 3 2 3 )

9 ( 2, π4 )

10 (2, π3 )

11 ( 2, 3π
4 )

12 (2 3, π3 )

13 (2, π6 )
29 9π
4
14 ( √1 , π4 )
2 30 3π
2

15 (2, 5π )
6 31 4π

16 (3, 0) 32 4π

17 r = 4 sec θ 33 36( 3π
4 + 2)

18 r = 5 34 6π

19 y = 1 35 4π

20 x2 + y2 − 6x = 0 36 5π

21 r = 2 tan θ sec θ 37 2π
9 cos θ √
22 r = 9 3
cos2 θ−sin2 θ 38 2 −π
p
23 x2 + y2 − y − 3 = 0 39 10π
p
40 5π−8
24 x2 + y2 − 2 x2 + y2 + 3y = 0 4

41 π−2
25 2

26
Basic Mathematical Concepts

In this part of the book, we prepared some mathematical concepts that hopefully help students to understand the main ideas of the book.
By taking into account the different scientific levels of the students, it is necessary to present these concepts with some examples and
figures. The necessity of this part is not limited to this course, but it is for other courses. I personally recommend the students to give this
additional part a primary attention before starting the course, where the necessity of it is not limited to this course, but it is for other
courses.

Mathematical Expressions
1. ⇒ is the symbol for implying.
2. ⇔ is the symbol for “⇒ and ⇐". Also, the expression “iff" means if and only if .
3. b > a means b is greater than a and a < b means a is less than b.
4. b ≥ a means b is greater than or equal to a.
Sets of Numbers & Notations

1. Natural numbers N = {1, 2, 3, ...}.


2. Whole numbers W = {0, 1, 2, 3, ...}.
3. Integers Z = {..., −3, −2, −1, 0, 1, 2, 3, ...}.
4. Rational numbers Q = { ba | a, b ∈ Z and b 6= 0}.
5. Irrational numbers I = {x | x is a real number that is not rational}.
6. Real numbers R contains all the previous sets.
Figure A.1: Sets of Numbers.
Fractions Operations
• Adding or subtracting two fractions
To add or subtract two fractions, we do the following steps:
1. Find the least common denominator.
2. Write both original fractions as equivalent fractions with the least common denominator.
3. Add (or subtract) the numerators.
4. Write the result with the denominator.
 Example A.14
2
(1) 3 + 45 = 10 12
15 + 15 =
10+12
15 = 22
15 (3) 4
7 − 61 = 24 7 24−7
42 − 42 = 42 = 14
42 = 7
21
3
(2) 7 + 7 = 7 = 87
5 3+5
(4) 3
7 − 75 = 3−5
7 = −7
2

• Multiplying two fractions


To multiple two fractions, we do the following steps:
1. Multiply the numerator by the numerator.
2. Multiply the denominator by the denominator.
a c ac
× = where b 6= 0 and d 6= 0 .
b d bd
 Example A.15
3 2×(−3)
(1) 4 × 29 = 3×2 6
4×9 = 36 =
1
6 (2) 2
5 × −3
7 = 5×7
6
= − 35
Basic Mathematical Concepts 2

• Dividing two fractions


To divide two fractions, we do the following steps:
1. Find the multiplicative inverse of the second fraction.
2. Multiply the two fractions.
a c a d ad
÷ = × = where b 6= 0 and d 6= 0 .
b d b c bc
 Example A.16
(1) 25 ÷ 49 = 25 × 94 = 2×9 18
5×4 = 20
(2) 73 ÷ −2 3 5
5 = 7 × −2 =
3×5
7×(−2)
= − 15
14

Logarithmic and Exponential Functions


The Natural Logarithmic Function
• The natural logarithmic function is defined as follows: y
ln : (0, ∞) → R ,
Z x
1 y = ln x
1
ln x = dt
1 t
for every x > 0. x
• Some properties:
1 2 3 4
If a, b > 0 and r ∈ Q, then
1. ln ab = ln a + ln b.
2. ln ba = ln a − ln b. −1
3. ln ar = r ln a.
• Differentiating the natural logarithmic function:
If u = g(x) is differentiable, then
−2
d 1
ln | u | = u0 .

dx u Figure A.2: The graph of the function y = ln x.

 Example A.17 Find the derivative of the function.



(1) y = ln(x2 + 1) (2) y = ln x
Solution:
(1) y0 = x22x
+1

(2) y0 = √1x 2√
1
x
1
= 2x
Exponents
Assume n is a positive integer and a is a real number. The nth power of a is
an = a . a . . . a .
The Natural Exponential Function

The natural exponential function is defined as follows:


exp : R −→ (0, ∞) , y

y = exp x ⇔ ln y = x
Some properties: If a, b > 0 and r ∈ Q, then
• 1. ea eb = ea+b
ea y = ex
2. b = ea−b
e
3. (ea )r = ear
• Note that ex and ln x are inverse functions, so
1
ln ex = x, ∀x ∈ R , and eln x = x, ∀x ∈ (0, ∞).

• Differentiating the natural exponential function:


If u = g(x) is differentiable, then
x
d u
e = eu u0 . Figure A.3: The graph of the function y = ex .
dx
Basic Mathematical Concepts 3

 Example A.18 Find the derivative of the function.



(1) y = e x (2) y = ecos x

Solution:
√  
(1) y0 = e x 2√
1
x

(2) y0 = esin x cos x


General Exponential Function
• The general exponential function is defined as follows:
ax : R → (0, ∞) ,
ax = ex ln a for every a > 0.
y y

y = ax

1 1
y = ax

x x

Figure A.4: The function y = ax for a > 1. Figure A.5: The function y = ax for a < 1.

• Properties of the general exponential function:


For every x, y > 0 and a, b ∈ R,
1. x0 = 1 4. (xa )b = xab

2. xa xb = xa+b 5. (xy)a = xa ya
xa
3. xb
= xa−b 6. x−a = 1
xa

 Example A.19
(1) 24 2−7 = 23−7 = 2−3 = 1
23
= 1
8
(3) (5x)2 = 25x2
x 6 y3 x6 y3 x 6 y3 1
= x6−5 y3−5 z15 = x
2
3
(2) 3−2
= 32−(−2) = 34 = 81 (4) (xyz) 5 = x5 y5 z5 = x5 y5 z5 y2 z5

• Differentiating the general exponential function:


If u = g(x) is differentiable, then
d u
a = au ln a u0
dx

 Example A.20

Find the derivative of the function.
(1) y = 2 x (2) y = 3tan x

Solution: √  
(1) y0 = 2 x ln 2 2√
1
x

(2) y0 = 3sin x ln 3 cos x

General Logarithmic Function


• The general logarithmic function is defined as follows:
loga : (0, ∞) → R ,
Basic Mathematical Concepts 4

x = ay ⇔ y = loga x.
y y

y = loga x
x
1

x
1
y = loga x

Figure A.6: The function y = loga x for a > 1. Figure A.7: The function y = loga x for a < 1.

• Properties of general logarithmic function:


If x, y > 0 and r ∈ R, then
1. loga xy = loga x + loga y
x
2. loga y = loga x − loga y

3. loga xr = r loga x

• Differentiating the general logarithmic function:


If u = g(x) is differentiable, then
d  d  ln |u|  1 0
loga |u| = = u
dx dx ln a u ln a

 Example A.21 Find the derivative of the function.


(1) y = log2 (x2 + 1)

(2) y = log3 x
Solution:
(1) y0 = 2x
(x2 +1) ln 2

(2) y0 = √1 1

x ln 3 2 x
= 1
2x ln 3
Algebraic Expressions
Let a and b be real numbers. Then,
1. (a + b)2 = a2 + 2ab + b2 5. (a − b)3 = a3 − 3a2 b + 3ab2 − b3

2. (a − b)2 = a2 − 2ab + b2 6. a3 + b3 = (a + b)(a2 − ab + b2 )

3. (a + b)(a − b) = a2 − b2 7. a3 − b3 = (a − b)(a2 + ab + b2 )

4. (a + b)3 = a3 + 3a2 b + 3ab2 + b3 8. an − bn = (a − b)(an−1 + an−2 b + an−3 b2 + ... + abn−2 + bn−1 )


 Example A.22
(1) (x ± 2)2 = x2 ± 4x + 4 (3) (x ± 2)3 = x3 ± 6x2 + 12x ± 8
(2) x2 − 25 = (x − 5)(x + 5) (4) x3 ± 27 = (x ± 3)(x2 ∓ 3x + 9)
Absolute Value
The absolute
 value of x is defined as follows:
x :x≥0
| x |=
−x : x < 0
 Example A.23 |2| = 2, | − 2| = 2, |0| = 0 .
Basic Mathematical Concepts 5

Equations and Inequalities


If b > 0,
1. |x − a| = b ⇔ x = a − b or x = a + b .
2. |x − a| < b ⇔ a − b < x < a + b .
3. |x − a| > b ⇔ x < a − b or x > a + b .
 Example A.24 Solve for x.
(1) |3x − 4| = 7 (2) |2x + 1| < 1
Solution:
(1) |3x − 4| = 7 ⇔ 3x − 4 = 7 or 3x − 4 = −7. Thus, x = 113 or x = −1.
(2) |2x + 1| < 1 ⇔ −1 < 2x + 1 < 1. By subtracting 1 and then dividing by 2, we have −1 < x < 0.
Functions
A function f : D → S is a mapping that assigns each element in D to an element in S. The set D is called the domain of the function f .
All values of f (x) belong to a set R ⊆ S called the range.
• Domains and Ranges
In the following, we show the domain and range of some functions:
1. Polynomials an xn + an−1 xn−1 + ... + a1 x + a0 .
Domain: R Range: p R
2. Square Roots f (x) = g(x) .
Domain: ∀x ∈ R such that g(x) ≥ 0 Range: R+
f (x)
3. Rational Functions q(x) = g(x) .
To determine the domain, we need to find the intersection of the domains of f and g. Then, we remove zeros of the function g.
 Example A.25 Find the domain of the function.

(1) f (x) = x − 1
x+1
(2) q(x) = 2x−1
2
(3) q(x) = 3x√+x+2
x+2
Solution:
x ∈ R such that x − 1 ≥ 0. By solving the inequality, we have x − 1 ≥ 0 ⇒ x ≥ 1. Thus, the domain is [1, ∞). Now,
(1) We need to find all p
∀x ∈ D( f ), f (x) = g(x) ≥ 0 i.e., the range is [0, ∞).
(2) The domain of the numerator and the denominator is R. The denominator g(x) = 0 if x = 12 . Thus, the domain is R \ 12 } .


(3) The domain of the numerator is R, but the domain of the denominator is [−2, ∞). Also, the denominator g(x) = 0 if x = −2. Thus, the
domain is (−2, ∞).
• Operations on Functions
Let f and g be two functions, then
1. ( f ± g)(x) = f (x) ± g(x) .
2. ( f g)(x) = f (x)g(x) .
f (x)
3. ( gf )(x) = g(x) where g(x) 6= 0 .

 Example A.26 If f (x) = x2 − 1 and g(x) = x − 1, find the following:


(1) ( f + g)(x) (2) ( f g)(x) (3) ( gf )(x)
Solution:
(1) ( f + g)(x) = f (x) + g(x) = (x2 − 1) + (x − 1) = x2 + x − 2.
(2) ( f g)(x) = f (x)g(x) = (x2 − 1)(x − 1) = x3 − x2 − x + 1.
f (x) 2 (x−1)(x+1)
(3) ( gf )(x) = g(x) = xx−1−1
= (x−1) = x + 1.
• Composition of Functions
Let f and g be two functions. The composition of the two functions is ( f ◦ g)(x) = f (g(x)) where D( f ◦ g) = {g(x) ∈ D( f )∀x ∈ D(g)}.
 Example A.27 If f (x) = x2 and g(x) = x + 2, find ( f ◦ g)(x).
Solution: 2
( f ◦ g)(x) = f (g(x)) = x + 2 = x2 + 4x + 4.
• Inverse Functions
A function f has an inverse function f −1 if it is one to one: y = f −1 (x) ⇔ x = f (y).1

−1
1 The −1 in f −1 is not exponent where 1
f (x)
is written as f (x) .
Basic Mathematical Concepts 6

Properties of inverse functions:


1. D( f −1 ) is the range of f .

2. The range of f −1 is the domain of f .

3. f −1 f (x) = x, ∀x ∈ D( f ).


4. f f −1 (x) = x, ∀x ∈ D( f −1 ).


5. ( f −1 )−1 (x) = f (x), ∀x ∈ D( f ).

Figure A.8: Inverse functions.


• Even and Odd Functions
Let f be a function and −x ∈ D( f ).
1. If f (−x) = − f (x) ∀x ∈ D( f ), the function f is odd.
2. If f (−x) = f (x) ∀x ∈ D( f ), the function f is even.
 Example A.28
(1) The function f (x) = 2x3 + x is odd because f (−x) = 2(−x)3 + (−x) = −2x3 − x = −(2x3 + x) = − f (x).
(2) The function f (x) = x4 + 3x2 is even because f (−x) = (−x)4 + 3(−x)2 = x4 + 3x2 = f (x).
Roots of Linear and Quadratic Equations
• Linear Equations
A linear equation can be written in the form ax + b = 0 where x is the unknown, and a, b ∈ R and a 6= 0. To solve the equation, subtract b
from both sides and then divide the result by a:
−b
ax + b = 0 ⇒ ax + b − b = 0 − b ⇒ ax = −b ⇒ x = .
a
 Example A.29 Solve for x the equation x + 2 = 5.
Solution:
3
3x + 2 = 5 ⇒ 3x = 5 − 2 ⇒ 3x = 3 ⇒ x = = 1 .
3
• Quadratic Equations
A quadratic equation can be written in the form ax2 + bx + c = 0 where a, b, and c are constants and a 6= 0. The quadratic equations can
be solved by using the factorization method, the quadratic formula, or the completing the square.
Factorization Method
The factorization method depends on finding factors of c that add up to b. Then, we use the fact that if x, y ∈ R, then

xy = 0 ⇒ x = 0 or y = 0 .

 Example A.30 Solve for x the following quadratic equations:


(1) x2 + 2x − 8 = 0
(2) x2 + 5x + 6 = 0
Solution:
(1) a = 1, b = 2 and c = −8. by factoring c, we have c = 2 × (−4) or c = −2 × 4. However, b 6= (−2) + 4, so we consider 2 and −4. Thus,

x2 + 2x − 8 = (x − 2)(x + 4) = 0 ⇒ x − 2 = 0 or x + 4 = 0 ⇒ x = 2 or x = −4 .

(2) By factoring the left side, we have

(x + 2)(x + 3) = 0 ⇒ x + 2 = 0 or x + 3 = 0 ⇒ x = −2 or x = −3 .

Quadratic Formula Solutions


We can solve the quadratic equations by the quadratic formula:

−b ± b2 − 4ac
x= .
2a
Remark: The expression b2 − 4ac is called the discriminant of the quadratic equation ax2 + bx + c = 0.
1. If b2 − 4ac > 0, the quadratic equation has two distinct real solutions.
2. If b2 − 4ac = 0, the quadratic equation has one distinct real solution.
Basic Mathematical Concepts 7

3. If b2 − 4ac < 0, the quadratic equation has no real solutions.


 Example A.31 Solve for x the following quadratic equations:
(1) x2 + 2x − 8 = 0
(2) x2 + 2x + 1 = 0
(3) x2 + 2x + 8 = 0
Solution:
(1) a = 1, b = 2, c = −8. Since b2 − 4ac = 22 − 4(1)(−8) > 0, then there are two solutions x = 2 and x = −4.
(2) a = 1, b = 2, c = 1. Since b2 − 4ac = 22 − 4(1)(1) = 0, then there is one solution x = −1.
(3) a = 1, b = 2, c = 8. Since b2 − 4ac = 22 − 4(1)(8) < 0, then there are no real solutions.
Completing the Square Method
To solve the quadratic equation by the completing the square method, we need to do the following steps:
Step 1: Divide all terms by a (the coefficient of x2 ).
Step 2: Move the term ( ac ) to the right side of the equation.
Step 3: Complete the square on the left side of the equation and balance this by adding the same value to the right side.
Step 4: Take the square root of both sides and subtract the number that remains on the left side.
2
 Example A.32 Solve for x the quadratic equation x + 2x − 8 = 0 .
Solution: a = 1, b = 2, c = −8 .
Step 1 can be skipped in this example since a = 1.
Step 2: x2 + 2x = 8 .
Step 3: To complete the square, we need to add ( b2 )2 since a = 1.

x2 + 2x + 1 = 8 + 1 ⇒ (x + 1)2 = 9 .

Step 4: x + 1 = ±3 ⇒ x = ±3 − 1 ⇒ x = 2 or x = −4.
Systems of Equations
A system of equations consists of two or more equations with the same set of unknowns. The equations in the system can be linear or
non-linear, but for the purpose of this book, we only consider the linear ones.
Consider a system of two equations in two unknowns x and y

ax + by = c

dx + ey = f .

To solve the system, we try to find values of the unknowns that will satisfy each equation in the system. To do this, we can use elimination
or substitution.
 Example A.33 Solve the following system of equations:

x − 3y = 4 → 1

2x + y = 6 → 2

Solution:
• By using the elimination method.
Multiply equation 2 by 3, then add the result to equation 1 . This implies 7x = 22 ⇒ x = 22 7 . Substitute the value of x into the first
2
or the second equation to obtain y = − 7 .
• By using the substitution method.
From the first equation, we have x = 4 + 3y. By substituting that into the second equation, we obtain

2
2(4 + 3y) + y = 6 ⇒ 7y + 8 = 6 ⇒ y = −
7

22
Substitute value of y into x = 4 + 3y to have x = 7 .
Pythagorean Theorem
Basic Mathematical Concepts 8

If c denotes the length of the hypotenuse and a


and b denote the lengths of the other two sides, the
Pythagorean theorem can be expressed as follows:
p
a2 + b2 = c2 or c = a2 + b2 . c
b
If a and c are known and b is unknown, then
p
b = c2 − a2 . θ
a
Similarly, if b and c are known and a is unknown, then
Figure A.9
p
a = c2 − b2 a is adjacent to the angle θ
b is opposite
The trigonometric functions for a right triangle are c is hypotenuse
a b b
cos θ = sin θ = tan θ =
c c a

 Example A.34 Find value of x. Then find cos θ, and sin θ.

x
Solution: 4
a = 3, b = 4 ⇒ x2 = 42 + 32 = 25 ⇒ x = 5
cos θ = 53 θ
sin θ = 54 3

Figure A.10

Trigonometric Functions
• If (x, y) is a point on the unit circle, and if the ray
from the origin (0, 0) to that point (x, y) makes an angle
θ with the positive x-axis, then

cos θ = x , sin θ = y ,

• Each point (x, y) on the unit circle can be written as


(cos θ, sin θ).
• Since x2 + y2 = 1, then cos2 θ + sin2 θ = 1.
Therefore,

1 + tan2 θ = sec2 θ and cot2 θ + 1 = csc2 θ.


Figure A.11: Trigonometric functions.
Also,

sin θ cos θ 1 1
tan θ = cot θ = sec θ = csc θ =
cos θ sin θ cos θ sin θ
• Trigonometric functions of negative angles
cos(−θ) = cos(θ), sin(−θ) = − sin(θ), tan(−θ) = − tan(θ)
• Double and half angle formulas

sin 2θ = 2 sin θ cos θ, cos 2θ = cos2 θ − sin2 θ = 1 − 2 sin2 θ = 2 cos2 θ − 1


2 tan θ
tan 2θ =
1 − tan2 θ
θ 1 − cos θ θ 1 + cos θ
sin2 = , cos2 =
2 2 2 2
• Angle addition formulas

sin(θ1 ± θ2 ) = sin θ1 cos θ2 ± cos θ1 sin θ2


Basic Mathematical Concepts 9

cos(θ1 ± θ2 ) = cos θ1 cos θ2 ∓ sin θ1 sin θ2


tan θ1 ± tan θ2
tan(θ1 ± θ2 ) =
1 ∓ tan θ1 tan θ2
• Values of trigonometric functions of most commonly used angles

Degrees 0 30 45 60 90 120 135 150 180 210 225 240 270 300 315 330 360
π π π π 2π 3π 5π 7π 5π 4π 3π 5π 7π 11π
Radians 0 6 4 3
√ 2 √3 4 6 π 6 4 3√ 2 3√ 4 6 2π
1 √1 3 3 1 1 −1 −1 − 3 − 3 −1 −1
2 −1
sin θ 0 1 √ 0 √ √ 0
2
√ 2 2 2 2 2 √ 2 2 √ 2 2 2 √
3 √1 1 −1 −1 − 3 − 3 √
−1 −1 1 √1 3
cos θ 1 2 2 2 0 2

2 2 −1 2 2 2 0 2 2 2 1

Table A.1

• Graphs of trigonometric functions


y y
1

2
x x
y =−π/4
tan x
− π4 π
4 π/4
−2

y = cos x
y = sin x −1

Figure A.12: The graphs of sin x and cos x. Figure A.13: The graph of tan x.
Distance Formula

Let P1 = (x1 , y1 ) and P2 = (x2 , y2 ) be two points in the


Cartesian plane. The distance between P1 and P2 is
q
D = (x2 − x1 )2 + (y2 − y1 )2 .

 Example A.35 Find the distance between the two


points P1 (1, 1) and P2 (−3, 4).

Solution:
q √ √
D = (−3 − 1)2 + (4 − 1)2 = 16 + 9 = 25 = 5 .
Figure A.14: The distance between two points.
Differentiation of Functions
Differentiation
 Rules
d 0 0
dx f (x) + g(x) = f (x) + g (x) d 1
 −g0 (x)
dx g(x) = 2
g(x)
d
f (x)g(x) = f 0 (x)g(x) + f (x)g0 (x)

dx d
c f (x) = c f 0 (x)

 f 0 (x)g(x)− f (x)g0 (x) dx
d f (x)
dx g(x) = 2
g(x)
Elementary Derivatives
d r d 1 1 d √ 1
dx x = rxr−1 dx x = − x2

dx x = 2 x
Derivative of Composite Functions (Chain Rule)
Basic Mathematical Concepts 10

Let y = f (u) and u = g(x) such that dy/du and du/dx exist. Then, the derivative of the composite function ( f ◦ g)(x) exists and
dy dy du
= f 0 (u)g0 (x) = f 0 g(x) g0 (x) .

=
dx du dx
Derivative of Inverse Functions
If a function f has an inverse function f −1 , then d −1
dx f
1
(x) = 0 −1 .
f f (x)
Graphs of Functions
• The First and Second Derivative Test
1. Let f be continuous on [a, b] and f 0 exists on (a, b).
• If f 0 (x) > 0, ∀x ∈ (a, b), then f is increasing on [a, b].
• If f 0 (x) < 0, ∀x ∈ (a, b), then f is decreasing on [a, b].
2. Let f be continuous at a critical number c and differentiable on an open interval (a, b), except possibly at c.
• f (c) is a local maximum of f if f 0 changes from positive to negative at c.
• f (c) is a local minimum of f if f 0 changes from negative to positive at c.

Figure A.15: The local maximum and minimum value of the function f .

3. If f 00 exists on an open interval I,


• the graph of f is concave upward on I if f 00 (x) > 0 on I.
• the graph of f is concave downward on I if f 00 (x) < 0 on I.
• Shifting Graphs
Let y = f (x) is be function.
1. Replacing each x in the function with x − c shifts the graph c units horizontally.
• If c > 0, the shift will be to the right.
• If c < 0, the shift will be to the left.
2. Replacing y in the function with y − c shifts the graph c units vertically.
• If c > 0, the shift will be upward.
• If c < 0, the shift will be downward.

• Symmetry about the y-axis and the origin


1. If the function f is odd, the graph of f is symmetric about the origin.
2. If the function f is even, the graph of f is symmetric about the y-axis.

• Lines
The general linear equation in two variables x and y can be written in the form:

ax + by + c = 0 ,

where a, b and c are constants with a and b not both 0.


 Example A.36

2x + y = 4
a = 2, b = −1, c = −4
To plot the line, we rewrite the equation to become
y = −2x + 4. Then, we use the following table to make
points on the plane:
The line 2x + y = 4 passes
x 0 2
through the points (0, 4)
y 4 0 and (2, 0).

Figure A.16: The line 2x + y = 4.


Slope
y2 −y1
1. The slope of a line passing through the points P1 (x1 , y1 ) and P2 (x2 , y2 ) is m = x2 −x1 .
2. Point-Slope form: y − y1 = m(x − x1 ).
Basic Mathematical Concepts 11

3. Slope-Intercept form:
If b 6= 0, the general linear equation can be rewritten as

a c
ax + by + c = 0 ⇒ by = −ax − c ⇒ y = − x − ⇒ y = mx + d ,
b b

where m is the slope.


Example A.37 Find the slope of the line 2x − 5y + 9 = 0.
Solution: 2x − 5y + 9 = 0 ⇒ −5y = −2x − 9 ⇒ y = 25 x + 95 .
Thus, the slope is 52 . Alternatively, take any two points on that line say (−2, 1) and (3, 3). Then,

y2 − y1 3−1 2
m= = = .
x2 − x1 3 − (−2) 5

Special cases of lines in a plane


1. If m is undefined, the line is vertical. 2. If m = 0, the line is horizontal.

Figure A.17 Figure A.18

3. Let L1 and L2 be two lines in a plane, and let m1 and m2 be the corresponding slopes, respectively.
−1
• If L1 and L2 are parallel, then m1 = m2 . • If L1 and L2 are vertical, then m1 = m2 .

Figure A.19 Figure A.20

• Graph of Some Functions


y = mx + b y=a x=a
Basic Mathematical Concepts 12

y = x2 y = x2 + a y = x2 − a


y = (x + a)2 y = (x − a)2 x= y


x = y2 − a x = (y − a)2 y= x

x = y2 y = x3 y =| x |

Figure A.21

Areas and Volumes of Special Shapes


Area = x2 Area = xy Area = 21 bh

Area = πr2 Volume = πr2 h Volume = 34 πr3


Basic Mathematical Concepts 13

Volume = xyz Volume = 13 xyh Volume = 31 πr2 h

Figure A.22
Integral Calculus and Applications

Dr. Mohamad Alghamdi


General Mathematics II

Dr. Mohamad Alghamdi

You might also like