0% found this document useful (0 votes)
83 views

Cumt101 Notes

This document provides a course outline for a single variable calculus course. It includes the purpose, aim, content, teaching methods, assessment, and resources. The content will cover number systems, functions, limits, differentiation, integration, complex numbers, ordinary differential equations, vector calculus, and matrices. Students will be assessed through weekly tests, coursework, and a final exam. The goal is to introduce mathematical analysis concepts and provide a foundation for applied mathematics.

Uploaded by

angelzengwe8
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)
83 views

Cumt101 Notes

This document provides a course outline for a single variable calculus course. It includes the purpose, aim, content, teaching methods, assessment, and resources. The content will cover number systems, functions, limits, differentiation, integration, complex numbers, ordinary differential equations, vector calculus, and matrices. Students will be assessed through weekly tests, coursework, and a final exam. The goal is to introduce mathematical analysis concepts and provide a foundation for applied mathematics.

Uploaded by

angelzengwe8
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/ 90

CHINHOYI UNIVERSITY OF SCIENCE AND

TECHNOLOGY

CUMT 101 Single Variable calculus


Lecture hours: 36 hours

Prefab 10

Author:
Department:
Mr D.F.M.
Mathematics
Email: dmamutse.cut.ac.zw

October 30, 2023


Course Outline

0.1 Purpose

This course is designed to cover Calculus of single variables and part of Calculus of several variables
for undergraduate engineering students with some background of A-Level calculus. The concentra-
tion is on motivating results and concepts geometrically rather than on providing rigorous proofs.
Concepts are defined carefully and results stated precisely, but illustrated by way of vivid, concrete
examples. We seek to introduce and develop concepts (including complex numbers and the algebra
of polynomials) necessary for a first course in algebra. Our goal is the elementary theory of matrices
and determinants, and their applications to solving systems of linear equations. The course is a
pre-requisite for (Engineering mathematics 2). It has 20 lectures per week which have a duration
of one hour each.
Monday to Friday 0700 − 1100 and 1400 − 1600 hrs.

0.2 AIM

The aim of this course is to introduce gently the rigour of mathematical analysis and provide a
good background for applied mathematics.

0.3 Course Content

0.3.1 Number systems

1. Natural, Rational and Irrational Numbers, [1]


2. Principle of Mathematical Induction, [2]
3. The Real Number System, Inequalities, Solution Sets and Geometrical Representation, [1]
4. Absolute Value, Neighborhoods and Intervals. [1]

1
0.3.2 Functions, limits of functions of a single variable

1. Definitions and Notation, Types of Functions and their Inverses, [2].

2. Definition of a limit of a function and its application, [1]

3. Left and Right hand Limits, [1]

4. L’ Hospital’s Rule, [1]

5. Continuous Functions, [2]

6. Curve sketching, [1]

0.3.3 Differentiation

1. The concept of a derivative, [1]

2. Theorems on Differentiation. [2]

3. Applications of the derivative. The Mean Value Theorem and Rolle’s Theorem, [2]

4. Leibniz Theorem with Applications, [2]

0.3.4 Integration

1. Indefinite integral and definite integral, [2]

2. Techniques of integration, [2]

3. Reduction Formulas, [2]

4. Improper integrals, [2]

0.3.5 Complex Numbers and Polynomials

1. Introduction, Operations, Rules of Complex arithmetic, [2]

2. Modulus, Complex conjugate, Division, Polar representation of complex numbers, De Moivre’s


theorem and its application, [4]

3. Applications of complex numbers, The fundamental theorem of algebra. [4]

2
0.3.6 Ordinary Differential Equations

1. First order separable variables, Linear,


2. Use of integrating factor and homogeneous ODEs.
3. Second order linear ODE with constant coefficients, homogeneous and non-homogeneous
ODEs.

0.3.7 Vector Calculus

ˆ Partial differentiation,
ˆ Vector algebra,
ˆ Dot, cross and triple products,
ˆ Vector functions and space curves,
ˆ Scalar and vector fields,
ˆ Gradient,
ˆ Curl and Divergence of vectors,
ˆ Equations of lines and planes.

0.3.8 Matrices and Determinants

1. Matrix addition and multiplication, properties, Transpose of a matrix, square matrices, diag-
onal and trace, Powers of matrices, [2]
2. Some special types of square matrices, Determinants, Laplace expansion of the determinant,
Inverse of matrices, [5]
3. Application of matrices, Elementary row operations, Inverses using row operations, Solving
systems of linear equations. [5]

0.4 Methods/Strategies to be used


1. lecture method,
2. group discussion,
3. seminars,
4. tutorials.

3
0.5 Student Assessment

Students will write three, one hour tests after every week.
The average of the tests will constitute the coursework mark where 50% of the coursework mark
will contribute to the final mark.
A 3 hour final examination will be written in the 4th week of the first semester.
The examination will contribute 50% to the final mark.
The examination paper has two sections; namely; section A and section B. Candidates may attempt
ALL questions in Section A and at most TWO questions in Section B. Section A carries 40 marks
and each question in section B carries 30 marks.

0.6 Selected Resources(references)

Recommended reading

ˆ S Lang, Calculus of Several Variables (Springer Science+Business Media New York).

ˆ P D Lax, M S Terrell, Calculus with Applications (Springer Science+Business Media New


York).

ˆ M R Spiegel, Advanced Calculus (Schaum’s Outline Series).

ˆ J R Kirkwood, An Introduction To Analysis (PWS Publishing Company).

ˆ A Jeffrey, Linear Algebra and Differential Equations.

ˆ Antony Howard, Elementary Linear Algebra, 7th edition (Wiley, 1994)

ˆ M R Spigel, Complex Variables, Schaum Outline Series.

Additional reading

Any first year university Calculus text book.

4
Abstract

Calculus is one of the milestones of Western thought. Building on ideas of Archimedes, Fermat,
Newton, Leibniz, Cauchy, and many others, the calculus is arguably the cornerstone of modern
science. Any well-educated person should at least be acquainted with the ideas of calculus, and a
scientifically literate person must know calculus solidly. Calculus has two main aspects: differential
calculus and integral calculus. Differential calculus concerns itself with rates of change. Various
types of change, both mathematical and physical, are described by a mathematical quantity called
the derivative. Integral calculus is concerned with a generalized type of addition, or amalgamation,
of quantities. Many kinds of summation, both mathematical and physical, are described by a
mathematical quantity called the integral.

Calculus is one of the most important parts of mathematics. It is fundamental to all of modern
science. How could one part of mathematics be of such central importance? It is because calculus
gives us the tools to study rates of change and motion. All analytical subjects, from biology to
physics to chemistry to engineering to mathematics, involve studying quantities that are growing
or shrinking or moving, in other words, they are changing. Astronomers study the motions of the
planets, chemists study the interaction of substances, physicists study the interactions of physical
objects. All of these involve change and motion. 1 2

1
To Archimedes, Pierre de Fermat, Isaac Newton, and Gottfried Wilhelm von Leibniz, the fathers of calculus
2
The true sign of intelligence is not knowledge but imagination—— Albert Einstein
Chapter 1

The Basics

1.1 Number Systems

Mathematics has its own language with numbers as the alphabet. The language is given structure
with the aid of connective symbols, rules of operation, and a rigorous mode of thought (logic). The
number systems that we use in calculus are the natural numbers, the integers, the rational numbers,
and the real numbers. Let us describe each of these :

1. The natural numbers are the system of positive counting numbers 1, 2, 3 . . . . We denote the
set of all natural numbers by N.

N = {1, 2, 3, 4, 5, 6, 7, 8, . . . }.

2. The integers are the positive and negative whole numbers and zero, . . . , −3, −2, −1, 0, 1, 2, 3, . . . .
We denote the set of all integers by Z.

Z = {. . . , −4, −3, −2, −1, 0, 1, 2, 3, 4, . . . }.

3. The rational numbers are quotients of integers or fractions, such as 32 , − 54 . Any number
p
of the form , with p, q ∈ Z and q 6= 0, is a rational number. We denote the set of all rational
q
numbers by Q.  
p
Q= p, q ∈ Z, q 6= 0 .
q
4. The real numbers are the set of all decimals, both terminating and non-terminating. We
denote the set of all real numbers by R. A decimal number of the form x = 3.16792 is actually
a rational number, for it represents
316792
x = 3.16792 = .
100000
1
A decimal number of the form

m = 4.27519191919 . . . ,

with a group of digits that repeats itself interminably, is also a rational number. To see this,
notice that
100 · m = 427.519191919 . . .
and therefore we may subtract

100m = 427.519191919 . . .
m = 4.27519191919 . . .

Subtracting, we see that


99m = 423.244
or
423244
m= .
99000
So, as we asserted, m is a rational number or quotient of integers. To indicate recurring
decimals we sometimes place dots over the repeating cycle of digits, e.g., m = 4.2751̇9̇,
19
6
= 3.16̇.
Another kind of decimal number is one which has a non-terminating decimal expansion that
does not keep repeating. An example is π = 3.14159265 . . . . Such a number is irrational, that
is, it cannot be expressed as the quotient of two integers.
In summary : There are three types of real numbers : (i) terminating decimals, (ii) non-
terminating decimals that repeat, (iii) non-terminating decimals that do not repeat. Types
(i) and (ii) are rational numbers. Type (iii) are irrational numbers.
The geometric representation of real numbers as points on a line is called the real axis. Between
any two rational numbers on the line there are infinitely many rational numbers. This leads
us to call the set of rational numbers an everywhere dense set.
Real numbers are characterised by three fundamental properties :

(a) algebraic means formalisations of the rules of calculation (addition, subtraction, multi-
plication, division). Example : 2(3 + 5) = 2 · 3 + 2 · 5 = 6 + 10 = 16.
3 1
(b) order denote inequalities. Example : − < .
4 3
(c) completeness implies that there are “no gaps” on the real line.
Algebraic properties of the reals for addition (a, b, c ∈ R) are :
(A1) a + (b + c) = (a + b) + c. associativity
(A2) a + b = b + a. commutativity
(A3) There is a 0 such that a + 0 = a. identity
(A4) There is an x such that a + x = 0. inverse
Why these rules? They define an algebraic structure (commutative group). Now define anal-
ogous algebraic properties for multiplication :

2
(M1) a(bc) = (ab)c.
(M2) ab = ba.
(M3) There is a 1 such that a · 1 = a.
(M4) There is an x such that ax = 1 for a 6= 0.

Finally, connect multiplication and addition :

(D) a(b + c) = ab + ac. distributivity

These 9 rules define an algebraic structure called a field.


Order properties of the reals are :

(O1) for any a, b ∈ R, a ≤ b or b ≤ a. totality of ordering I


(O2) if a ≤ b and b ≤ a, then a = b. totality of ordering II
(O3) if a ≤ b and b ≤ c, then a ≤ c. transitivity
(O4) if a ≤ b, then a + c ≤ b + c. order under addition
(O5) if a ≤ b and c ≥ 0, then ac ≤ bc. order under multiplication

Some useful rules for calculations with inequalities are : If a, b, c are real numbers, then :

(a) if a < b and c < 0 ⇒ bc < ac.


(b) if a < b ⇒ −b < −a.
1
(c) if a > 0 ⇒ > 0.
a
1 1
(d) if a and b are both positive or negative, then a < b ⇒ < .
b a
The completeness property can be understood by the following construction of the real
numbers : Start with the counting numbers 1, 2, 3, . . . .

ˆ N = {1, 2, 3, 4, . . . } natural numbers ⇒ Can we solve a + x = b for x?


ˆ Z = {. . . , −2, −1, 0, 1, 2, . . . } integers ⇒ Can we solve ax = b for x?
ˆ Q = { pq |p, q ∈ Z, q 6= 0} rational numbers ⇒ Can we solve x2 = 2 for x?

ˆ R real numbers, for example : The positive solution to the equation x2 = 2 is 2. This
is an irrational number whose decimal representation is not eventually repeating.

⇒ N⊂Z⊂Q⊂R
In summary, the real numbers R are complete in the sense that they correspond to all points on
the real line, i.e., there are no “holes” or “gaps”, whereas the rationals have “holes” (namely
the irrationals).
You Try It : What type of real number is 3.41287548754875 . . . ? Can you express this
number in more compact form?

3
1.2 Intervals

Definition 1.2.1. A subset of the real line is called an interval if it contains at least two numbers
and all the real numbers between any of its elements.

Examples :

1. x > −2 defines an infinite interval. Geometrically, it corresponds to a ray on the real line.

2. 3 ≤ x ≤ 6 defines a finite interval. Geometrically, it corresponds to a line segment on the real


line.

Finite Intervals. Let a and b be two points such that a < b. By the open interval (a, b) we mean
the set of all points between a and b, that is, the set of all x such that a < x < b. By the closed
interval [a, b] we mean the set of all points between a and b or equal to a or b, that is, the set of all
x such that a ≤ x ≤ b. The points a and b are called the endpoints of the intervals (a, b) and [a, b].

By a half-open interval we mean an open interval (a, b) together with one of its endpoints. There
are two such intervals : [a, b) is the set of all x such that a ≤ x < b and (a, b] is the set of all x such
that a < x ≤ b.

Infinite Intervals. Let a be any number. The set of all points x such that a < x is denoted by
(a, ∞), the set of all points x such that a ≤ x is denoted by [a, ∞). Similarly, (−∞, b) denotes the
set of all points x such that x < b and (−∞, b] denotes the set of all x such that x ≤ b.

1.3 Solving Inequalities

Solve inequalities to find intervals of x ∈ R. Set of all solutions is the solution set of the inequality.
Examples:

4
1.

2x − 1 < x + 3
2x < x + 4
x < 4.

2. For what values of x is x + 3(2 − x) ≥ 4 − x?

x + 3(2 − x) ≥ 4 − x when
x + 6 − 3x ≥ 4−x
6 − 2x ≥ 4−x
2 ≥ x ⇒ x ≤ 2.

3. For what values of x is (x − 4)(x + 3) < 0?


Case 1: (x − 4) > 0 and (x + 3) < 0, =⇒ x > 4 and x < −3.
Impossible since x cannot be both greater than 4 and less than −3.
Case 2: (x − 4) < 0 and (x + 3) > 0, =⇒ x < 4 and x > −3 =⇒ −3 < x < 4.

2 3
You Try It: Solve the inequality < .
x−1 2x + 1

1.4 The Absolute Value

It is a quantity that gives the magnitude or size of a real number. The absolute value or modulus
of a real number x, denoted by |x|, is given by

x, if x ≥ 0
|x| =
−x, if x < 0.

Geometrically, |x| is the distance between x and 0. For example, | − 6| = 6, |5| = 5, |0| = 0.

1.4.1 Properties of the Absolute Value

1. The absolute value of a real number x is non-negative, that is, |x| ≥ 0.

2. The absolute value of a real number x is zero if and only if x = 0, that is, |x| = 0 ⇐⇒ x = 0.

3. In general, if x and y are any two numbers, then

5
(a) −|x| ≤ x ≤ |x|.
(b) | − x| = |x| and |x − y| = |y − x|.
(c) |x| = |y| implies x = ±y.
x |x|
(d) |xy| = |x| · |y| and = if y 6= 0.
y |y|
(e) |x + y| ≤ |x| + |y|. (Triangle inequality)
4. If a is any positive number, then
(a) |x| = a if and only if x = ±a.
(b) |x| < a if and only if −a < x < a.
(c) |x| > a if and only if x > a or x < −a.
(d) |x| ≤ a if and only if −a ≤ x ≤ a.
(e) |x| ≥ a if and only if x ≥ a or x ≤ −a.

Example: Show that for all real numbers x, | − x| = |x|.


Solution: If x ∈ R, then either x > 0, x = 0 or x < 0. If x > 0, then −x < 0. Thus,
| − x| = −(−x) = x = |x|, that is, | − x| = |x|.
If x = 0, then | − x| = | − 0| = |0| = 0, that is, | − x| = |x|.
If x < 0, then −x > 0. Now |x| = −x = | − x| since −x > 0.
Therefore in all cases | − x| = |x|.

Solving an Equation with Absolute Values: Solve the equation |2x − 3| = 7.

Solution: Hence 2x − 3 = ±7, so there are two possibilities,

2x − 3 = 7 2x − 3 = −7
2x = 10 2x = −4
x = 5 x = −2

The solutions of |2x − 3| = 7 are x = 5 and x = −2.

2
Solving Inequalities Involving Absolute values: Sole the inequality 5 − < 1.
x

Solution: We have
2 2
5− < 1 ⇐⇒ −1 < 5 − < 1
x x
2
⇐⇒ −6 < − < −4
x
1
⇐⇒ 3 > > 2
x
1 1
⇐⇒ <x< .
3 2
6
Solve the inequalities and show the solution set on the real line. (a) |2x − 3| ≤ 1 (b) |2x − 3| ≥ 1.

Solution: (a)

|2x − 3| ≤ 1 ⇐⇒ −1 ≤ 2x − 3 ≤ 1
⇐⇒ 2 ≤ 2x ≤ 4
⇐⇒ 1 ≤ x ≤ 2.

The solution set is the closed interval [1, 2].

(b)

|2x − 3| ≥ 1 ⇐⇒ 2x − 3 ≥ 1 or 2x − 3 ≤ −1
⇐⇒ x ≥ 2 or x ≤ 1.

The solution set is (−∞, 1] ∪ [2, ∞).

You Try It: Solve the inequality 4|x| < 7x − 6.

1.5 The Principle of Mathematical Induction

It is an important property of the positive integers (natural numbers) and is used in proving state-
ments involving all positive integers when it is known for, for example, that the statements are valid
for n = 1, 2, 3, . . . but it is suspected or conjectured that they hold for all positive integers.

1.5.1 Steps

1. Prove the statement for n = 1 or some other positive integer. (Initial Step)

2. Assume the statement true for n = k, where k ∈ Z+ . (Inductive Hypothesis)

3. From the assumption in 2 prove the statement must be true for n = k + 1.

4. Since the statement is true for n = 1 (from 1) it must (from 3) be true for n = 1 + 1 = 2 and
from this for n = 2 + 1 = 3, and so on, so must be true for all positive integers. (Conclusion)

Example: For any positive integer n,

n(n + 1)
1 + 2 + ··· + n = .
2
Solution:

7
1(1 + 1) 2
1. Prove for n = 1, 1 = = = 1, which is clearly true.
2 2
2. Assume that the statement holds for n = k, that is,

k(k + 1)
1 + 2 + ··· + k = .
2

3. Prove for n = k + 1. So
k(k + 1)
1 + 2 + · · · + k + (k + 1) = + (k + 1) (by inductive hypothesis)
2
k(k + 1) + 2(k + 1)
=
2
2
k + 3k + 2
=
2
(k + 1)(k + 2)
=
2
so holds for n = k + 1.
n(n + 1)
4. Hence by induction, 1 + 2 + · · · + n = is true for any positive integer n.
2

Example: Prove that for any natural number

1 + 3 + 5 + · · · + 2n − 1 = n2 .

Solution:

1. Prove for n = 1, 1 = 12 = 1, so it is true.

2. Assume that the statement holds for n = k, that is,

1 + 3 + 5 + · · · + 2k − 1 = k 2 .

3. Prove for n = k + 1. We have

1 + 3 + 5 + · · · + (2k − 1) + 2(k + 1) − 1 = k 2 + 2k + 1 (by inductive hypothesis)


= (k + 1)2 .

So it is true for n = k + 1.

4. Hence by induction 1 + 3 + 5 + · · · + 2n − 1 = n2 is true for all natural numbers n.

8
Example: Prove that 3n > 2n for all natural numbers n.

Solution:

1. Prove for n = 1 =⇒ 31 = 3 > 21 = 2, which is true.

2. Assume the statements holds for n = k, that is, 3k > 2k .

3. Prove for n = k + 1.

3k+1 = 3k · 3
> 2k · 3 by inductive hypothesis
> 2k · 2 since 3 > 2
> 2k+1 ,

which is true.

4. Hence, by induction 3n > 2n for all natural numbers n.

Example: Prove that for any integer n ≥ 1, 22n − 1 is divisible by 3.


Solution:

1. Prove for n = 1 =⇒ 22 − 1 = 3 and is divisible by 3, hence its true.

2. Assume that the statement holds for n = k, that is, for k ≥ 1, 22k − 1 is divisible by 3, i.e.,
22k − 1 = 3l, for some l ∈ Z.

3. Prove for n = k + 1.

22(k+1) − 1 = 4 · 22k − 1 but 22k = 3l + 1 by the inductive hypothesis


= 4(3l + 1) − 1
= 12l + 4 − 1
= 12l + 3
= 3(4l + 1),

which is true.

4. Hence, by induction 22n − 1 is divisible by 3 for all n ≥ 1.

1.6 Tutorial 1
1. Express the following recurring decimals in the form p/q where p and q are integers
(i) 2, 1737̇3̇ (ii) 0, 3̇2̇4̇.

9
2. Express 0, mnmnmnmn . . . = 0, ṁṅ, where m and n are distinct integers, in the form p/q
where p and q are integers.

3. State, giving a reason, whether each of the following numbers is rational or irrational.
(i) 0.20200200020 . . . (ii) 537.137137137 . . . .

4. Does the decimal 0, 1234567891011121314151617181920 . . . whose digits are natural numbers


strung end-to-end represent a rational or an irrational number? Give a reason for your answer.

5. Show that if 0 < a < b then a2 < b2 . If a2 < b2 , is it necessarily true that a < b? Give an
example to illustrate your answer.
1 √
6. If a ≥ 0 and b ≥ 0, prove that (a + b) ≥ ab.
2
7. Solve the following inequalities.
2x + 3
(i) x2 + x − 2 > 0 (ii) >3 (iii) 2|x| > 3x − 10 (iv) |x + 1| ≥ 3
x−5
8. Prove that |ab| = |a||b| for all a, b ∈ R.

9. Show that |a + b| ≤ |a| + |b| for all a, b ∈ R.

10. Prove that |x|2 = x2 for any real number x.

11. If x and y are real numbers, prove that |x| − |y| ≤ |x − y|.

12. Prove the following by induction.

(a) n! > 2n for all n ≥ 4.


(c) n2 ≤ 2n for all n ≥ 5.
n
X rn+1 − 1
(d) The sum of terms in a geometric series is ri = , if r 6= 0, r 6= 1, n ∈ N.
i=0
r−1
n 2
(g) 3 > n for n > 2.
(h) 72n − 48n − 1 is divisible by 2304.
(k) | sin nx| ≤ n| sin x| for all x ∈ R, n ∈ Z+ .
n2 (n + 1)2
(l) 13 + 23 + 33 + · · · + n3 = .
4

10
Chapter 2

Functions

2.1 What is a Function?

Definition 2.1.1. A function f from a set X to a set Y is a rule that assigns to each element x
in X a unique element y in Y .

The set X is called the domain of the function f and the range is the set of all elements of Y
assigned to an element of X. The element of Y assigned to an element x of X is called the image
of x under f and is denoted by f (x). We write f : X → Y for saying f is a function from X to Y .

In this course, both X and Y are sets of real numbers. Thus, the functions are called real functions.
We usually specify a function f by giving the expression for f (x). Below are a few examples of
functions:

f (x) = 5x4 + 9, g(t) = 1 − t3 , h(s) = 9s2 + 2.

Note that in the above examples, the letters f, g, h are used to denote functions whereas the let-
ters x, t, s are used to denote the variables. A variable is an arbitrary element of a set. In the
above examples, the letters x, t, s denote the independent variables and f (x), g(t), h(s) denote
the dependent variables since their values depend on the values of x, t, s respectively.

The domain of a function f is the largest set of real numbers for which the rule makes sense.

11
1 1
Example: Let f (x) = , we cannot compute f (0), since is not defined. Then the domain of
x 0
1
f (x) = is the set of all real numbers except 0.
x

Function Domain x ∈ X Range y ∈ Y


y = x2 (−∞, ∞) [0, ∞)
1
y= (−∞, 0) ∪ (0, ∞) (−∞, 0) ∪ (0, ∞)
x

y = √x [0, ∞) [0, ∞)
y = 1 − x2 [−1, 1] [0, 1]

Table 2.1: Examples of functions

You Try It: Let


x
g(x) = .
x2 + 4x + 3
What is the domain and range of this function?

2.2 Graphs of Functions

It is useful to draw pictures which represent functions. These pictures, or graphs, are a device
for helping us to think about functions. We graph functions in the x − y plane. The elements of
the domain of the function are thought of as points of the x−axis. The values of a function are
measured on the y−axis. The graph of f associates to x a unique y value that the function f assigns
to x. The graph of a function f is the set of points {(x, y)|y = f (x) in the domain of f } in the
Cartesian plane.

As a consequence, a function is characterized geometrically by the fact that any vertical line inter-
secting its graph does so in exactly one point.

12
2.3 Monotone and Bounded Functions

A real function f is increasing (strictly increasing) on an interval I if for all points x1 and x2
in I with x1 < x2 , f (x1 ) ≤ f (x2 ) (f (x1 ) < f (x2 )).

A real function f is decreasing (strictly decreasing) on an interval I if for all points x1 and x2
in I with x1 < x2 , f (x1 ) ≥ f (x2 ) (f (x1 ) > f (x2 )).

A real function f is monotone on interval I if f is either increasing or decreasing.

Example: Consider the function f (x) = (2x − 1)(x + 5). We observe that f is increasing on
the interval (−9/4, ∞) and is decreasing on the interval (−∞, −9/4).

Bounded Functions

A function f is bounded above if there is a real number M such that f (x) ≤ M for all points x
in its domain. The number M is then called an upper bound of f .

A function f is bounded below if there is a real number m such that f (x) ≥ m for all points x
in its domain. The number m is then called a lower bound of f .

A function f is bounded if f is bounded above and below, that is, there exist real numbers
M and m such that m ≤ f (x) ≤ M for all points x in its domain.

Examples: f (x) = x + 3 is bounded in −1 ≤ x ≤ 1. An upper bound is 4 (or any number greater


than 4). A lower bound is 2 (or any number less than 2).

13
2.4 Types of Functions

2.4.1 Elementary Functions

Polynomial Function

Have the form f (x) = a0 xn + a1 xn−1 + · · · + an−1 x + an where a0 , a1 , . . . , an are constants and n is
a positive integer called the degree of the polynomial provided a0 6= 0.

Examples: x5 + 10x3 − 2x + 1 is a polynomial of degree 5.

Rational Functions

P (x)
A function f (x) = where P (x) and Q(x) are polynomial functions.
Q(x)

x3 + x + 5
Example: f (x) = is a rational function. Since (x + 1)(x − 4) = 0 for x = −1 and
x2 − 3x − 4
x = 4, the domain of f is the set of all real numbers except −1 and 4.

Power Function

f (x) = kxn , n a real number and k a constant.

1 1 2
Examples: y = , y = x2 , y = x3 .
x

14
Piecewise Defined Functions

A function need not be defined by a single formula. A piecewise defined function is a function
described by using different formula on different parts of its domain.
 
 −1, x<0  −x, x<0
Examples: (a) f (x) = 0, x=0 (b) f (x) = x2 , 0≤x≤1
x + 2, x>0 1, x > 1.
 

Transcendental Functions

The following are sometimes called elementary transcendental functions.

1. Exponential function, f (x) = ax , a 6= 0, 1.

2. Logarithmic function, f (x) = loga x, a 6= 0, 1.

3. Trigonometric functions (also called circular functions because of their geometric interpreta-
sin x
tion with respect to the unit circle), e.g., sin x, cos x, tan x = , csc x, cot x, sec x.
cos x
4. Inverse trigonometric functions, e.g., y = sin−1 x, y = cos−1 x.

5. Hyperbolic Functions, e.g., sinh x, cosh x, tanh x, coth x.

15
Even and Odd Functions

Let f (x) be a real-valued function of a real variable. Then f is even if f (x) = f (−x). (Symmetric
with respect to the y−axis)

Examples: |x|, x2 , x4 , cos x, cosh x.

Let f (x) be a real-valued function of a real variable. Then f is odd if −f (x) = f (−x) or
f (x) + f (−x) = 0. (Symmetric with respect to the origin)

Examples: x, x3 , sin x, sinh x.

3x
Example: Determine whether the following function is odd or even f (x) = .
x2 + 1

Solution:
3(−x) 3x
f (−x) = 2
=− 2 = −f (x).
(−x) + 1 x +1
The function is odd.

2.5 Combining Functions

A function f can be combined with another function g by means of arithmetic operations to form
f
other functions, the sum f + g, difference f − g, product f g and quotient are defined as :
g
Let f and g denote functions, then

1. Sum : (f + g)(x) = f (x) + g(x).

2. Difference : (f − g)(x) = f (x) − g(x).

3. Product : (f g)(x) = f (x)g(x).


 
f f (x)
4. Quotient : (x) = .
g g(x)

f
Example: If f (x) = 2x2 − 5 and g(x) = 3x + 4. Find f + g, f − g, f g, .
g

16
Solution:

(f + g)(x) = (2x2 − 5) + (3x + 4) = 2x2 + 3x − 1.


(f − g)(x) = (2x2 − 5) − (3x + 4) = 2x2 − 3x − 9.
(f g)(x) = (2x2 − 5)(3x + 4) = 6x3 + 8x2 − 15x − 20
2x2 − 5
 
f
(x) = .
g 3x + 4

2.6 Composition of Functions

Let f and g denote functions. The composition of f and g, written f ◦ g is the function
(f ◦g)(x) = f (g(x)) and the composition of g and f , written g◦f , is the function (g◦f )(x) = g(f (x)).

Example: If f (x) = x2 and g(x) = x2 + 1, find f ◦ g and g ◦ f .

Solution:
(f ◦ g)(x) = f (g(x)) = f (x2 + 1) = (x2 + 1)2 = x4 + 2x2 + 1.
and
(g ◦ f )(x) = g(f (x)) = g(x2 ) = (x2 )2 + 1 = x4 + 1.
In general, f ◦ g 6= g ◦ f .

2.7 Bijection, Injection and Surjection

Classes of functions may be distinguished by the manner in which arguments and images are related
or mapped to each other.

A function f : X → Y is injective (one-to-one, 1 − 1) if every element of the range corresponds


to exactly one element in its domain X.

For all x, y ∈ X, f (x) = f (y) =⇒ x = y or equivalently

For all x, y ∈ X, x 6= y =⇒ f (x) 6= f (y). An injective function is an injection.

17
Example: Show that the functions f (x) = 2x + 3 and g(x) = x3 − 2 are injective.

Solution: Need to show that f (x) = f (y) =⇒ x = y.


2x + 3 = 2y + 3
2x = 2y =⇒ x = y.

Hence f (x) = 2x + 3 is injective.

Need to show that g(x) = g(y) =⇒ x = y.


x3 − 2 = y 3 − 2
x3 = y 3 taking cube roots
x = y.
Hence g(x) = x3 − 2 is injective.

A function f : X → y is called onto if for all y in Y there is an x in X such that f (x) = y. All
elements in Y are used. Such functions are referred to as surjective.

Example: Show that f (x) = 3x − 5 is onto.

18
y+5
Solution: For onto f (x) = y, i.e., 3x − 5 = y. Solve for x, =⇒ x = .
    3
y+5 y+5
So f =3 − 5 = y. Therefore f is onto.
3 3

Let X and Y be sets. A function f : X → Y that is one-to-one and onto is called a bijection
or bijective function from X to Y . If f is both one-to-one and onto, then we call f a 1 − 1
correspondence.

Inverse of a Function. Suppose f is a 1 − 1 function that has domain X and range Y . Since
every element y ∈ Y corresponds with precisely one element x of X, the function f must actually
determine a reverse function g whose domain is Y and range is X, where f and g must satisfy
f (x) = y and g(y) = x. The function g is given the formal name inverse of f and usually written
f −1 and read f inverse. Not all functions have inverses, those that do are called invertible functions.

Example: Find the inverse of the function f (x) = (2x + 8)3 .

Solution: We must solve the equation y = (2x + 8)3 for x.

y = (2x + 8)3
√3
y = 2x + 8
√3
y − 8 = 2x
√3 y − 8
x = .
2

3
x−8
Hence the inverse function f −1 −1
is given by f (x) = .
2

A 1−1 function f can have only one inverse, i.e., f −1 is unique. A function f : X → Y is invertible
if and only if f is one-to-one and maps X onto Y .

19
2.8 Operations on Functions

Equality of Functions

Equality of functions does not mean the same as equality of two numbers (numbers have a fixed
value but values of functions vary). Each function is a relationship between x and y, the two
relationships are the same if for every value of x we get the same value of y.

Example: The functions (x − 1)(x + 2) and x2 + x − 2 are equal.

Example: Equal functions for positive values of x,



|x| = x2 .

Identity Function

Generally, an identity function is one which does not change the domain values at all. Its the
function f (x) = x. Denoted by IX .

20
Chapter 3

Limits and Continuity

The single most important idea in calculus is the idea of limit. More than 2000 years ago, the
ancient Greeks wrestled with the limit concept, and they did not succeed. It is only in the past 200
years that we have finally come up with a firm understanding of limits. The study of calculus went
through several periods of increased mathematical rigour beginning with the French mathematician
Augustin-Loius Cauchy (1789-1857) and later continued by the German mathematician, and former
high school teacher, Karl Wilhelm Weierstrass (1815-1897).

3.1 Limit of a Function

If f is a function, then we say lim f (x) = A, if the value of f (x) gets arbitrarily closer to A as x gets
x→a
closer and closer to a. For example, lim x2 = 9, since x2 gets arbitrarily close to 9 as x approaches
x→3
as close as one wishes to 3.

The definition can be stated more precisely as follows : lim f (x) = A if and only if, for any
x→a
chosen positive number ε, however small, there exists a positive number δ, such that, whenever
0 < |x − a| < δ, then |f (x) − A| < ε.

lim f (x) = A means that f (x) can be made as close as desired to A by making x close enough, but
x→a
not equal to a. How close is “close enough to a” depends on how close one wants to make f (x) to
A. It also of course depends on which function f is and on which number a is. The positive number
ε is how close one wants to make f (x) to A ; one wants the distance to be no more then ε. The
positive number δ is how close one will make x to a ; if the distance from x to a is less than δ (but
not zero), then the distance from f (x) to A will be less than ε. Thus δ depends on ε. The limit
statement means that no matter how small ε is made, δ can be made smaller enough. The letters
ε and δ can be understood as “error” and “distance”. In these terms the error (ε) can be made as
small as desired by reducing the distance (δ).

21
The ε − δ definition of lim f (x) = A
x→a

For any chosen positive number ε, however small, there exists a positive number δ, such that,
whenever 0 < |x − a| < δ, then |f (x) − A| < ε.

Example: Show that lim (x2 + 1) = 2.


n→1

Solution: Need to find δ so that, for a given ε, |x2 + 1 − 2| < ε for |x − 1| < δ.

Now

x 2 + 1 − 2 = x2 − 1
= (x + 1)(x − 1).

Choose |x − 1| < 1 so that −1 < x − 1 < 1 ⇒ 0 < x < 2 ⇒ 1 < x + 1 < 3. You have |x2 + 1 − 2| < ε
ε
if 3|x − 1| < ε or |x − 1| < . You have now two conditions on x :
3
ε
|x − 1| < 1 and |x − 1| < .
3
Choose δ = min{1, 3ε }. For a given ε > 0, choose δ = min{1, 3ε }, then we have |x − 1| < δ, it would
be true that |x2 + 1 − 2| < ε.

Example: Show that lim (x2 + 3x) = 10.


x→2

Solution: Let ε > 0. We must produce a δ > 0 such that, whenever 0 < |x − 2| < δ then
|(x2 + 3x) − 10| < ε. First we note that

|(x2 + 3x) − 10| = |(x − 2)2 + 7(x − 2)| ≤ |x − 2|2 + 7|x − 2|.
ε
Also, if 0 < δ ≤ 1, then δ 2 ≤ δ. Hence, if we take δ to be the minimum of 1 and , then, whenever
8
0 < |x − 2| < δ,
|(x2 + 3x) − 10| < δ 2 + 7δ ≤ δ + 7δ = 8δ ≤ ε.
 
1
You Try It: Prove that lim x sin = 0.
x→0 x

Right and Left Limits

Considering x and a as points on the real axis where a is fixed and x is moving, then x can approach
a from the right or from the left. We indicate these respective approaches by writing x → a+ and
x → a− .

22
If lim+ f (x) = A1 and lim− f (x) = A2 , we call A1 and A2 respectively the right and left hand limits
x→a x→a
of f (x) at a.

We have lim f (x) = A if and only if lim+ f (x) = lim− f (x) = A. The existence of the limit from the
x→a x→a x→a
left does not imply the existence of the limit from the right and conversely. When a function f is
defined on only one side of a point a, then lim f (x) is identical to the one-sided limit, if it exists. For
√ x→a √ √
example, if f (x) = x, then f is only defined to the right of zero. Hence, lim x = lim+ x = 0.
x→0
√ √ x→0
Of course, lim− x does not exist, since x is not defined when x < 0. On the other hand, consider
x→0 r
1
the function g(x) = , which is defined only for x > 0. In this case, lim+ g(x) does not exist and,
x x→0
therefore lim g(x) does not exist.
x→0

3.2 Theorems on Limits


1. If f (x) = c, a constant, then lim f (x) = c.
x→a

2. If lim f (x) = A and lim g(x) = B, then


x→a x→a

(a) lim kf (x) = kA, k being any constant.


x→a

(b) lim [f (x) ± g(x)] = lim f (x) ± lim g(x) = A ± B.


x→a x→a x→a

(c) lim f (x)g(x) = lim f (x) lim g(x) = AB.


x→a x→a x→a

f (x) lim f (x) A


(d) lim = x→a = , provided B 6= 0.
x→a g(x) lim g(x) B
x→a

Example: If lim f (x) exists, prove that it must be unique.


x→a

Solution: Must show that if lim f (x) = A1 and lim f (x) = A2 , then A1 = A2 .
x→a x→a

By hypothesis, given any ε > 0 we can find δ > 0 such that


ε
|f (x) − A1 | < when 0 < |x − a| < δ
2
ε
|f (x) − A2 | < when 0 < |x − a| < δ.
2
Then
ε ε
|A1 − A2 | = |A1 − f (x) + f (x) − A2 | ≤ |A1 − f (x)| + |f (x) − A2 | < + = ε.
2 2
i.e., |A1 −A2 | is less than any positive number ε (however small) and so must be zero. Thus A1 = A2 .

23
Example: Given lim f (x) = A and lim g(x) = B. Prove that
x→a x→a

lim [f (x) + g(x)] = lim f (x) + lim g(x) = A + B


x→a x→a x→a
.

Solution: We must show that for any ε > 0, we can find δ > 0 such that |(f (x)+g(x))−(A+B)| < ε
when 0 < |x − a| < δ.

By hypothesis, given ε > 0, we can find δ1 > 0 and δ2 > 0 such that
ε
|f (x) − A| < when 0 < |x − a| < δ1
2
ε
|g(x) − B| < when 0 < |x − a| < δ2 .
2
Then
ε ε
|(f (x) + g(x)) − (A + B)| ≤ |f (x) − A| + |g(x) − B| < + = ε,
2 2
when 0 < |x − a| < δ where δ is chosen as the smaller of δ1 and δ2 .

You Try It: Given lim f (x) = A and lim g(x) = B. Prove that
x→a x→a

lim f (x)g(x) = lim f (x) lim g(x) = AB


x→a x→a x→a
.

3.3 Special Limits


sin x 1 − cos x
1. lim = 1, lim = 0.
x→0 x x→0 x
 x
1 1
2. lim 1 + = e, lim+ (1 + x) x = e.
x→∞ x x→0

ex − 1 x−1
3. lim = 1, lim = 1.
x→0 x x→1 ln x

3.4 Methods of Calculating lim f (x)


x→a

If f (a) is defined

If x = a is in the domain of f (x) and a is not an endpoint of the domain, and f (x) is defined by a
single expression, then
lim f (x) = f (a).
x→a

24
Example: Find lim (x + 3).
x→1

Solution: lim (x + 3) = 1 + 3 = 4.
x→1

1
Example: Find lim .
x→1 x + 2

1 1 1
Solution: lim = = .
x→1 x + 2 1+2 3

Example: Find lim (x2 − 7x + 5).


x→8

Solution: lim (x2 − 7x + 5) = 82 − 7(8) + 5 = 13.


x→8

x2 − 4
Example: Find lim .
x→2 x − 2

x2 − 4 (x + 2)(x − 2)
Solution: lim = lim = lim (x + 2) = 4.
x→2 x − 2 x→2 x−2 x→2

Functions Defined By More Than One Expression

Suppose that f (x) is defined by one expression for x < a and by a different expression for x > a.

|x|
Example: Show that lim does not exist.
x→0 x

Solution: Notice that  x


|x|  x = 1, if x ≥ 0
= x
x  − = −1, if x < 0.
x
i.e., you seek a limit at x = 0 of a function that is defined differently on either side of x = 0.

|x|
lim− = lim (−1) = −1.
x→0 x x→0−
|x|
lim+ = lim (1) = 1.
x→0 x x→0+

|x| |x| |x|


Since lim+ 6= lim− , then lim does not exist.
x→0 x x→0 x x→0 x

sin 3x
Example: Find lim .
x→0 x

25
 
sin 3x sin 3x
Solution: Since =3 . Then
x 3x
 
sin 3x sin 3x sin 3x
lim = lim 3 = 3 lim = 3(1) = 3.
x→0 x x→0 3x x→0 3x

1 − cos 2x
Example: Find lim .
x→0 sin 3x
      
1 − cos 2x 1 − cos 2x 3x 1 2 1 − cos 2x 3x
Solution: Since = 2x = . Then
sin 3x 2x sin 3x 3x 3 2x sin 3x
   
1 − cos 2x 2 1 − cos 2x 3x 2
lim = lim lim = (0)(1) = 0.
x→0 sin 3x 3 x→0 2x x→0 sin 3x 3

sin x
Example: Find limπ .
x→ 4 cos x

π

sin x sin 4
Solution: limπ = π
= 1.
x→ 4 cos x cos 4

1 − cos θ
You Try It: Show that lim = 0.
θ→0 θ

Limits at Infinity

It sometimes happen that as x → a, f (x) increases or decreases without bound. We write


lim f (x) = +∞ or lim f (x) = −∞. We say that, lim f (x) = +∞, if for each positive number
x→a x→a x→a
M we can find a positive number δ (depending on M in general) such that f (x) > M whenever
0 < |x − a| < δ.

Similarly, we say that lim f (x) = −∞, if for each positive number M we can find a positive number
x→a
δ (depending on M in general) such that f (x) < −M whenever 0 < |x − a| < δ.

26
1 1
Note that lim = 0 and lim = 0.
x→∞ x x→−∞ x

Limits at Infinity of a Rational Function

pm (x)
A rational function is a quotient of two polynomials, f (x) = , where m and n are the degrees
qn (x)
of the two polynomials.

1. If m < n, then lim f (x) = 0.


x→∞
x+1
Example: Find lim .
x→∞ x2 + 4

Solution: The degree of the numerator is one, the degree of the denominator is two. Therefore
1
x+1 x
+ x12 0+0
lim 2 = 0, since lim 4 = = 0.
x→∞ x + 4 x→∞ 1 + 2 1+0
x

2. If m > n, then lim f (x) = ±∞ . (sign depends on the polynomials pm (x) and qn (x), if they
x→∞
are of the same sign as x gets larger, the quotient is positive, if they are of opposite signs, the
quotient is negative)
x3 − 2x2 + 3x + 4
Example: Find lim .
x→∞ 3x + 5
2
x3 − 2x2 + 3x + 4 1− x
+ x32 + x43 1
Solution: lim = lim 3 = = ∞.
x→∞ 3x + 5 x→∞
x2
+ x53 0
a
3. If m = n, then lim f (x) = , where a is the coefficient of xm in the numerator and b is the
x→∞ b
coefficient of xn in the denominator.
x3 − 4x + 1
Example: Find lim .
x→∞ 3x3 + 2x + 7

4 1
x3 − 4x + 1 1− x2
+ x3 1−0+0 1
Solution: lim 3
= lim 2 7 = = .
x→∞ 3x + 2x + 7 x→∞ 3 + + 3+0+0 3
x2 x3

a0 xm + a1 xm−1 + · · · + am
You Try It: What is lim , where a0 , b0 6= 0 and m and n are
x→∞ b0 xn + b1 xn−1 + · · · + bn
positive integers, when (a) m > n (b) m = n (c) m < n.
x−4
You Try It: Find lim √ .
x→4 x−2

3.5 Continuity

A function f (x) is continuous at a point x = a if

27
1. f (a) is defined.

2. lim f (x) exists.


x→a

3. lim f (x) = f (a).


x→a

Notice that, for f (x) to be continuous at x = a, all three conditions must be satisfied. If at least
one condition fails, f is said to have a discontinuity at x = a. For example, f (x) = x2 + 1 is
continuous at x = 2 since lim f (x) = 5 = f (2). The first condition above implies that a function
x→2 √
can be continuous only at points of its domain. Thus, f (x) = 4 − x2 is not continuous at x = 3
because f (3) is imaginary, i.e., not defined.

A function f is right-continuous (continuous from the right) at a point x = a in its domain if


lim+ f (x) = f (a). It is left-continuous (continuous from the left) at x = a if lim− f (x) = f (a).
x→a x→a
A function is continuous at an interior point x = a of its domain if and only if it is both right-
continuous and left-continuous at x = a.

Example: Determine whether f (x) = x2 + 1 is continuous at x = 1.

Solution: lim x2 + 1 = f (1) = 12 + 1 = 2. Therefore f (x) = x2 + 1 is continuous at x = 1.


x→1

|x|
Example: Determine whether f (x) = is continuous at x = 0.
x

Solution: Since f (0) is not defined, f (x) is not continuous at x = 0.

Example: Determine whether

|x|
(
f (x) = , if x 6= 0
x
0, if x = 0,

is continuous at x = 0.

Solution: f (0) now defined. Then

Then lim f (x) must be considered in two steps,


x→0

lim f (x) = lim (−1) = −1.


x→0− x→0−
lim f (x) = lim (1) = 1.
x→0+ x→0+

Sine the limits are not the same, lim f (x) does not exist and f (x) is not continuous at x = 0.
x→0

28
You Try It: Determine whether the function defined by
 2
 x, if x < 2
f (x) = 5, if x = 2
−x + 6, if x > 2,

is continuous at the point x = 2.

A function f (x) is discontinuous at x = a if one or more of the conditions for continuity fails
there.

1
Example: (a) f (x) = is discontinuous at x = 2, because f (2) is not defined (has a zero
x−2
denominator) and because lim f (x) does not exist (equals ∞). The function is, however, continuous
x→2
everywhere except at x = 2, where it is said to have an infinite discontinuity.

x2 − 4
(b) f (x) = is discontinuous at x = 2 because f (2) is not defined (both numerator and
x−2
denominator are zero) and because lim f (x) = 4. The discontinuity here is called removable since
x→2
x2 − 4
it may be removed by redefining the function as f (x) = for x 6= 2 and f (2) = 4. (Note the
x−2
discontinuity in (a) cannot be removed because the limit also does not exist.)

3.6 The ε − δ Definition of Continuity

f (x) is continuous at x = a, if for any ε > 0, we can find δ > 0, such that, |f (x) − f (a)| < ε
whenever 0 < |x − a| < δ.

Example: Prove that f (x) = x2 is continuous at x = 2.

Solution: Must show that, given any ε > 0, we can find δ > 0, such that |f (x)−f (2)| = |x2 −4| < ε
when |x − 2| < δ.

Choose δ ≤ 1, so that |x − 2| < 1 or 1 < x < 3 (x 6= 2). Then |x2 − 4| = |(x − 2)(x + 2)| =
|x − 2||x + 2| < δ|x + 2| < 5δ. Taking δ = min{1, 5ε } whichever is smaller, then we have |x2 − 4| < ε
whenever |x − 2| < δ.

You Try It: (a) Prove that f (x) = x is continuous at any point x = x0 .
(b) Prove that f (x) = 2x3 + x is continuous at any point x = x0 .

29
Theorems on Continuity

Theorem 1
f (x)
If f (x) and g(x) are continuous at x = a, so are the functions f (x) ± g(x), f (x)g(x) and if
g(x)
g(x) 6= 0.

Theorem 2
The following functions are continuous in every finite interval (a) all polynomials (b) sin x and
cos x (c) ax , a > 0.

Theorem 3
If y = f (x) is continuous at x = a and z = g(y) is continuous at y = b and if b = f (a), then the
function z = g[f (x)] called a function of a function or composite function is continuous at x = a.

Briefly: A continuous function of a continuous function is continuous.

Theorem 4
If f (x) is continuous in a closed interval, it is bounded in the interval.

3.7 Tutorial 3
1. Find the domain ofreach of the following functions.
1 x x3 − 8
(i) √ (ii) (iii) 2
1−x 2−x x −4
2. Determine whether or not each of the following correspondences is a function.
(i) x2 + y = 1 (ii) x2 y 2 = 5 (iii) x2 y = 4 (iv) {(1, 5), (2, 5), (5, 1)}.
3. For each of the following pairs of functions, calculate f ◦ g and g ◦ f .
2 2
(i) f (x) = ex and g(x) = e−x .
4. Let the function f : R → R be defined by f (x) = 2x − 1. Show that f is bijective and hence
find f −1 .
5. Show that if f : A → B is onto and g : B → C is onto, then the product function
(g ◦ f ) : A → C is onto.

6. Show that the function f (x) = ln(x+ x2 + 1) is an odd function and find the inverse function
of f (x).
7. Let 
 3x − 1, x<0
f (x) = 0, x=0
2x + 5, x > 0,

30
Evaluate (i) lim f (x) (ii) lim f (x) (iii) lim+ f (x) (iv) lim− f (x) (v) lim f (x).
x→2 x→−3 x→0 x→0 x→0

3x + |x|
8. If f (x) = . Evaluate (i) lim f (x) (ii) lim f (x).
7x − 5|x| x→∞ x→−∞

9. Use the theorems on limits √ to evaluate


√ each of the following limits.
3 2
x −8 3+x− 3 8x + 4
(i) lim (ii) lim (iii) lim 2−x+2
(iv) lim (4x2 − x + 5)
x→0 x√ − 2 x→0 x x→∞ 2x x→2
x+4−2 a0 + a1 x + · · · + am x m (3x − 1)(2x + 3)
(v) lim (vi) lim (vii) lim
x→0 x x→∞ b0 + b1 x + · · · + bn xn x→∞ (5x − 3)(4x + 5)

10. Use the definition of a limit to prove that, lim (3x2 − 7x + 1) = 7


x→3

x2 − 4
 
2 1
11. Verify (i) lim =4 (ii) lim x cos = 0.
x→2 x − 2 x→0 x
12. Give the points of discontinuity of each of the following
 functions.
x 1
(i) f (x) = (ii) f (x) = x2 sin , f (0) = 0
(x − 2)(x − 4) x
p 1
(iii) f (x) = (x − 3)(6 − x), 3 ≤ x ≤ 6 (iv) f (x) = .
1 + 2 sin x
13. Given that the function f : R → R be defined by
 2
 x − 4, x≥2
f (x) = 2ax + b, 0<x<2
 x
e , x ≤ 0,

is continuous at all points in R. Find the values of a and b.

14. Let f : R → R be the function defined by


 2
 x, x≥2
f (x) = ax + b, 1<x<2
2 − x, x ≤ 1,

where a and b are constants. If f is continuous on R, find the values a and b.

15. Sketch the graphs of the following functions.


x+1
(i) f (x) = 2x2 − 5x − 3 (ii) f (x) = (iii) f (x) = x4 (iv) f (x) = x9
(x − 2)(3x + 5)

31
Chapter 4

Differentiation

Increments. The increment ∆x of a variable x is the change in x as it increases or decreases from


one value x = x0 to another value x = x1 in its domain. Here, ∆x = x1 − x0 and we may write
x1 = x0 + ∆x. If the variable x is given an increment ∆x from x = x0 (i.e., if x changes from x = x0
to x1 = x0 + ∆x) and a function y = f (x) is thereby given an increment ∆y = f (x0 + ∆x) − f (x0 )
from y = f (x0 ), then the quotient
∆y change in y
= ,
∆x change in x
is called the average rate of change of the function on the interval between x = x0 and x1 = x0 +∆x.

Let f (x) be defined at any point x0 in (a, b). The derivative of f (x) at x = x0 is defined as
f (x0 + h) − f (x0 )
f 0 (x0 ) = lim
h→0 h
if this limit exists. A function is called differentiable at a point x = x0 , if it has a derivative at
that point, i.e., if f 0 (x0 ) exists. If we write x = x0 + h, then h = x − x0 and h approaches 0 if and
only if x approaches x0 . Therefore, an equivalent way of stating the definition of the derivative, is
f (x) − f (x0 )
f 0 (x0 ) = lim .
x→x0 x − x0

Example: If f (x) = x3 − x, find a formula for f 0 (x).

Solution:
f (x + h) − f (x) [(x + h)3 − (x + h)] − [x3 − x]
f 0 (x) = lim = lim
h→0 h h→0 h
3 2 2 3 3
x + 3x h + 3xh + h − x − h − x + x
= lim
h→0 h
3x2 h + 3xh2 + h3 − h
= lim
h→0 h
= lim (3x + 3xh + h2 − 1) = 3x2 − 1.
2
h→0

32

Example: If f (x) = x, find the derivative of f .

Solution:
f (x + h) − f (x)
f 0 (x) = lim
h→0
√ h

x+h− x
= lim
h→0
√ h
√ √ √
x+h− x x+h+ x
= lim ·√ √
h→0 h x+h− x
(x + h) − x
= lim √ √
h→0 h( x + h + x)
1
= lim √ √
h→0 x+h+ x
1 1
= √ √ = √ .
x+ x 2 x

dy d d
The derivative at x may be denoted by f 0 (x), y 0 , , (f (x)). The symbol is called differ-
dx dx dx
entiation operator because it indicates the operation of differentiation. The process of finding
derivatives of functions is called differentiation.

A function f is differentiable at x0 if f 0 (x0 ) exists. It is differentiable on an open interval (a, b)


[or (a, ∞) or (−∞, a) or (−∞, ∞)], if it is differentiable at every number in the interval.

Example: Where is the function f (x) = |x| differentiable?

Solution: If x > 0, then |x| = x and we can choose h small enough that x + h > 0 and hence
|x + h| = x + h. Therefore, for x > 0,

|x + h| − |x|
f 0 (x) = lim
h→0 x
(x + h) − x h
= lim = lim = 1,
h→0 h h→0 h
and so f is differentiable for any x > 0.

Similarly, for x < 0, we have |x| = −x and h can be chosen small enough that x + h < 0 and so
|x + h| = −(x + h). Therefore, for x < 0,

|x + h| − |x|
f 0 (x) = lim
h→0 h
−(x + h) − (−x) −h
= lim = lim = −1,
h→0 h h→0 h

and so f is differentiable for any x < 0.

33
For x = 0 we have to investigate
f (0 + h) − f (0)
f 0 (0) = lim
h→0 h
|0 + h| − |0|
= lim (if it exists).
h→0 h
Let’s compute the left and right limits separately;
|0 + h| − |0| |h|
lim+ = lim+ = lim+ 1 = 1.
h→0 h h→0 h h→0
|0 + h| − |0| |h|
lim− = lim− = lim− (−1) = −1.
h→0 h h→0 h h→0

Since these limits are different f 0 (0) does not exist. Thus, f is differentiable at all x except 0.

4.1 Differentiation Techniques (Finding Derivatives)


1.
f (x0 + h) − f (x0 )
f 0 (x0 ) = lim
h→0 h
if this limit exists.

2. The derivative of any constant function is zero, i.e., c0 = 0.

3. For any real number n,


(xn )0 = nxn−1 .
When differentiating, results can be expressed in a number of ways. For example, (i) if
dy
y = 3x2 then = 6x, (ii) if f (x) = 3x2 then f 0 (x) = 6x, (iii) the differential coefficient
dx
of 3x2 is 6x.
√ 1 1 1 1 1
For example, if f (x) = x = x 2 , then f 0 (x) = x 2 −1 = 12 x− 2 = √ .
2 2 x
You Try It: Using the general rule, differentiate the following with respect to x :
4
(a) f (x) = 5x7 (b) f (x) = 2 .
x
4. For any constant c, (cf (x))0 = cf 0 (x). For example, (5x3 )0 = 5(x3 )0 = 5(3x2 ) = 15x2 .

5. The derivative of a sum (difference) is the sum (difference) of the derivatives,

(f (x) ± g(x))0 = f 0 (x) ± g 0 (x).

For example,

(3x5 − 2x2 + 1)0 = (3x5 )0 − (2x2 )0 + 10 = 3(x5 )0 − 2(x2 )0 + 0 = 3(5x4 ) − 2(2x) = 15x4 − 4x.

6. Product Rule
(f (x)g(x))0 = f (x)g 0 (x) + g(x)f 0 (x).

34
7. Quotient Rule 0
g(x)f 0 (x) − f (x)g 0 (x)

f (x)
= .
g(x) (g(x))2

8. Parametric Equations. If the coordinates (x, y) of a point P on a curve are given as


functions x = f (u) and y = g(u) of a third variable or parameter u, the equations x = f (u)
and y = g(u) are called parametric equations of the curve. For example, x = 12 t, y = 4 − t2 or
x = cos θ, y = 4 sin2 θ.
dy
The First Derivative is given by
dx
dy dy/du
= .
dx dx/du

d2 y
The Second Derivative is given by
dx2
d2 y
 
d dy du
2
= .
dx du dx dx

dy d2 y
Example: Find and 2 given x = θ − sin θ and y = 1 − cos θ.
dx dx
dx dy
Solution: Note that = 1 − cos θ and = sin θ, so
dθ dθ
dy dy/dθ sin θ
= = .
dx dx/dθ 1 − cos θ
Also
d2 y
 
d sin θ dθ
2
=
dx dθ 1 − cos θ dx
cos θ − 1 1 1
= 2
· =− .
(1 − cos θ) 1 − cos θ (1 − cos θ)2

dy d2 y
Example: Find and 2 given x = et cos t and y = et sin t.
dx dx
dx dy
Solution: Note that = et (cos t − sin t) and = et (sin t + cos t), so
dt dt
dy dy/dt sin t + cos t
= = .
dx dx/dt cos t − sin t
Also
d2 y
 
d sin t + cos t dt
=
dx2 dt cos t − sin t dx
2 1 2
= 2
· t = t .
(cos t − sin t) e (cos t − sin t) e (cos t − sin t)3

Theorem 4.1.1. If f (x) = c is a constant function, then f 0 (x) = 0 for all real numbers x.

35
f (x + h) − f (x) c−c
Proof. Observe that f 0 (x) = lim = = 0.
h→0 h h
Theorem 4.1.2 (Product Rule). If f and g are both differentiable at x, then the product function
f g is also differentiable at x and (f g)0 (x) = f (x)g 0 (x) + g(x)f 0 (x).

Proof.
f (x + h)g(x + h) − f (x)g(x)
(f g)0 (x) = lim .
h→0 h
Trick of adding and subtracting f (x + h)g(x) to the numerator,

f (x + h)g(x + h) − f (x + h)g(x) + f (x + h)g(x) − f (x)g(x)


lim =
h→0 h
g(x + h) − g(x) f (x + h) − f (x)
lim f (x + h) lim + g(x) lim =
h→0 h→0 h h→0 h
f (x)g 0 (x) + g(x)f 0 (x).

Theorem 4.1.3. If g is differentiable at x and g(x) 6= 0, then


 0
1 g 0 (x)
(x) = − .
g (g(x))2

Proof.
1 1
g(x+h)
− g(x) g(x) − g(x + h)
lim = lim
h→0 h h→0 h(g(x))(g(x + h))

−(g(x + h) − g(x)) 1
= lim
h→0 h g(x)g(x + h)
−(g(x + h) − g(x)) 1
= lim lim
h→0 h h→0 g(x)g(x + h)
1
= −g 0 (x) .
(g(x))2

f
Theorem 4.1.4. If f and g are differentiable at x and g(x) 6= 0, then is differentiable at x and
 0 g
0 0
f g(x)f (x) − f (x)g (x)
(x) = .
g (g(x))2

36
 
f 1
Proof. Since = f , we have
g g
 0  0
f 1
(x) = f· (x)
g g
 0
0 1 1
= f (x) + f (x) (x)
g(x) g
f 0 (x) g 0 (x)
 
= + f (x) −
g(x) (g(x))2
f 0 (x)g(x) − f (x)g 0 (x)
= .
(g(x))2

x2 − 1 0 (x2 + 1)(2x) − (x2 − 1)(2x) 4x


Example: f (x) = 2
, then f (x) = 2 2
= 2 .
x +1 (x + 1) (x + 1)2

x 0 (x2 + 1) − x(2x) 1 − x2
Example: If f (x) = , then f (x) = = .
x2 + 1 (x2 + 1)2 (x2 + 1)2

1 1
Example: If f (x) = , then f 0 (x) = − 2 .
x x

dy
Example: If x = cos t and y = t sin t, find .
dx

Solution:
d
dy (t sin t) sin t + t cos t
= dt = .
dx d − sin t
(cos t)
dt

4.2 Derivatives of Trigonometric Functions

Recall :
sin h 1 − cos h
lim = 1 and lim = 0.
h→0 h h→0 h

37
sin(x + h) − sin x
(sin x)0 = lim
h→0 h
sin x cos h + cos x sin h − sin x
= lim
h→0 h
sin x(cos h − 1) + cos x sin h
= lim
h→0
 h  
(1 − cos h) sin h
= lim − sin x + cos x
h→0 h h
= − sin x(0) + cos x(1).

Hence (sin x)0 = cos x.

dy
Example: Find if y = x3 sin x.
dx

dy
Solution: = (x3 sin x)0 = x3 (sin x)0 + sin x(x3 )0 = x3 cos x + 3x2 sin x.
dx

Example: Determine whether the function,


  
 3 1
x sin , if x 6= 0
f (x) = x
0, if x = 0,

is differentiable at x = 0.

Solution: Observe that


h3 sin h1 − 0 1
lim = lim h2 sin = 0.
h→0 h h→0 h

Logarithmic Functions. Assume a > 0 and a 6= 1. If ay = x, then define y = loga x. Let


ln x ≡ loge x (ln x is called the natural logarithm of x).

Basic Properties of Logarithms

1. loga 1 = 0 (In particular, ln 1 = 0).

2. loga a = 1 (In particular, ln e = 1).

3. loga uv = loga u + loga v.


u
4. loga = loga u − loga v.
v
5. loga ur = r loga u.

d x d 1 d x
Derivatives of ln x and ex are e = ex and ln x = . Also (a ) = ax ln x, a > 0.
dx dx x dx
38
d
Example: Calculate the derivative [(sin x + x) · (x3 − ln x)].
dx

d d d 3 d 1
Solution: We know that sin x = cos x, x = 1, x = 3x2 and ln x = . Therefore, by
dx dx dx dx x
the addition rule,
d d d
(sin x + x) = sin x + x = cos x + 1
dx dx dx
and
d 3 d 3 d 1
(x − ln x) = x − ln x = 3x2 − .
dx dx dx x
Now we may conclude the calculation by applying the product rule;
d d d
[(sin x + x) · (x3 − ln x)] = (sin x + x) · (x3 − ln x) + (sin x + x) · (x3 − ln x)
dx dx  dx 
3 2 1
= (cos x + 1) · (x − ln x) + (sin x + x) · 3x −
x
1
= 4x3 − 1 + x3 cos x + 3x2 sin x − sin x − ln x cos x − ln x.
x

You Try It: Calculate the derivative


  
d x
sin x · cos x − x .
dx e + ln x

4.3 Derivative of a Composition [The Chain Rule]

We calculate the derivative of a composition by

[f ◦ g(x)]0 = f 0 (g(x)) · g 0 (x).

If y = f (u) where u = g(x), then


dy dy du du
= · = f 0 (u) = f 0 (g(x))g 0 (x).
dx du dx dx
Similarly, if y = f (u) where u = g(v) and v = h(x), then
dy dy du dv
= · · .
dx du dv dx

d
Example: Calculate the derivative (sin(x3 − x2 )).
dx

Solution: This is the composition of functions, so we must apply the Chain Rule. It is essential
to recognize what function will play the role of f and what function will play the role of g. Notice

39
that, if x is the variable, then x3 − x2 is applied first and sin applied next. So it must be that
d d
g(x) = x3 − x2 and f (s) = sin s. Notice that f (s) = cos s and g(x) = 3x2 − 2x. Then
ds dx
sin(x3 − x2 ) = f ◦ g(x)

and
d d
(sin(x3 − x2 )) = (f ◦ g(x))
dx dx 
df d
= (g(x)) · g(x)
ds dx
= cos(g(x)) · (3x2 − 2x)
= [cos(x3 − x2 )] · (3x2 − 2x).

x2
 
d
Example: Calculate the derivative ln .
dx x−2

x2 x2
 
Solution: Let h(x) = ln . Then h = f ◦ g, where f (s) = ln s and g(x) = . So
x−2 x−2
d 1 d (x − 2) · 2x − x2 · 1 x2 − 4x
f (s) = and g(x) = = . As a result,
ds s dx (x − 2)2 (x − 2)2
d d
h(x) = (f ◦ g)
dx dx 
df d
= (g(x)) · g(x)
ds dx
1 x2 − 4x
= ·
g(x) (x − 2)2
1 x2 − 4x
= ·
x2 (x − 2)2
x−2
x−4
= .
x(x − 2)

You Try It: Calculate the derivative of tan(ex − x).

4.4 Continuity and Differentiation

What is the relationship between continuity and differentiation? It appears that functions that
have derivatives must be continuous.
Theorem 4.4.1. If a function f is differentiable at a point x, then it is continuous at x.

40
Proof. We want to show that f is continuous at x, i.e., lim f (t) = f (x) or lim f (x + h) = f (x),
t→x h→0
where h = t − x. It will be sufficient to show that lim [f (x + h) − f (x)] = 0.
h→0

Now,
 
f (x + h) − f (x)
lim [f (x + h) − f (x)] = lim h
h→0 h→0 h
f (x + h) − f (x)
= lim lim h
h→0 h h→0
= f 0 (x) · 0
= 0,

because f 0 (x) is finite. Thus f is continuous at x.

Converse is false: For example, the function f (x) = |x| is continuous at x = 0, but it is not
differentiable there.

4.5 Higher Order Derivatives

dy
If f (x) is differentiable in an interval, its derivative is given by f 0 (x), y 0 or where y = f (x).
dx

d2 y
 
0 00 d
00 dy
If f (x) is also differentiable in the interval, its derivative is denoted by f (x), y or = .
dx dx dx2

dn y
Similarly, the nth derivative of f (x), if it exists, is denoted by f (n) , y (n) or where n is called
dxn
the order of the derivative.

Example: Let y = f (x) = 12 x4 − 3x2 + 1.

d 1 4
Solution: Derivative y 0 = f 0 (x) = ( x − 3x2 + 1) = 2x3 − 6x.
dx 2

d2 y d
Second derivative y 00 = f 00 (x) = = (2x3 − 6x) = 6x2 − 6.
dx2 dx

000 d3 y
000 d
Third derivative y = f (x) = 3 = (6x2 − 6) = 12x.
dx dx

d4 y d
Fourth derivative y (4) = f (4) (x) = 4
= (12x) = 12.
dx dx

41
4.6 Implicit Differentiation

Compare


1. x2 − y 3 = 3 ⇐⇒ y = 3
x2 − 3.

2. x2 + y 2 = 1 ⇐⇒ y = ± 1 − x2 .

3. x3 + y 2 = 3xy ⇐⇒????????.

Implicit Functions. A function in which the dependent variable is expressed solely in terms of
the independent variable x, namely y = f (x), is said to be an explicit function, for example,
y = 12 x3 − 1. An equation f (x, y) = 0, on perhaps certain restricted ranges of the variables, is said
to define y implicitly as a function of x.

1−x
Example: (a) The equation xy + x − 2y − 1 = 0, with x 6= 2, defines the function y = .
√ x−2
(b) The equation 4x2 + 9y 2 − 36 = 0 defines the function y = 23 9 − x2 when |x| ≤ 3 and y ≥ 0

and the function y = − 23 9 − x2 when |x| ≤ 3 and y ≤ 0.

The derivative y 0 may be obtained by one of the following procedures:

1. Solve, when possible, for y and differentiate with respect to x.

2. Thinking of y as a function of x, differentiate both sides of the given equation with respect
to x and solve the resulting relation for y 0 . This differentiation process is known as implicit
differentiation.

dy
Example: Find if x2 + y 2 = 4.
dx

Solution: We differentiate both sides of the equation


d 2 d d
x + y2 = 4
dx dx dx
dy
2x + 2y =0 .
dx
Solving the derivative yields
dy x
=− .
dy y

d2 y
Example: Find if x2 + y 2 = 4.
dx2

42
Solution: From the above example, we already know that the first derivative is
dy x
=− .
dx y
Hence by the Quotient Rule

d2 y
 
d x
2
= −
dx dx y
dy
y·1−x·
= − dx
y2
 
x
y−x −
y dy
= − 2
Substituting for
y dx
y + x2
2
= − .
y3

Noting that x2 + y 2 = 4 permits us to write the second derivative as

d2 y 4
= − .
dx2 y3

dy
Example: Find if sin y = y cos 2x.
dx

Solution:
d d
sin y = y cos 2x
dx dx
dy dy
cos y = y(− sin 2x · 2) + cos 2x
dx dx
dy
(cos y − cos 2x) = −2y sin 2x
dx
dy 2y sin 2x
= − .
dx cos y − cos 2x

Example: Find y 0 , given xy + x − 2y − 1 = 0.

Solution: We have
d d d d d d
x (y) + y (x) + (x) − 2 (y) − (1) = (0)
dx dx dx dx dx dx
1+y
or xy 0 + y + 1 − 2y 0 = 0, then y 0 = .
2−x

Example: Find y 0 , given x2 y − xy 2 + x2 + y 2 = 0.

43
Solution:
d 2 d d 2 d 2
(x y) − (xy 2 ) + (x ) + (y ) = 0
dx dx dx dx
d d d d d 2 d 2
x2 (y) + y (x2 ) − x (y 2 ) − y 2 (x) + (x ) + (y ) = 0.
dx dx dx dx dx dx
y 2 − 2x − 2xy
Hence, x2 y 0 + 2xy − 2xyy 0 − y 2 + 2x + 2yy 0 = 0 and y 0 = .
x2 + 2y − 2xy

Example: Find y 0 and y 00 , given x2 − xy + y 2 = 3.

Solution:
d 2 d d 2 2x − y
(x ) − (xy) = (y ) = 2x − xy 0 − y + 2yy 0 = 0. So y 0 = .
dx dx dx x − 2y
Then
d d
(x − 2y) (2x − y) − (2x − y) (x − 2y) (x − 2y)(2 − y 0 ) − (2x − y)(1 − 2y 0 )
y 00 = dx dx =
(x − 2y)2 (x − 2y)2
 
2x − y
3x − 3y
3xy 0 − 3y x − 2y 6(x2 − xy + y 2 )
= = =
(x − 2y)2 (x − 2y)2 (x − 2y)2
18
= .
(x − 2y)2

You Try It: Find y 00 , given x3 − 3xy + y 3 = 1.

4.7 Logarithmic Differentiation

Take natural logarithm (ln) both sides, differentiate implicitly and solve for y 0 .

2 3
x 7x − 14
Example: Compute y 0 if y = .
(1 + x2 )4

44
√  2√
x2 3 7x − 14

x 3 7x − 14
Solution: y = ⇒ ln y = ln .
(1 + x2 )4 (1 + x2 )4
1
ln y = 2 ln x + ln(7x − 14) − 4 ln(1 + x2 )
  3 
1 (7x − 14)0 (1 + x2 )0
  
1 0 1
y = 2 + −4
y x 3 7x − 14 1 + x2
2 7 8x
= + −
x 3(7x − 14) 1 + x2
 
0 2 7 8x
y = y + −
x 3(7x − 14) 1 + x2

x2 3 7x − 14 2
 
7 8x
= + − .
(1 + x2 )4 x 3(7x − 14) 1 + x2

4.8 Derivatives of Inverse Trigonometric Functions

If x = sin y, the inverse function is written y = sin−1 x or y = arcsin x. The inverse trigonometric
functions are multivalued functions.

Example: Find the derivative of y = sin−1 x.

Solution: Differentiate implicitly with respect to x. Then sin y = x. Hence,

(sin y)0 = x0
cos yy 0 = 1
1
y0 =
cos y
1
y0 = p
1 − sin2 y
1
= √ .
1 − x2

d 1 d 1 d 1
Some Derivatives. (cos−1 x) = − √ , (cot−1 x) = − , (sec−1 x) = √ .
dx 1 − x2 dx 1 + x2 dx x x2 − 1

1
You Try It: Show that the derivative of tan−1 x = .
1 + x2

45
Applications of the Derivative

4.9 The Mean Value Theorem

Suppose f (x) is continuous on [a, b] and differentiable on (a, b). Then, there exists a c in (a, b) at
which the tangent line is parallel to the secant line joining the points (a, f (a)) and (b, f (b)), i.e., at
f (b) − f (a)
which f 0 (c) = ,
b−a

OR

If f (x) is continuous in [a, b] and differentiable in (a, b), then there exists a point c in (a, b) such
that
f (b) − f (a)
f 0 (c) = , a < c < b.
b−a

The word mean in The Mean Value Theorem refers to the mean (or average) rate of change of f
in the interval [a, b].

If f (a) = f (b) = 0, then the theorem says that there exists a c in (a, b) at which f 0 (c) = 0. The

46
graphs suggest that there must be at least one point on the graph, that corresponds to a number c
in (a, b), at which the tangent is horizontal. This special case of the Mean Value Theorem is called
Rolle’s Theorem 1 .


Example: Consider f (x) = x − 1 on [2, 5], f (x) is continuous when x − 1 ≥ 0, i.e., x ≥ 1. In
1
particular, f (x) is continuous on [2, 5] and f 0 (x) = √ , so differentiable when x > 1. In
2 x−1
particular, f (x) is differentiable on (2, 5).
√ √
f (b) − f (a) f (5) − f (2) 5−1− 2−1 1
= = = .
b−a 5−2 3 3
1
The Mean Value Theorem asserts that, for some c in (2, 5), f 0 (c) = . Let us find it.
3
1
f 0 (x) =
3
1 1
√ =
2 x−1 3

2 x−1 = 3
4(x − 1) = 9
9
x−1 =
4
13
x = .
4
13 13
Notice that is in (2, 5), so we may take c = .
4 4

π
Example: Show that if f (x) = tan x on the interval 0 ≤ x ≤ k where k < , then tan k ≥ k.
2
1
Michel Rolle, a French mathematician (1652-1719)

47
Solution: By the Mean Value Theorem
tan k − tan 0
= sec2 c,
k−0
for some c ∈ (0, k). But sec2 c ≥ 1 and tan 0 = 0. So
tan k
≥ 1 =⇒ tan k ≥ k.
k

Example: Use The Mean Value Theorem to show that | cos a − cos b| ≤ |a − b|.

Solution: The function cos x is continuous and differentiable for all x. By the Mean Value Theorem
cos a − cos b
(cos x)0 =
a−b
cos a − cos b
|(cos x)0 | = ,
a−b
but (cos x)0 = − sin x and |(cos x)0 | ≤ 1, therefore
| cos a − cos b|
≤ 1 =⇒ | cos a − cos b| ≤ |a − b|.
|a − b|

b−a b−a
Example: Prove that 2
< tan−1 b − tan−1 a < for a < b.
1+b 1 + a2

1 1
Solution: Let f (x) = tan−1 x. Since f 0 (x) = 2
, f 0 (c) = . By the Mean Value Theorem
1+x 1 + c2
f (b) − f (a) tan−1 b − tan−1 a 1
= = , a < c < b.
b−a b−a 1 + c2
Then, from a < c < b, we have
a2 < c2 < b2 =⇒ 1 + a2 < 1 + c2 < 1 + b2
1 1 1 1 1 1
2
> 2
> 2
=⇒ 2
< 2
<
1+a 1+c 1+b 1+b 1+c 1 + a2
1 tan−1 b − tan−1 a 1 b−a b−a
2
< < 2
=⇒ 2
< tan−1 b − tan−1 a < .
1+b b−a 1+a 1+b 1 + a2

 
a b b
Example: Use the Mean Value Theorem, to prove that if 0 < a < b, then 1 − < ln < − 1.
b a a
1 1
Hence show that < ln 1.2 < .
6 5

1
Solution: Let f (x) = ln x and f 0 (x) = . By the Mean Value Theorem, there exists c ∈ (a, b)
x
such that
1 ln b − ln a
f 0 (c) = = .
c b−a

48
Then, from a < c < b we have
1 1 1
a < c < b =⇒ < <
b c a
1 ln b − ln a 1 b−a b−a
< < =⇒ < ln b − ln a <
b b−a a b   a
a b b
=⇒ 1 − < ln < − 1.
b a a

   
12 6
Now, ln(1.2) = ln = ln . Therefore a = 5 and b = 6. Substituting in
  10 5
a b b
1 − < ln < − 1, we have
b a a
 
5 6 6 1 1
1 − < ln < − 1 =⇒ < ln 1.2 < .
6 5 5 6 5

4.10 Some Corollaries of The Mean Value Theorem

Corollary 4.10.1. If f 0 (x) = 0 at all points of the interval (a, b), then f (x) must be a constant in
the interval.

Proof. Let x1 < x2 be any two different points in (a, b). By the Mean Value Theorem for
x1 < x < x 2 ,
f (x2 ) − f (x1 )
= f 0 (x) = 0.
x2 − x1
Thus f (x1 ) = f (x2 ). Since x1 and x2 are arbitrarily chosen, the function f (x) has the same value
at all points in the interval. Thus, f (x) is constant.

Corollary 4.10.2. If f 0 (x) > 0 at all points of the interval (a, b), then f (x) is strictly increasing.

Proof. Let x1 < x2 be any two different points in (a, b). By the Mean Value Theorem for
x1 < x < x 2 ,
f (x2 ) − f (x1 )
= f 0 (x) > 0.
x2 − x1
Thus f (x2 ) > f (x1 ) for x2 > x1 and so f (x) is strictly increasing.

49
4.11 Indeterminate Forms

f (x) 0 ∞ f (x) 0
Happens when lim tends to or as x → a. Think of the situation lim →
x→a g(x) 0 ∞ x→a g(x) 0
where f (x) and g(x) are differentiable (and therefore continuous so f (a) = lim f (x) = 0 and
x→a
g(a) = lim g(x) = 0.), then
x→a

f (x) f (x) − f (a)


lim = lim
x→a g(x) x→a g(x) − g(x)

f (x) − f (a)
= lim x−a (provided the denominator is not zero)
x→a g(x) − g(a)

x−a
f (x) − f (a)
lim
=
x→a x−a
g(x) − g(a)
lim
x→a x−a
0
f (a) lim f 0 (x)
x→a
= 0 = (provided f 0 (x) and g 0 (x) are also continuous.)
g (a) lim g 0 (x)
x→a

Example:
x2 − 4 (x2 − 4)0 2x
lim = lim 0
= lim = 2 · 2 = 4.
x→2 x − 2 x→2 (x − 2) x→2 1

f (x) f 0 (x) f (x) 0 ∞


Theorem 4.11.1. If lim = lim 0 provided that lim is of the type or , this is
g(x) g (x) g(x) 0 ∞
f (x) 0 ∞
called L’Hôpital’s Rule: if either lim = or .
g(x) 0 ∞

sin 2x 2 cos 2x 2·1 2


Examples: (a) lim = lim = = .
x→0 sin 5x x→0 5 cos 5x 5·1 5
e3x 3e3x
(b) lim = lim = ∞.
x→∞ x x→∞ 1
x x
e −1 e
(c) lim 3
= lim 2 = ∞.
x→0 x x→0 3x

0 ∞
The form ∞ − ∞. A given limit that is not immediately or can be converted to one of these
0 ∞
forms by combination of algebra and a little cleverness.
 
1 + 3x 1
Example: Evaluate lim − .
x→0 sin x x

1 + 3x 1
Solution: We note → ∞ and → ∞. However, after writing the difference as a single
sin x x
50
0
fraction, we recognize the form .
0
3x2 + x − sin x
 
1 + 3x 1
lim − = lim
x→0 sin x x x→0 x sin x
6x + 1 − cos x
= lim
x→0 x cos x + sin x
6 + sin x
= lim
x→0 −x sin x + 2 cos x
6+0
= = 3.
0+2

The form 0 · ∞. By suitable manipulation, L’Hôpital’s Rule can sometimes be applied to the limit
form 0 · ∞.
 
1
Example: Evaluate lim x sin .
x→∞ x

Solution: Write the given expression as


 
1
sin
x
lim
x→∞ 1
x
0
and recognize that we have the form . Hence,
0
(−x−2 cos x1 )
 
1
lim x sin = lim
x→∞ x x→∞ (−x−2 )
1
= lim cos = 1.
x→∞ x

The form 00 , ∞0 , 1∞ . Suppose y = f (x)g(x) tends towards 00 , ∞0 , 1∞ as x → a or x → ∞. By


taking the natural logarithm of y ;

ln y = ln f (x)g(x) = g(x) ln f (x)

and we see
lim ln y = lim g(x) ln f (x)
x→a x→a

is of the form 0 · ∞. If it is assumed that lim ln y = ln(lim y) = L, then lim = eL or


x→a x→a x→a

lim f (x)g(x) = eL .
x→a

1
Example: Evaluate lim+ x ln x .
x→0

51
1
Solution: The form is 00 . Now, if we set y = x ln x , then
1
ln y = ln x = 1.
ln x
Notice we do not need L’Hôpital’s Rule in this case since

lim ln y = 1.
x→0+

1
Hence, lim+ y = e1 or equivalently lim+ x ln x = e.
x→0 x→0

1
Example: Evaluate lim (1 + x) x .
x→0

1
Solution: The limit form is of the form 1∞ . If y = (1 + x) x , then
1
ln y = ln(1 + x).
x
ln(1 + x) 0
Now, lim has the form and so
x→0 x 0
1
ln(1 + x)
lim = lim 1+x
x→0 x x→0 1
1
= lim = 1.
x→0 1 + x

Thus,
1
lim (1 + x) x = e.
x→0

 2x
3
Example: Evaluate lim 1 − .
x→∞ x

 2x  
∞ 3 3
Solution: The limit form is 1 . If y = 1 − then ln y = 2x ln 1 − . Observe that the
x x
2 ln(1 − x3 )
 
3 0
form lim 2x ln 1 − is ∞ · 0, whereas the form of lim 1 is . Therefore,
x→∞ x x→∞
x
0
3
x2
2 ln(1 − x3 ) (1 − x3 )
lim 1 = lim 2
x→∞
x
x→∞ − x12
−6
= lim = −6.
x→∞ (1 − 3 )
x

Finally, we conclude that  2x


3
lim 1 − = e−6 .
x→∞ x

52
4.12 Tutorial 4
3+x
1. Let f (x) = , x 6= 3. Evaluate f 0 (2) from the definition.
3−x
d √ 1
2. Show from definition that ( x − 1) = √ .
dx 2 x−1
3. Determine whether each of the following functions is differentiable at(
x = 0.
 3 1
 x − |x|
x sin x , x 6= 0 , x 6= 0 .
(i) f (x) = (ii) f (x) = x|x| (iii) f (x) = x
0, x=0 0, x=0

4. Show that f (x) = cos x is differentiable at any x ∈ R and that f 0 (x) = − sin x.
dy
5. Find for each of the following functions
dx
(i) y = sin3 (6x) (ii) y = (ax + b)m (cx + d)n (iii) y = cos(x2 − 3x + 1)

6. Use logarithmic differentiation to find derivatives ofseach of the following functions


(x + 1)(x + 2)
(i) y = xx , x > 0 (ii) y = xln x , x > 0 (iii) y = 3 2
(x + 1)(x2 + 2)
√ √ √ √
(iii) y = √x + 1 x + 2 4 x + 3 (iv) y(x) = y1 (x)y2 (x) · · · yn (x) (v) y = x x , x > 0
3
x4 + 6x2 (8x + 3)5 x
(vi) y = 2 (vii) y = (x2 + 1)(x+1) , x > −1 (viii) y = xx 2x
2
(2x + 7) 3
x ln x (x2 + 1)x
(ix) y = xx (x) y = xcos x (xi) y = x(x+1) (xii) y = (ln x)x (xiii) y = .
x2
dy
7. Use implicit differentiation to find .
dx
(i) (y − 1)2 = 4(x + 2) (ii) (x2 + y 2 )6 = x3 − y 3 (iii) y 4 − y 2 = 10x − 3 (iv) y = sin xy

dy
8. Find if xy 2 + 4y 3 + 3x = 0 at (1, −1).
dx
d2 y
9. Find .
dx2
(i) 4y 3 = 6x2 + 1 (ii) xy 4 = 5 (iii) x = 2 + t, y = 1 + t2

10. If y = tan x, prove that y 000 = 2(1 + y 2 )(1 + 3y 2 ).

11. Given y 2 sin x + y = tan−1 x. find y 0 .

12. Find the first derivatives of the following functions

(i) y = tan−1 (3x2 ).



 
1
(ii) y = x csc−1 + 1 − x2 .
x

53
13. Evaluate each of the following limits using L’hopital’s rule.
sin x sin x ln x 6x2 − 5x + 7
(i) lim (ii) lim x −x
(iii) lim x
(iv) lim
x→0 x  e −e
x→0  x→∞ ex x→∞ 4x2 − 2x
1 + 3x 1 3x 1
(ix) lim − (xiii) lim (xiv) lim+ xx (xv) lim x(e x − 1) (xvi)
 x→0 sin x x x→∞ 3x + 1 x→0 x→∞
1 1
lim − .
x→0 x sin x
 −1
e x2 , x 6= 0
14. Let f (x) = Prove that f 0 (0) = 0.
0, x=0

15. Explain why Rolle’s theorem is not applicable for the function f (x) = |x| on the interval
[−1, 1].

16. Verify Rolle’s Theorem for f (x) = x2 (1 − x)2 , 0 ≤ x ≤ 1.

17. Prove that if


an an−1 a1
+ + ··· + + a0 ,
n+1 n 2
then the equation an xn + an−1 xn−1 + · · · + a1 x + a0 = 0 has at least one real root between 0
and 1.

18. Find the value of c in Rolle’s Theorem when f (x) = (x − a)m (x − b)n where m and n are
positive integers.

19. If f 0 (x) ≤ 0 at all points of (a, b), prove that f (x) is monotonic decreasing in (a, b). Under
what conditions is f (x) strictly decreasing in (a, b)?
sin x
20. Use the mean value theorem to show that sin x ≤ x and tan x ≥ x. Hence show that is
x
strictly decreasing on (0, π2 ).
   
 a b b
21. Use the mean value theorem, to prove that, if 0 < a < b, then 1 − < ln < −1 .
b a a
1 1
Hence show that < ln(1.2) < .
6 5
22. Use the Mean Value Theorem to prove the following inequalities

(i) ln(1 + x) < x if x > 0.

54
Chapter 5

Integration

5.1 Anti-derivatives

In this chapter we shall see that an equally important problem is :


Given a f unction f, f ind a f unction whose derivative is the same as f.
That is, for a given function f , we wish to find another function F for which F 0 (x) = f (x) for all
x on some interval.
Definition 5.1.1. A function F is said to be an anti-derivative of a function f if F 0 (x) = f (x)
on some interval.

Example: An anti-derivative of f (x) = 2x is F (x) = x2 since F 0 (x) = 2x.

There is always more than one anti-derivative of a function. For instance, in the foregoing example,
F1 (x) = x2 −1 and F2 (x) = x2 +10 are also anti-derivatives of f (x) = 2x since F10 (x) = F20 (x) = f (x).
Indeed, if F is an anti-derivative of a function f , then so is G(x) = F (x) + C, for any constant C.
This is a consequence of the fact that
d
G0 (x) = (F (x) + C) = F 0 (x) + 0 = F 0 (x) = f (x).
dx
Thus, F (x) + C stands for a set of functions of which each member has a derivative equal to f (x).
Theorem 5.1.1. If G0 (x) = F 0 (x) for all x in some interval [a, b], then
G(x) = F (x) + C
for all x in the interval.

Examples: (a) The anti-derivative of f (x) = 2x is G(x) = x2 + C.


(b) The anti-derivative of f (x) = 2x + 5 is G(x) = x2 + 5x + C since G0 (x) = 2x + 5.

55
5.2 Indefinite Integral

For convenience let’s introduce a notation for an anti-derivative of a function. If F 0 (x) = f (x), we
shall represent the most general anti-derivative of f by
Z
f (x)dx = F (x) + C.
Z Z
The symbol is called an integral sign, and the notation f (x) is called the indefinite integral
of f (x) with respect to x. The function f (x) is called the integrand. The process of finding an
anti-derivative is called anti-differentiation or integration. The number C is called Z a constant
d
of integration. Just as () denotes differentiation with respect to x, the symbol ()dx denotes
dx
integration with respect to x.

5.3 The Indefinite Integral of a Power

When differentiating the power xn , we multiply by the exponent n and decrease the exponent by
1. To find an anti-derivative of xn , the reverse of the differentiation rule would be : Increase the
exponent by 1 and divide by the new exponent n + 1.

If n is a rational number, then for n 6= −1

xn+1
Z
xn dx = + C.
n+1

Proof. Notice that


xn+1 x(n+1)−1
 
d
+C = (n + 1) + 0 = xn .
dx n+1 n+1

Z Z
6 1
Example: Evaluate (a) x dx (b) dx.
x5

Solution:
x7
Z
(a) x6 dx = + C.
7
x−4
Z
1 1
(b) By writing 5 as x , we have x−5 dx =
−5
+ C = − 4 + C.
x −4 4x


Z
Example: Evaluate x dx.

56

Z Z
1
Solution: We first write x dx = x 2 dx and therefore
Z 3
1 x2 2 3
x dx =
2
3 + C = x 2 + C.
2
3

The following property of indefinite integrals is an immediate consequence of the fact that the
derivative of a sum is the sum of derivatives.
Theorem 5.3.1. If F 0 (x) = f (x) and G0 (x) = g(x), then
Z Z Z
[f (x) ± g(x)]dx = f (x)dx ± g(x)dx = F (x) ± G(x) + C.

Z
1
Example: Evaluate (x− 2 + x4 )dx.

Solution: We can write


1
x5 x5
Z Z Z
− 21 4 − 12 4 x2 1
(x + x )dx = x dx + x dx = 1 + + C = 2x +
2 + C.
2
5 5
Theorem 5.3.2. If F 0 (x) = f (x), then
Z Z
kf (x)dx = k f (x)dx

for any constant k.

The anti-derivative, or indefinite integral, of any finite sum can be obtained by integrating each
term.
Z  
− 31 5
Example: Evaluate 4x − 2x + 2 dx.
x

Solution: It follows that


Z   Z Z Z
− 13 5 − 13
4x − 2x + 2 dx = 4 xdx − 2 x dx + 5 x−2 dx
x
2
x2 x3 x−1
= 4· −2· 2 +5· +C
2 3
−1
2
= 2x2 − 3x 3 − 5x−1 + C.

5.4 Some Anti-Differentiation Formulas


Z Z
1. cf (x)dx = c f (x)dx.

57
Z Z Z
2. [f (x) ± g(x)] = f (x)dx ± g(x)dx.
Z
1
3. xn dx = xn+1 + C for n 6= −1.
n+1
Z
4. adx = ax + C.
Z
5. cos xdx = sin x + C.
Z
6. sin xdx = − cos x + C.
Z
7. sec2 xdx = tan x + C.
Z
8. ex dx = ex + C.
Z
1
9. dx = ln |x| + C.
x
Z
1
10. √ dx = sin−1 x + C.
1−x 2

Z
1
11. dx = tan−1 x + C.
1 + x2

Z 
5 √
3

Example: Evaluate 2
− 2 x dx.
x

Solution: We may write


Z 
5 √
3
 Z
1
Z
2
2
− 2 x dx = 5 dx − 2 x 3 dx
x x
1 5
= 5 ln |x| − 2 5 x 3 + C
3
6 5
= 5 ln |x| − x 3 + C.
5

58
5.5 u−Substitution

The Indefinite Integral of a Power of a Function

Theorem 5.5.1. If F is an anti-derivative of f , then


Z
f (g(x))g 0 (x)dx = F (g(x)) + C.

Z
x
Example: Evaluate dx.
(4x2 + 3)6

Solution: Let us rewrite the integral as


Z
(4x2 + 3)−6 xdx

and make the identifications


u = 4x2 + 3 and du = 8xdx.

−6
u
Z Z du
1 z 2 }| −6{ z }| {
(4x2 + 3)−6 xdx = (4x + 3) 8xdx
8
Z
1
= u−6 du
8
1 u−5
= · +C
8 −5
1
= − (4x2 + 3)−5 + C.
40

Z
Example: Evaluate x(x2 + 2)3 dx.

Solution: If u = x2 + 2 then du = 2xdx. Thus,


u3
Z Z du
1 z 2 }| {3 z }| {
x(x2 + 2)3 dx = (x + 2) 2xdx
2
Z
1
= u3 du
2
1 u4
= · +C
2 4
1 2
= (x + 2)4 + C.
8

59
p
You Try It: Evaluate 3
(7 − 2x3 )4 x2 dx.
Z
Example: Evaluate sin 10x dx.

Solution: If u = 10x, we then need du = 10dx. Accordingly, we write


Z Z
1
sin 10x dx = sin 10x(10dx)
10
Z
1
= sin u du
10
1
= (− cos u) + C
10
1
= − cos 10x + C.
10

Z
You Try It: Evaluate sec2 (1 − 4x) dx.

5.6 Area Under a Graph

As the derivative is motivated by the geometric problem of constructing a tangent to a curve, the
historical problem leading to the definition of a definite integral is the problem of finding area.
Specifically, we are interested in finding the area A of a region bounded between the x−axis, the
graph of a non-negative function y = f (x) defined on some interval [a, b] and

(i) the vertical lines x = a and x = b.

(ii) the x−intercepts of the graph.

60
5.6.1 The Definite Integral

The geometric problems that motivated the development of the integral calculus (determination
of lengths, areas, and volumes) arose in the ancient civilizations of Northern Africa. Where so-
lutions were found, they related to concrete problems such as the measurement of a quantity of
grain. Greek philosophers took a more abstract approach. In fact, Eudoxus (around 400 B.C.)
and Archimedes (250 B.C.) formulated ideas of integration as we know it today. Integral calculus
developed independently, and without an obvious connection to differential calculus. The calculus
became a “whole” in the last part of the seventeenth century when Isaac Barrow, Isaac Newton,
and Gottfried Wilhelm Leibniz (with help from others) discovered that the integral of a function
could be found by asking what was differentiated to obtain that function.
Definition 5.6.1. Let f be a function defined on a closed interval [a, b]. Then the definite integral
Z b
of f from a to b, denoted by f (x) dx, is defined to be
a
Z b n
X
f (x) dx = lim f (xi )∆x.
a n→∞
i=1

The numbers a and b are called the lower and upper limits of integration, respectively. If the
limit exists, the function f is said to be integrable on the interval.

5.6.2 Properties of the Definite Integral

The following two definitions prove to be useful when working with definite integrals.
Theorem 5.6.1. If f (a) exists, then
Z a
f (x)dx = 0.
a

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


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

Example: By definition Z 1
(x3 + 3x)dx = 0.
1

Theorem 5.6.3. Let f and g be integrable functions on [a, b]. Then,

Z b Z b
(i) kf (x) dx = k f (x) dx where k is any constant.
a a

61
Z b Z b Z b
(ii) [f (x) ± g(x)] dx = f (x) dx ± g(x) dx.
a a a
Z b Z c Z b
(iii) f (x) dx = f (x) dx + f (x) dx, where c is any number in [a, b].
a a c

The independent variable x in a definite integral is called a dummy variable of integration. The
value of the integral does not depend on the symbol used. In other words,
Z b Z b Z b Z b
f (x) dx = f (r) dr = f (s) ds = f (t) dt
a a a a

and so on.
Theorem 5.6.4. For any constant k,
Z b Z b
k dx = k dx = k(b − a).
a a

Theorem 5.6.5. Let f be integrable on [a, b] and f (x) ≥ 0 for all x in [a, b], then
Z b
f (x) dx ≥ 0.
a

5.7 The Fundamental Theorem of Calculus

In this theorem we shall see that the concept of an anti-derivative of a continuous function provides
the bridge between the differential calculus and the integral calculus.
Theorem 5.7.1. Let f be continuous on [a, b] and let F be any function for which F 0 (x) = f (x).
Then Z b
f (x) dx = F (b) − F (a).
a

The difference is usually written


b
F (x) ,
a
that is,
Z b Z b b
f (x) dx = f (x) dx = F (x) .
a a a
| {z } | {z }
definite integral indefinite integral

Z 3
Example: Evaluate x dx.
1

62
x2
Solution: An anti-derivative of f (x) = x is F (x) = . Consequently,
2
3 3
x2
Z
9 1
x dx = = − = 4.
1 2 1 2 2

5.8 Techniques of Integration

5.8.1 Integration by Parts

Useful
Z for integrands
Z involving products of algebraic and exponential or logarithmic functions, such
as x2 ex dx and x ln x dx. This is the inverse operation of differentiating a product. If u and v
are functions of x, then
d dv du
(uv) = u + v .
dx dx dx
du dv
Integrate both sides, if and are continuous, then
dx dx
Z Z
dv du
uv = u dx + v dx
dx dx
Z Z
dv du
u dx = uv − v dx
dx dx
Z Z
u dv = uv − v du.

Z
Example: Evaluate xex dx.

Z Z
Solution: Let u = x, du = dx and dv = e dx ⇒ v = x
dv = ex dx = ex . Then,
Z
xex dx = xex − ex + C.

Z
Example: Evaluate x2 ln x dx.

Solution: x2 is more easily integrated than ln x. So choose dv = x2 dx. Then,

x3
Z Z
2 2
dv = x dx ⇒ v = dv = x dx = .
3

63
1
and u = ln x ⇒ du = dx. Therefore,
x
x3
Z Z  3 
2 x 1
x ln x dx = ln x − dx
3 3 x
x3
Z
1
= ln x − x2 dx
3 3
x3 x3
= ln x − + C.
3 9

Z
Example: Evaluate ln x dx.

Z Z
1
Solution: Choose dv = dx ⇒ v = dv = dx = x and u = ln x ⇒ du = dx, therefore
x
Z Z
1
ln x dx = x ln x − x· dx
x
Z
= x ln x − dx
= x ln x − x + C.

Z
You Try It: Evaluate x tan−1 x dx.

5.9 Using Integration by Parts Repeatedly


Z
Example: Evaluate x2 ex dx.

Solution: Notice that the derivative of x2 becomes simpler, whereas the derivative of ex does not.
So you should let u = x2 and dv = ex dx. So
Z Z
dv = e dx ⇒ v = dv = ex dx = ex
x

u = x2 ⇒ du = 2x dx.
Integrating by parts one time we get,
Z Z
x e dx = x e − 2xex dx.
2 x 2 x

Apply integration by parts a second time, where


Z Z
x
dv = e dx ⇒ v = dv = ex dx = ex
u = 2x ⇒ du = 2 dx.

64
Then,
Z Z
2 x 2 x
x e dx = x e − 2xex dx
 Z 
2 x x x
= x e − 2xe − 2e dx

= x2 ex − 2xex + 2ex + C
= ex (x2 − 2x + 2) + C.

5.10 Evaluating a Definite Integral

Z e
Example: Evaluate ln x dx.
1

Solution:
Z e e
ln x dx = (x ln x − x)
1 1
= (e ln e − e) − (1 · ln 1 − 1)
= (e − e) − (0 − 1)
= 1.

5.11 Reduction Formulas

These are formulas in which a given integral is expressed in terms of similar integrals of simpler
form.

Example: Let n be a positive integer. Use integration by parts to derive the reduction formula
Z Z
x e dx = x e − n xn−1 ex dx + C.
n x n x

Z Z
n x
Solution: Let u = x , dv = e dx. Then du = nx n−1
,v= dv = ex dx = ex . So
Z Z
n x n x
x e dx = x e − ex (nxn−1 ) dx
Z
= x e − n xn−1 ex dx + C.
n x

65
Z
To illustrate the use of the reduction formula we calculate xn ex dx for n = 1, 2.
Z Z
x x
n=1 : ex dx = xex − ex + C.
xe dx = xe −
Z Z
n=2 : x e dx = x e − 2 xex dx = x2 ex − 2xex + 2ex + C.
2 x 2 x

Z
Example: Evaluate sinn x dx.

Z Z
n
Solution: Rewrite as sin x dx = sinn−1 x sin x dx.
ThenZ u = sinZn−1 x ⇒ du = (n − 1) sinn−2 x cos x dx and dv = sin x ⇒
v = dv = sin x dx = − cos x. Then ,
Z Z
n n−1
sin x dx = − sin x cos x + (n − 1) sinn−2 x cos x cos x dx
Z
n−1
= − sin x cos x + (n − 1) sinn−2 x cos2 x dx
Z
n−1
= − sin x cos x + (n − 1) sinn−2 x(1 − sin2 x) dx
Z 
n−1 n−2 n
= − sin x cos x + (n − 1) sin x dx − sin x dx
Z Z Z
n n n−1
sin x dx + (n − 1) sin x dx = − sin x cos x + (n − 1) sinn−2 x dx
Z Z
n n−1
n sin x dx = − sin x cos x + (n − 1) sinn−2 x dx

sinn−1 x cos x n − 1
Z Z
n
sin x dx = − + sinn−2 x dx.
n n

5.12 Partial Fractions

This technique involves the decomposition of a rational function into the sum of two or more
simpler rational functions. We will consider rational functions (quotients of polynomials) in which
the numerator has a lower degree than the denominator. If this condition is not meet, we first
carry out long division process, dividing the denominator into the numerator, until we reduce the
problem to an equivalent one involving a fraction in which the numerator has a lower degree than
the denominator.

66
x+7 2 1
Example: = − , then
x2 − x − 6 x−3 x+2
Z Z  
x+7 2 1
dx = − dx
x2 − x − 6 x−3 x+2
Z Z
1 1
= 2 dx − dx
x−3 x+2
= 2 ln |x − 3| − ln |x + 2| + C.

Z
2x + 1
You Try It: Evaluate dx.
(x − 1)(x + 3)

5.12.1 Integrating with Repeated Factors

5x2 + 20x + 6
Z
Example: Find dx.
x3 + 2x2 + x

Solution: Factorise the denominator as x(x + 1)2 . Then write the partial decomposition as
5x2 + 20x + 6 A B C
2
= + + .
x(x + 1) x x + 1 (x + 1)2
Substituting we get, A = 6, B = −1, C = 9, then
5x2 + 20x + 6
Z Z Z Z
6 1 9
dx = dx − dx + dx
x3 + 2x2 + x x x+1 (x + 1)2
9(x + 1)−1
= 6 ln |x| − ln |x + 1| + +C
−1
x6 9
= ln − + C.
x+1 x+1

6x − 1
Z
You Try It: Evaluate dx.
x3 (2x− 1)

5.12.2 Integrating an Improper Rational Function

x5 + x − 1
Z
Example: Find dx.
x4 − x3

Solution: This rational is improper, its numerator has a degree greater than that of its denomi-
nator. Carrying out long division, we have
x5 + x − 1 x3 + x − 1
= x + 1 + .
x4 − x3 x4 − x3

67
Now, applying partial fraction decomposition produces
x3 + x − 1 A B C D
3
= + 2+ 3+ .
x (x − 1) x x x x−1
We see that A = 0, B = 0, C = 1 and D = 1. So now we can integrate,
Z 5
x3 + x − 1
Z  
x +x−1
dx = x+1+ dx
x4 − x3 x4 − x3
Z  
1 1
= x+1+ 3 + dx
x x−1
x2 1
= + x − 2 + ln |x − 1| + C.
2 2x

x3 − 2x
Z
You Try It: Evaluate dx.
x2 + 3x + 2

5.12.3 Quadratic Factors

Z
dx
Example: Find .
x2 − 4x + 5

Solution: Here we cannot find real factors, but we can complete the square,
x2 − 4x + 5 = (x − 2)2 + 1,
therefore Z Z
dx dx
2
= = tan−1 (x − 2) + C.
x − 4x + 5 (x − 2)2 + 1

Z
(x + 3)dx
Example: Find .
x2 − 4x + 5

x+3 x+3
Solution: Completing the square, = . Now since x + 3 = x − 2 + 5, we
x2 − 4x + 5 (x − 2)2 + 1
have
(x − 2 + 5) dx
Z Z
(x + 3)dx
=
x2 − 4x + 5 (x − 2)2 + 1
(x − 2) dx
Z Z
5 dx
= +
(x − 2)2 + 1 (x − 2)2 + 1
1
= ln((x − 2)2 + 1) + 5 tan−1 (x − 2) + C.
2

Z
(x + 1) dx
Example: Find .
x(x2 + 1)

68
Solution: Decompose into partial fractions,
x+1 A B + Cx
2
= + 2 .
x(x + 1) x x +1

Then A = 1, B = 1, C = −1, and our integral is


Z Z Z Z
(x + 1) dx 1 dx x dx
= dx + −
x(x2 + 1) x x2 + 1 x2 + 1
1
= ln |x| + tan−1 x − ln(x2 + 1) + C.
2

Z
4x
You Try It: Evaluate dx.
(x2 + 1)(x2 + 2x + 3)

5.13 Integration of Rational Functions of Sine and Cosine

Integrals of rational expressions that involve sin x and cos x can be reduced to integrals of quotients
of polynomials by means of the substitution
x
t = tan .
2
1 − t2 2t dx 2
It then follows that cos x = , sin x = and = .
1 + t2 1 + t2 dt 1 + t2
Z
dx
Example: Evaluate .
2 + 2 sin x + cos x

Solution: We see that Z Z


dx 2 dt
= .
2 + 2 sin x + cos x t2 + 4t + 3
Since t2 + 4t + 3 = (t + 1)(t + 3), we use partial fractions,
Z Z  
dx 1 1
= − dt
2 + 2 sin x + cos x t+1 t+3
= ln |t + 1| − ln |t + 3| + C
t+1
= ln +C
t+3
1 + tan x2
= ln + C.
3 + tan x2

Z
dx
Example: Evaluate .
5 + 3 cos x

69
Solution: The integral becomes

Z Z 2dt
dx 1+ t2 
=
5 + 3 cos x 1 − t2
5+3
1 + t2
Z 2dt Z
1 + t2 2dt
= 2 2 =
5(1 + t ) + 3(1 − t ) 8 + 2t2
Z 1 + t2  
dt 1 −1 t
= 2
= tan +C
t +4 2 2
 
1 −1 1 x
= tan tan + C.
2 2 2

Z
dx
You Try It: Evaluate .
5 + 4 cos x

5.14 Integration of Powers of Trigonometric Functions

With the aid of trigonometric identities, it is possible to evaluate integrals of the type
Z
sinm x cosn x dx.

We distinguish two cases.

Case 1: m or n is an odd positive integer. Let us first assume that m is an odd positive
integer. By writing
sinm x = sinm−1 x sin x,
where m − 1 is even, and using sin2 x = 1 − cos2 x, the integrand can be expressed as a sum of
powers of cos x times sin x.
Z
Example: Evaluate sin3 x dx.

70
Solution:
Z Z
3
sin x dx = sin2 x sin x dx
Z
= (1 − cos2 x) sin x dx
Z Z
= sin x dx + cos2 x(− sin x) dx
1
= − cos x + cos3 x + C.
3

Z
Example: Evaluate sin5 x cos2 x dx.

Solution:
Z Z
5 2
sin x cos x dx = cos2 x sin4 x sin x dx
Z
= cos2 x(sin2 x)2 sin x dx
Z
= cos2 x(1 − cos2 x)2 sin x dx
Z
= cos2 x(1 − 2 cos2 x + cos4 x) sin x dx
Z Z Z
= − cos x(− sin x) dx + 2 cos x(− sin x) dx − cos6 x(− sin x) dx
2 4

1 2 1
= − cos3 x + cos5 x − cos7 x + C.
3 5 7
If n is an odd positive integer, the procedure for evaluation is the same except that we seek an
integrand that is the sum of powers of sin x times cos x.
Z
Example: Evaluate sin4 x cos3 x dx.

Solution:
Z Z
4 3
sin x cos x dx = sin4 x cos2 x cos x dx
Z
= sin4 x(1 − sin2 x) cos x dx
Z
= sin4 x(cos x) dx − sin6 x(cos x) dx
1 5 1
= sin x − sin7 x + C.
5 7
Z
You Try It: Evaluate sin2 x cos3 x dx.

71
Case II: m and n are both even non-negative integers. When both m and n are even
non-negative integers, the evaluation of the integral relies heavily on the identities,
1 1 − cos 2x 1 + cos 2x
sin x cos x = sin 2x, sin2 x = , cos2 x = .
2 2 2

Z
Example: Evaluate cos4 x dx.

Solution:
Z Z
4
cos x dx = (cos2 x)2 dx
Z  2
1 + cos 2x
= dx
2
Z
1
= (1 + 2 cos 2x + cos2 2x) dx
4
Z  
1 1 + cos 4x
= 1 + 2 cos 2x + dx
4 2
Z  
1 3 1
= + 2 cos 2x + cos 4x dx
4 2 2
3 1 1
= x + sin 2x + sin 4x + C.
8 4 32
Z
You Try It: Evaluate sin2 x cos2 x dx.

Instead of sin8 x cos6 x, suppose you have sin 8x cos 6x.


Z 2π
Example: Find sin 8x cos 6x dx.
0

Z 2π
More generally, find sin px cos qx dx. Use the identity
0

1 1
sin px cos qx = sin(p + q)x + sin(p − q)x.
2 2
1 1
Thus sin 8x cos 6x = sin 14x + sin 2x. Separated like this, sine are easy to integrate,
2 2
Z 2π   2π
1 cos 14x cos 2x
sin 8x cos 6x dx = − − = 0.
0 2 14 4 0

With two sines or two cosines, the addition formula, derive these formulas,
1 1
sin px cos qx = − cos(p + q)x + cos(p − q)x.
2 2
1 1
cos px cos qx = cos(p + q)x + cos(p − q)x.
2 2
72
Z
You Try It: Evaluate sin 2x sin 4x dx.

5.15 Tutorial 5
1. Evaluate the following.
tan−1 x
Z Z Z
2 3
(i) (x + 2) sin(x + 4x − 6)dx (ii) x2 esin x cos x3 dx (iii) dx
1 + x2
Z
dx
Z
2

(iv) (v) x 2x3 − 4dx
x(ln x)4
1 x+5 2x − 5
2. Integrate (i) (ii) (iii) .
(x2 + 1)(x + 1) (2x − 1)(x + 3) (x2 + 4)(x + 6)
3. Evaluate each of the following integrals by usingr
an appropriate substitution.
Z
x5 dx
Z √ Z
1+x
(i) √ (ii) x7 x4 + 1dx (iii) dx
x3 + 1 1−x
4. Evaluate
Z each of the following
Z integrals. Z Z
3
(i) sin xdx (ii) sin x cos xdx (iii) sin3 x cos3 xdx (iv) sin 6x cos 3xdx

5. UseZa suitable substitution


Z to evaluate the
Z following integrals.Z
dθ sin θ dθ
(i) sec θdθ (ii) (iii) dθ (iv) if a > b > 0.
1 + sin θ 2 + sin θ a + b cos θ
Z  
1 1
6. Show that sec x dx = In| sec x + tan x| = In tan π+ x .
4 2
7. Evaluate
Z each of theZ following integrals.Z Z Z
(i) xe3x dx (ii) ex sin xdx (iii) sin−1 xdx (iv) ax
e cos pxdx (v) x3 cos xdx.
Z  
m m+1 ln x 1
8. (a) Show that x ln xdx = x − , m 6= −1.
m + 1 (m + 1)2
− sinn−1 x cos x n − 1
Z Z
n
(b) Show that sin xdx = + sinn−2 xdx, n 6= 0.
n n
sinm−1 x cosn+1 x m − 1
Z Z
m n
(d) Show that sin x cos xdx = − + sinm−2 x cosn xdx and so
Z m + n m + n
find sin6 x cos5 xdx.

secn−2 x tan x n − 2
Z
(e) Let In = secn xdx, n = 2, 3, . . . . Show that In = + In−2 .
n−1 n−1
Z
(f) Let In = (ln x)n dx, n = 1, 2, . . . . Show that In = x(ln x)n − nIn−1 .
Z
(h) Let In = (1 + ax2 )n dx. Show that (2n + 1)In = 2nIn−1 + x(1 + ax2 )n .

73
5.16 Complex Numbers

The set of all complex numbers is usually denoted by C. Since x2 ≥ 0 for every real number, x, the
equation
x2 + 1 = 0
has no real solutions.

Introduce the imaginary number 1 , √


i= −1
which is assumed to have the property

i2 = ( −1)2 = −1.

Complex numbers are usually written in the form a + bi where a and b are real numbers or can be
regarded as the ordered pair (a, b).

Ordered Pair Equivalent Notation


(3, 4) 3 + 4i
(0, 1) 0+i
(2, 0) 2 + 0i
(4, −2) 4 + (−2)i

Geometrically, a complex number can be viewed either as a point or vector in the xy−plane.

Let us denote
z = a + bi.
The real number a is called the real part of z and the real number b is called the imaginary part
of z.

These numbers are denoted Re(z) and Im(z) respectively.


Example 5.16.1. Re(4 − 3i) = 4 and Im(4 − 3i) = −3.

When complex numbers are represented geometrically in the xy-coordinate system, the x-axis is
called the real axis, the y-axis, the imaginary axis, and the plane is called the complex plane.
Definition 5.16.1. Two complex numbers a + bi and c + di are defined to be equal, when
a + bi = c + di if a = c and b = d.

Numbers of the form where a = 0, then a + bi reduces to 0 + bi = bi, these complex numbers which
correspond to points on the imaginary axis, are called purely imaginary numbers. For example
z = 8i is a purly imaginary number.
1
was first used by the Swiss mathematician Leonhard Euler in 1777.

74
5.16.1 Operations

Complex numbers can be added, subtracted, multiplied and divided.

(a + bi) + (c + di) = (a + c) + (b + d)i.


(a + bi) − (c + di) = (a − c) + (b − d)i.
k(a + bi) = (ka) + (kb)i, k ∈ R. (multiplication by a real number)

Because (−1)z + z = 0, we denote (−1)z as −z and call it the negative of z.


Example 5.16.2. If z1 = 4 − 5i, z2 = −1 + 6i, find z1 + z2 , z1 − z2 , 3z1 and −z2 .

Solution:

z1 + z2 = (4 − 5i) + (−1 + 6i) = (4 − 1) + (−5 + 6)i = 3 + i.


z1 − z2 = (4 − 5i) − (−1 + 6i) = (4 + 1) + (−5 − 6)i = 5 − 11i.
3z1 = 3(4 − 5i) = 12 − 15i.
−z2 = −1(z2 ) = (−1)(−1 + 6i) = 1 − 6i.

Multiplying two complex numbers as (a + bi)(c + di), treating i2 = −1, this yields

(a + bi)(c + di) = ac + bdi2 + adi + bci = (ac − bd) + (ad + bc)i.

Example 5.16.3. 1. (3 + 2i)(4 + 5i) = (3 · 4 − 2 · 5) + (3 · 5 + 2 · 4)i = 2 + 23i.


2. i2 = (0 + i)(0 + i) = (0 · 0 − 1 · 1) + (0 · 1 + 1 · 0)i = −1.

5.16.2 Rules of Complex Arithmetic

Given that z1 , z2 , z2 ∈ C, then

1. z1 + z2 = z2 + z1 .
2. z1 z2 = z2 z1 .
3. z1 + (z2 + z3 ) = (z1 + z2 ) + z3 .
4. z1 (z2 z3 ) = (z1 z2 )z3 .
5. z1 (z2 + z3 ) = z1 z2 + z1 z3 .
6. 0 + z = z.
7. z + (−z) = 0.
8. 1 · z = z

75
5.17 Modulus, Complex Conjugate and Division

5.17.1 Complex Conjugate

If z = a + bi, is any complex number, then the conjugate of z denoted by z is defined as


z = a − bi.

Geometrically, z is the reflection of z about the axis.


Example 5.17.1. 1. z = 3 + 2i, then z = 3 − 2i.
2. z = −4 − 2i, then z = −4 + 2i.
3. z = 4, then z = 4.

So z = z if and only if z is a real number.

5.17.2 Modulus of a Complex Number

Definition 5.17.1. The modulus of a complex number z = a + bi, denoted |z|, is defined by

|z| = a2 + b2 .

If b = 0, then z = a is a real number, and


√ √
|z| = a2 + 02 = a2 = |a|.
So the modulus of a real number is simply its modulus value.
Example 5.17.2. Find |z| if z = 3 − 4i.
p √
Solution: |z| = 32 + (−4)2 = 25 = 5.
Theorem 5.17.1. For any complex number

zz = |z|2 or |z| = zz.

Proof. If z = a + bi, then


zz = (a + bi)(a − bi) = a2 − abi + bai − b2 i2
= a2 + b 2
= |z|2 .

76
z1 |z1 |
The modulus of a complex number z has the additional properties |z1 z2 | = |z1 ||z2 | and = .
z2 |z2 |

5.17.3 Division of Complex Numbers

For division
z1 z1 z 2
= .
z2 |z2 |2
3 + 4i
Example 5.17.3. Express in the form a + bi.
1 − 2i

Solution:
3 + 4i (3 + 4i)(1 + 2i)
=
1 − 2i (1 − 2i)(1 + 2i)
3 + 6i + 4i + 8i2
=
1 + 2i − 2i − 4i2
−5 + 10i
=
5
= −1 + 2i.

5.17.4 Properties of the Conjugate

Theorem 5.17.2. For any complex numbers z, z1 and z2 , then

(a) z1 + z2 = z1 + z2 .
(b) z1 − z2 = z1 − z2 .
(c) z1 · z2 = z1 · z2 .
 
z1 z1
(d) = .
z2 z2
(e) z = z.

Proof. (a) Let z1 = a1 + b1 i and z2 = a2 + b2 i, then


z1 + z2 = (a1 + a2 ) + (b1 + b2 )i
= (a1 + a2 ) − (b1 + b2 )i
= (a1 − b1 i) + (a2 − b2 i)
= z1 + z2 .

77
1 √ 1
Since |z| = (zz) 2 = a2 + b2 = ((Re(z))2 + (Im(z)2 )) 2 , then
p p
Re(z) ≤ |Re(z)| = (Re(z))2 ≤ (Re(z))2 + (Im(z))2 = |z|.

Similarly,
Im(z) ≤ |Im(z)| ≤ |z|.
For any two complex numbers, z1 and z2 , we have that
|z1 + z2 | ≤ |z1 | + |z2 |.
This is called the triangle inequality.

Proof.
|z1 + z2 |2 = (z1 + z2 )(z1 + z2 ) = (z1 + z2 )(z1 + z2 )
= z1 z1 + 2Re(z1 z2 ) + z2 z2 .
Using the fact that 2Re(z1 z2 ) ≤ 2|z1 z2 | = 2|z1 ||z2 |, we get
|z1 + z2 |2 ≤ |z1 |2 + 2|z1 ||z2 | + |z2 |2 = (|z1 | + |z2 |)2 .
Taking square roots the result follows, that is
|z1 + z2 | ≤ |z1 | + |z2 |.

5.18 Polar Representation of Complex Numbers

If z = x + iy is a non-zero complex number, r = |z| and θ measures the angle from the positive real
axis to the vector z,

then
x = r cos θ and y = r sin θ,
so that z = x + iy can be written as
z = r cos θ + ir sin θ = r(cos θ + i sin θ).
This is called a polar form of z. The angle θ is called an argument of z and is denoted by
θ = arg z. The argument of z is not uniquely determined because we can add or subtract any
multiple of 2π from θ to produce another value of the argument.

One value of the argument in radians that satisfies −π < θ ≤ π is called the principal argument
of z and is denoted by θ = Arg z.

78
x
6

x
>

y = r sin θ

θ
- y
x = r cos θ

Figure 5.1: Polar form



Example 5.18.1. Express z = 1 + 3i in polar form using the principal argument.
q √ √ √
Solution: The value of r is r = |z| = (1)2 + ( 3)2 = 4 = 2. Since x = 1 and y = 3, it
√ √
follows that 1 = 2 cos θ and 3 = 2 sin θ. So cos θ = 12 and sin θ = 23 . The only value of θ that
satisfies these relations and meets the requirement −π, θ ≤ π is θ = π3 . The polar form of z is
 π π
z = 2 cos + i sin .
3 3

We now show how polar forms can be used to give geometric interpretations of multiplication and
division of complex numbers.

Let z1 = r1 (cos θ1 + sin θ1 ) and z2 = r2 (cos θ2 + i sin θ2 ). Multiplying, we obtain


z1 z2 = r1 r2 [(cos θ1 cos θ2 − sin θ1 sin θ2 ) + i(sin θ1 cos θ2 + cos θ1 sin θ2 )].

Recall:
cos(θ1 + θ2 ) = cos θ1 cos θ2 − sin θ1 sin θ2 .
sin(θ1 + θ2 ) = sin θ1 cos θ2 + cos θ1 sin θ2 .
We obtain
z1 z2 = r1 r2 [cos(θ1 + θ2 ) + i sin(θ1 + θ2 )]

79
which is a polar form of the complex number with modulus r1 r2 and argument θ1 + θ2 . Thus, we
have shown that
|z1 z2 | = |z1 ||z2 | and arg(z1 z2 ) = arg z1 + arg z2 .
Also
z1 r1
= [cos(θ1 − θ2 ) + i sin(θ1 − θ2 )] ,
z2 r2
from which, it follows that
z1 |z1 |
= , if z2 6= 0
z2 |z2 |
and  
z1
arg = arg z1 − arg z2 .
z2

5.19 De Moivre’s Formula

If n is a positive integer and z = r(cos θ + i sin θ), then

z n = z · z · z · · · z = rn [cos (θ + θ + · · · + θ) +i sin (θ + θ + · · · + θ)]


| {z } | {z }
n terms n terms

or
z n = rn (cos nθ + i sin nθ). (5.1)

In the special case, if r = 1, we have for z = (cosθ + i sin θ), so that (5.1) becomes

(cos θ + i sin θ)n = cos nθ + i sin nθ

which is called the De Moivre’s formula.

5.19.1 Application of De Moivre’s Formula

It is used to obtain roots of complex numbers

Recall from algebra that −2 and 2 are said to be square roots of the number 4 because (−2)2 = 4
and (2)2 = 4. In other words, the two square roots of 4 are distinct solutions of the equation w2 = 4.

If n is a positive integer and z is any complex number, then we define the nth root of z to be any
complex number that satisfies the equation

wn = z (5.2)
1
and denote the nth root of z by z n .

80
Let w = ρ(cos α + i sin α) and z = r(cos θ + i sin θ), then
ρn (cos nα + i sin nα) = r(cos θ + i sin θ).
Comparing the moduli of the two sides, we see that

ρn = r or ρ = n
r

where n r denotes the real positive nth root of r. In order to have cos nα = cos θ and sin nα = sin θ,
the angles nα and θ must be either equal or differ by a multiple of 2π, that is
nα = θ + 2kπ, k = 0, ±1, ±2, . . .
θ 2kπ
α = + , k = 0, ±1, ±2, . . .
n n
Thus, the values of w = ρ(cos α + i sin α) that satisfy (5.2) are given by

    
θ 2kπ θ 2kπ
n
w = r cos + + i sin + , k = 0, ±1, ±2, . . .
n n n n
Although there are infinitely many values of k, it can be shown that k = 0, 1, 2, . . . , n − 1 produces
distinct values of w satisfying (5.2), but all other choices of k yield duplicates of these.
Example 5.19.1. Find all the cube roots of −8.

Solution: Since −8 lies on the negative real axis, we can use π as an argument.
Here r = |z| = | − 8| = 8, so a polar form of −8 is
−8 = 8(cos π + i sin π).
Here n = 3, hence

    
1 3 π 2kπ π 2kπ
(−8) =3 8 cos + + i sin + , k = 0, 1, 2.
3 3 3 3
Thus, the cube roots of −8 are
√ !
π π 1 3 √
k = 0, 2 cos + i sin = 2 + i = 1 + 3i.
3 3 2 2
k = 1, 2(cos π + i sin π) = 2(−1) = −2.
√ !

 
5π 5π 1 3
k = 2, 2 cos + i sin = 2 − i = 1 − 3i.
3 3 2 2

5.20 Applications of Complex Numbers

5.20.1 The Quadratic Formula

Example 5.20.1. Solve the quadratic equation z 2 + (1 − i)z − 3i = 0.

81
Solution: From the quadratic formula, we have
1
−(1 − i) + [(1 − i)2 − 4(−3i)] 2
z =
2
1h 1
i
= −1 + i + (10i) .
2
2
1 √
We compute (10i) 2 with r = 10 and θ = π2 and n = 2 for k = 0 and k = 1. The two square roots
of 10i are
√  π √ √ √
 
π 1 1
w0 = 10 cos + i sin = 10 √ + √ i = 5 + 5i
4 4 2 2
√ √ √ √
   
5π 5π 1 1
w1 = 10 cos + i sin = 10 − √ − √ i = − 5 − 5i.
4 4 2 2
√ √ √ √
Therefore the two values are z1 = 21 [−1 + i + ( 5 + 5i)] and z2 = 12 [−1 + i + (− 5 − 5i)]. These
solutions written in the form z = a + bi, are
1 √ 1 √ 1 √ 1 √
z1 = ( 5 − 1) + ( 5 + 1)i and z2 = − ( 5 + 1) − ( 5 − 1)i.
2 2 2 2

5.20.2 Roots of Polynomials

A polynomial in x is a function of the form

p(x) = an xn + an−1 xn−1 + · · · + a1 x + a0 .

Example 5.20.2. x3 − 2x + 4.

A number (real or complex) a is said to be a root of the polynomial p(x) if p(a) = 0.


Example 5.20.3. x = 1 is a root of x2 − 2x + 1, since 12 − 2 + 1 = 0.

A number a (real or complex) is a root of the polynomial p(x) if and only if (x − a) is a factor of
p(x). It may be the case that you pull more than one factor (x − a) out of the polynomial. In such
cases a is said to be a multiple root of p(x).

A root is called a simple root if it produces one factor.

5.20.3 The Fundamental Theorem of Algebra

Theorem 5.20.1 (The Fundamental Theorem of Algebra). Let p(x) be any polynomial of degree
n. Then p(x) can be factorized into a product of a constant and n factors of the form (x − a), where
a may be real or complex.

82
Suppose the complex number z is a root of the polynomial, then the complex conjugate z is also a
root.
Example 5.20.4. Let p(z) = z 4 − 4z 3 + 9z 2 − 16z + 20. Given that 2 + i is a root, express p(z) as
a product of real quadratic factors.

Solution: Given that 2 + i is a root, it follows that 2 − i must also be a root and so the quadratic

(z − (2 + i))(z − (2 − i)) = z 2 − 4z + 5

must be a factor. Dividing the given polynomial by this factor gives

p(z) = z 4 − 4z 3 + 9z 2 − 16z + 20 = (z 2 − 4z + 5)(z 2 + 4).

Example 5.20.5. Solve z 3 + 3z 2 + 2z − 6 = 0 and express the left hand side as a product of
irreducible factors.

Solution: Since the equation is a polynomial equation of odd degree there is at least one real
solution. To find that solution by trial and error the factors of the constant terms are substituted
into the polynomial. The factors of 6 are ±1, ±2, ±3, ±6.

Substituting z = 1 gives
1+3+2−6=0
z 3 + 3z 2 + 2z + 6
so z = 1 is a solution and (z − 1) is a factor. So = z 2 + 4z + 6 and the other
√ z − 1
solutions are z = −2 ± 2i and so

z 3 + 3z 2 + 2z − 6 = (z − 1)(z 2 + 4z + 6)

as a product of irreducible real factors.


Exercise 5.20.1. Express z 5 − 1 as a product of real linear and quadratic factors.

5.21 Tutorial 11
1. Given that z1 = 3 − 8i and z2 = −7 + i, find
(i) iz1 + 2z2 (ii) z1 + z2

2. Express each of the following complex numbers in polar form and represent each number on
an Argand diagram:
√ 2
(i) −1 − i (ii) 3 − 3 3i (iii) −2 − √ i
2
2+i 1
3. If z = , find the real and imaginary parts of z + .
1−i z
z−i
(a) Let z ∈ C, and let w = .
z+i

83
i. Evaluate w when z = 0, and when z = 1.
ii. Let z = β where β ∈ R. Show that for any such z the corresponding w
always has unit modulus.
(b) i. Express the complex number z = 24 + 7i in polar form.
1
ii. Find the four values of z 4 in exponential form, and plot them on an
Argand diagram.

4. Show that cos 6φ = 32 cos6 φ − 48 cos4 φ + 18 cos2 φ − 1.

5. Consider the polynomial


p(z) = z 4 − 3z 3 + rz 2 + sz + t,
where r, s, and t are real constants. Given that the two roots of p(z) are 2 and 1 + 2i,
determine the values of r, s and t.

6. Find all values of z for which z 4 + 2 3i + 2 = 0.

84

You might also like