Cumt101 Notes
Cumt101 Notes
TECHNOLOGY
Prefab 10
Author:
Department:
Mr D.F.M.
Mathematics
Email: dmamutse.cut.ac.zw
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.
1
0.3.2 Functions, limits of functions of a single variable
0.3.3 Differentiation
3. Applications of the derivative. The Mean Value Theorem and Rolle’s Theorem, [2]
0.3.4 Integration
2
0.3.6 Ordinary Differential Equations
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.
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]
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.
Recommended reading
Additional reading
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
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.
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 . . .
(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.
Some useful rules for calculations with inequalities are : If a, b, c are real numbers, then :
⇒ 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.
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.
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.
x + 3(2 − x) ≥ 4 − x when
x + 6 − 3x ≥ 4−x
6 − 2x ≥ 4−x
2 ≥ x ⇒ x ≤ 2.
2 3
You Try It: Solve the inequality < .
x−1 2x + 1
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.
2. The absolute value of a real number x is zero if and only if x = 0, that is, |x| = 0 ⇐⇒ x = 0.
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.
2x − 3 = 7 2x − 3 = −7
2x = 10 2x = −4
x = 5 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.
(b)
|2x − 3| ≥ 1 ⇐⇒ 2x − 3 ≥ 1 or 2x − 3 ≤ −1
⇐⇒ x ≥ 2 or x ≤ 1.
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)
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)
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
1 + 3 + 5 + · · · + 2n − 1 = n2 .
Solution:
1 + 3 + 5 + · · · + 2k − 1 = k 2 .
So it is true for n = k + 1.
8
Example: Prove that 3n > 2n for all natural numbers n.
Solution:
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.
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.
which is true.
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 . . . .
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.
11. If x and y are real numbers, prove that |x| − |y| ≤ |x − y|.
10
Chapter 2
Functions
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:
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
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 )).
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.
13
2.4 Types of 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.
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
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
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.
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)
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)
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.
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
f
Example: If f (x) = 2x2 − 5 and g(x) = 3x + 4. Find f + g, f − g, f g, .
g
16
Solution:
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)).
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 .
Classes of functions may be distinguished by the manner in which arguments and images are related
or mapped to each other.
17
Example: Show that the functions f (x) = 2x + 3 and g(x) = x3 − 2 are 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.
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.
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.
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
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).
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| < ε.
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| < ε.
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
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
Solution: Must show that if lim f (x) = A1 and lim f (x) = A2 , then A1 = A2 .
x→a x→a
23
Example: Given lim f (x) = A and lim g(x) = B. Prove that
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
ex − 1 x−1
3. lim = 1, lim = 1.
x→0 x x→1 ln x
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
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
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
|x|
lim− = lim (−1) = −1.
x→0 x x→0−
|x|
lim+ = lim (1) = 1.
x→0 x x→0+
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
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
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.
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
27
1. f (a) is defined.
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.
|x|
Example: Determine whether f (x) = is continuous at x = 0.
x
|x|
(
f (x) = , if x 6= 0
x
0, if x = 0,
is continuous at 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,
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.)
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| < δ.
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.
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→−∞
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,
31
Chapter 4
Differentiation
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
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.
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
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.
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
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,
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
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
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).
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
is differentiable at x = 0.
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
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)
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,
Converse is false: For example, the function f (x) = |x| is continuous at x = 0, but it is not
differentiable there.
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.
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.
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
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
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
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
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
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
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
If x = sin y, the inverse function is written y = sin−1 x or y = arcsin x. The inverse trigonometric
functions are multivalued functions.
(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
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
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 (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
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
and we see
lim ln y = lim g(x) ln f (x)
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
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)
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
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].
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
54
Chapter 5
Integration
5.1 Anti-derivatives
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.
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.
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.
xn+1
Z
xn dx = + C.
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.
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
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
58
5.5 u−Substitution
Z
x
Example: Evaluate dx.
(4x2 + 3)6
−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.
59
p
You Try It: Evaluate 3
(7 − 2x3 )4 x2 dx.
Z
Example: Evaluate sin 10x dx.
Z
You Try It: Evaluate sec2 (1 − 4x) dx.
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
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.
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
Example: By definition Z 1
(x3 + 3x)dx = 0.
1
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
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
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
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.
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.
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
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.
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.
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
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)
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)
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
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
Z
4x
You Try It: Evaluate dx.
(x2 + 1)(x2 + 2x + 3)
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
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
With the aid of trigonometric identities, it is possible to evaluate integrals of the type
Z
sinm x cosn x dx.
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.
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
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.
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).
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.
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
Solution:
Multiplying two complex numbers as (a + bi)(c + di), treating i2 = −1, this yields
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
Definition 5.17.1. The modulus of a complex number z = a + bi, denoted |z|, is defined by
√
|z| = a2 + b2 .
76
z1 |z1 |
The modulus of a complex number z has the additional properties |z1 z2 | = |z1 ||z2 | and = .
z2 |z2 |
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.
(a) z1 + z2 = z1 + z2 .
(b) z1 − z2 = z1 − z2 .
(c) z1 · z2 = z1 · z2 .
z1 z1
(d) = .
z2 z2
(e) z = z.
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 |.
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 θ
We now show how polar forms can be used to give geometric interpretations of multiplication and
division of complex numbers.
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
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
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
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
Example 5.20.2. x3 − 2x + 4.
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).
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
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)
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.
84