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

Introduction To Mathematics

This document provides an introduction to mathematical methods. It covers topics in set theory, relations and functions, linear functions, quadratic functions, polynomial functions, rational functions, radical functions, modular functions, trigonometric functions, logarithmic and exponential functions, and binomial expansions. It also introduces calculus concepts such as limits, continuity, differentiation, and integral calculus. The document is intended as a comprehensive reference for foundational mathematical concepts.

Uploaded by

Joshua Siamutwa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Introduction To Mathematics

This document provides an introduction to mathematical methods. It covers topics in set theory, relations and functions, linear functions, quadratic functions, polynomial functions, rational functions, radical functions, modular functions, trigonometric functions, logarithmic and exponential functions, and binomial expansions. It also introduces calculus concepts such as limits, continuity, differentiation, and integral calculus. The document is intended as a comprehensive reference for foundational mathematical concepts.

Uploaded by

Joshua Siamutwa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 184

INTRODUCTORY MATHEMATICS

An Introduction to Mathematical
Methods

by

F.M. Mulenga

February 20, 2017


Contents
1 Set Theory 1

Set Theory 1
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1.1.1 Notations and Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1.1.2 Set Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

1.2 Sets of Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.2.1 Real Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.2.2 Set Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

1.2.3 Complex Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

1.3 Binary Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

1.3.1 Characteristics of Binary Operations . . . . . . . . . . . . . . . . . . . . 22

2 Relations and Functions 25


2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

2.1.1 Product Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

2.2 Relations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

2.2.1 Characteristics of Relations . . . . . . . . . . . . . . . . . . . . . . . . . 30

2.3 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

2.3.1 General Characteristics of Functions . . . . . . . . . . . . . . . . . . . . 34

2.3.2 The Domain and Range of a Function . . . . . . . . . . . . . . . . . . . . 36

2.3.3 Composite Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

2.3.4 Inverse Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

3 Linear Functions 46
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46

3.2 Graphs of Linear Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46

3.2.1 Gradient of a Straight Line . . . . . . . . . . . . . . . . . . . . . . . . . 49

i
3.2.2 Equation of a Straight Line . . . . . . . . . . . . . . . . . . . . . . . . . 49

3.3 Equations and Inequalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

4 Quadratic Functions 53
4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53

4.2 Roots of a Quadratic Equation . . . . . . . . . . . . . . . . . . . . . . . . . . . 53

4.2.1 Nature of Roots and The Discriminant . . . . . . . . . . . . . . . . . . . 57

4.2.2 Sum and Product of the Roots . . . . . . . . . . . . . . . . . . . . . . . 59

4.3 Graphs of Quadratic Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

4.3.1 Discriminant and The Graph of a Quadratic Function . . . . . . . . . . . 62

4.3.2 Maximum and Minimum Values of a Quadratic Function . . . . . . . . . 63

4.4 Quadratic Inequalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

5 Polynomial Functions 68
5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

5.2 Division of Polynomials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

5.2.1 The Remainder Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

5.2.2 Factor Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71

5.3 Roots of Polynomials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72

5.4 Graphs of Polynomial Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 73

5.5 Polynomial Inequalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

5.6 Partial Fractions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

6 Rational Functions 81
6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

6.2 Graphs of Rational Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

6.3 Equations and Inequalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

7 Radical Functions 87
7.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87

7.2 Equations and Inequalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91

8 Modular Functions 94
8.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94

8.2 Graphs of Modular Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95

8.3 Equations and Inequality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98

ii
9 Trigonometric Functions 104
9.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104

9.2 Trigonometric Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106

9.2.1 Trigonometric Identities . . . . . . . . . . . . . . . . . . . . . . . . . . . 111

9.2.2 Trigonometric Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . 116

9.3 Graphs of Trigonometric Functions . . . . . . . . . . . . . . . . . . . . . . . . . 118

10 Logarithmic and Exponential Functions 122


10.1 Introduction to exponentials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122

10.1.1 Graphs of Exponential Functions . . . . . . . . . . . . . . . . . . . . . . 123

10.2 Introduction to Logarithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126

10.2.1 Laws of Logarithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127

10.2.2 Logarithmic Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128

10.2.3 Graphs of Logarithmic Functions . . . . . . . . . . . . . . . . . . . . . . 129

10.3 Applications of Exponential and Logarithmic Functions . . . . . . . . . . . . . . 129

11 Binomial Expansions 133


11.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133

11.2 The Binomial Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136

12 Introduction to Calculus 141


12.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141

12.2 Limits of Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141

12.2.1 Properties of Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146

12.3 Continuity of Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152

12.4 Dierentiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155

12.4.1 Dierentiation From First Principle . . . . . . . . . . . . . . . . . . . . . 156

12.4.2 Basic Dierentiation Rules . . . . . . . . . . . . . . . . . . . . . . . . . . 158

12.4.3 Applications of Dierentiation . . . . . . . . . . . . . . . . . . . . . . . . 169

12.5 Integral Calculus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173

13 Sample Exam Questions 176

References 180

iii
1
Set Theory
1.1. Introduction
Sets are very cardinal to the comprehensive and logical study of mathematics. They are the
building blocks of the whole structure of mathematics. We study the common numbers, space,
area, volume e.t.c. using sets. It is therefore, important that we start our study of mathematics
by looking at the theory of sets.

Denition 1.1.1. A set is any well-dened collection, list or class of objects. The objects in a
set are called elements or members of the set.

1.1.1 Notations and Symbols


Having dened what a set is, we now look at the notations adopted in our discussion of set
theory. The following are the symbols and notations used in the discussion of set theory in this
publication

• sets are denoted by uppercase (capital) letters. e.g A, B, X, Y e.t.c

• elements are denoted by lowercase(small) letters. e.g a, b, c, x, etc

• the symbols ⊂ ⊆ denote set inclusion. For example, if A and B are twos sets such
and
that all elements in A are found in B , we say set A is included in set B . Mathematically,
we write
A⊂B
This is read as `set A is a subset of set B'. Note that A⊂B is used when A is a proper
subset of set B, otherwise, A⊆B can be used.

• the symbols ∈ and ∈ / denote element inclusion and element exclusion, respectively. For
example, if Y is a set given as
Y = {1, 2, 3, 4},
then we write 2∈Y which is read as `2 is an element of set Y' or simply `2 is in set Y'.
If an element is not in set Y, for example 7, we write 7∈
/Y which is read as `7 is not an
element of set Y' or simply, `7 is not in set Y.'

• the symbols ∅ and {} denote an empty set, which is a set without any elements.

1
• if the number of elements in a set, say A, can be counted and is nite, we write n(A) to
denote the total number of elements in set A. For example, if

A = {1, 3, 5} and X = {a, e, i, o, u}

then n(A) = 3 and n(X) = 5. We say the cardinalities of sets A and X are 3 and 5,
respectively. The cardinality of a set is the total number of elements in that set.

• the set containing all elements under discussion at any given time is called the Universal
set. Quite often we will denote the universal set by the uppercase letter E, but any other
uppercase letter can also be used.

1.1.2 Set Representation


Sets can be represented in a number of dierent ways. Some of the common representations
are listing and set builder notations. This section discusses some of the important ways of
representing the various types of sets

1. Listing:
This approach simply lists all the elements of a set provided its elements are known
explicitly. Listing is used to represent sets that are countable, whether nite or innite.

Example 1.1.1. X = {2, 4, 6, 8} is a list of members of set X. Similarly, Y = {0, 1, 2, 3, · · · }


is a list of the members of set Y. Set X is nitely countable while set Y is innitely count-
able.

Note that listing uses the curly brackets “{” and “}”. The elements are then listed in
between the two brackets while being separated by a comma. Listing is an eective and
simple approach of describing a set. However, its main limitation is that it can only be
applied to sets that are countable. In mathematics and science in general, we encounter
a lot of sets that are not countable yet very useful. Since listing can not be used for such
sets, other methods must be used describe such sets.

2. Set-Builder Notation:
A more general approach in describing a set is the use of set-builder notation. Like listing,
it also uses the curly brackets “{” and “}” but adds more uidity to the approach. It is
applied to both countable and non-countable sets. The examples below demonstrate the
use of the set-builder notation.

Example 1.1.2. If setsA = {4, 5, 6, 7, · · · }, X = {1, 2, 3, 4, 5} and W = {a, e, i, o, u},


use the set builder notation to describe sets A, X and W .

Soln:

(a) A = {x| x > 3, x ∈ N}


(b) X = {x| 1 ≤ x ≤ 5, x ∈ Z}
(c) W = {x| x is a vowel }

2
The expression A = {x| x > 3, x ∈ N} is read as A is a set of elements x such that x is
greater than 3, and x is a natural number"

Similarly, X = {x| 1 ≤ x ≤ 5, x ∈ Z} is read as X is a set of elements x such that 1 is


less or equal to x yet x is less or equal to 5, and x belongs to the set of integers.

W = {x| x is a vowel } reads W is a set of elements x such that x is a vowel.

The symbols N and Z denote sets of natural numbers and integers respectively. The letter
x was used arbitrarily, any letter such as t, y e.t.c could have been used. Also, note that
set-builder notation is not necessarily unique for some cases. We will see how set-builder
notation can be used to describe uncountable sets.

3. Diagrammatic Representation:
We can also use diagrams to represent sets. One of the most important diagrams used
is the Venn Diagram which was introduced by the British Mathematician, John Venn
(1834-1923). It can be used to represent sets as well as showing the results of respective
set operations such as union, intersection e,t.c. However, like the listing approach, it is
also limited and can not be used for certain cases, as we shall see. The diagrams below
show examples of venn Diagrams.

U U

C C

A B A B

4. Number line Representation: Another method used to describe sets is the use of a
number line. Like the set-builder notation, this approach can be used to describe both
the countable and uncountable sets. We will consider this approach when we look at
intervals in R

1.2. Sets of Numbers


At this point, we discuss the various types of sets of numbers. Numbers fall into dierent
classes or groups depending on the properties they posses. We will discus two basic classes of
numbers, the real numbers and the complex numbers.

1.2.1 Real Numbers


The concept of a real number is very important to the understanding of sets and mathematics
in general. We understand that natural numbers are just positive whole numbers while integers
are simply positive and negative whole numbers with zero inclusive. Now let us consider the
following numbers:

3
√ 1
0.5, π, 2, − , e, 0.0000000001, −1273.0001543
1000
What type of numbers are they? We can clearly see that these numbers are neither part of the
integers nor natural numbers. These are not whole numbers, yet they are real numbers. Infact,
the type of numbers we normally use such as integers, natural numbers and non-integers (e.g
those listed above), are all real numbers. Positive or negative, large or small, whole numbers or
decimal numbers, these are all Real Numbers. Thus, a real number is a value that represents a
quantity along a line. The following is a very basic denition of a real number. We will denote
the set of real numbers by the symbol R
Denition 1.2.1. A real number is a number which can be represented by a point on a real
number line that runs from negative innite (−∞) to positive innite (∞). The collection of
all real numbers denoted R, is called the set of real numbers.

Thus, from the denition above, we write

R = (−∞, ∞)

Note 1.2.1. Whole numbers, Natural numbers, integers, rational and irrational numbers are
all real numbers. As matter of fact, any number YOU can think of at this moment, is nothing
but a real number.

Real numbers can further be divided into several categories. The following are the dierent
types of real numbers.

1. Natural Numbers: These are real numbers that have no decimal and are bigger than
zero. The counting numbers from 1 to innite are called natural numbers. We use N to
denote the set of natural numbers. Thus,

N = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, · · · }

2. Whole Numbers: These are positive real numbers that have no decimals, and also zero.
Natural numbers are also whole numbers. The counting numbers from zero to innite are
called whole numbers. We use W to denote the set of whole numbers, i.e

W = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, · · · }

Note that we can write

N = {x| x ≥ 1, x ∈ W} since N⊂W

3. Integers: A collection of positive and negative whole numbers with zero inclusive, is
called the set of integers and is denoted by Z. Thus,

Z = {· · · , −4, −3, −2, −1, 0, 1, 2, 3, 4, 5, · · · }

4
4. Prime Numbers: A prime number is a natural number that has only two factors, namely
1 and itself. In other words, a number that is divisible by 1 and itself. Lets denote the
primes by P, then
P = {2, 3, 5, 7, 11, 13, 17, 19, 23, · · · }
5. Even Numbers: An even number is an integer which is evenly divisible" by two. This
means that if the integer is divided by 2, it yields no remainder. Zero is an even number
because zero divided by two equals zero. Even numbers can be either positive or negative.
The collection of all even numbers constitute the set of even numbers.

6. Odd Numbers: An odd number is an integer which is not a multiple of two. If it is


divided by two the result is a fraction. One is the rst odd positive number. The next
four bigger odd numbers are three, ve, seven, and nine. So some sequential odd numbers
are:
{1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25...}
7. Rational Numbers: These are real numbers that can be written down as fractions of
a
integers. Mathematically, they can be written in the form , where a and b are integers
b
with b 6= 0 . Note that all Integers are also rational numbers. We will denote the set
of all rational numbers by Q. We can not display the set of rational numbers since it is
innitely uncountable. The following are some examples of rational numbers:

3 13
0.5, 17.312, 2.251, 0.3, −1, 0, , −
7 15
Example 1.2.1. Show that every integer is a rational number

Soln:

Let Z be the set of all integers. Also, let z be any integer chosen from Z. Then z can be
written as
z
z=
1
Since both z and 1 are integers, z is rational. Since z was chosen arbitrary, every integer
must be rational.

Example 1.2.2. Show that 0.3 is a rational number by writing it in the form
a
b
where a
and b are integers with b 6= 0

Soln:

We let
x = 0.3
Then multiplying both sides of this equation by 10 gives us

10x = 3.3

10x − x =3.3 − 0.3


9x =3
1
x=
3
Therefore, we conclude that 0.3 = 31 . Since both 1 and 3 are integers, 0.3 is a rational
number.

5
Example 1.2.3. Express −3.532 in the form
a
b
where a and b are integers with b 6= 0

Soln:

Let y = −3.532.
Then multiplying both sides of this equation by 10 gives us: 10y = −35.32 (i)

Further multiplication of y = −3.532 by 1000 gives us: 1000y = −3532.32 (ii)

subtracting the two equations, we have:

1000y − 10y = − 3532.32 − (−35.32)


990y = − 3497
3497
y =−
990
Therefore, −3.532 = − 3497
990
. Since 3497 and 990 are integers, −3.532 is rational.

8. Irrational Numbers: An irrational number is a real number whose decimal part does
not repeat nor terminate. These are real numbers that can not be written as a fraction of
a
integers. Irrational numbers can not be written in the form , where a and b are integers
b
with b 6= 0. If a real number is not rational, then it must be irrational. We denote the set
0
of irrational numbers by Q . Like the rational numbers, irrational numbers are innitely
uncountable. The following are some examples of irrational numbers:

√ √ √ √ √ 2
2, 3, 2 + 4, π, e, 3 − 1, −3 − 2, −
3
Theorem 1.2.2. If k ∈ Z and k2 is divisible by 2, then k is also divisible by 2.


Example 1.2.4. Prove that 2 is irrational.


Proof: We prove this by contradiction. Suppose that
√ 2 is rational. Then by denition of a
rational number, we can write 2 as:

√ a
2= , where a, b ∈ Z with b 6= 0
b
a
and we assume that the fraction
b
is in its lowest form, ie, there are no common factors of a
and b. Then,
√ a
2 = =⇒ 2b2 = a2 ∗
b
2
This simply means that a is divisible by 2. Since a is an integer, by the theorem above, we
conclude that a is also divisible by 2. Hence, we can write a = 2m for some m ∈ Z. From ∗,
we have
2b2 = a2 = (2m)2 = 4m2 so that b2 = 2m2
This means that b2 is divisible by 2. By the theorem above, b is also divisible by 2 since b ∈ Z.
Since both a b are now divisible by 2, this contradicts the statement that ab is in its
and lowest

form. Hence, 2 can not be written in the form ab with a, b ∈ Z such that ab is in its lowest

form. Therefore 2 must be irrational.

6

Example 1.2.5. Prove that 5+ 2 is irrational.

√ √
Proof: Prove by contradiction. Suppose that 5+ 2 is rational. Then we can write 5+ 2
as a ratio of two integers:
√ p
5+ 2= where p, q ∈ Z with q 6= 0
q
p

and assume that the fraction
q
is in its lowest form. Making 2 the subject of the formula, we
have
√ p − 5q
2= ∗
q
From ∗, we can see that L.H.S is irrational while R.H.S is rational. This is not possible. Thus

our assumption must be wrong. We conclude therefore, that 5+ 2 is irrational.

Surds and Rationalisation


√ √ √
Note that some of the examples of irrational numbers are 2, 3 and 7. The square root

symbol ... is called the radical sign. We use it to indicate a positive square root of a
√ √
number. For example, 16 indicates the positive square root of 16 which is 4. The symbol n ...
th th
is used to indicate the n root of a number. For example, the 5 root of 32 is 2, hence, we
√5

write 32 = 2. The numbers of the form x are called radicals or surds. For any two positive
n

integers a and b, the following hold;

√ √ √ √ p √ √ √ p √ √ √
• ab = a b e.g. i) 6= (2)(3) = 2 3 ii) 80 = (16)(5) = 16 5 = 4 5
√ q √ q √
a
= √16 √2
pa 16 4 2
• b
= √
b
e.g. i)
81 81
= 9
ii)
3
= 3
√ √ √ √ p √
• a b = a2 b e.g. 4 3 = 42 × 3 = (16)(3) = 48
√ √ p
• a2 = a e.g. 72 = 7 Similarly, we have (53)2 = 53

√ √ √ √ √ √
Example 1.2.6. Simplify: i) 45 ii) 450 iii) 50 + 2 − 2 18 + 8

Sol:
√ p √ √ √
i) 45 = (9)(5) = 9 5 = 3 5
√ p √ √ √ √ √
ii) 450 = (9)(25)(2) = 9 25 2 = (3)(5) 2 = 15 2

iii) we simplify and add up the surds


√ √ √ √ p √ p p
50 + 2 − 2 18 + 8 = (25)(2) + 2 − 2 (9)(2) + (4)(2)
√ √ √ √ √ √ √
= 25 2 + 2 − 2 9 2 + 4 2
√ √ √ √
=5 2 + 2 − 2(3) 2 + 2 2
√ √ √ √
=5 2 + 2 − 6 2 + 2 2

=(5 + 1 − 6 + 2) 2

=2 2

7
Certain radicals can be made simple by transforming the denominator into a rational num-
ber. This process is called rationalization of the denominator. The method makes use of the
dierence of two squares,
a2 − b2 = (a − b)(a + b)
The following examples help demonstrate the approach

Example 1.2.7. For each of the following, rationalize the denominator and simplify.

1 1√ 1
√ √
1+ x
i) √ ii) iii) √ + 8 iv) √
2 1+ 3 2 3− x

Sol:
√ √
i) We have √1 = √1 ×1= √1 × √2 = 2
2 2 2 2 2
√ √ √ √
1√ 1√ 1−√3 1− 3 1− 3 3
ii) We have
1+ 3
×1= 1+ 3
× 1− 3
= 1−3
= −2
= − 12 + 2

√ √
2
p √
2
√ √ √
2+4 2

5 2
iii) We have √1 + 8= + (4)(2) = +2 2= =
2 2 2 2 2
√ √ √ √ √ √ √
1+ x 1+ x 1+ x 3+ x (1+ x)(3+ x) (x+3)+4 x
iv) We have √
3− x
= √
3− x
×1= √
3− x
× √
3+ x
= 9−x
= 9−x

Note 1.2.2. It is important to take note of the following

• Any real number is either rational or irrational.

• Any number with a terminating or recurring decimal part is rational

• Any number with a non terminating yet not recurring decimal part is irrational

• Q ∪ Q0 = R

• Q ∩ Q0 = ∅

• N⊂W⊂Z⊂Q⊂R

Intervals in R

We now discuss the important concept of intervals of real numbers. These are basically subsets
of R. Let a, b ∈ R such that a < b. Then, there is an innite number of real numbers that lie
between the two real numbers a and b. The set of all real numbers between a and b constitute
an interval in R from point a to point b. The following are the types of intervals from a to b:

• I1 = (a, b) is the set of all real numbers between a and b, excluding a and b. In set builder
notation form, we have
(a, b) = {x| a < x < b, x ∈ R}
Here, the interval I1 = (a, b) consists of all real numbers between a and b but not
including a nor b.

8
• I2 = (a, b] is the set of all real numbers between a and b including b, but excluding a. In
set builder notation form, we have

(a, b] = {x| a < x ≤ b, x ∈ R}


Here, the interval I2 = (a, b] consists of all real numbers between a and b with b inclusive,
yet a excluded

• I3 = [a, b) is the set of all real numbers between a and b including a, but excluding b. In
set builder notation form, we have

[a, b) = {x| a ≤ x < b, x ∈ R}


Here, the interval I3 = [a, b) consists of all real numbers between a and b with a inclusive,
yet b excluded

• I4 = [a, b] is the set of all real numbers between a and b, including both a and b. In set
builder notation form, we have

[a, b] = {x| a ≤ x ≤ b, x ∈ R}
Here, the interval I4 = [a, b] consists of all real numbers between a and b, with both
a and b included in the set.

1.2.2 Set Operations


We are familiar with operations of addition, subtraction, multiplication and division. These are
number operations since they are performed on numbers. Sets behave like numbers. They have
their own operations which include union, intersection, complementation and product. This
section discuses some of the set operations as well as the laws that govern them.

1. Intersection:
The intersection of two sets, say A and B , is denoted by A ∩ B and is dened as the set
that contains elements common to both A and B . In symbols, we can write

A ∩ B = {x| x ∈ A and x ∈ B}
Pictorially, we have

9
E E

A B A B

Example 1.2.8. If A = {1, 2, 3}, B = {3, 4, 5} and C = {4, 5, 6}, then we can see that:

A ∩ B = {3}, A ∩ C = {}, and B ∩ C = {4, 5}

Example 1.2.9. If A = (1, 3), B = [3, 5] and C = (0, 4], nd the follwing:

i) A∩B ii) A∩C and iii) B∩C

Soln:

i) A ∩ B = (1, 3) ∩ [3, 5]
= {}
=∅

ii) A ∩ C = (1, 3) ∩ (0, 4]


= (1, 3)

iii) B ∩ C = [3, 5] ∩ (0, 4]


= [3, 4]

2. Union:
The union of two sets, say A and B , is denoted by A ∪ B and is dened as the set that
contains elements found either in A or in B . In symbols, we can write

A ∪ B = {x| x ∈ A or x ∈ B}

Pictorially, we have

E A E
A B B

Example 1.2.10. If X = {1, 2, 3}, Y = {3, 4, 5} and Z = {4, 5, 6}, then, clearly:

X ∪ Y = {1, 2, 3, 4, 5}, X ∪ Z = {1, 2, 3, 4, 5, 6}, and Y ∪ Z = {3, 4, 5, 6}

10
Example 1.2.11. If A = (1, 3), B = [3, 5] and C = (0, 4], nd the follwing:

i) A∪B ii) A∪C and iii) B∪C

Soln:

i) A ∪ B = (1, 3) ∪ [3, 5]
= (1, 5]

ii) A ∪ C = (1, 3) ∪ (0, 4]


= (0, 4]

iii) B ∪ C = [3, 5] ∪ (0, 4]


= (0, 5]

Example 1.2.12. If A = (0, 1), B = [0, 1] and C = [1, ∞), nd the following:

i) A∪B ii) A∪C and iii) B∪C

Soln:

i) A ∪ B = (0, 1) ∪ [0, 1]
= [0, 1]
=B Since A ⊂ B. Similarly A∩B =A

ii) A ∪ C = (0, 1) ∪ [1, ∞)


= (0, ∞)

iii) B ∪ C = [0, 1] ∪ [1, ∞)


= [0, ∞)
3. Complementation:
Let E be the universal set and A ⊂ E. The set of all the elements in the universal set
E but not in set A is called the complement of A in E . It is denoted by A0 or Ac . In
symbols, we write
A0 = {x| x ∈
/A but x ∈ E}
Pictorally

We sometimes treat the complement as subtraction, i.e

A0 = E − A = E ∩ A0

11
Example 1.2.13. E = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
Let be the universal set. Further, let
A = {1, 2, 3, 4, 5}, B = {2, 4, 6, 8, 10} and C = [5, 6]

Soln:

First we notice that A⊂E and B ⊂ E. However C is not a subset of E.


Then, A0 = {6, 7, 8, 9, 10} and B 0 = {1, 3, 5, 7, 9}. However, No C0

Example 1.2.14. R = (−∞, ∞) be the universal set. Further, suppose that X =


Let
[1, 4], Y = [−3, 2), A = (−2, ∞) and B = [−∞, 0] are subsets of R = (−∞, ∞). Find the
complements of X , Y , A and B and display the results on the real number line.

Soln:

i) X0 = R − X ii) Y0 =R−Y
= (−∞, ∞) − [1, 4] = (−∞, ∞) − [−3, 2)
= (−∞, 1) ∪ (4, ∞) = (−∞, −3) ∪ [2, ∞)

iii) A0 = R − A iv) B0 = R − B
= (−∞, ∞) − (−2, ∞) = (−∞, ∞) − [−∞, 0]
= (−∞, −2] = (0, ∞)

Example 1.2.15. Let E = [−10, 10] be the universal set. Further, let X = [−2, 8), Y =
(−10, 3) and Z = (−1, 10] be subsets of E . Find the following sets and display the results
on the number line, where possible.

a) X −Y b) Y −X c) X − (Y − Z) d) X ∪ (Y ∩ Z) e) X0 ∪ Z

Sol:

a) X −Y denotes the elements in X but not in Y. i.e, X − Y = X ∩ Y 0. Hence,

X − Y = [−2, 8) − (−10, 3) = [3, 8)

b) Y −X denotes the elements in Y but not in X. i.e, Y − X = Y ∩ X 0. Hence,

Y − X = (−10, 3) − [−2, 8) = (−10, −2)

12
c) X − (Y − Z) = [−2, 8) − {(−10, 3) − (−1, 10]} = [−2, 8) − (−10, −1] = (−1, 8)

d) X ∪ (Y ∩ Z) = [−2, 8) ∪ ((−10, 3) ∩ (−1, 10]) = [−2, 8) ∪ (−1, 3) = [−2, 8)

e) X 0 ∪ Z = [−10, −2) ∪ [8, 10] ∪ (−1, 10] = [−10, −2) ∪ (−1, 10]

Laws On Set Operations

The following are the laws obeyed by sets. We call The Boolean Laws. Suppose that X, Y
and Z are subsets of the universal set E. Then the following hold:

• Idempotence:

a) X ∪X =X b) X ∩X =X

• Associativity:

a) (X ∪ Y ) ∪ Z = X ∪ (Y ∪ Z) b) (X ∩ Y ) ∩ Z = X ∩ (Y ∩ Z)

• Commutativity:

a) X ∪y =Y ∪X b) X ∩Y =Y ∩X

• Distributivity:

a) X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z) b) X ∩ (Y ∪ Z) = (X ∩ Y ) ∪ (X ∩ Z)

• De Morgan's:

a) (X ∪ Y )0 = Y 0 ∩ X 0 b) (X ∩ Y )0 = Y 0 ∪ X 0

• Properties of the Complement:

a) X0 ∪ X = E b) X0 ∩ X = ∅ c) (X 0 )0 = X

• Properties of the universal set:

a) X ∪E =E b) X ∩E =X c) E0 = ∅

• Properties of the empty set:

a) X ∪∅=X b) X ∩∅=∅ c) ∅0 = E

We will use these laws to simplify some complex set expressions

13
Example 1.2.16. Let E = [0, 1] be the universal set. If X = (0.5, 1) and Y = (0.8, 1] Verify
the De Morgan's Law shown below

(X ∩ Y )0 = X 0 ∪ Y 0

Soln: We can see that X 0 = [0, 0.5] ∪ {1} and Y = [0, 0.8]. Therefore,

LHS =(X ∩ Y )0
=((0.5, 1) ∩ (0.8, 1])0
=(0.8, 1)0
=[0, 0.8] ∪ {1}
Thus (X ∩ Y )0 = [0, 0.8] ∪ {1}

RHS =X 0 ∪ Y 0
=((0.5, 1) ∩ (0.8, 1])0
=(0.8, 1)0
=[0, 0.8] ∪ {1}

Thus X 0 ∪ Y 0 = [0, 0.8] ∪ {1}

Therefore, (X ∩ Y )0 = X 0 ∪ Y 0 , proving the De Morgan's Law.

Example 1.2.17. Let E denote the universal set. Further, let X and Y be two sets in E.
simplify as far as possible the expression

[(X ∩ Y )0 ∪ (X − Y )]0

Sol: we use the laws on set operation

[(X ∩ Y )0 ∪ (X − Y )]0 =[(X ∩ Y )0 ∪ (X ∩ Y 0 )]0


=[(X ∩ Y )0 ∪ (X ∩ Y 0 )]0
=(X ∩ Y ) ∩ (X ∩ Y 0 )0
=(X ∩ Y ) ∩ (X 0 ∪ Y )
=[(X ∩ Y ) ∩ X 0 ] ∪ [(X ∩ Y ) ∩ Y ]
=∅ ∪ (X ∩ Y )
=X ∩ Y
Example 1.2.18. Prove the DeMorgan's Law: (A ∪ B)0 = A0 ∩ B 0

Sol: Suppose that x ∈ (A ∪ B)0 . Then, x ∈ A ∪ B . This is only possible if x ∈ A and


0 0 0 0
x ∈ B . This means that x ∈ A and x ∈ B . Hence, x ∈ A ∩ B . Therefore, we conclude that
(A ∪ B)0 ⊂ A0 ∩ B 0
Conversely, suppose x ∈ A0 ∩ B 0 . Then x ∈ A0 and x ∈ B 0 . This means that x ∈ A0 and
x∈ B 0 . Hence, x ∈ (A ∪ B)0 implying that x ∈ (A ∪ B)0 . Therefor, A0 ∩ B 0 ⊂ (A ∪ B)0

14
1.2.3 Complex Numbers
So far, we have discussed the real numbers and some of their properties. We now turn our
attention to another type of numbers called complex numbers. The collection of all complex
numbers is called the set of complex numbers and is usually denoted as C. To better understand
the concept of a complex number, let us consider the following radicals;
√ p √ √
−2 =
(2)(−1) = 2 −1
√ p √ √
−3 = (3)(−1) = 3 −1
√ p √ √ √
−4 = (4)(−1) = 4 −1 = 2 −1
√ p √ √
−5 = (5)(−1) = 5 −1
It is convenient to introduce the symbol;

i= −1

This is called the imaginary unit. The above surds can now be written as shown below;
√ p √ √ √
−2 = (2)(−1) = 2 −1 = i 2
√ p √ √ √
−3 = (3)(−1) = 3 −1 = i 3
√ p √ √ √
−4 = (4)(−1) = 4 −1 = 2 −1 = 2i
√ p √ √ √
−5 = (5)(−1) = 5 −1 = i 5
√ √ √
Thus, we can write −25 = 5i, −16 = 4i, −100 = 10i and so on.....

Properties of the imaginary unit i


√ √
• i2 = i × i = −1 = −1. Hence, i2 = −1
−1 ×
√ √ √
• i3 = i × i = −1 × −1 × −1 = −1 × i = −i. Hence, i3 = −i
• i4 = i2 × i2 = (−1) × (−1) = 1. Hence, i4 = 1
• Generally, i2n = (−1)n
• Generally, i2n+1 = (−1)n i

Denition 1.2.3. Let z be a complex number. The standard form or cartesian form of a
complex number z is given as
z = x + yi or z = x + iy
where x, y ∈ R. The real number x is called the real part of z while the real number y is called
the imaginary part of z

From this denition, we see that every complex number z is written in terms of its real and
imaginary parts. The imaginary part is the part that is multiplied by the imaginary unit i.
Hence, if z = x + iy , then

x = Re(z) which is read as  x is the real part of z"


y = Im(z) which is read as y is the imaginary part of z"

15
Example 1.2.19. For each of the following complex numbers, determine the real part and the
imaginary part.

i) 3 + 2i ii) 7 − 4i iii) 1−i iv) 4i v) -2 vi) -10i

Sol: Exercise

Denition 1.2.4. A complex number z = x + yi is said to be pure real if Im(z) = 0, i.e y = 0.


Denition 1.2.5. A complex number z = x + yi is said to be pure imaginary if Re(z) = 0, i.e
x = 0.

Example 1.2.20. The number 4 = 4 + 0i. Hence 4 is pure real. Similarly, the number
− 72 = − 27 + 0i is pure real.

On the other hand, the number −3i = 0 − 3i is pure imaginary. similarly, 0.023i = 0 + 0.023i
is pure imaginary.

Denition 1.2.6. The collection of all complex numbers constitute the set of complex numbers
denoted by C. Therefore  √
C = x + yi| x, y ∈ R, i = −1

Note 1.2.3. The following follow from the denitions above.

• Any real number a∈R can be written as a = a + 0i. Hence all real numbers are also
complex numbers

• Therefore the set of real numbers is a subset of the set of complex numbers

• N⊂W⊂Z⊂Q⊂R⊂C

Denition 1.2.7. Two complex numbers are equal if and only if their real parts are equal and
their imaginary parts are also equal.

From the denition, if z1 = x1 + y1 i and z2 = x2 + y2 i are two complex numbers, z1 = z2 implies


that x1 = x2 and y1 = y2

Example 1.2.21. Find the values of x and y given that 2x + 4i = 6 + i(x + y)

Sol: Using the denition for equality of complex numbers, we equate the real parts and the
imaginary parts. Thus,
2x = 6 and 4=x+y
Solving these two simultaneously gives x=3 and y=1

16
Addition and Subtraction of Complex Numbers

To add two complex numbers, add the real part of one complex number to the real part of the
other complex number and add the imaginary of one complex number to the imaginary of the
other complex number. Similarly, to subtract two complex numbers, subtract the real parts
and subtract the imaginary parts.

Let z1 = x1 + y1 i and z2 = x2 + y2 i be two complex numbers. Then

a) z1 + z2 = (x1 + y1 i) + (x2 + y2 i) = (x1 + x2 ) + (y1 + y2 )i and

b) z1 − z2 = (x1 + y1 i) − (x2 + y2 i) = (x1 − x2 ) + (y1 − y2 )i

Example 1.2.22. Given that z1 = −2 + 3i and z2 = 4i, nd i) z1 + z2 ii) z2 − z1

Sol: Note that z2 = 4i can be written as z2 = 0 + 4i. Thus,

i) z1 + z2 = (−2 + 3i) + (0 + 4i) = (−2 + 0) + (3 + 4)i = −2 + 7i


ii) z2 − z1 = (0 + 4i) − (−2 + 3i) = (0 − (−2)) + (4 − 3)i = 2 + 1i = 2 + i

Example 1.2.23. If z = 3 − 11i and w = −1 + i, nd i) z+w ii) z−w

Sol:

i) z + w = (3 − 11i) + (−1 + i) = (3 + (−1)) + (−11 + 1)i = 2 − 10i


ii) z − w = (3 − 11i) − (−1 + i) = (3 − (−1)) + (−11 − 1)i = 4 − 12i

Multiplication of Complex Numbers

To multiply complex numbers, we multiply as we usually do in algebra, but remembering that


i2 = −1 Let z1 = x1 + y1 i and z2 = x2 + y2 i be two complex numbers. Then

z1 z2 =(x1 + y1 i)(x2 + y2 i)
=x1 x2 + x1 y2 i + y1 ix2 + y1 y2 i2
=x1 x2 + x1 y2 i + y1 ix2 − y1 y2
=(x1 x2 − y1 y2 ) + (x1 y2 + x2 y1 )i

Hence, if z1 = x1 + y1 i and z2 = x2 + y2 i are two complex numbers, then

z1 z2 = (x1 x2 − y1 y2 ) + (x1 y2 + x2 y1 )i

This is the multiplication of two complex numbers.

Example 1.2.24. Let z1 = 3 + 2i and z2 = 4 + 5i. Determine z1 z2

Sol: using z1 z2 = (x1 x2 − y1 y2 ) + (x1 y2 + x2 y1 )i, we have

z1 z2 = (x1 x2 − y1 y2 ) + (x1 y2 + x2 y1 )i = [(3)(4) − (2)(5)] + [(3)(5) + (4)(2)]i = 2 + 23i

17
Example 1.2.25. Evaluate the following:
√ √
i) (2 + i 2)(1 + i) ii) (2 + i 2)2 iii) (1 − i)(i) iv) (3 − i)(1 + 2i)

Sol:
√ √ √ √ √
i) (2 + i 2)(1 + i) = 2 + 2i + i 2 + i2 2 = 2 − 2 + (2 + 2)i
√ 2 √ 2
√ √
ii) (2 + i 2) = 4 + 4i 2 + 2i = 4 − 2 + 4i 2 = 2 + i4 2

iii) (1 − i)(i) = i − i2 = i − (−1) = 1 − i


iv) (3 − i)(1 + 2i) = 3 + 6i − i − 2i2 = 5 + 5i

We have discussed the addition, subtraction and multiplication of complex numbers. Division
however is not as straight forward. We require a preliminary discussion. Thus, before we discuss
division, we need to discuss the concept of a conjugate.

Conjugate of a Complex number

Denition 1.2.8. Let z = x + yi be a complex number. Then the conjugate of z denoted by z


is dened as
z = x − yi
Example 1.2.26. Find the conjugate of the following complex numbers;

i) 3 + 4i ii) 1 − 3i iii) 7i iv) 5 v) 1+i vi) −5 − i 2

Sol:

i) If z = 3 + 4i, then z = 3 − 4i ii) If z = 1 − 3i, then z = 1 + 3i


iii) If z = 0 + 7i, then z = 0 − 7i = −7i z = 5 + 0i, then z = 5 − 0i = 5
iv) If
√ √
v) If z = 1 + i, then z = 1 − i vi) If z = −5 − i 2, then z = −5 + i 2

Note from iv) that the conjugate of a pure real number is just itself.

Properties of the Conjugate

Let z = x + yi be a complex number and z = x − yi be its conjugate. Then the following


properties hold:

• zz = x2 + y 2
p
• |z| = x2 + y 2 . This is called the modulus or absolute value of z.
• Hence, it is easy to see that zz = |z|2
• z + z = 2Re(z). In this case, z + z = 2x
• z − z = 2Im(z). In this case, z − z = 2y
• If z1 and z2 are two complex numbers, then z1 z2 = z1 z2

18
• If z1 and z2 are two complex numbers, then z1 + z2 = z1 + z2

• If z1 and z2 are two complex numbers, then z1 − z2 = z1 − z2


 
z1
• If z1 and z2 are two complex numbers, then
z2
= zz12

Example 1.2.27. Find the modulus for each of the following complex numbers.

3
i) z =1− 6i ii) z =
2
+ 2i iii) z = −4

p
Sol: Recall that the modulus of a complex number is given by |z| = x2 + y 2
p √
i) If z = 1 − 6i, then(1)2 + (−6)2 = 37
|z| =
r 
√ √ 2 q
3 i 3 1 2
+ 2 = 34 + 1

ii) If z =
2
+ 2 , then |z| = 2 4
=1
p √
iii) If z = −4 + 0i, then |z| = (−4)2 + 02 = 4 = 2

Example 1.2.28. Let z = x + yi. Given that zz + 2iz = 12 + 16i, nd z.

Sol: Exercise

Division of Complex Numbers

Let z1 = x1 +y2 and z2 = x2 +y2 be two complex numbers. To divide any two complex numbers,
z
say z1 and z2 , we write 1 and the multiply both the numerator and the denominator by the
z2
conjugate of z2 . Then we simplify the expression. i.e

z1 z1 z2 z1 z2
= =
z2 z2 z2 |z2 |2

Example 1.2.29. Evaluate the following and express the result in standard form:

2−4i 2 1 1 1−2i
i) ii) iii) iv) v)
4+3i 2−i (1−i)2 (2+i)(1+i) (1+i)3

Sol: Multiply by the conjugate of the denominator

i)

2 − 4i (2 − 4i)(4 − 3i))
=
4 + 3i (4 + 3i)(4 − 3i)
8 − 6i − 16i + 12i2
=
42 + 32
8 − 12 − 22i
=
25
4 22
=− − i
12 25

19
ii)

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

iii)

1 1
2
=
(1 − i) (1 − i)(1 − i)
1
=
1 − 2i − 1
1
=
−2i
1
=
0 − 2i
1(0 + 2i)
=
(0 − 2i)(0 + 2i)
2i
=
−4i2
2i
=
4
i
=
2

iv)

1 1
=
(2 + i)(1 + i) 2 + 2i + i + i2
1
=
2 − 1 + 3i
1
=
1 + 3i
1(1 − 3i)
=
(1 + 3i)(1 − 3i)
1 − 3i
=
1+9
1 − 3i
=
10
1 3
= − i
10 10

iv) Exercise

20
1.3. Binary Operations
We conclude our discussion of set theory by looking at the binary operations on a set.

Denition 1.3.1. Let X denote a set. A binary operation on set X , denoted by ∗, is an


operation which assigns to each pair of elements a, b ∈ X , a unique element a ∗ b ∈ X .

Note 1.3.1. Two points are worth remembering when considering whether an operation ∗ is
binary or not

• the operation ∗ must act on every pair a, b ∈ X to produce an output a ∗ b.

• the output a ∗ b must be unique and an element of X .

Example 1.3.1. Let N denote the set of all natural numbers. Show that ∗=+ is a binary
operation on N.

Sol: Let a, b ∈ N. Then a ∗ b = a + b ∈ N. Also, for any two natural numbers, we know that
a+b is unique and is also a natural number. Hence, ∗=+ is a binary operation on N.

Example 1.3.2. Let N denote the set of all natural numbers. Show that ∗=× is a binary
operation on N.

Sol: Let a, b ∈ N. Then a ∗ b = a × b ∈ N. Also, for any two natural numbers, a×b is unique.
Hence, ∗ = × is indeed a binary operation on N.

The two examples above, show that the operations of addition and multiplication are each a
binary operation on the set of natural numbers. We can say that the set of natural numbers is
closed under addition or multiplication.

Example 1.3.3. LetN denote the set of all natural numbers. Show that ∗ = − is NOT a
binary operation on N.

Sol: Let a, b ∈ N. Then a ∗ b = a − b is not in N if a < b. Hence, ∗ = − is not a binary


operation on N. To see this, suppose a = 2 and b = 7. Then a ∗ b = 2 ∗ 7 = 2 − 7 = −5, and
we can clearly see that −5 is not in N

Example 1.3.4. Let Z denote the set of all integers, show that ∗ = ÷ is NOT a binary
operation on Z

Sol: Exercise

21
1.3.1 Characteristics of Binary Operations
Let X be a set. Further, let a, b, c ∈ X and ∗ be a binary operation on set X

1. Closure: ifa∗b ∈ X for any pair a, b ∈ X , then set X is said to be closed under the
binary operation ∗

2. Commutative: if a∗b = b∗a for every pair a, b ∈ X , then the binary operation ∗ is
said to be commutative.

3. Associativity: if (a ∗ c) ∗ c = a ∗ (b ∗ c) for any elements a, b, c ∈ X , then the binary


operation ∗ is said to be associative.

4. Identity: If there is an element I∈X such thatI ∗ a = a ∗ I = a for any element a ∈ X ,


then I is called the identity element with respect to ∗

5. Inverse: if for every element a ∈ X , there exists another element a


−1
∈ X such that
a ∗ a−1 = a−1 ∗ a = I , then a−1 is called an inverse of a with respect to ∗

Example 1.3.5. Let X = {x| x > 0, x ∈ R}. For any pair a, b ∈ X , dene an operation ∗ by
a ∗ b = 2a + b.
i) determine whether ∗ is a binary operation on X.
ii) determine whether ∗ is commutative

2
iii) evaluate 2∗3 and
7
∗ 10
iv) determine the value (a ∗ b) ∗ c and a ∗ (b ∗ c)

Sol: Let a, b, c ∈ X . Then a > 0, b > 0 and c>0


i) For any elements a, b ∈ X , a ∗ b = 2a + b > 0. Hence, 2a + b ∈ X and is unique.

Therefore, ∗ is a binary operation on X

ii) a ∗ b = 2a + b while b ∗ a = 2b + a. We can see that 2a + b 6= 2b + a implying that

a ∗ b 6= b ∗ a. Hence, ∗ is not commutative.

2
iii) 2 ∗ 3 = 2(2) + 3 = 7. and
7
∗ 10 = 2( 27 ) + 10 = 74
7

iv) (a ∗ b) ∗ c = (2a + b) ∗ c = 2(2a + b) + c = 4a + 2b + c while

a ∗ (b ∗ c) = 2a + (b ∗ c) = 2a + (2b + c) = 2a + 2b + c. Thus

(a ∗ b) ∗ c 6= a ∗ (b ∗ c). Therefore, ∗ is not associative

Example 1.3.6. Let ∗ be a binary operation dened by a ∗ b = (b − a)3 + 2ab, where a, b ∈ Z.


i) determine whether ∗ is commutative on Z
ii) evaluate −10 ∗ (3 ∗ 10) and (−10 ∗ 3) ∗ 10
iii) Is ∗ associative on Z?

Sol: Exercise

22
Exercise 1
E = {−5, −4, −3, −2, −1, 0, 1, 2, 3, 4, 5} be the
1. Let universal set. If A = {−2, −1, 0, 1, 2},
B = {2, 4, 6} and C = {−5, −4} are subsets of U ;

a) Find: i) C ∩ (A − B) ii) (U − A) ∩ (B − C) iii) A − (C − B)

b) Verify that: i) A ∩ (B ∩ C) = (A ∩ B) ∩ C and ii) A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)

c) Verify the De Morgan's laws: i) (A ∩ B)0 = A0 ∪ B 0 (ii) (A ∪ B)0 = A0 ∩ B 0

2. Given that X and Y are subsets of the universal set E, show that:

i) (X ∩ Y ) ∪ (X ∩ Y 0 ) = X (ii) X ∪ Y = X ∪ (X 0 ∩ Y )

3. Let X and Y denote two sets. If X⊂Y simplify each of the following as far as possible
and where necessary, show the results in a Venn diagram.
0
i) X ∩Y ii) X ∪Y iii)X ∩Y0 iv)X ∩Y0 v)X
0
∪Y0

4. Let E denote the universal set. If X, Y, Z are subsets of E such that X, Y, Z all intersect,
simplify and shade the parts described by the following sets in separate Venn diagrams:

i) [(X 0 ∪Z)0 ∪Y 0 ]0 ii) (Y −X 0 )−X 0 iii) [X 0 ∪(Y −X)]0 iv) Y ∪(X ∩Y )

X = [−10, 10] be the universal set.


5. Let Let A = (−2, 6], B=[-4,7], C = [−1, 8] and
D = (3, 5]. Find each of the following sets and display it on the real number line.

i) A0 ii) X −A iii) (A ∪ C)0 iv) (B − A) ∪ C v) X − (C − D)

R = (−∞, ∞) be the universal set. Further, let A = (−8, 6], B = [4, ∞), C = [0, 1),
6. Let
D = [1, ∞), E = (−∞, 1) and F = [5, ∞) be subsets of the universal set R.
a) Find each of the following and represent the results on the real number line:

i) A∪B ii) (A∩B)0 . iii) C0 iv) B∩D v) C∩E 0 vi) B∪F vii) D∩E
0 0 0 0 0 0
b) Verify De morgan's laws: i) (A ∩ B) = A ∪ B and ii) (A ∪ B) = A ∩ B
c) Verify that: i) A ∩ (B ∩ C) = (A ∩ B) ∩ C and ii) A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)

R = (−∞, ∞)
7. Let be the universal set. If A = (−5, 8), X = (0, 1), B = [7, ∞) and
Y = [0, 1], nd:
i) X0 ii) Y0 iii) B−A iv) A−B v) Y ∩X vi) R−X vii) R−Y viii) X −R

a
8. Express the following numbers in the form
b
where a and b are integers, with b 6= 0.
i) 0.1 ii) 12.13 iii) 3.375 iv) −3.532 v) 0.714285 v) −0.7 vi) 21.32113

9. Prove that the following are irrational numbers


√ √ √ √ √ √ √
i) 2 ii) 3+1 iii) 3 iv) −1 − 2 v) 6+ 2 vi) − 3 vii) 2−2

23
10. a) Simplify the following leaving your answer in surd form where necessary
√ √ p √ √ √ √ √ √ √ √ √
i) 48 6 ii) 2x2 y 2 2x vi)( 3 − 7)( 3 + 7) iii) √6√8414 iv) 12 + 147 − 27

b) Rationalize the denominator of each of the following:


√ √ √ √ √ √ √ √
2 3−
√ 2 x√ 2 7+ 3 x−√x2 −9 1√ h x x+h 6+2√ 7
i) ii) iii) √ √ iv) v) √ vi) √ √ vii)
4 3 x+ y 3 7− 3 x+ x2 −9 ( 2+1)( 3−1) x− x+h 3− 7

c) Rationalize the numerator of each of the following:


√ √ √ √ √ √ √ √ √ √ √
2 3− x− y x−√x2 −9 ( 2+1)( 3−1) h x x+h
i) √ 2 (ii)
2 7+ 3
(iii) √ √ (iv) (v) (vi) √ √ (vii)
6+2√ 7
4 3 x 3 7− 3 x+ x2 −9 6 x− x+h 3− 7
√ √
11. Express 108 in the form k 3 where k is an integer.

12. a) Let Z be the set of integers with a, b ∈ Z. State which of the following is a binary
operation on Z.
a
i) a∗b = b (ii) a∗b = a+b (iii) a∗b = (a+b)(a−b) (iv) a∗b = (ab)2 (v) a∗b = a+2b

b) which operations in (a) are commutative? Which ones are associative?

13. Let ∗ be a binary operation on R = (−∞, ∞) dened as a ∗ b = a + b − ab for a, b, c ∈ R.


i) Is * commutative? (ii) Calculate 4 ∗ (0.5 ∗ 6) and (4 ∗ 0.5) ∗ 6 (iii) Calculate 10 ∗ (−10)
14. Let Z denote the set of all integers. Dene an operation ∗ on Z by a ∗ b = a + b − ab
a) show that ∗ is a binary operation on Z
b) determine whether ∗ is associative on Z
c) evaluate −3 ∗ 2 ∗ 5
15. Let N be the set of all natural numbers. Dene an operation ∗ on N by a∗b = (a−b)2 +2ab
a) show that ∗ is a binary operation on N
b) determine whether ∗ is associative on N
c) determine whether ∗ is commutative on N
(4−2i)(1−2i)
16. Express z= (1+2i)2
in the form x + yi where x, y ∈ R
(4+22i
17. Express z= (1−2i)3
in the form x + yi where x, y ∈ R

18. Let * be a binary operation on R = (−∞, ∞) dened as a ∗ b = a + b − ab for a, b, c ∈ R.


i) Is * commutative? ii) Calculate 4 ∗ (0.5 ∗ 6) and (4 ∗ 0.5) ∗ 6 (iii) Is * associative?

19. Let ∗ be a binary operation dened by a ∗ b = (a − b)2 + 2ab where a, b ∈ Z


(a) Determine whether ∗ is commutative on Z
(b) Compute 0 ∗ (1 ∗ 2) and (0 ∗ 1) ∗ 2
(c) Determine whether ∗ is associative on Z
20. Let ∗ be a binary operation dened by a ∗ b = 2ab − 1 where a, b ∈ R
(a) Determine whether ∗ is commutative on R
(b) Compute 0∗ ( 32 ∗ 3) and (0 ∗ 2
3
) ∗3
(c) Determine whether ∗ is associative on R

24
2
Relations and Functions
2.1. Introduction
We now study special type of sets called relations. The concept of a relation as a set, helps us
comprehend the very important topic of functions in mathematics. We start with some basic,
yet cardinal denitions.

2.1.1 Product Set


Denition 2.1.1. Let X and Y be two non-empty sets. The cartesian product of the two sets,
X and Y , is denoted as X × Y and dened as

X × Y = {(x, y)|x ∈ X and y ∈ Y }

Here, (x, y) denotes an ordered pair, and x is called the rst coordinate and y is the second
coordinate of the pair (x, y). The cartesian product of X and Y is also referred to as the
product set. As dened above, it is the collection of all ordered pairs (x, y) where the rst
entry x is from set X and the second entry y, is from set Y. The following examples help us
to understand the cartesian product much better.

Example 2.1.1. Let X = {1, 2, 3} and Y = {3, 4}. Find the cartesian product from set X to
set Y.

Soln: Let X ×Y denote the cartesian product from X to Y. Then we have

X × Y = {(1, 3), (1, 4), (2, 3), (2, 4), (3, 3), (3, 4)}

Note 2.1.1. In general, X × Y 6= Y × X . From our example , we see that Y ×X =


{(3, 1), (3, 2), (3, 3), (4, 1), (4, 2), (4, 3)} which conrms that X ×Y 6= Y × X .
Always remember that X × Y is a SET of ordered pairs.

25
Example 2.1.2. Let A = [1, 4] and B = [3, 4] be two sets in R. Find the cartesian product
from set A to set B.

Soln: Let A×B denote the cartesian product from set A to set B. Then we have

A × B = {(x, y)|1 ≤ x ≤ 4, 3 ≤ y ≤ 4}

Example 2.1.3. Let X = (−∞, ∞) and Y = [0, 1] be two sets in R. Find the cartesian
product from set X to setY.

Soln: Let X ×Y denote the cartesian product from set X to set Y. Then we have

X × Y = {(x, y)| − ∞ < x < ∞, 0 ≤ y ≤ 1}

Pictorial Representation of Product Set

We can use a pictorial representation to clearly show the cartesian product of two sets. The
example above can be represented as shown below

y y
4
3

1
x x
1 4

26
Note 2.1.2. If X ×Y is the cartesian product of X and Y and if (a, b) is in X ×Y,

• then a∈X and b∈Y.

• (a, b) simply means a is mapped to b

• if r is a relation from set X to set Y, then r is a subset of X ×Y

• if (a, b) is one of the elements in r, we write (a, b) ∈ r

• also (a, b) ∈ r can be written as r(a) = b, which means  r maps x to y ".

• r(a) = b is simply read as  r maps x to y ".

2.2. Relations
The concept of the Cartesian Product of two sets is very important to the understanding of
relationships that may exist between any two or more sets. This in turn helps us understand
the concept of a function. We start our discussion of relations with the following denition of
a relation.

Denition 2.2.1. Let X and Y be two non-empty sets. A relation denoted r, from X to Y is
a subset of the set X × Y .

From this denition, we see that any subset of the cartesian product X ×Y, qualies to be a
relation from X to Y. Since any set is a subset of itself, X ×Y is also a relation from X to Y.

Example 2.2.1. Let A = {1, 2, 3} and B = {3, 4}. Further, let

r1 = {(1, 3), (1, 4), (3, 4)}, r2 = {(1, 3), (3, 3), (2, 4)}, r3 = {(1, 4)} and r4 = {(4, 3), (2, 4), (3, 3)}

Then we can see that r1 is a subset of the cartesian product A × B. Therefore, we say that r1 ,
is a relation from A to B.

Similarly, r2 and r3 are relations from A to B since each of them is a subset of A × B . However,
notice that r4 is not a subset of A × B . Hence, r4 is not a relation from A to B . Pictorially, we
can represent the above relations as:

27
Example 2.2.2. Let A = [1, 3] and B = [3, 4] be two intervals in R. Further, dene

r = {(x, y)| 1 ≤ x ≤ 3, 3 ≤ y ≤ 4, y = 2x}

Then we see that r is a relation from set A to set B, since r is a subset of A×B

y
4
3

x
1 3

Example 2.2.3. Let X = (−∞, ∞) and Y = (−∞, ∞). The we see that

X × Y = {(x, y)| x ∈ R and y ∈ R}

Further, dene: r1 = {(x, y)| y = x + 1, x, y ∈ R}, r2 = {(x, y)| y = x2 , x, y ∈ R}.



r3 = {(x, y)| y = x − 1, x, y ∈ R} and r4 = {(x, y)| y 2 = x, x, y ∈ R}

Since r1 , r2 , r3 and r4 are all subsets of X ×Y, they form relations from X to Y. See
the diagrams below and identify each relation

y y

1
x x
−1

28
y y

x x
1

Example 2.2.4. Let X = (−∞, ∞) and Y = [0, ∞). Then the cartesian product is given as:

X × Y = {(x, y)| x ∈ R, y≥0 and y ∈ R}



Further, dene: r1 = {(x, y)| y = x, x, y ∈ R}, r2 = {(x, y)| y = |x − 2|, x, y ∈ R}.

r3 = {(x, y)| y = − x + 1, x, y ∈ R} and r4 = {(x, y)| y = x3 , 1 < y ≤ 5, x, y ∈ R}

Since r1 , and r2 are subsets of X × Y , they form relations from X to Y . However, note that
r3 and r4 are not subsets of X × Y . Hence, they are not relations from X to Y .

y y

x x
2

y y

x x
−1
−1

29
Denition 2.2.2. Let X and Y be two non-empty sets. The domain of a relation r from X to
Y denoted Dr , is dened as

Dr = {x ∈ X| (x, y) ∈ r for some y ∈ Y }

Denition 2.2.3. Let X and Y be two non-empty sets. The range of a relation r from X to
Y denoted Rr , is dened as

Rr = {y ∈ Y | (x, y) ∈ r for some x ∈ X}

Example 2.2.5. Let A = {1, 2, 3} and B = {3, 4}. Further, let

r1 = {(1, 3), (1, 4), (3, 4)}, r2 = {(1, 3), (3, 3), (2, 4)} and r3 = {(1, 4)}

a) Find the domain of:

(i) r1 (ii) r2 (iii) r3


b)Find the range of:

(i) r1 (ii) r2 (iii) r3

Soln: Exercise

2.2.1 Characteristics of Relations


1. We have looked at a number of relations. We now discuss some of the important charac-
teristics of these relations.

(a) One to One (1-1): A relation r from set A to set B is said to be one to one if
r(x1 ) = r(x2 ) implies that x1 = x2 for any points x1 , x2 ∈ A.
This denition implies that a relation is one to one if no element is mapped to more
than one element. See the diagrams below;

y
4

2
x
−6 −4 −2 2 4 6
−2

−4

30
Example 2.2.6. Let X = [1, 4] and Y = [0, 6] be two intervals in R. Further, let

r = {(x, y)| x ∈ X, y ∈ Y, y = x3 } and g = {(x, y)| 1 ≤ x ≤ 4, 0 ≤ y ≤ 6, y = x2 }

be two relations from X to Y. Show that r is one-one and that g is not one-one.

Soln: The sketch below shows that f is indeed one-one and g is not one-one. Note
that a relation is one-one if either a vertical or horizontal line cuts the graph of the
relation at exactly one point.

y y

x x

(b) One to Many A relation r from set A to set B is said to be one to many if a single
value x∈A may be mapped to more than one image in B. See the diagrams below

Example 2.2.7. Let X = (−∞, ∞) and Y = (−∞, ∞) be two intervals. Further,


let

r = {(x, y)| −∞ < x < 4, y ∈ Y, x = |y|} and g = {(x, y)| x ∈ R, −∞ < y < ∞, y 2 +x2 = 1}

be two relations from X to Y. By means of a sketch, show that both r and g are
one to many relations from set X to set Y.
Soln: For a relation from set X to set Y to be one to many, a vertical line must cut
the graph of the relation at more than one point. See the graph below

31
y y

x x

(c) Many to One: A relation r from set A to set B is said to be many to one if at
least two elements from set A can be mapped to a single element in set B .

Example 2.2.8. Let X = (−∞, ∞) and Y = (−∞, ∞) be two intervals. Further,


let

r = {(x, y)| x ∈ X, −∞ < y < ∞, y = cos x} and g = {(x, y)| x ∈ X, y ∈ Y, y = x2 }


be two relations from X to Y. Show that r is many-one and that g is not many-one.

Soln: The sketch below shows that r is indeed many-one and g is not many-one.
Note that a relation is many-one if a horizontal line cuts the graph of the relation
at more than one point.

y y

x x

(d) onto:A relation r from set A to set B is said to be onto if the entire A is mapped
to the entire B.

32
We can also dene relations within a set. In other words, we can dene relations from one
element of a set to another element of the same set. Such a relation is simply a binary operation
dened on the same set.

Denition 2.2.4. Let r be a binary relation on a set X . r is called a reexive relation on X


if for all x ∈ X , (x, x) ∈ r

Denition 2.2.5. Let r be a binary relation on a set X . r is called a symmetric relation on


X if for all x, y ∈ X , (x, y) ∈ r implies that (y, x) ∈ r

Denition 2.2.6. Let r be a binary relation on a set X . r is called a transitive relation on X


if for all x, y, z ∈ X , (x, y) ∈ r and (x, y) ∈ r implies that (x, z) ∈ r

Example 2.2.9. Let X = {1, 2, 3} be a set of the rst three natural numbers.

Then, a relation r1 = {(1, 1), (1, 2), (2, 2), (3, 3), (3, 2)} is reexive on set X since all pairs of
the form (x, x) ∈ r1 . That is, (1, 1) ∈ r1 , (2, 2) ∈ r1 and (3, 3) ∈ r1 .
The relation r2 = {(1, 1), (1, 2), (2, 1), (1, 3), (3, 1)} is symmetric on X since (x, y) ∈ r2 implies
that (y, x) ∈ r2 . It is a two way path.
The relation r3 = {(1, 1), (1, 2), (2, 1), (2, 2), (2, 3), (1, 3)} is transitive on X since (x, y) ∈ r3
and (y, z) ∈ r3 implies that (x, z) ∈ r3 .

Example 2.2.10. Determine whether the following relations are reexive, transitive or sym-
metric on Y = {1, 2, 3, 4}
i) r = {(1, 2), (2, 1), (3, 1), (4, 2)}
ii) r = {(1, 1), (2, 1), (3, 1), (4, 2), (2, 2), (3, 4), (3, 3), (4, 4)}
iii) r = {(1, 2), (2, 3), (1, 3), (2, 1)}
iv) r = {(1, 1), (2, 2), (3, 4), (4, 3), (3, 3), (4, 4)}

Sol: Exercise

2.3. Functions
Before proceeding to this section, make sure you understand set theory, product set (Cartesian
product) as well as relations. Functions are simply relations between two sets, that satisfy
certain conditions. Since relations are just sets and functions are indeed relations, we can see
that functions are just special type of sets. Let us give some denitions

Denition 2.3.1. Let X and Y be two non-empty sets. A relation f, from X to Y is called a
function if for every element x ∈ X , there exists a unique element y ∈ Y such that (x, y) ∈ f
i.e f (x) = y.

33
Note 2.3.1. If f is a function from set X to set Y, then the following hold:

• f is a relation from set X to set Y


• (x, y) ∈ f means that f maps the input value x ∈ X to a unique output value y ∈ Y.
This is written as f (x) = y which we read as  f maps x to y ".
• if (x, y1 ) ∈ f and (x, y2 ) ∈ f , then y1 = y2 . This means that an element x from the
domain, can not be mapped to more than one element in the range.

• Every element in the domain of f must be mapped to a unique element in the range set
of f

Example 2.3.1. Let A = {1, 2, 3, 4} and B = {7, 9, 11}. Dene the relations f1 , f2 , f3 , f4 , f5
and f6 as shown below. Determine which of these relations are functions

i) f1 = {(1, 7), (2, 7), (3, 7), (4, 7)}


ii) f2 = {(1, 7), (2, 11), (3, 11), (4, 11), (2, 9), (3, 9), (3, 7), (4, 9)}
iii) f3 = {(1, 7), (1, 9), (1, 11)}
iv) f4 = {(1, 11), (2, 9), (3, 7)}
iv) f5 = {(1, 11), (2, 9), (3, 11), (4, 9)}
iv) f6 = {(1, 7), (2, 9), (3, 11), (4, 7)}
Represent each relation using an arrow diagram

Sol: Exercise

2.3.1 General Characteristics of Functions


The following are the general characteristics of functions:

1. One to One (Injective): A function f : X −→ Y is one to one (1-1) if for any two
elements x1 , x2 ∈ X , f (x1 ) = f (x2 ) implies x1 = x2 . A one to one function is also called
an injective function. The graph of a one to one function cuts any horizontal line at
exactly one point.

Example 2.3.2. Show that the function f (x) = 2x − 7 is a one to one function.

Soln: Let x1 , x2 ∈ Df such that f (x1 ) = f (x2 ). We need to show that x1 = x2 . Thus,

f (x1 ) = f (x2 )
2x1 − 7 = 2x2 − 7
2x1 = 2x2
x1 = x2

Hence, f is a 1-1 function since f (x1 ) = f (x2 ) implies that x1 = x2 .

34
Example 2.3.3. Show that the function f (x) = 3x2 − 4 is not a one to one function.

Soln: Let x1 , x2 ∈ Df such that f (x1 ) = f (x2 ). We need to show that x1 6= x2 . Thus,

f (x1 ) = f (x2 )
3(x1 )2 − 4 = 3(x2 )2 − 4
3x21 = 3x22
x21 = x22
x21 − x22 = 0
(x1 − x2 )(x1 + x2 ) = 0

This shows that either x1 = x2 or that x1 = −x2 . Hence, f is not a 1-1 function since
f (x1 ) = f (x2 ) does not necessarily imply that x1 = x2 . The graph of a 1-1 function does
not cut any horizontal line more than once.

2. Many to One: A function f : X −→ Y is said to be many to one if at least two elements


from set X can be mapped to a single element in set Y. The graph of a many to one
function may cut a horizontal line at more than one point.

3. Surjective (ONTO): A function f : X −→ Y is said to be surjective if the range of f


is the entire Y. A surjective function is also called an onto function.

4. INTO: A function f : X −→ Y is said to be an into function if the range of f is a proper


subset of Y.

5. Bijective (1-1 and ONTO): A function f : X −→ Y is said to be bijective if it is


both one to one and onto. Thus, bijective means that a function is both injective and
surjective.

6. Even: A function f : X −→ Y is said to be an even function if f (−x) = f (x) for all


elements x ∈ X.

Example 2.3.4. Show that the function f (x) = 3x2 + 11 is an even function. Sketch its
graph and comment.

Soln: Let x ∈ Df be an arbitrary element. Then

f (−x) =3(−x)2 + 11
=3(−1)2 (x)2 + 11
=3(1)(x)2 + 11
=3x2 + 11
=f (x)

35
y

The graph of an even function is symmetric about the y -axis.

7. Odd: A function f : X −→ Y is said to be an odd function if f (−x) = −f (x) for all


elements x ∈ X.

Example 2.3.5. Show that the function f (x) = 7x3 + 2x is an odd function. Sketch its
graph and comment.

Soln: Let x ∈ Df be an arbitrary element. Then

f (−x) =7(−x)3 + 2(−x)


=7(−1)3 (x)3 + 2(−1)x
=7(−1)(−1)(−1)(x)3 − 2x
= − 7x3 − 2x
= − (7x3 + 2x)
= − f (x)

The graph of an odd function is symmetric about the origin. As an exercise, sketch the
graph of this function.

2.3.2 The Domain and Range of a Function


Recall that a function is a relation from one set to another set. Also recall that every relation
has a domain which is the set of all rst entries of an ordered pair, and a range which is the
set of all second entries of an ordered pair. Let us discuss further the domain and range of a
function.

Denition 2.3.2. Let f : X −→ Y be a function. The domain of f , denoted Df , is dened as


Df = {x| f (x) = y, for some unique y ∈ Y }

Denition 2.3.3. Let f : X −→ Y be a function. The range of f , denoted Rf , is dened as


Rf = {y| y = f (x), for some x ∈ X}

36
NOTE:
• In certain situations, the function and the domain are given but the range is not given.
We will have to work out the range.

• If the function is given and the domain and range are not, we need to nd the domain
and the range from R, by eliminating those real values that make the function undened.
In other words, if the domain is not given, rst assume that the whole of R is the domain.
secondly, from R, remove values which can not apply to the given function.

• The range is usually not given. We may work out the range by:

1. making x the subject of the formula and excluding values of y that can not apply to
the function.

2. sketching the graph of the function

3. inspection

Example 2.3.6. Given that f is a function dened as f (x) = 3x − 1 for any x ∈ Df and that
Df = {−2, −1, 0, 1, 2}, nd the range of f.

Soln:

f (−2) =3(−2) − 1
=−6−1
=−7

f (−1) =3(−1) − 1
=−3−1
=−4

f (0) =3(0) − 1
=−1

f (1) =3(1) − 1
=2

f (2) =3(2) − 1
=5

Hence, f maps: −2 to −7, −1 to −4, 0 to −1, 1 to 2 and 2 to 5


Therefore, Df = {−7, −4, −1, 2, 5}

37
Example 2.3.7. Find the domain and the range for each of the following functions:

(i) f (x) = k where k∈R (ii) g(x) = −5 (iii) h(x) = 2x − 5 (iv) r(x) = 35 x − 1

Soln:

(i) For f (x) = k , we have

Df = {x| x ∈ R} since the function f is dened for all real numbers.

Rf = {k| k ∈ R}

(ii) For g(x) = −5, we have

Dg = {x| x ∈ R} since the function g is dened for all x ∈ R.


Rg = {−5} by inspection

(iii) For h(x) = 2x − 5 we have

Dh = {x| x ∈ R} since the function h is dened for all x ∈ R.


Rh : We can make x the subject;

y =2x − 5
2x =y + 5
y+5
x=
2

y+5
Therefore, Rh = {y| y ∈ R} since
2
is dened for all y∈R

(iv) For r(x) = 35 x − 1, we have

Dr = {x| x ∈ R} since the function r is dened for all real numbers.

Rh : We can make x the subject;

3
y = x−1
5
3
x =y + 1
5
5y + 5
x=
3

5y+5
Therefore, Rr = {y| y ∈ R} since
3
is dened for all y∈R

Example 2.3.8. Find the domain and the range for each of the following functions:

1 3 x−2 1−2x 1
(i) f (x) = x
(ii) g(x) = x+1
(iii) h(x) = 5x+1
(iv) r(x) = x+1
(v) s(x) = x2 +1

Soln:
1
(i) For f (x) = x
, we have

Df = {x| x 6= 0, x ∈ R} since the function f is dened for all real numbers except 0.

38
Rh : We can make x the subject;

1
y=
x
xy =1
1
x=
y

1
Therefore, Rf = {y| y 6= 0, y ∈ R} since
y
is dened for all y∈R provided y 6= 0

3
(ii) For g(x) = x+1
, denominator must not be zero as division by zero is undened. Thus

x + 1 6= 0
x 6= − 1

3
Dg = {x| x 6= −1, x ∈ R} since
x+1
is dened for all real numbers except −1.
Rg : We make x the subject;

3
y=
x+1
y(x + 1) =3
xy + y =3
xy =3 − y
3−y
x=
y

3−y
Therefore, Rg = {y| y 6= 0, y ∈ R} since
y
is dened for all y∈R provided y 6= 0

x−2
(iii) For h(x) = 5x+1
, denominator must not be zero as division by zero is undened. Thus

5x + 1 6= 0
5x 6= − 1
1
x 6= −
5

Dh = {x| x 6= − 51 , x ∈ R} since
x−2
5x+1
is dened for all real numbers except − 15 .
R: We make x the subject;

x−2
y=
5x + 1
y(5x + 1) =x − 2
5xy + y =x − 2
x − 5xy =y + 2
x(1 − 5y) =y + 2
y+2
x=
1 − 5y

39
y+2
Therefore, Rh = {y| y 6= 15 , y ∈ R} since
1−5y
is dened for all y ∈ R provided y 6= 1
5

1−2x
(iv) For r(x) = x+1
, denominator must not be zero as division by zero is undened. Thus

x + 1 6= 0
x 6= − 1

1−2x
Dr = {x| x 6= −1, x ∈ R} since
x+1
is dened for all real numbers except −1.
Rr : We make x the subject;

1 − 2x
y=
x+1
y(x + 1) =1 − 2x
xy + 2x =1 − y
x(y + 2) =1 − y
1−y
x=
y+2

1−y
Therefore, Rr = {y| y 6= −2, y ∈ R} since
y+2
is dened for all y∈R provided y 6= −2

1
(v) For s(x) = x2 +1
, denominator can not be zero for any real number x. We see that,

x2 + 1 > 0
1
for all real values x ∈ R. whether x is negative, positive or zero,
x2 +1
makes sense. Hence,

Ds ={x| x ∈ R}
=(−∞, ∞)
1
since is dened for all real numbers.
x2 +1

Rs : We make x the subject;

1
y=
x2 +1
y(x2 + 1) =1
x2 y + y =1
x2 y =1 − y
1−y
x2 =
y
r
1−y
x=±
y

Three cases arise here

• y 6= 0

40
• 1−y ≥0 implying that y≤1

• y>0
q
1−y
Therefore, Rs = {y| 0 < y ≤ 1, y ∈ R} since ± y
is dened for all y ∈ (0, 1].

Example 2.3.9. Find the domain and the range for each of the following functions:
√ √ √ √
(i) f (x) = x + 1 (ii) g(x) = −x − 1 (iii) h(x) = 2x + 7 (v) r(x) = √x−3
4−x

Soln:

(i) For f (x) = x + 1, we need x+1≥0 as the square root of a negative number is not
real. Hence;

x + 1 ≥0
x≥−1

Df = {x| x ≥ −1, x ∈ R} since f (x) is dened for all real numbers in the interval [−1, ∞).

Rf : The range for this function can be determined as follows;


y = x+1
y 2 =x + 1
x =y 2 − 1

Therefore, Rf = {y| y ≥ 0 y ∈ R} = [0, ∞) since y2 − 1 is dened for all y ∈ [0, ∞)


ii) For g(x) = −x − 1, we need −x − 1 ≥ 0 as the square root of negative numbers is not
real. Hence;

−x − 1 ≥0
x + 1 ≤0
x≤−1

Dg = {x| x ≤ −1, x ∈ R} = (−∞, −1] since g(x) is dened for all real numbers in the
interval (−∞, −1].

Rg : The range for this function can be determined as follows;


y = −x − 1
y2 = − x − 1
x = − y2 − 1

Therefore, Rg = {y| y ≥ 0 y ∈ R} = [0, ∞) since − y2 − 1 is dened for all y ∈ [0, ∞)

41

iii) For h(x) = 2x + 7 we need 2x + 7 ≥ 0 as the square root of negative numbers is not
real. Hence;

2x + 7 ≥0
2x+ ≥ − 7
−7
x≥
2

−7
Dh = {x| x ≥ 2
,x ∈ R} since h(x) is dened for all real numbers in the interval [ −7
2
, ∞).

Similarly, we see that, Rh = {y| y ≥ 0 y ∈ R} = [0, ∞)



iv) For r(x) = √x−3 , we need x−3≥0 for the numerator, and 4−x>0 for the denominator.
4−x
Hence we have
x≥3 and x<4
.

Therefore, Dr = {x| 3 ≤ x < 4, x ∈ R} = [3, 4) since r(x) is dened only for all x ∈ [3, 4).

Similarly, we see that, Rr = {y| y ≥ 0 y ∈ R} = [0, ∞)


1 − 2x if x ≤ −1;
Example 2.3.10. Let g(x) =
x2 − 2 if x > −1.
a) Find: i) g(−3) ii) g(−1) iii) g(1) b) Find the values of a for which g(a) = 14.

Sol: a) This function has a partitioned domain at x = −1


i) Since −3 < −1, we use g(x) = 1 − 2x so that we have g(−3) = 1 − 2(−3) = 7
ii) Similarly, g(−1) = 1 − 3(−1) = 4
iii) Since 1 > −1, we use g(x) = x2 − 2 so that g(1) = (1)2 − 2 = −1
b) From g(x) = 1 − 2x, we have 1 − 2a = 14 =⇒ a = − 13
2
2
. From g(x) = x − 2, we have
a − 2 = 14 =⇒ x2 = 16 =⇒ x = ±4. we discard −4 since −4 < −1 and say x = 4. Hence, the
2
13
required values of a are − and x = 4.
2

2.3.3 Composite Functions


Denition 2.3.4. Let f and g be functions. The composition of f with g , denoted by f og is
given by (f og)(x) = f [g(x)]. Similarly, the composition of g with f denoted by gof is given as
(gof )(x) = g[f (x)]

Note that in general, (f og)(x) 6= (gof )(x).

Example 2.3.11. Given that f (x) = 1


2x−1
and g(x) = x + 3, nd:

(i) (f og)(x) (ii) (gof )(x)

42
Soln:

(i)

(f og)(x) =f [g(x)]
1
=
2[g(x)] − 1
1
=
2[x + 3] − 1
1
=
2x + 2

(ii)

(gof )(x) =g[f (x)]


=[f (x)] + 3
1
=[ ]+3
2x − 1
1
= +3
2x − 1
1 + 3(2x − 1)
=
2x − 1
6x − 2
=
2x − 1


Example 2.3.12. Given that f (x) = 2−x and g(x) = 2
x+1
, nd:

(i) the domain of (gof )(x) (ii) (gof )(−3) (iii) (gof )(2) (iv) (gof )(0)

Soln:

(i) We rst nd the composition (gof )(x) as we did above.

(gof )(x) =g[f (x)]


2
=
[f (x)] + 1
2
=√
[ 2 − x] + 1
2
=√
2−x+1
2
=√
2−x+1

For the domain, we need 2−x≥0 implying that x ≤ 2. Hence domain, Dgof = (−∞, 2]
(ii) Simply substitute x for −3.

43
2
(gof )(−3) = p
2 − (−3) + 1
2
=√
5+1

(iii) Similarly,

2
(gof )(−2) = p
2 − (2) + 1
2
=√
0+1
=2

(iv) Similarly,

2
(gof )(k) = p
2 − (k) + 1
2
=√
2−k+1

2.3.4 Inverse Functions


Denition 2.3.5. Let f : X 7→ Y be a bijective function from set X to set Y . An inverse
function of f denoted f −1 is another function that maps elements from Y to X .

Note that both f and f −1 must be bijective. The graphs of the two functions f and f −1 are
symmetric about the line y = x

Example 2.3.13. Find the inverse of each of the following functions:

1

(i) f (x) = x + 1 (ii) g(x) = 2x−1
(iii) h(x) = −1 − x

Soln:

(i) To nd the inverse of a function, it is customary to make x the subject of the
formula

y =f (x)
y =x + 1
x =y − 1

Therefore, f −1 (x) = x − 1 is the inverse function of f (x) = x + 1

44
(ii) Similarly,

y =g(x)
1
y=
2x − 1
(2x − 1)y =1
2xy =1 + y
1+y
x=
2y

Therefore, g −1 (x) = 1+x


2x
is the inverse function of g(x) = 1
2x−1

(iii) Similarly

y =h(x)

y = −1 − x
y2 = − 1 − x
x = − 1 − y2

Therefore, h−1 (x) = x − 1 is the inverse function of h(x) = x + 1

Example 2.3.14. Given the function f (x) = 4


3x+2
and g(x) = 2x − 3, nd (g ◦ f )−1 (x) and
state its domain.

Sol:

(g ◦ f )(x) =g[f (x)]


=2[f (x)] − 3
 
4
=2 −3
3x + 2
8 − 3(3x + 2)
=
3x + 2
2 − 9x
= make x the subject to get (g ◦ f )−1
3x + 2

2 − 9x
y=
3x + 2
y(3x + 2) =2 − 9x
3xy + 9x =2 − 2y
x(3y − 9) =2 − 2y
2 − 2y 2 − 2x
x= Hence, (g ◦ f )−1 (x) =
3y − 9 3x − 9
For the domain, we need 3x − 9 6= 0 =⇒ x 6= 3. Hence, D(g◦f )−1 = {x| x 6= 3, x ∈ R}

45
3
Linear Functions
3.1. Introduction
We have looked at functions in general. We now turn our attention to a specic type of functions
called the linear functions. These are some of the most basic functions, yet very useful. They
are used extensively in applied science to show the relationship between two quantities that are
linearly related.

Denition 3.1.1. A linear function in the variable x with real constants m and c, is a function
of the form
f (x) = mx + c

Example 3.1.1. The following are some examples of linear functions;

3
i) f (x) = 2x + 7 ii) g(x) = x iii) h(x) = 2 − 5x iv) k(x) = 11
x −1

3.2. Graphs of Linear Functions


The term linear functions implies that the graph of any Linear function is a straight line.
Quite often, the domain and the range will comprise of all real numbers unless some specic
restrictions are imposed on the function. If f (x) = mx + c is a linear function, the graph
of this function, denoted y = mx + c is a straight line whose gradient or slope is m and the
Y −intercept is c. We will examine various techniques for sketching the graphs of these linear
functions.

Example 3.2.1. Sketch the graph of f (x) = x. Hence, state the domain and the range of this
function.

Sol: The graph of this function passes through all points such that y = x. Hence,

46
y

1
x
1

From the graph, we can see that

Df = {x| x ∈ R} = (−∞, ∞) and Rf = {y| y ∈ R} = (−∞, ∞)

Example 3.2.2. Sketch the graph of f (x) = −x. Hence, state the domain and the range for
this function.

Sol: Exercise

Example 3.2.3. Given the function f (x) = 2x + 1, sketch the graph. Hence or otherwise,
state the domain and the range for this function.

Sol: The graph of this function is given by y = 2x + 1. Further, to sketch the graph of any
linear function, we just need two points through which the graph passes.

when x = 0, then y = 2(0) + 1 = 1. Hence, the graph passes through the point (0, 1)
when y = 0, then 0 = 2x + 1 =⇒ x = − 12 . Hence, the graph passes through the point (− 21 , 0)

1
x

From the graph, we can see that

Df = {x| x ∈ R} = (−∞, ∞) and Rf = {y| y ∈ R} = (−∞, ∞)

47
Example 3.2.4. Sketch the graph of f (x) = 7 − 3x. Hence, state the domain and the range
for this function.

Sol: Exercise

Example 3.2.5. Given the function f (x) = −2, sketch the graph. Hence or otherwise, state
the domain and the range for this function.

Sol: Note that this is just a straight line through (x, −2) for all values of x and is parallel to
the X−axis.

−2

we can see that


Df = {x| x ∈ R} = (−∞, ∞) and Rf = {−2}

Note 3.2.1. The following points apply to lines that are either parallel to the X−axis or
parallel to the Y −axis.

• The graph of a line y = k, where k ∈ R is parallel to the X−axis. It represents the graph
of a many to one function, f (x) = k . It has a gradient of zero.

• The graph of a line x = k, where k∈R is parallel to the Y −axis. It is NOT a graph of
a function. The gradient is undened.

Example 3.2.6. Sketch the graphs of the following relations, on the same axes.

7
i) y= 2
ii) y = −5 iii) x = − 25 iv) x=1 v) 2x − 5y = 11

Sol: Exercise

48
3.2.1 Gradient of a Straight Line
The gradient of straight line is a measure of the steepness of that line relative to the X−axis.

Denition 3.2.1. The gradient m, of a straight line L, that passes through two points (x1 , y1 )
and (x2 , y2 ) is given as
y2 − y1
m=
x2 − x1

Example 3.2.7. Find the gradient of a straight line through the points (−5, 3) and (4, 7)

y2 −y1 7−3 4
Sol: Let (x1 , y1 ) = (−5, 3) and (x2 , y2 ) = (4, 7). Then m= x2 −x1
= 4−(−5)
= 9

Example 3.2.8. Find the gradient of the line through the points:

i) (−2, −3) and (3, 5) ii) (−2, 5) and (4, −2) iii) (2, −3) and (2, 11) iv) (−3, −1) and (7, −1)

Sol: Exercise

Note 3.2.2. We take note of the following:

• Parallel lines have equal gradients. Conversely, if two lines have equal gradients, then
they are parallel

• If m1 and m2 are the gradients of two parallel lines, then m1 m2 = −1

• Lines parallel to the X−axis have gradients equal to zero

• Lines parallel to the Y −axis have undened gradients.

3.2.2 Equation of a Straight Line


We can determine the equation of a straight line using the concept of the gradient. The equation
of a strait line can be determined depending on the presented information:

a) Given one point p(x1 , y1 ) on the line and its gradient m: Choosing an arbitrary point
(x, y) on the line, we can show that the equation is given by

y − y1 = m(x − x1 )

b) Given two points A(x1 , y1 ) and B(x2 , y2 ) on the line: Choosing an arbitrary point (x, y)
on this line and using the concept of a straight line, we can show that the equation of the line
is given by
y − y1 x − x1
=
y2 − y1 x2 − x1

49
Example 3.2.9. Determine the equation of the line through the point (1, −1) with gradient
1
. Sketch the graph of this line.
3

1
Sol: Let (x1 , y1 ) = (1, −1) and m= 3
. Then using y − y1 = m(x − x1 ), we have

y − (−1) = 31 (x − 1) =⇒ 3y + 3 = x − 1 which simplies to 3y = x − 4


To sketch the graph we need to know the intercepts. Thus;

Verify that the graph passes through the point (0, − 34 ) and (4, 0)

x
4

Example 3.2.10. Determine the equation of the line through (2, −3) and (−1, 4). Hence or
otherwise, sketch the graph of this line.

y−y1 x−x1
Sol: Let (x1 , y1 ) = (2, −3) and (x2 , y2 ) = (−1, 4). Then, using
y2 −y1
= x2 −x1
, we have

y−(−3) x−2 y+3 x−2


4−(−3)
= −1−2
=⇒ 7
= −3
which simplies to 3y + 7x = 5. The sketch is shown below.

From the graphs above we can see that the domain of a linear function is R and the range is
the same, R

50
3.3. Equations and Inequalities
We now look at some basic equations and inequalities involving linear terms.

Example 3.3.1. Solve the equation −2x + 7 = x − 11

Sol: Collect like terms. −2x + 7 = x − 11 =⇒ −3x = −18 =⇒ x = 6. Hence,

SS = {6}

Example 3.3.2. Solve the inequality −x − 3 ≥ 2x + 7

Sol: Collect like terms. −x − 3 ≥ 2x + 7 =⇒ −3x ≥ 10 =⇒ x ≤ − 10


3
. Hence, the solution set
is given by;    
10 10
SS = x| x ≤ − = −∞, −
3 3

Example 3.3.3. Solve the following pair of simultaneous equations

2x + 3y = −1 (i)
x(x − y) = 2 (ii)

Sol: Use substitution.


−1−2x
From (i), we have y=
3
. Substituting this into equation (ii), we have

−1−2x
x(x − 3
) = 2 so that x( 5x+1
3
) = 2, which simplies to a quadratic equation 5x2 + x − 6 = 0.
5x2 + x − 6 = 0 =⇒ (5x + 6)(x − 1) = 0. This gives x = − 56 and x = 1
−1−2(− 56 )
When x = − 56 , from (i), we get y= 3
= 7
15
−1−2(1)
When x = 1, from (i), we get
3
= −1
Hence, x = − 56 when y= 7
15
and x=1 when y = −1

Example 3.3.4. Find the coordinates of the points where the line x + 2y = 7 meets the curve
2 2
x − 4x + y = 1

Sol: We solve the two equations simultaneously.

x + 2y = 7 (i)

x2 − 4x + y 2 = 1 (ii)

From (i), we have x = 7 − 2y . Substituting for x in (ii), we have

(7 − 2y)2 − 4(7 − 2y) + y 2 = 1 so that 49 − 28y + 4y 2 − 28 + 8y + y 2 − 1 = 0.


This reduces to a quadratic y 2 − 4y + 4 = 0 =⇒ (x − 2)2 = 0. This gives x=2
From (i), x = 7 − 2(2) = 3.
Therefore, the line and the curve meet at the point (2, 3)

51
Example 3.3.5. Solve the following system of linear equations

x + 2y − 3z = 12 (i)

3x − y − 2z = 1 (ii)

2x + 5y + 4z = 18 (iii)

Sol: For now, we will use substitution.

From (i), we have x = 12 + 3z − 2y substituting this for x in (ii) and (iii), we have

3(12 + 3z − 2y) − y − 2z = 1 which simplies to z − y = −5. Similarly,

2(12 + 3z − 2y) + 5y + 4z = 18 which simplies to 10z + y = −6. We now solve the following
simultaneously.
z − y = −5 (iv)

10z + y = −6 (v)

From (iv), we have z = y−5 and substituting this into (v) gives 10(y − 5) + y = −6 so that
we have 11y = 44 =⇒ y = 4.
Now we can use (iv), i.e z − 4 = −5 =⇒ z = −1. Further, using (i), we have

x = 12 + 3z − 2y =⇒ x = 12 + 3(−1) − 2(4) = 1
Therefore, x = 1, y = 4 and z = −1. The solution set,

SS = {(1, 4, −1)}

Example 3.3.6. Solve the following system of linear equations

21x + 35y − 7z = −125 (i)

7x + 7y + 7z = −8 (ii)

2x − 2y + 7z = 21 (iii)

Example 3.3.7. Solve the following system of linear equations

2x − 3y + z = −10 (i)

3x + 7y − 2z = 8 (ii)

6x + 5y − 4z = −1 (iii)

Example 3.3.8. Solve the following system of linear equations

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

3x + 7y − 8z = 0 (ii)

12z − 13y + 2x = 4 (iii)

Sol: Exercise

52
4
Quadratic Functions
4.1. Introduction
We now study one of the most important functions in mathematics, the quadratic function.
It is a polynomial of degree two. This function is used to model a wide variety of random
phenomenon. Its applications ranges from the elds of economics, social sciences and natural
sciences.

Denition 4.1.1. A quadratic function in x variable, with real constants a, b and c, is a


function of the form
f (x) = ax2 + bx + c

Note:

• when c = 0, then we have f (x) = ax2 + bx, which is still a quadratic function.

• when c=0 and b=0 then we have f (x) = ax2 , which is also still a quadratic function.

• when a=0 the its no longer a quadratic function.

Denition 4.1.2. An equation of the form ax2 + bx + c = 0 is called a quadratic equation in


terms of the random variable x.

2
We should distinguish the quadratic function f (x) = ax + bx and the quadratic equation
ax2 + bx + c = 0. Before we study the quadratic function further, we need to explore some nice
features of the quadratic equation.

4.2. Roots of a Quadratic Equation


The values of x which satisfy the quadratic equation ax2 + bx + c = 0 are called roots of the
quadratic equation. The roots are also referred to as the solutions or zeros of the quadratic
equation. Roots maybe real numbers or indeed complex numbers. The concept of roots is
vital to the understanding of the quadratic function. To determine the roots of the quadratic
2
equation, we need to solve the equation ax + bx + c = 0. Thus, it is very important that we
develop that necessary skill of solving quadratic equations

53
Methods of Solving Quadratic Equations

We will consider three methods of solving the quadratic equation. Note that when we are
2
solving the quadratic equation ax + bx + c = 0, we are simply nding its roots.

1. Factorisation:
This is arguably the simplest method when the roots are rational. The following steps
are involved:

i) obtain the product: P = ac


ii) obtain the sum: S=b
iii) nd two factors whose product P = ac and whose sum is S = b.
iv) substitute b from the quadratic equation with the two numbers, then factorise.

Example 4.2.1. Use the factorization method to solve the following quadratic equations:
2
(i) 2x +7x−15 = 0 (ii) −5x2 −3x+2 = 0 (iii) x2 −x−2 = 0 (iv) 5x2 −6x−2 = 0

Soln:

(i) For 2x2 + 7x − 15 = 0, we have a = 2, b = 7, c = −15.


P : ac = (2)(−15) = −30
S : b = 7.
factors: +10 and −3
We now factorise as follows:

2x2 + 7x − 15 =0
2x2 + 10x − 3x − 15 =0
2x(x + 5) − 3x(x + 5) =0
(2x − 3)(x + 5) =0

3
So either (2x − 3) = 0 or (x + 5) = 0 implying that either x= 2
or x = −5

(ii) For −5x2 − 3x + 2 = 0, we have a = −5, b = −3, c = 2.


P : ac = −10
S : b = −3.
factors: −5 and 2

−5x2 − 3x + 2 =0
−5x2 − 5x + 2x + 2 =0
−5x(x + 1) + 2(x + 1) =0
(−5x + 2)(x + 1) =0

So either (−5x + 2) = 0 or (x + 1) = 0.
2
Therefore, x= 5
or x = −1

54
(iii) For x2 − x − 2 = 0, we have a = 1, b = −1, c = −2.
P : ac = −2
S : b = −1.
factors: 1 and −2

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

So either (x − 2) = 0 or (x + 1) = 0 implying that either x=2 or x = −1


Hence the roots are x=2 and x = −1

(iv) For 5x2 −6x−2 = 0, the factorization can not work (Verify). This is because the
roots are not rational numbers. In parts (i)-(iii) of our example we see that all obtained
roots were rational.

2. Completing the Square:


This is a more general approach of solving quadratic equations. It can be used whether
the roots are real or complex.The following steps are involved:

i) write the terms with the unknown variable on one side.

ii) divide through by the coecient of x2


iii) add the square of half the coecient of x
iv) factorise the side with the variables and then solve

Example 4.2.2. Given ax2 + bx + c = 0, complete the square.

Soln:

ax2 + bx + c =0
b c
x2 + x + =0
a a
2 b c
x + x=−
a a
 2  2
2 b b c b
x + x+ =− +
a 2a a 2a
 2 2
b b − 4ac
x+ =
2a 4a2

Example 4.2.3. Given 2x2 + 7x + 5 = 0, complete the square.

55
Soln:

2x2 + 7x + 5 =0
7 5
x2 + x + =0
2 2
7 5
x2 + x = −
2 2
 2  2
2 7 7 5 7
x + x+ =− +
2 4 2 4
 2
7 9
x+ =
4 16

Example 4.2.4. By completing the square, solve the quadratic equation 5x2 −6x−2 = 0.

Soln:

5x2 − 6x − 2 =0
5x2 − 6x =2
6 2
x2 − x =
5 5
 2  2
2 6 3 2 3
x − x+ − = + −
5 5 5 5
 2
3 19
x− =
5 25
r
3 19
x− =±
5 25
r
3 19
x= ±
5 25
√ √
3+ 19 3− 19
Hence, x= 5
or x= 5

Example 4.2.5. Given 9 − 2x − 5x2 = 0, complete the square. Hence, nd the roots of
the quadratic equation.

Soln: Exercise

3. Quadratic Formula
This formula is just a consequence of the method of completing the square. If f (x) =
ax2 + bx + c, by completing the square, we get:

56
ax2 + bx + c =0
b c
x2 + x + =0
a a
b c
x2 + x = −
a a
 2  2
2 b b c b
x + x+ =− +
a 2a a 2a
2
b2 − 4ac

b
x+ =
2a 4a2
r
b b2 − 4ac
x+ =± 2
2a 4a
r
b b2 − 4ac
x=− ±
2a √ 4a2
b b2 − 4ac
x=− ±
2a √ 2a
2
−b ± b − 4ac
x=
2a

Hence for any quadratic f (x) = ax2 + bx + c, the quadratic formula


−b ± b2 − 4ac
x=
2a
can be used to determine the roots

Example 4.2.6. Solve the equation 3x2 − 7x − 11 = 0

Soln: a = 3, b = −7 and c = −11. Using the formula, we have;



−b ± b2 − 4ac
x=
2a p
−(−7) ± (−7)2 − 4(3)(−11)
=
2(3)

7 ± 49 + 132
=
2(3)

7 ± 181
=
6

√ √
7+ 181 7− 181
Hence, x= 6
or x= 6

4.2.1 Nature of Roots and The Discriminant


We now turn to our attention to the nature of the roots of a quadratic equation.

57
Denition 4.2.1. The discriminant D of a quadratic equation ax2 + bx + c = 0 is given by
D = b2 − 4ac

The concept of a discriminant is very important to the understanding of the nature of roots.
There are basically three types of roots, depending on the discriminant.

1. If the discriminant is positive, i.e b2 −4ac > 0, then the quadratic equation ax2 +bx+c = 0
has two distinct real roots.

2. If the discriminant is zero, i.e b2 − 4ac = 0, then the quadratic equation ax2 + bx + c = 0
has two equal real roots. Having two equal roots is the same as having only one root.

3. If the discriminant is negative, i.e b2 −4ac < 0, then the quadratic equation ax2 +bx+c = 0
has no real roots. It has complex roots

Example 4.2.7. Determine the nature of the roots of the equation 4x2 − 7x + 3 = 0

Sol: a = 4, b = −7 and c=3


Then b2 − 4ac = (−7)2 − 4(4)(3) = 1 > 0.
Since b2 − 4ac > 0, the equation 4x2 − 7x + 3 = 0 has two distinct real roots.

Example 4.2.8. Determine the nature of the roots of the equation x2 + 6x + 9 = 0

Sol: a = 1, b = 6 and c=9


Then b2 − 4ac = (6)2 − 4(1)(9) = 0.
Since b2 − 4ac = 0, the equation x6 x + 9 = 0 has two equal real roots.(one root)

Example 4.2.9. Determine the nature of the roots of the equation 5x2 − x + 9 = 0

Sol: a = 5, b = −1 and c=9


Then b2 − 4ac = (−1)2 − 4(5)(9) = −179 < 0.
Since b2 − 4ac < 0, the equation 5x2 − x + 9 = 0 has no real roots. (it has complex roots)

Example 4.2.10. For what values of k does the equation 4x2 + kx + 9 = 0 have equal roots?

Sol: a = 4, b = k and c = 9. For equal roots, we need b2 − 4ac = 0


Hence,

b2 − 4ac =0
(k)2 − 4(4)(9) =0
k 2 − 144 =0
(k + 12)(k − 12) =0

Hence, k = −12 and k = 12

58
4.2.2 Sum and Product of the Roots
Let α and β be the roots of the quadratic ax2 + bx + c = 0. We will examine the relationship
that exists between the roots and the coecients. Since α and β are roots of the quadratic
ax2 + bx + c = 0, we can assume that
√ √
−b + b2 − 4ac −b − b2 − 4ac
α= and β=
2a 2a

Now, for ax2 + bx + c = 0, we can divide through by a to get;

x2 + ab x + c
a
= 0(i)
Also, since Since α and β are roots of the quadratic ax2 + bx + c = 0, we can write

(x−α)(x−β) = 0-(ii)
equating (i) and (ii), we get

b c
x2 + x + = (x − α)(x − β)
a a
.
b c
x2 + x + = x2 − (α + β)x + αβ
a a
Comparing the terms, we get
b
α+β =−
a
and
c
αβ =
a
which denote the sum and the product of the roots of the quadratic equation respectively.

Example 4.2.11. Find the sum and the product of the roots of 2x2 − 3x + 1 = 0

Sol: a = 2, b = −3 and c = 1.
Let α and β be the roots of 2x2 − 3x + 1 = 0.
Then α + β = − ab = − (−3)
2
= 3
2
c 1
and αβ = a
= 2

Some Important Identities:

• α3 − β 3 = (α − β)(α2 + αβ + β 2 )

• α3 + β 3 = (α + β)(α2 − αβ + β 2 )

• α2 − β 2 = (α − β)(α + β)

Example 4.2.12. If the roots of the quadratic 3x2 − 5x + 1 = 0 are α and β, nd the value of

1 1
i) α2 + β 2 ii)
α
+ β
iii) α3 + β 3

59
Sol: a = 3, b = −5 and c = 1.
We have α + β = − ab = − (−5)
3
= 5
3
and αβ = c
a
= 1
3

Therefore, (i)

α2 + β 2 =(α + β)2 − 2αβ


 2  
5 1
= −2
3 3
25 2
= −
9 3
19
=
9

(ii)

1 1 β+α
+ =
α β αβ
5
= 31
3
5 3
= ×
3 1
=5

(iii)

α3 + β 3 =(α + β)(α2 + β 2 − 2αβ)


  
5 19 1
= −
3 9 3
5 16
= ×
3 9
80
=
27

Example 4.2.13. The roots of x2 − 2x + 3 = 0 are α and β. Find the equation whose roots
are α+2 and β+2

Sol: Exercise

Example 4.2.14. Find the value of k if the roots of 3x2 + 5x − k = 0 dier by 2.

Sol: Exercise

60
4.3. Graphs of Quadratic Functions
Let f (x) = x2 + bx + c be any quadratic function. The graph y = x2 + bx + c of any quadratic
function is a parabola. If a > 0, the parabola opens upwards (cup-shaped). If a < 0, the
parabola opens downwards (cap-shaped). To sketch the graph of a quadratic function, the
following must be determined:

• orientation: To determine the orientation of the parabola, the constant a is used. If


a > 0, the parabola opens upwards (cup-shaped). If a < 0, the parabola opens downwards
(cap-shaped).

• y-intercept: To determine the Y −intercept, we let x = 0 and evaluate the corresponding


y value. It is easy to see that the graph cuts the Y −axis at the point (0, c).
 
• turning point: b b 4ac−b 2
The turning point occurs when x = − 2a , i.e at the point − 2a , 4a

• x-intercept: To determine the X−intercept, we let y = 0 and evaluate the corresponding


x value(s). This simply means we solve the equation x2 + bx + c = 0 to obtain the roots.
The graph cuts the X−axis at the points α and β , where α and β are just the usual roots
we have discussed.

• Sketch: Once the above quantities are determined, we are ready to sketch the graph
y = x2 + bx + c.

Example 4.3.1. Sketch the graph of f (x) = 2x2 − 7x + 5

Sol: a = 2, b = −7 and c = 5.
i) Since a > 0, the orientation of the graph is cup-shaped, i.e it opens upwards.

ii) f (0) = 2(0)2 − 7(0) + 5 = 5. Hence, the graph cuts the y−axis (0, 5).
at
 2
  2

b 4ac−b
= − (−7) , 4(2)(5)−(−7) = 47 , − 89

iii) The turning point occurs at − 2a , 4a 2(2) 4(2)

iv) 2x2 − 7x + 5 = 0 =⇒ (x − 1)(2x − 5) = 0 =⇒ x = 1 and x = 52 . Hence α = 1 and β = 52


5
are the roots. This means that the graph cuts the x−axis at (1, 0) and , 0 We have what
2
2
we need to sketch the graph of the quadratic function f (x) = 2x − 7x + 5. See below

61
4.3.1 Discriminant and The Graph of a Quadratic Function
2
Let us examine the relationship between the discriminant and the graph of f (x) = x + bx + c.
2
Using the discriminant b − 4ac and the value of a, the graph of a quadratic falls into three
categories, shown below.

y y

x x

y y

x x

y y

x x

62
4.3.2 Maximum and Minimum Values of a Quadratic Function
Let f (x) = x2 + bx + c be a quadratic function. If a < 0, the quadratic has a maximum point.
If a > 0 the quadratic has a minimum point. We need to determine the coordinates of the
Minimum/Maximum points. To do this, recall the concept of completing the square:

Completing the square for a quadratic function f (x) = x2 +bx+c yields the following important
result

f (x) =ax2 + bx + c
 
2 b
=a x + +c
a
 2  2
b b
=a x + − +c
2a 2a
2
4ac − b2

b
=a x + +
2a 4a

Minimum Value

The graph below shows the minimum point of a quadratic curve.

This occurs when a > 0. Further, from the results of completing the square, we see that;

b
• the value x = − 2a attains the minimum value for the quadratic function

b 4ac−b2

• the minimum value for the quadratic function is f − 2a = 4a
 2

b 4ac−b
• hence, the minimum point is − 2a , 4a
2
• the range of f (x) is [ 4ac−b
4a
, ∞)

63
Maximum Value

The graph below shows the maximum point of a quadratic curve.

This occurs when a < 0. Further, form the results of completing the square, we see that;

b
• the value x = − 2a attains the maximum value for the quadratic function

b 4ac−b2

• the maximum value for the quadratic function is f − 2a = 4a
 2

b 4ac−b
• hence, the maximum point is − 2a , 4a
2
• the range of f (x) is (−∞, 4ac−b
4a
]

Example 4.3.2. Complete the square of the quadratic function f (x) = 2x2 − 10x + 22. Hence,
nd the maximum/minimum value of f (x) and the value of x at which it occurs, and sketch
the graph.

Sol: a = 2, b = −10 and c = 22. Since we have a > 0, we have a minimum.

f (x) =2x2 − 10x + 22


 
2 10
=2 x − + 22
2
=2 x2 − 5 + 22

 2  2
5 5
=2 x − −2 − + 22
2 2
 2
5 19
=2 x − +
2 2

From this, the minimum value occurs at x = 52


f 52 = 19

The minimum value of the function is
2

64
5 19

Hence, the minimum point is ,
2 2

Also, the range is Rf = [ 19


2
, ∞)
To sketch the graph, note that f (0) = 22. Hence the graph cuts the Y −axis at the point (0, 22).
To nd the roots, we set y=o and solve;
 2
5 19
2 x− + =0
2 2
 2
5 19
2 x− =−
2 2
 2
5 19
x− =−
2 4
r
5 19
x− =± −
2 4
r
5 19
x= ± −
2 4

5 ± −19
x=
2
Hence, f (x) = 2x2 − 10x + 22 has no real roots. Therefore, it does not cut the X−axis. The
sketch is shown below.

Example 4.3.3. Given the quadratic function f (x) = 2 − 6x − x2 ;


i) complete the square of f (x).
ii) Hence, nd the maximum value of the function f (x), and the value of x at which it occurs.

iii) sketch the graph y = 2 − 6x − x2 and state the range.

Example 4.3.4. Given the quadratic function f (x) = x2 + 7x + 6;


i) complete the square of f (x).
ii) Hence, nd the minimum value of the function f (x), and the value of x at which it occurs.

iii) sketch the graph y = f (x) and state the range.

Sol: Exercise

65
4.4. Quadratic Inequalities
We have looked at ways of solving the quadratic equations. We conclude our discussion of
quadratic functions by looking at the quadratic inequalities. To solve a quadratic inequality
2
such as ax + bx + c ≤ 0, we use any of the two methods:

1. Factorise completely, then use the table of signs to determine the solution set.

OR

2. Sketch the graph of the quadratic and determine the solution set from the graph.

Example 4.4.1. Find the solution set to the inequality x2 + 5x + 8 ≥ 2

Sol: We factorise the expression to obtain critical values

x2 + 5x + 8 ≥2
x2 + 5x + 6 ≥0
x2 + 2x + 3x + 6 ≥0
x(x + 2) + 3(x + 2) ≥0
(x + 2)(x + 3) ≥0

Critical values: x + 2 = 0 =⇒ x = −2 and x + 3 = 0 =⇒ x = −3


Critical values are x = −2 and x = −3

−∞ < x < −3 −3 < x < −2 −2 < x < ∞


x+3 − + +
x+2 − − +
(x + 3)(x + 2) + − +

From the table, the solution set denoted SS is given by

SS = {x| − 3 ≤ x ≤ −2 or x ≥ −2, x ∈ R} OR SS = [−3, −2] ∪ [−2, ∞)

Example 4.4.2. Solve the inequality 2x2 + 7x − 15 < 0

Sol: We factorise the expression to obtain critical values

2x2 + 7x − 15 <0
2x2 + 10x − 3x − 15 <0
2x(x + 5) − 3x(x + 5) <0
(2x − 3)(x + 5) <0
3
Critical values are x= 2
and x = −5

66
3 3
−∞ < x < −5 −5 < x < 2 2
<x<∞
2x − 3 − − +
x+5 − + +
(2x − 3)(x + 5) + − +

The solution set is given by

3
SS = {x| − 5 < x < , x ∈ R}
2
.  
3
SS = −5,
2

Example 4.4.3. Find the solution set to the inequality x2 + x + 2 ≤ 0

Sol: Since b2 − 4ac = 1 − 4(1)(2) = −7, the quadratic has no real roots. Hence it does not cut
the X−axis. Further, note that this quadratic is above the x−axis, it is never negative for all
2
values of x. Therefore,x + x + 2 ≤ 0 has no solutions.

SS = ∅

Example 4.4.4. Find the solution set to the inequality x2 + 1 < 0

Example 4.4.5. Find the solution set to the inequality x2 − 1 ≤ 0

Sol: Exercise

Example 4.4.6. Sketch the graph of f (x) = x2 − 4. Hence, use the graph to nd the solution
2
set to the inequality x − 4 ≥ 0

Sol: The sketch is shown below

Shaded interval is the solution set. ie SS = (−∞, −2] ∪ [2, ∞)

67
5
Polynomial Functions
5.1. Introduction
So far, we have looked at functions of the form f (x) = ax + b, the linear functions and functions
2
of the form f (x) = ax + bx + c, the quadratic functions. Linear functions are polynomials of
degree 1 while quadratics are polynomials of degree 2. We now study polynomials of higher
degree.

Denition 5.1.1. A polynomial of degree n, is a function of the form


f (x) = an xn + an−1 xn−1 + · · · + a1 x + a0
where an , an−1 , · · · , a0 are constants and x is the variable. n is usually an integer.
Note that the highest power of x determines the degree of the polynomial. This is usually
denoted by n.
Example 5.1.1. The following are examples of polynomials and their respective degrees:

f (x) = x3 − 5x2 + x − 7 is a polynomial of degree 3


g(x) = x5 − 5x4 + x3 − 7x2 − 4x + 1 is a polynomial of degree 5
h(x) = x7 + 1 is a polynomial of degree 7
k(x) = x30 − 2x + 5 is a polynomial of degree 30

5.2. Division of Polynomials


Let f (x) be a polynomial of degree n. Then the polynomial f (x) can be decomposed into
polynomials of lower degrees as follows:

f (x) = d(x)q(x) + r(x)


OR
f (x) r(x)
= q(x) +
d(x) d(x)

Where d(x), q(x) and r(x) are polynomials of lower degree than f (x). From the expression
above, d(x) is a polynomial called the divisor, q(x) is called the quotient and r(x) is called the
remainder.

68
Any polynomial f (x) can be expressed in the form

f (x) = d(x)q(x) + r(x)


where q(x) is the quotient, d(x) is the divisor and r(x) is the remainder. We will look at 2
methods used in dividing polynomials.

Long Division

This method can be used to divide a polynomial by a linear factor. The example below demon-
strates the use of long division.

Example 5.2.1. Determine whether x−1 is a factor of the polynomial f (x) = x3 +3x2 +3x+1

Sol: We use long division to determine the remainder.

x2 + 4x + 7
x − 1) x3 + 3x2 + 3x + 1
x 3 − x2
4x2 + 3x + 1
4x2 − 4x + 0
7x + 1
7x − 1
8
2
Hence, the quotient q(x) = x + 4x + 7 and the remainder r(x) = 8
Since the remainder is not 0, we conclude that x − 1 is not a factor of f (x) = x3 + 3x2 + 3x + 1.

Note: In this example,

• x−1 is the divisor, d(x)


• x2 + 4x + 7 is the quotient, q(x)
• 8 is the remainder, r(x)

Example 5.2.2. Determine whether x−1 is a factor of the polynomial g(x) = x3 − x2 − x + 1

Sol: We use long division to determine the remainder.

x2 − 1
x − 1)x3 − x2 − x + 1
x3 − x2
−x+1
−x + 1
0
2
Hence, the quotient q(x) = x − 1 and the remainder r(x) = 0

We see that the remainder is 0. Hence, we conclude that x−1 is a factor of g(x) = x3 −x2 −x+1.

69
Synthetic Division

This method, like long division is used to divide polynomials. arguably, it simplies the process
involved in long division. The example below demonstrates the use of synthetic division.

Example 5.2.3. Determine the quotient and the remainder when f (x) = x3 + 3x2 + 3x + 1 is
divided by x − 1.

Sol: We use synthetic division to determine the remainder. We let x − 1 = 0 =⇒ x = 1. Then


we have

1 3 3 1 all coecints of f (x)


0 1 4 7
1|1 4 7 8 = r(x) remainder

Hence, quotient is q(x) = x2 + 4x + 7 and remainder is r(x) = 8.

Example 5.2.4. Determine the quotient and the remainder when f (x) = 2x3 − 3x2 + 2x is
divided by 2x + 1.

Sol: Let 2x + 1 = 0 =⇒ x = − 21 . Using synthetic division, we have

2 −3 2 0
0 −1 2 −2
1
− |2 −4 4 − 2 = r(x)
2

Hence, quotient is q(x) = 2x2 − 4x + 4 and remainder is r(x) = −2.

Example 5.2.5. Use synthetic division to determine whether x+2 is a factor of 4x4 + x2 − 1

Sol: Let x + 2 = 0 =⇒ x = −2. Using synthetic division, we have

4 0 1 0 −1
0 −8 16 − 34 68
−2|4 −8 17 − 34 67 = r(x)

Hence, quotient is q(x) = 4x2 − 8x3 + 17x − 34 and remainder is r(x) = 67.

5.2.1 The Remainder Theorem


Let us look at an important theorem used in the evaluation of remainders when dividing
polynomials by linear terms. This is known as the remainder theorem.

70
Theorem 5.2.1. Let f (x) be apolynomial of degree n ≥ 2. If f (x) is divided by a linear term
px + q , the remainder is f − pq .

Example 5.2.6. Find the remainder when f (x) = x3 − x2 + 3x − 2 is divided by x+2

Sol: let x+2=0 so that x = −2.


Then, f (−2) = (−2)3 − (−2)2 + 3(−2) − 2 = −20.
The remainder is −20

Example 5.2.7. Find the remainder when f (x) = x3 − x2 + 3x − 2 is divided by 2x − 1

Sol: let 2x − 1 = 0 so that x = 21 .


3 2
f 21 = 21 − 21 + 3( 21 ) − 2 = − 58 .

Then,

The remainder is − 58

Example 5.2.8. Let f (x) = x3 + rx2 + tx − 3 be a polynomial. When f (x) is divided by x − 1


and x + 1, the remainders are 1 and −9 respectively. Find the values of r and t.

Sol:

Dividing by x − 1 gives remainder=f (1) = (1)3 + r(1)2 + t(1) − 3 = r + t − 2. Hence, r+t−2 = 1


Dividing by x+1 gives remainder=f (−1) = (−1)3 + r(−1)2 + t(−1) − 3 = r − t − 4. Hence,
r − t − 4 = −9
Solving r+t−2=1 and r − t − 4 = −9 simultaneously for r and t gives, r = −1 and t=4

5.2.2 Factor Theorem


We now turn our attention to another important theorem, the factor theorem. This theorem
basically adds on to the remainder theorem and aids us in the determination of factors of
polynomials. This is important in factorization of polynomials.
 
Theorem 5.2.2. Let f(x) be a polynomial of degree n and px+q be a linear term. If f − pq = 0,
 
then px + q is a factor of f (x). Conversely, if px + q is a factor of f (x), then f − pq = 0.

Example 5.2.9. Show that x−1 is a factor of f (x) = x3 − 6x2 − x + 6

Sol: let x−1=0 so that x = 1.


Then, f (1) = (1)3 − 6(1)2 − (1) + 6 = 0.
Since the remainder is 0, x − 1 is a factor of f (x) = x3 − 6x2 − x + 6

71
Example 5.2.10. The expression f (x) = 2x3 + ux2 + vx − 2 is exactly divisible by x−2 and
2x + 1. Find the values of u and v.

Sol:

Dividing f (x) by x−2 gives remainder=f (2) = 2(2)3 + u(2)2 + v(2) − 2 = 16 + 4u + 2v − 2


Since x−2 is a factor, 16 + 4u + 2v − 2 = 0 so that 2u + v = −7
Similarly,
3 2
− 21 = 2 − 12 + u − 12 + v − 21 − 2
 
Dividing f (x) by 2x + 1 gives remainder=f

This gives − 14 + u
4
− v
2
−2=0 so that u − 2v = 9
Solving 2u + v = −7 and u − 2v = 9 simultaneously gives u = −1 and v = −5.

5.3. Roots of Polynomials


To determine the roots of a polynomial equation an xn + an−1 xn−1 + · · · + a1 x + a0 = 0, we
rst need to factorise and then equate each of the factors to zero. However, factorization is not
straight forward as it involves a trial and error approach. To simplify our search, we may use
the following approach:

Suppose we have a polynomial f (x) = an xn +an−1 xn−1 +· · ·+a1 x+a0 , and we wish to determine
the roots of the equation f (x) = 0 i.e an xn + an−1 xn−1 + · · · + a1 x + a0 = 0. Then;

• obtain the factors of the constant term a0

• obtain factors of an (the coecient of the highest power of x)

• divide factors of a0 by factors of an . This gives possible rational roots.


• use the factor and remainder theorems, or synthetic division to obtain the actual roots
of f (x)

Example 5.3.1. Solve the equation 2x3 + 3x2 − 3x − 2 = 0

Sol: Here, a0 = −2 and an = 2


coecients of −2: ±1, ±2
coecients of 2: ±1, ±2
Possible factors: ±1, ±2, ± 21
To nd the actual factors, we use the Remainder and Factor Theorems.

f (1) = 2(1)3 + 3(1)2 − 3(1) − 2 = 0. x−1


is a factor. Letting x − 1 = 0, gives x = 1,
Hence
3 2
which is one of the roots. To nd the remaining roots, we divide 2x + 3x − 3x − 2 by the
found linear factor x − 1. You can use long division or synthetic division.

72
We use synthetic division:

2 3 −3 −2
0 2 5 2
1|2 5 2 0 = r(x)

This gives quotient q(x) = 2x2 + 5x + 2 and remainder as r(x) = 0.


Hence, 2x3 + 3x2 − 3x − 2 = (x − 1)(2x2 + 5x + 2) = (x − 1)(2x + 1)(x + 2)
Since2x3 + 3x2 − 3x − 2 = 0, we have (x − 1)(2x + 1)(x + 2) = 0 so that x=1 or x = − 12 or
x = −2
Therefore, the solution set is {1, − 21 , −2}

Example 5.3.2. Given that f (x) = x3 − 3x2 + x + 2, solve f (x) = 0

Sol: Here, a0 = 2 and an = 1


coecients of 2: ±1, ±2
coecients of 1: ±1
Possible factors: ±1, ±2
To nd the actual factors, we use the Remainder and Factor Theorems.

f (1) = (1)3 − 3(1)2 + (1) + 2 = 1 − 3 + 1 + 2 = 1 6= 0. Hence x−1 is not a factor.

f (−1) = (−1)3 − 3(−1)2 + (−1) + 2 = −1 − 3 − 1 + 2 6= 0. Hence x+1 is not a factor.

f (2) = (2)3 − 3(2)2 + (2) + 2 = 8 − 12 + 2 + 2 = 0. Hence x−2 is a factor.

We can now apply the synthetic division:

1 −3 1 2
0 2 −2 −2
2|1 −1 −1 0 = r(x)

This gives quotient q(x) = x2 − x − 1 and remainder as r(x) = 0 so that

x3 − 3x2 + x + 2 = (x − 2)(x2 − x − 1). Verify that x2 − x − 1 can not be factorised any further.
Since x3 − 3x2 + x + 2 = 0, we have (x − 2)(x2 − x − 1) = 0 so that x=2
Therefore, the solution set is {2}

5.4. Graphs of Polynomial Functions


We have looked at ways of sketching the graphs of linear and quadratic functions. We extend
our discussion to the sketching of graphs of polynomials of higher degrees.

73
Example 5.4.1. Sketch the graph of the polynomial function f (x) = (x − 1)(x + 2)(x − 4)

Sol: The y−intercept is determined by letting x = 0. Thus f (0) = (0 − 1)(0 + 2)(0 − 4) = 8


To determine the x−intercepts, we let f (x) = 0 and solve the polynomial equation. Thus, we
have

(x − 1)(x + 2)(x − 4) =0
so that (x − 1) = 0, (x + 2) = 0 or (x − 4) = 0
Hence, x = 1, x = −2 and x = 4

x
−2 1 4

Example 5.4.2. Sketch the graph of the function f (x) = 2x3 + 3x2 − 3x − 2

Sol: The y−intercept is determined by letting x = 0. Thus f (0) = 2(0)3 +3(0)2 −3(0)−2 = −2
To determine the x−intercepts, we let f (x) = 0 and solve the polynomial equation. Thus, we
have

2x3 + 3x2 − 3x − 2 = 0
1
(x − 1)(x + 2)(x + ) =0
2
1
so that (x − 1) = 0, (x + 2) = 0 or (x + ) = 0
2
1
Hence, x = 1, x = −2 and x=−
2
y

−2

The technique in sketching the graphs of polynomial function involves determining the intercept.
Further technique of determining the turning points will be discussed after covering calculus.

74
5.5. Polynomial Inequalities
We have looked at polynomial equations of the form f (x) = 0, whose results are just the roots
of the polynomial or values of x for which the equation holds. We now look at the polynomial
inequalities whose solutions are innite sets of real numbers.

Example 5.5.1. Solve the inequality (x + 3)(x + 1)(x − 2) ≥ 0

Sol: First, obtain the critical values: (x + 3)(x + 1)(x − 2) = 0 so that x = −3, x = −1 and
x=2 are the critical points. Constructing the table of signs, we have;

factors −∞ < x < −3 −3 < x < −1 −1 < x < 2 2<x<∞


x+3 − + + +
x+1 − − + +
x−2 − − − +
(x + 3)(x + 1)(x − 2) − + − +

From the table,

SS = {x| − 3 ≤ x ≤ −1 or x ≥ 2, x ∈ R} = [−3, −1] ∪ [2, ∞)

Example 5.5.2. Solve the inequality (x + 5)(x + 1)(x − 5) < 0

Sol: First, obtain the critical values: (x + 5)(x + 1)(x − 5) = 0 so that x = −5, x = −1 and
x=5 are the critical points. Constructing the table of signs, we have;

factors −∞ < x < −5 −5 < x < −1 −1 < x < 5 5<x<∞


x+5 − + + +
x+1 − − + +
x−5 − − − +
(x + 5)(x + 1)(x − 5) − + − +

From the table,

SS = {x| x < −5 or − 1 < x < 5, x ∈ R} = (−∞, −5) ∪ (−1, 5)

Example 5.5.3. Solve the polynomial inequality 2x3 + 3x2 − 3x − 2 ≤ 0

Sol: We rst determine the critical values by factorisation:

2x3 + 3x2 − 3x − 2 ≤ 0
(x − 1)(2x2 + 5x + 2) ≤ 0
(x − 1)(2x + 1)(x + 2) ≤ 0
Therefore, the critical values are: x = 1, x = − 21 and x = −2. We now construct the table
of signs as shown below:

75
factors −∞ < x < −2 −2 < x < − 12 − 12 < x < 1 1<x<∞
x−1 − − − +
2x + 1 − − + +
x+2 − + + +
(x − 1)(2x + 1)(x + 2) − + − +

From the table,

1 1
SS = {x| x ≤ −2 or − ≤ x ≤ 1, x ∈ R} = (−∞, −2] ∪ [− , 1]
2 2

Example 5.5.4. Solve the inequality 6x3 − 5x2 ≥ 7x − 4

Sol: Factorise to obtain the critical values:

6x3 − 5x2 ≥ 7x − 4
6x3 − 5x2 − 7x + 4 ≥ 0
(3x − 4)(2x − 1)(x + 1) ≥ 0
4 1
Critical values are: x= 3
, x= 2
, and x = −1. We now construct the table of
signs as shown below:

1 1 4 4
factors −∞ < x < −1 −1 < x < 2 2
<x< 3 3
<x<∞
3x − 4 − − − +
2x − 1 − − + +
x+1 − + + +
(3x − 4)(2x − 1)(x + 1) − + − +

From the table,

1 4 1 4
SS = {x| − 1 ≤ x ≤ or x ≥ , x ∈ R} = [−1, ] ∪ [ , ∞)
2 3 2 3

Example 5.5.5. Solve the inequality x(2 − x)(3 + x) < 0

Sol: Critical values are: x = 0, x=2 and x = −3


factors −∞ < x < −3 −3 < x < 0 0<x<2 2<x<∞
x − − + +
2−x + + + −
3+x − + + +
x(2 − x)(3 + x) + − + −

From the table,

SS = {x| − 3 < x < 0 or x > 2, x ∈ R} = (−3, 0) ∪ (2, ∞)

76
5.6. Partial Fractions
In order to resolve an algebraic rational fraction into its partial fractions, we must factorise the
denominator completely. The numerator must be at least one degree less than the denominator,
otherwise, we divide. Consider the addition of two fractions below;

2 1 2(x − 2) + (x + 1))
+ =
x+1 x−2 (x + 1)(x − 2)
2x − 4 + x + 1
=
(x + 1)(x − 2)
3x − 3
=
(x + 1)(x − 2)
3x−3 2 1
We say, the partial fraction decomposition of gives the two fractions and .
(x+1)(x−2) x+1 x−2
Partial fraction decomposition involves the reverse process of the above process, ie it involves
breaking down" a seemingly complex algebraic fraction into its simpler partial fractions. There
are basically three types of partial fraction and the form of partial fraction used is summarized
in the table below. The following are the three types we will consider:

1. The rst type involves a rational function whose denominator can be factorised completely
into linear terms.

2. The second type involves a rational function whose denominator can factorised, but some
terms are repeating.

3. The third involves a rational function whose denominator contains an irreducible quadratic
function, ie a quadratic that can not be factorised into linear terms

Type Denominator containing Expression Form of Partial Fraction

f (x) A B C
1 Linear Factors
(x−a)(x+b)(x+c) x−a
+ x+b
+ x+c

f (x) A B C D
2 Repeating Factors
(x+a)(x+b)3 (x+a)
+ (x+b)
+ (x+b)2
+ (x+b)3

f (x) Ax+B D
3 Quadratic Factors
(ax2 +bx+c)(x−d) ax2 +bx+c
+ x−d

Example 5.6.1. Resolve the fraction


11−3x
x2 +2x−3
into its partial fractions

Sol: Factorise the denominator completely and use the type 1 decomposition:
11−3x 11−3x
This gives x2 + 2x − 3=(x + 3)(x − 1) so that
x2 +2x−3
= (x+3)(x−1)
. Therefore,

11 − 3x A B
= +
(x + 3)(x − 1) x + 3 x − 1
A(x − 1) + B(x + 3)
=
(x + 3)(x − 1)
Equating the numerators, we have: 11 − 3x =A(x − 1) + B(x + 3) (i)

77
Our task is to determine the values of A and B using (i). When x = 1, 11 − 3(1) = A(1 − 1) +
B(1 + 3) which gives B=2
When x = −3, we have 11 − 3(−3) = A(−3 − 1) + B(−3 + 3) which gives us A = −5
11 − 3x 2 5
Therefore, = −
x2 + 2x − 3 x−1 x+3

Example 5.6.2. Decompose


2x2 −9x−35
(x+1)(x−2)(x+3)
into partial fractions.

Sol: The denominator is already factorised completely.


2x2 −9x−35 A B C A(x−2)(x+3)+B(x+1)(x+3)+C(x−1)(x+2)
Let
(x+1)(x−2)(x+3)
= (x+1)
+ x−2
+ x+3
= (x+1)(x−2)(x+3)

Equating the numerators, we have:

2x2 − 9x − 35 = A(x − 2)(x + 3) + B(x + 1)(x + 3) + C(x + 1)(x − 2)

When x = 2, we have

2(2)2 − 9(2) − 35 =A(2 − 2)(2 + 3) + B(2 + 1)(2 + 3) + C(2 + 1)(2 − 2)


−45 =15B
B =−3

When x = −3, we have

2(−3)2 − 9(−3) − 35 =A(−3 − 2)(−3 + 3) + B(−3 + 1)(−3 + 3) + C(−3 + 1)(−3 − 2)


10 =5C
C =2

When x = −1, we have

2(−1)2 − 9(−1) − 35 =A(−1 − 2)(−1 + 3) + B(−1 + 1)(−1 + 3) + C(−1 + 1)(−1 − 2)


−24 = − 6C
C =4

So that
11 − 3x 4 3 2
= − +
x2 + 2x − 3 (x + 1) x − 2 x + 3

Example 5.6.3. Resolve


5x2 −2x−19
(x+3)(x−1)2
into partial fractions

Sol: This involves a denominator with a repeating factor. Thus,

5x2 −2x−19 A B C A(x−1)2 +B(x+3)(x−1)+C(x+3)


let
(x+3)(x−1)2
= x+3
+ x−1
+ (x−1)2
= (x+3)(x−1)2

Hence, by algebraic addition,

5x2 − 2x − 19 = A(x − 1)2 + B(x + 3)(x − 1) + C(x + 3)

78
When x = 1, we have

5(1)2 − 2(1) − 19 =A(1 − 1)2 + B(1 + 3)(1 − 1) + C(1 + 3)


−16 =4C
C =−4

When x = −3

5(−3)2 − 2(−3) − 19 =A(−3 − 1)2 + B(−3 + 3)(−3 − 1) + C(−3 + 3)


32 =16A
A =2

When x=0

5(0)2 − 2(0) − 19 =A(0 − 1)2 + B(0 + 3)(0 − 1) + C(0 + 3)


−19 =A − 3B + 3C
3B =19 + A + 3C
3B =19 + (2) + 3(−4)
3B =9
B =3

Hence,
5x2 − 2x − 19 2 3 4
= + −
(x + 3)(x − 1)2 x + 3 x − 1 (x − 1)2

Example 5.6.4. Decompose the rational function


7x2 +5x+13
(x2 +2)(x+1)
into partial fractions.

Sol: We have an irreducible quadratic in the denominator.

7x2 +5x+13 Ax+B C (Ax+B)(x+1)+C(x2 +2)


Let
(x2 +2)(x+1)
= x2 +2
+ x+1
= (x2 +2)(x+1)

This gives us:


7x2 + 5x + 13 = (Ax + B)(x + 1) + C(x2 + 2)
When x = −1, we have

7(−1)2 + 5(−1) + 13 =(A(−1) + B)(−1 + 1) + C((−1)2 + 2)


15 =3C
C =5

When x = 0, we have

7(0)2 + 5(0) + 13 =(A(0) + B)(0 + 1) + C((0)2 + 2)


13 =B + 2C
B =13 − 2C
B =13 − 2(5)
B =3

79
When x = 1, we have

7(1)2 + 5(1) + 13 =(A(1) + B)(1 + 1) + C((1)2 + 2)


25 =2(A + 3) + 5(3)
2A =25 − 6 − 15
2A =4
A =2

Hence, decomposition is given by

7x2 + 5x + 13 2x + 3 5
= +
(x2 + 2)(x + 1) x2 + 2 x + 1

Example 5.6.5. Resolve


3+6x+4x2 −2x3
x2 (x2 +3)
into partial fractions

Sol: The denominator contains a repeating term and an irreducible quadratic.

3+6x+4x2 −2x3 A B Cx+D Ax(x2 +3)+B(x2 +3)+x2 (Cx+D)


Let
x2 (x2 +3)
= x
+ x2
+ x2 +3
= x2 (x2 +3)

3 + 6x + 4x2 − 2x3 =Ax(x2 + 3) + B(x2 + 3) + x2 (Cx + D)


=Ax3 + 3Ax + Bx2 + 3B + Cx3 + Dx2
=(A + C)x3 + (B + D)x2 + 3Ax + 3B

Hence, 3 + 6x + 4x2 − 2x3 = (A + C)x3 + (B + D)x2 + 3Ax + 3B


Using the equality of polynomials and equating the like terms, we have:

(A + C)x3 = −2x3 =⇒ A + C = −2 (i)

(B + D)x2 = 4x2 =⇒ B+D =4 (ii)

3Ax = 6x =⇒ 3A = 6 (iii)

3B = 3 =⇒ 3B = 3 (iv)

From (iv) we get B = 1, and from (ii), D =4−B =4−1=3

From (iii) we get A = 2, and from (i), C = −2 − A = −2 − 2 = −4


Therefore, we get
3 + 6x + 4x2 − 2x3 2 1 3 − 4x
= + 2+ 2
x2 (x2 + 3) x x x +3

80
6
Rational Functions
6.1. Introduction
a
Recall that a rational number is a number that can be written in the form
b
, where a, b ∈ Z.
In this section, we will now consider rational functions.

Denition 6.1.1. A rational function f (x), is a function of the form


p(x)
f (x) =
q(x)

where p(x) and q(x) are functions of x with q(x) 6= 0 for all values of x ∈ Df

Example 6.1.1. Examples of rational functions are: f (x) = x+2


x−5
and g(x) = 2x
x2 +x−7

We will be concerned with the sketching of the graphs, nding domains and ranges of these
functions. We will also look at the equations and inequalities involving rational functions.

6.2. Graphs of Rational Functions


To sketch the graph of a rational function, we need to determine the domain, the range,
intercepts and asymptotes if they exists. We have already discussed methods of determining
the domain and range of a rational function. TheX−intercept is the value of x where the graph
cuts the X−axis. It can be found by letting y = 0 in the equation y = f (x). The Y −intercept
is the value of y where the graph cuts the Y −axis. It can be found by letting x = 0 in the
equation y = f (x).

An asymptote of a graph is a line graph such that the graph does not touch nor cut it. We have
vertical, horizontal and slant asymptotes. Vertical asymptotes are determined by values of x
for which the function is not dened, while horizontal asymptotes are determined by values of
y for which the function is not dened.

Example 6.2.1. Sketch the graph of f (x) = 1


x

Sol: For this function, verify that Df = {x| x 6= 0, x ∈ R} and Rf = {y| y 6= 0, y ∈ R}

81
From the domain, since x 6= 0, we conclude that the line x=0 is a vertical asymptote.

From the range, since y 6= 0, we conclude that the line y=0 is a horizontal asymptote

We have no intercepts. The sketch is shown below

Example 6.2.2. Given f (x) = 2


x+1
,

i) nd the domain of f


ii) nd the range of f
iii) sketch the graph of f
iv) Write down the equation of the asymptotes

Sol: This is an example of a rational function

i) Domain: we need x + 1 6= 0 =⇒ x 6= −1. Hence, Df = {x| x 6= −1, x ∈ R}


2 2−y
ii) Range: we make x the subject of the formula. Thus, y= x+1
=⇒ x = y

Hence, Rf = {y| y 6= 0, y ∈ R}
iii) Sketch: verify that the Y −intercept is y=2 and the X−intercept does not exists

From the domain, the vertical asymptote is x = −1.


From the range, the horizontal asymptote is y=0 The graph is shown below:

82
iv) vertical asymptote: x = −1 and horizontal asymptote: y=0

Example 6.2.3. Given the function f (x) = 2x+3


5x−4

i) nd the domain of f


ii) nd the range of f
iii) sketch the graph of f

Sol: This is a rational function


4
i) Domain: we need 5x − 4 6= 0 =⇒ x 6= 5
. Hence, Df = {x| x 6= 45 , x ∈ R}
2x+3 3+4y
ii) Range: we make x the subject of the formula. Thus, y= 5x−4
=⇒ x = 5y−2

Hence, Rf = {y| y 6= 25 , y ∈ R}
iii) Sketch: verify that the Y −intercept is y = − 43 and the X−intercept is − 32
4
From the domain, the vertical asymptote is x= 5
.

From the range, the horizontal asymptote is y = 52 The graph is shown below:

Example 6.2.4. Given the function f (x) = 1


x2 +5x−6

i) nd the domain of f (x)


ii) nd the range of f (x)
iii) sketch the graph of f (x)

Sol: This is also a rational function

i) Domain: we need x2 + 5x − 6 6= 0. The solution set is the required domain.

x2 + 5x − 6 6=0
x2 − x + 6x − 6 6=0
x(x − 1) + 6(x − 1) 6=0
(x − 1)(x + 6) 6=0

83
We have x 6= 1 and x 6= −6. Therefore,

Df = {x| x 6= 1 and x 6= −6, x ∈ R}


1
ii) Range: Let y= x2 +5x−6
so that y(x2 + 5x − 6) = 1 =⇒ yx2 + 5yx − 6y − 1 = 0
Note that this is a quadratic with a = y , b = 5y and c = −6y − 1.
we need b2 − 4ac ≥ 0
(5y)2 − 4(y)(−6y − 1) ≥0
25y 2 + 24y 2 + 4y ≥0
49y 2 + 4y ≥0
y(49y + 4) ≥0
4
Critical values: we have y=0 and y = − 49
4 4
−∞ < y < − 49 − 49 <y<0 0<y<∞
y − − +
49y + 4 − + +
y(49y + 4) + − +

4

From the table, Rf = −∞, − 49 ∪ (0, ∞)
iii) Sketch: verify that the Y −intercept is y = − 61 and the X−intercepts do not exist.

From the domain, the vertical asymptote is x=1 and x = −6.


4
From the range, the horizontal asymptote is y=0 and y = − 49 . Graph shown below:

Example 6.2.5. Given the function f (x) = 3x−9


x2 −x−2
,

i) nd the domain

ii) nd the range

iii) sketch the graph

Sol: Exercise

84
6.3. Equations and Inequalities
To solve the equations involving rational function, the basic thing is to cross multiply. The
following examples demonstrate the approach.

Example 6.3.1. Solve the equation


x+1
2x−5
=1

Sol: We cross multiply;


x+1
=1
2x − 5
2x − 5 =x + 1
2x − x =5 + 1
x =6
Hence, SS = {6} is the solution set.

Example 6.3.2. Solve the equation


2x−7
x+3
=0
2x−7 7
Sol: If x+3 = 0, then the numerator is zero. Hence, 2x − 7 = 0 =⇒ x = 2

Example 6.3.3. Solve the equation


1
x2 +9x+7
= 1
x

Sol: We can cross multiply


1 1
=
x2 + 9x + 7 x
2
x + 9x + 7 =x
2
x + 9x + 7 − x =0
x2 + 8x + 7 =0
(x + 1)(x + 7) =0
Hence, x + 1 = 0 =⇒ x = −1 and x + 7 = 0 =⇒ x = −7. Thus, we have SS = {−1, −7}

To solve the rational inequality, do NOT CROSS MULTIPLY. The following examples demon-
strate the technique to be used.

Example 6.3.4. Solve the inequality


2x+3
x−4
<3

Sol: We do not cross multiply.


2x + 3
<3
x−4
2x + 3
− 3 <0
x−4
2x + 3 − 3(x − 4)
<0
x−4
2x − 3x + 3 + 12
<0
x−4
−x + 15
<0
x−4

85
At this point, we get the critical points:

from the numerator, −x + 15 = 0 =⇒ x = 15 is a critical point

from the denominator, x − 4 = 0 =⇒ x = 4 is a critical point

−∞ < x < 4 4 < x < 15 15 < x < ∞


−x + 15 + + −
x−4 − + +
−x+15
x−4
− + −

From the table,


SS = (−∞, 4) ∪ (15, ∞)

Example 6.3.5. Find the solution set to the inequality


x−1
x2 +6x+5
≤0

Sol: We need to nd the critical values;

x−1
≤0
x2+ 6x + 5
x−1
≤0
x2 + x + 5x + 5
x−1
≤0
x(x + 1) + 5(x + 1)
x−1
≤0
(x + 1)(x + 5)

At this point, we get the critical points:

from the numerator, x − 1 = 0 =⇒ x = 1 is a critical point

from the denominator, (x + 1)(x + 5) = 0 =⇒ x = −1 and x = −5 are critical points

factors −∞ < x < −5 −5 < x < −1 −1 < x < 1 1<x<∞


x−1 − − − +
x+1 − − + +
x+5 − + + +
x−1
(x+1)(x+5)
− + − +

From the table,


SS = (−∞, −5) ∪ (−1, 1]

86
7
Radical Functions
7.1. Introduction
In this section, we discuss another type of functions called radical functions.

Denition 7.1.1. A radical function in x variable, is a function of the form


p
f (x) = k q(x) + h

where q(x) is some function of x. k and h are constants


We will examine some standard radical functions through examples. Here, we will restrict our
discussion to cases where q(x) is either linear or quadratic.


Radicals of the form k ax + b + h

Example 7.1.1. Sketch the graph of the function f (x) = x.

Sol: This is one of the standard radical functions. Before we sketch, let us determine the
domain. Recall that the square root of a negative number is not real. Hence, we only need
positive values of x for this to hold as a function. Therefore

Df = {x| x ≥ 0, x ∈ R} = [0, ∞)

3 y

x
−3 −2 −1 1 2 3
−1

−2

87
From the graph, we can see that

Rf = {y| y ≥ 0, x ∈ R} = [0, ∞)


Example 7.1.2. Sketch the graph of the function f (x) = −x.

Sol: This is another standard radical function. To determine the domain, recall that the square
root of a negative number is not real. Hence, we need −x ≥ 0 =⇒ x ≤ 0. Thus, we need only
the negative values of x for this to hold as a function. Therefore

Df = {x| x ≤ 0, x ∈ R}
OR
Df = (−∞, 0]

3 y

1
x
−3 −2 −1 1 2 3
−1

−2

−3

From the graph, we can see that

Rf = {y| y ≥ 0, x ∈ R} = [0, ∞)


Example 7.1.3. Sketch the graph of the function f (x) = 1 − x.

Sol: For the domain, we need 1 − x ≥ 0 =⇒ x ≤ 1. Hence,

Df = {x| x ≤ 1, x ∈ R} = (−∞, 1]

3 y

1
x
−3 −2 −1 1 2 3
−1

−2

−3

88
From the graph, we can see that

Rf = {y| y ≥ 0, x ∈ R} = [0, ∞)


Example 7.1.4. Sketch the graph of the function f (x) = x + 1 + 2.

Sol: For the domain, we need x + 1 ≥ 0 =⇒ x ≥ −1. Hence,

Df = {x| x ≥ −1, x ∈ R} = [−1, ∞)

3
2

x
−1

From the graph, we can see that

Rf = {y| y ≥ 2, x ∈ R} = [1, ∞)


Note 7.1.1. If f (x) = k ax + b + h. Then

• k determines whether the function is above or below the x−axis. If k is positive, then
the graph is above x−axis, if k is negative, then the graph is below the x−axis.

• h is the vertical shift. If h is positive, then the graph shifts h units upwards. If h is
negative, then the graph shifts h units downward.


Example 7.1.5. Find the domain and sketch the graph of f (x) = − x − 2 − 1

Sol: For the domain, we need x − 2 ≥ 0 =⇒ x ≥ 2. Hence,

Df = {x| x ≥ 2, x ∈ R} = [2, ∞)

89
y

x
−1 2

From the graph, we can see that

Rf = {y| y ≤ −1, x ∈ R} = (−∞, −1]


Radicals of the form k ax2 + bx + c + h

Here, the domain is all values of x such that ax2 + bx + c ≥ 0. It faces up if k>0 and faces
down if k < 0.

Example 7.1.6. Find the domain, range and sketch the graph of the function f (x) = x2 + 6x + 5

Sol: For the domain, we need x2 + 6x + 5 ≥ 0. Hence, the domain is just the solution set of
2
the inequality x + 6x + 5 ≥ 0. Thus,

x2 + 6x + 5 ≥0
x2 + x + 5x + 5 ≥0
x(x + 1) + 5(x + 1) ≥0
(x + 5)(x + 1) ≥0

Critical values: x = −5 and x = −1

−∞ < x < −5 −5 < x < −1 −1 < x < ∞


x+5 − + +
x+1 − − +
(x + 5)(x + 1) + − +

The solution set is


SS = {x| x ≤ −5 or x ≥ −1, x ∈ R}
. Therefore,

Df = {x| x ≤ −5 or x ≥ −1, x ∈ R} = (−∞, −5] ∪ [−1, ∞)

90
y

x
−5 −1

From the graph, we can see that

Rf = {y| y ≥ 2, x ∈ R} = [1, ∞)

7.2. Equations and Inequalities


We need to remember that the square root symbol without a negative, denotes a positive square
root. To remove the square root symbol requires squaring on both sides. At times, this process
may be repeated.


Example 7.2.1. Solve the equation 3x + 7 − x = 1

Sol: This equation involves a radical.



3x + 7 − x =1

3x + 7 =x + 1
√ 2
3x + 7 =(x + 1)2
3x + 7 =x2 + 2x + 1
x2 − x − 6 =0
(x + 2)(x − 3) =0

Hence, we have x + 2 = 0 =⇒ x = −2 and x − 3 = 0 =⇒ x = 3. We discard −2 since it does


not hold when we substitute it in the equation. Hence,

SS = {3}

√ √
Example 7.2.2. Solve the expression 6x + 7 − 3x + 3 = 1

91
Sol: This is an equation involving radicals.
√ √
6x + 7 − 3x + 3 =1
√ √
6x + 7 =1 + 3x + 3
√ 2  √ 2
6x + 7 = 1 + 3x + 3

6x + 7 =1 + 2 3x + 3 + 3x + 3

3x + 3 =2 3x + 3
 √ 2
(3x + 3)2 = 2 3x + 3
9x2 + 18x + 9 =4(3x + 3)
9x2 + 6x − 3 =0
3x2 + 2x − 1 =0
3x2 + 3x − x − 1 =0
3x(x + 1) − 1(x + 1) =0
(3x − 1)(x + 1) =0

1
Hence, x = 1− or x= 3
implying that SS = {−1, 13 }

Example 7.2.3. Given √


x
x+1
+ √2x
x+5
=0 nd the solution set to the equation.

Sol: This equation involves positive radical or positive square root.

x 2x
√ +√ =0
x+1 x+5
x 2x
√ =− √
x+1 x+5
 2  2
x 2x
√ = −√
x+1 x+5
2 2
x 4x
=
x+1 x+5
2
x 4x2
− =0
 x + 1 x + 5
1 4
x2 − =0
x+1 x+5
x2 (1 − 3x)
=0
(x + 1)(x + 5)
1
Either x2 = 0 =⇒ x = 0 or 1 − 3x = 0 =⇒ x = 3
. Hence, we have

1
SS = {0, }
3

Example 7.2.4. Given the inequality √


1
x
< √ 2
x+27
, nd the solution set

92
Sol: This is an inequality involving positive square root.

1 2
√ <√
x x + 27
 2  2
1 2
√ < √
x x + 27
1 4
<
x x + 27
1 4
− <0
x x + 27
27 − 3x
<0
x(x + 27)
3(9 − x)
<0
(x − 0)(x + 27)
Critical Values: From the denominator, x=0 and x = −27. From the numerator, x=9

factors −∞ < x < −27 −27 < x < 0 0<x<9 9<x<∞


x − − + +
9−x + + + −
x + 27 − + + +
x(9 − x)(x + 27) + − + −

From the table,
√ x ∈ (−27, 0) ∪ (9, ∞), from x, we need x ≥ 0 =⇒ x ∈ [0, ∞) and from
x + 27, we need x + 27 ≥ 0 =⇒ x ≥ −27 =⇒ x ∈ [−27, ∞). Hence, SS = (9, ∞)

√ √ √
Example 7.2.5. Solve the inequality 2− x+6≤− x

Sol: We rewrite the expression so that we have only positive terms, then square.
√ √ √
2− x+6≤− x
√ √ √
2+ x≤ x+6
√ √ 2 √ 2
2+ x ≤ x+6
√ √
2 + 2 2 x + x ≤x + 6

2 2x ≤4

2x ≤2
√ 2
2x ≤22
2x ≤ 4
x≤2
From this expression, we need x≤2 meaning that x ∈ (−∞, 2]

From x + 6, we need x + 6 ≥ 0 =⇒ x ≥ −6 meaning that x ∈ [−6, ∞)

From x, we need x≥0 meaning that x ∈ [0, ∞)
Therefore, SS = (−∞, 2] ∩ [−6, ∞) ∩ [0, ∞) = [0, 2]

93
8
Modular Functions
8.1. Introduction
We now look at another type of function called the modular function. Let us have some basic
denation

Denition 8.1.1. The modulus of a real number x ∈ R denoted |x| is dened as


if x ≥ 0;

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

The modulus of a number is just the absolute value of that number. The following examples
show the meaning of a modulus.

Example 8.1.1. The modulus of 2 is denoted by |2|. By denition, |2| = 2 since 2>0
The modulus of −2 is denoted by | − 2|. By denition, | − 2| = −(−2) = 2 since −2 < 0

Example 8.1.2. Determine the following;


√ √
i) | − 10| ii) − 72 iii) |0.356| iv) 2 v) − 2 vi) |0| vii) |10|

Sol:

i) | − 10| = −(−10) = 10 ii) − 72 = −(− 27 ) = 2


7
iii) |0.356| = 0.356
√ √ √ √  √
iv) 2 = 2 v) − 2 =− − 2 = 2 vi) |0| = 0

vi) |10| = 10

NOTE: For any real number x ∈ R, | − x| = |x|

Example 8.1.3. Evaluate the following expressions

i) |2−7|+|3−1| ii) ||−3|−|−9|| iii) ||2−6|−|1−9|| iv) |3−6|−|−2+4|+|−2−3|

Sol: Exercise

94
Having dened the modulus of a real number, we can extend the denition to the real valued
functions.

Denition 8.1.2. Let f (x) be a real valued function. The modulus of f (x) denoted by |f (x)|
is dened as
if f (x) ≥ 0;

f (x)
|f (x)| =
−f (x) if f (x) < 0.

Example 8.1.4. If f (x) = x + 2, then |f (x)| = |x + 2|. Similarly, if f (x) = tan x, then
|f (x)| = | tan x|.

8.2. Graphs of Modular Functions


We now look at graphs of the Modular functions. To sketch the graph of y = |f (x)| + d, the
following steps can be taken:

• sketch the graph of y = f (x)

• reect the negative part of y = f (x) in the X−axis.

• outline the positive part only, to get the graph of y = |f (x)|

• shift the graph of y = |f (x)|, d units up if d>0 to obtain y = |f (x)| + d.

• shift the graph of y = |f (x)|, d units down if d<0 to obtain y = |f (x)| + d.

Example 8.2.1. Sketch the graph of y = |x|. Hence or otherwise, state the domain and the
range of this function.

Sol: This graph is obtained by reecting the negative part of y=x in the x−axis. The graph
is shown below.

y
6

x
−4 −2 2 4

From the graph, Df = (−∞, ∞) and Rf = [0, ∞)

95
Example 8.2.2. Sketch the graph of y = |2x + 1|. Hence or otherwise, state the domain and
the range of this function.

Sol: We need to determine the points where the graph cuts the x−axis and the y−axis.
When x = 0, we get y=1 so that the graph cuts the y−axis at y = 1.
When y = 0, then x = − 21 . Therefore, the graph is given by.

y
8

x
−4 −2 2 4

From the graph, Df = (−∞, ∞) and Rf = [0, ∞)

Example 8.2.3. Sketch the graph of y = |x − 2| + 1. Hence or otherwise, state the domain
and the range of this function.

Sol: The graph is shown below.

1
x
2

From the graph, Df = (−∞, ∞) and Rf = [1, ∞)

Example 8.2.4. Sketch the graph of y = 2 − |x + 1|. Hence or otherwise, state the domain
and the range of this function.

Sol: The graph is shown below. To determine the x−intercepts, solve the equation 2−|x+1| =
0, and verify that x=1 and x = −3

96
y

2
1
x
−1

From the graph, Df = (−∞, ∞) and Rf = (−∞, 2]

Example 8.2.5. Sketch the graph of y = |2x2 − 7x + 5|. Hence, state the domain and the
range of the function.

Sol: We start with the graph of y = 2x2 − 7x + 5, then reect the negative part in the X−axis.
a = 2, b = −7 and c = 5. Since a > 0, it is cup-shaped. It cuts the y -axis at y = 5. The
7
minimum point is
4
, − 89
5
2x2 − 7x + 5 = 0 =⇒ (2x − 5)(x − 1) = 0 =⇒ x = 1 and x= 2
are the roots.

x
1

From the graph, we have Df = (−∞, ∞) and Rf = [0, ∞)

Example 8.2.6. Given f (x) = 3


x−1
,

i) nd the domain of f


ii) nd the range of f
iii) sketch the graph of f
iv) Write down the equation of the asymptotes, if any.

Sol: Exercise

97
8.3. Equations and Inequality
Let us now discuss equations involving Modulus. The following examples show the technique
involved

Example 8.3.1. Solve the equation |2x − 1| = 4

Sol: we square both sides to get rid of the modulus sign.

|2x − 1| =4
(2x − 1)2 =42
(2x − 1)2 − 42 =0
(2x − 1 − 4)(2x − 1 + 4) =0
(2x − 5)(2x + 3) =0

5
Hence, 2x − 5 = 0 =⇒ x = 2
or 2x + 3 = 0 =⇒ x = − 32
 
3 5
SS = − ,
2 2

Example 8.3.2. Solve the following equation |x + 3| = |x − 1|

Sol: Again, we square both sides to get rid of the modulus sign.

|x + 3| =|x − 1|
(x + 3)2 =(x − 1)2
x2 + 6x + 9 =x2 − 2x + 1
8x = − 8
x=−1

Hence, x = −1 so that
SS = {−1}

Example 8.3.3. Solve the modular equation |x + 1| = 4

Sol: |x+1| = 4 implies that x+1 = ±4. Hence, x+1 = 4 =⇒ x = 3 or x+1 = −4 ⇒ x = −5.
Hence,
SS = {−5, 3}

Example 8.3.4. Solve the equation |x3 − 2x2 + 5x − 11| = −2

Sol: Exercise

98
Example 8.3.5. Solve the modular equation |x + 1| = |x| − |x − 1|.

Sol: we square more than once to get rid of the modulus sign.

|x + 1| =|x| − |x − 1|
|x + 1| + |x − 1| =|x|
(|x + 1| + |x − 1|)2 =|x|2
(x + 1)2 + 2|x + 1||x − 1| + (x − 1)2 =x2
x2 + 2x + 1 + 2|x + 1||x − 1| + x2 − 2x + 1 =x2
2|(x + 1)(x − 1)| = − x2 − 2
(2|(x + 1)(x − 1)|)2 =(−x2 − 2)2
2 2
4 x2 − 1 =(−1)4 x2 + 2
2 2
4 x2 − 1 = x 2 + 2
4x4 − 8x2 + 4 =x4 + 4x2 + 4
3x4 − 12x2 =0
x4 − 4x2 =0
x2 (x2 − 4) =0
x2 (x − 2)(x + 2) =0
This means that either x2 = 0 =⇒ x = 0 or x − 2 = 0 =⇒ x = 2 or x + 2 = 0 =⇒ x = −2
Check that substituting any of these values into the equation, does not make the equation valid.
Hence,
SS = ∅

Example 8.3.6. Solve the inequality |2x − 1| < 2

Sol: we square both sides to get rid of the modulus sign.

|2x − 1| < 2
(2x − 1)2 <22
(2x − 1)2 − 22 <0
(2x − 1 − 2)(2x − 1 + 2) <0
(2x − 3)(2x + 1) <0
3
Critical values: x= 2
and x = − 21

−∞ < x < − 12 − 21 < x < 3


2
3
2
<x<∞
2x − 3 − − +
2x + 1 − + +
(2x − 3)(2x + 1) + − +
   
1 3 1 3
SS = x| − < x < , x ∈ R = − ,
2 2 2 2

99
Example 8.3.7. Solve the inequality |2x + 1| < −4

Sol: Recall that a modulus is never negative. Therefore, the solution set to |2x + 1| < −4 is
empty. Hence
SS = ∅

Example 8.3.8. Solve the inequality |2x + 1| ≥ |x − 1|

Sol: We square both sides to get rid of the modulus sign.

|2x + 1| ≥|x − 1|
(2x + 1)2 ≥(x − 1)2
4x2 + 4x + 1 ≥x2 − 2x + 1
3x2 + 6x ≥0
x2 + 2x ≥0
x(x + 2) ≥0

Critical Values: the critical values are x=0 and x = −2

−∞ < x < −2 −2 < x < 0 0<x<∞


x − − +
x+2 − + +
x(x + 2) + − +

SS = (−∞, −2] ∪ [0, ∞)

Exercise
1. Dene the following:

a) function b) Domain of a function c) Range of a function d) Composite function

v) An inverse of a function (vi) An odd function (vii) A bijective function

2. a) For each of the following functions, state the domain and where possible, the range:
1 −2 x+4 4x+1 1
i) f (x) = x
(ii) f (x) = x+1
(iii) f (x) = x−5
(iv) f (x) = x
(v) f (x) = x+2
+2
5 x x2 2x2 +1
vi) f (x) = x2 −5x−6
(vii) f (x) = x2 −x−2
(viii) f (x) = x2 −4
(ix) f (x) = x
b) For each function in 2(a), sketch the graphs indicating the intercepts, vertical asymp-
totes, horizontal asymptotes and slant asymptotes if they exist.

3. If f (x) = 2x + 3 and g(x) = 3x − 5, nd

a) (f ◦g)−1 (x) b) (f −1 ◦g −1 )(x) c) (g −1 ◦g −1 )(x) d) (g −1 ◦f −1 )(x)

100
x+1
4. Find the values of k for which f (k) = f (1), where f (x) is given by f (x) = x2 −x+1

f (x+h)−f (x)
5. Let f (x) = x2 + x − 3. Find f (x + h), h is a constant. Hence express
h
in its
simplest form.

6. Sketch the graphs of the following functions and state the range in each case:

   −x − 2 if x < − 13 ;
x, x ≤ 0; 7−x if x ≤ 2;
a) y= b) y= c) f (x) = 5x if − 13 ≤ x ≤ 21 ;
x2 , x > 0. 4x − 3 if x > 2.
x+2 if x > 12 .

3
7. Let f :x→ x2 −4
and h : x → 3x − 1. State the domains of f and h. Find:

a) f −1 (x) −1
b) h (x) c) f oh(x) d) (hof )−1 (x) e) domain and range of f oh(x)

1 − 2x if x ≤ −1;
8. Let g(x) =
x2 − 2 if x > −1.
i) Find g(−3), g(−1) and g(1) (ii) Find the values of a for which g(a) = 14.
iii) Sketch the graph of g(x) and state its range

9. For each of the following functions, state whether the function is odd, even or neither.
1
a) f (x) = x2 + 2 b) f (x) = x3 b) f (x) = x2 + 10x + 9 c) f (x) = |x| d) f (x) = x2
1
10. The function f is dened as f (x) = x+2 , x ∈ R, x 6= −2 . Further, g is another function
dened as g(x) = x − 3 x ∈ R. Find:
−1
i)f (x) (ii) g −1 (x) (iii) f og(x) (iv) (gof )−1 (x) (v) domain and range of f og(x)

11. Sketch the graphs of the following modulus functions and state the range in each case:

a)f (x) = −|x| + 2 b)f (x) = |(x + 1)(2 − x)| c)f (x) = |x2 + 6x + 5| d)f (x) = |x − 2|
e)f (x) = −|4 − x| + 2 f )f (x) = |x3 | g)f (x) = | x1 | h)f (x) = |x − 2|

12. State the domain and sketch the graphs of the following functions involving radicals.
State the range:
√ √ √ √
a)f (x) = x−1 = 3 + 2 − x c)f (x) = −1 + −x − 2
b)f (x) = 2− 1 + x
d)f (x)
√ √ √ √
e)f (x) = x2 − x − 2 f )f (x) = x2 − 4 g)f (x) = −2 − −x h)f (x) = x+5

13. Solve each of the following equations:

i) |x − 2| = 6 (ii) | − 2x − 1| = 6 (iii) |5x + 4| = 3 − 7x (iv) |2x + 1| = |4x − 3|


−2 x+1
v) |x2 − 4x| = 8 − 4x (vi) | x+3 |=5 (vii) | x−2 |=3 (viii) f (x) = |x2 − 4| = 2

14. Solve each of the following equations:


√ √ √ √ √
a) 2x − 1 + 2 = x (b) 2x − 1 − x + 3 = 1 (c) 6x + 7 − 3x + 3 = 1
x
√ √ √ p √ √
d) √ + √2x =0 (e) x − 2 − 2x − 11 = x − 5 (f ) 1 + 2 x = x + 1
x+1 x+5

15. Solve each of the following inequalities:


x+1
a) |6x−11| < 2 (b) |2x+3| ≥ 4 (c) | x−2 |<5 (d) |2x+1| > |x−1| (e) |x+6| < |x−2|
√ √ √
f) |3x + 1| < −3 (g) | − 3x2 + x − 5| < 0 (h) x − 3 > x + 4−1 (i) x + 1 ≤ −1

101
16. Solve each of the following inequalities involving radicals:
√ √ √ √ 1
√ √
a) 10− 2x + 7 ≤ 3 b) 2− x + 6 ≤ − x c) √ < √ 2 d) 2x + 9− 9 + x > 0
x x+27

17. Find the partial fraction decomposition for the following fractions
20x−3 −9x2 +7x−4 3x+7 8x2 +15x+12 x2 +1 2
a) (b) (c) (d) (e) (f )
6x2 +7x−3 x3 −3x2 −4x (x+1)(x+2)(x+3) (x2 +4)(3x−4) x2 (2x+1) (2−x)(x+1)2
x x3 −3x2 −3x−5 x3 x2 +1 4x2 +6x−10 x2
g) h) (i) (j) (k) (l)
(x+1)(x2 +2x+2) x2 −4 x3 −1 x2 −1 (x+3)(x2 +x+2) (x−1)(x+2)2

18. Find the roots of each quadratic equation subject to the given conditions:

(a) (2k + 2)2 x2 + (4 − 4k)x + k − 2 = 0 has roots which are reciprocals of each other

(b) kx2 − (1 + k)x + 3k + 2 = 0 has the sum of its roots equal to twice the product of
its roots

(c) (x + k)2 = 2 − 3k has equal roots

19. Find two numbers whose sum is 10 and whose product is as large as possible

1
20. The function f is dened as f (x) = x+2 , x ∈ R, x 6= −2 . Further, g is another function
dened as g(x) = x − 3 x ∈ R. Find:
(i) f −1 (x) (ii) g −1 (x) (iii) f og(x) (iv) (gof )−1 (x) (v) domain and
range of f og(x)

21. a) Solve the following quadratic equations:

(i) 2x2 − 3x − 1 = 0 (ii) 2x2 − 3x + 4 = 0 (iii) x2 + 6x + 5 = 0 (iv) x2 + 1 = 0


(v) 2x2 − 3 = 0 (vi) x2 − 9x − 10 = 0 (vii) 5x2 = 7x − 13 = 0 (viii) 9 − x2 = 0
b) For each quadratic in (a), determine the type of roots and sketch their graphs.

22. For what range of values of p, does the equation x2 − (p + 2)x + p2 + 3p = 3 have real
roots?

23. If the equation x2 + 3 = k(x + 1) has real roots, nd the range of values of k

24. Find the solution sets to the following inequalities

(i)2x2 − 3x − 1 ≤ 0 (ii) 2x2 + 3x − 5 ≥ 0 (iii) 2x2 − 4x − 3 < 0 (iv)


x2 − x − 6 > 0
(v) 2x2 −3 ≤ 0 (vi) x2 −9x−10 ≥ 0 (vii) 2x+1 ≤ 13x−60 (viii) x2 +16 ≤ 0

25. Determine the remainder when x3 + 2x2 − x − 1 is divided by

(i) x−1 (ii) 2x + 1 (iii) x+1 (iv) x+2 (v) 3x + 1 (vi) x+3 (vii)
2x − 1

26. a) Factorise completely each of the following:

(i) x3 − 2x2 − 5x + 6 (ii) x3 + x2 − 4x − 4 (iii) 6x3 − 13x2 + 9x − 2 (iv) x4 − 1


(v) 4x3 − 8x2 − x + 2 (vi) 3x3 + 3x2 − 3x − 2 (vii) x3 − 2x2 + 4x − 1 (viii)
3
x +2

102
27. a) Solve the following polynomial equations:

(i)x3 − 3x2 − 11x + 15 = 0 (ii) x4 − 2x2 + 1 = 0 (iii) 4x3 − 8x2 − x + 2 = 0


3
(iv) x −1=0
(v) 2x2 − 3 = 0 (vi) x2 − 9x − 10 = 0 (vii) 5x2 = 7x − 13 = 0 (viii) 9 − x2 = 0

28. a) Solve the following polynomial inequalities:

(i)x3 − 3x2 − 11x + 15 ≤ 0 (ii) x4 − 2x2 + 1 > 0 (iii) 4x3 − 8x2 − x + 2 ≤ 0


3
(iv) x −1≤0
(v) x2 (2x + 1) ≤ 3x − 60 (vi) 4x3 − 12x2 − 5x + 6 < 0 (vii) 5x2 = 7x − 13 ≥ 0

29. Sketch the graphs of the following:

f (x) = (x−1)(x+2)(x−3)
(i) (ii) f (x) = x4 −2x2 +1 (iii) p(x) = 4x3 −8x2 −x+2
3
(iv)x + 2

h(x) = x3 + 3x2 + 2x
(v) (vi) k(x) = 2x3 + 3x2 − 3x − 2 (vii) g(x) =
(x − 2)(2x − 1)(2x + 1)

30. Find in terms of p, the remainder when 3x3 − 2x2 + px − 6 is divided by x + 2. Hence,
write down the value of p for which the expression is exactly divisible by x+2

31. Given that the expression x3 + ax2 + bx + c leaves the same remainder when divided by
x−1 or x + 2, show that a−b=3

32. If 4x3 − 11x2 − 6x + 7 = (Ax + B)(x + 1)(x − 3) + C for all values of x, evaluate A, B
and C.

33. The expression f (x) = 3x3 + 2x2 − px + q is divisible by x − 1, but leaves a remainder
of 10 when divided by x + 1. Find the values of p and q .

34. The polynomial f (x) = A(x−1)2 +(x+2)2 is divided by x+1 and x−2. The remainders
are 3 and −15 respectively. Find the values of A and B.

103
9
Trigonometric Functions
9.1. Introduction
Trigonometry is the branch of mathematics which deals with the measurement of sides and an-
gles of triangles, and their relationship with each other. We will be interested in the relationship
that exists between the sides and the angle of a triangle.

Denition 9.1.1. An angle is a measure of rotation which is measured either in degrees or in


radians.

Note 9.1.1. The following angles are worth noting

• A quarter turn is called a right angle and is 90◦

• A half turn is an angle on a straight line and is 180◦

• A complete turn is a full circle and is 360◦

• An angle read in anticlockwise is positive and an angle read in clockwise is negative

104
Angles and Quadrants

A complete circle is divided into four quadrants:

1. First Quadrant: Angles in the rst quadrant are between 0◦



and 90 moving in the
◦ ◦
positive direction. Thus, if x is an angle in the rst quadrant, then 0 ≤ x ≤ 90

2. Second Quadrant: Angles in the second quadrant are between 90◦


180◦ moving in and
◦ ◦
the positive direction. Thus, if x is an angle in the second quadrant, then 90 < x ≤ 180

3. Third Quadrant: Angles in the third quadrant are between 180◦ and 270◦ moving in
the positive direction. Thus, if x is an angle in the third quadrant, then 180◦ < x ≤ 270◦

4. Fourth Quadrant: Angles in the fourth quadrant are between 270◦


360◦ moving in and
◦ ◦
the positive direction. Thus, if x is an angle in the fourth quadrant, then 270 < x ≤ 360

Ifx is a positive angle and we add multiples of 360◦ to x, the resulting new angle will be in the
◦ ◦ ◦
same quadrant as x. For example, if x = 36 and y = 36 + (360k) , then y is an angle in the
rst quadrant.


Similarly, if x
is a negative angle and we subtract multiples of 360 from x, the resulting angle
◦ ◦ ◦
will be in the same quadrant as x. For example, if x = −36 and y = −36 − (360k) , then y
is an angle in the fourth quadrant.

Note 9.1.2. Suppose we want to know the quadrant in which a given angle, say t◦ is. Then,
we could proceed as follows:

t
• determine k= 360
, where k is the value of the integer part.

• determine x = t − 360k , if t is either positive or negative.

• the evaluated angle x will be between 0◦ and 360◦ . ie, 0◦ ≤ x ≤ 360◦ if t is positive, and
x will be between −360◦ and 0◦ . ie, −360◦ ≤ x ≤ 0◦ if t is negative

• Finally, the required quadrant of t◦ is just the quadrant of x.

Example 9.1.1. Determine the quadrant of angle a) 711◦ b) 8220◦ c) −420◦ iv) −1070◦

Sol:
711
i)
360
= 1.975. Hence, k = 1. Since 711 is positive, we take x = 711 − 360(1) = 351 which is in

the fourth quadrant. Hence, we conclude that 711 is also in the fourth quadrant.

820
ii)
360
= 2.278. Hence, k = 2. Since 820 is positive, we take x = 820 − 360(2) = 100 which is

in the second quadrant. Hence, we conclude that 820 is also in the second quadrant.

−420
iii)
360
= −1.167. Hence, k = −1. Since −420 is negative, we take x = −420−360(−1) = −60

which is in the fourth quadrant. Hence, we conclude that −420 is also in the fourth quadrant.

−1070
iv)
360
= −2.972. Hence, k = −2. Since −1070 is negative, we take x = −1070 − 360(−1) =
−350 which is in the rst quadrant. Hence, we conclude that −1070◦ is also in the rst quadrant.

105
Radian Measure

A radian is a measure of the angle at the centre of the circle making an arc of length r on the
circumference of the circle with radius r.

180◦
• 1 Radian = π

• 1◦ = π
180
Radians

Example 9.1.2. Convert the following degrees into radians a) 60◦ b) −120◦ c) 180◦

180◦
Sol: Using the formula 1 Radian = π
, we have

60◦ = 60 × π
180
= π
3
radians

−120◦ = −120 × π
180
= − 2π
3
radians

180◦ = 180 × π
180
=π radians

Example 9.1.3. Convert the following radians to degrees a) 2π b) − π4 c)



3

Sol: Using the formula 1◦ = π


180
Radians, we have

2π = 2π × 180
π
= 360◦
− π4 = − π4 × 180
π
= −45◦

3
= 2π
3
× 180
π
= 120◦

9.2. Trigonometric Functions


Consider the triangle in the rst quadrant below with point (x, y) on the circumference of a
circle with radius r.

From the diagram above, |OA| = x, |OB| = r, |AB| = y and AÔB = θ Then we have
the following:

106
1. The Sine Function: The sine of an angle θ is the ratio of the length of the opposite
side, to that of the hypotenuse side. Thus, from our gure above,

y
sin θ =
r
2. The Cosine Function: The cosine of an angle θ is the ratio of the length of the adjacent
side, to that of the hypotenuse side. Thus, from our gure above,

x
cos θ =
r
3. The Tangent Function: The tangent of an angle θ is the ratio of the length of the
opposite side, to that of the adjacent side. Thus, from our gure above,

y
tan θ =
x
4. The Secant Function: The secant of an angle θ is the ratio of the length of the
hypotenuse , to that of the adjacent side. Thus, from our gure above,

y
sec θ =
x
5. The Cosecant Function: The cosecant of an angle θ is the ratio of the length of the
hypotenuse, to that of the opposite side. Thus, from our gure above,

r
csc θ =
y

6. The Cotangent Function: The cotangent of an angle θ is the ratio of the length of the
adjacent side, to that of the opposite side. Thus, from our gure above,

x
cot θ =
y

Note 9.2.1. From the denitions above, we notice the following:

1 1 1 sin θ cos θ
i) sec θ = cos θ
ii) csc θ = sin θ
iii) cot θ = tan θ
iv) tan θ = cos θ
v) cot θ = sin θ

Example 9.2.1. Consider the triangle below. Find all the trigonometric functional values of θ

107
Sol: From the gure above, we can see that

3 4 3 5 5 4
sin θ = cos θ = tan θ = csc θ = sec θ = cot θ =
5 5 4 3 4 3

Example 9.2.2. Consider the triangle in the second quadrant. Find all the trigonometric
functional values of θ

Sol: From the gure above, we can see that

3 4 3 5 5 4
sin θ = cos θ = − tan θ = − csc θ = − sec θ = cot θ = −
5 5 4 3 4 3

Example 9.2.3. Consider the triangle below, that is in the third quadrant. Find all the
trigonometric functional values of θ

Sol: From the gure above, we can see that

3 4 3 5 5 4
sin θ = − cos θ = − tan θ = csc θ = − sec θ = − cot θ =
5 5 4 3 4 3

Example 9.2.4. Consider the triangle that is in the fourth quadrant. Find all the trigonometric
functional values of θ

108
y

Sol: From the gure above, we can see that

3 4 3 5 5 4
sin θ = − cos θ = tan θ = − csc θ = − sec θ = cot θ = −
5 5 4 3 4 3

Trigonometric Functions and Quadrants

The above examples give us some interesting results, which we can now generalize:

• All the six trigonometric functions are positive in the rst quadrant

• Only the sine and cosec functions are positive in the second quadrant

• Only the tangent and cotangent functions are positive in the third quadrant

• Only the cosine and sec functions are positive in the fourth quadrant

Therefore, each function is positive in the rst and one other quadrant, and negative in the
other two quadrants.

Example 9.2.5. Find the quadrant containing the terminal side of θ if sin θ < 0 and sec θ > 0

Sol: Since sin θ < 0, the quadrant is either the third or the fourth. Further, since sec θ > 0,
then the quadrant must be the fourth. Hence, the terminal side of θ lies in the fourth quadrant

Example 9.2.6. If the terminal side of θ is in the second quadrant, nd all the trigonometric
1
functional values given that cos θ = − :
2

Sol: First, we sketch the triangle in the second quadrant as shown below.

109
y


From pythagoras theorem, we can see that y 2 = 22 − 11 = 3. Hence, y= 3.
√ √
3 3 √ 2 2 1
sin θ = tan θ = − =− 3 csc θ = √ sec θ = − = −2 cot θ = − √
2 1 3 1 3

Common Angles

The angles 0◦ , 30◦ , 45◦ , 60◦ , 90◦ , 180◦ , 270◦ and 360◦ are called the common,
standard or special angles. Their trigonometric functional values must be known as they are
often applied. The table below summarises the trigonometric functional values of these special
angles.

θ in degrees θ in radians sin θ cos θ tan θ

0◦ 0 0 1 0

30◦ π
6
1
2 2
3 √1
3
√ √
45◦ π
4 2
2
2
2
1
√ √
60◦ π
3 2
3 1
2
3

90◦ π
2
1 0 undened

180◦ π 0 −1 0

270◦ 4π
3
−1 0 undened

360◦ 2π 0 1 0

Example 9.2.7. Calculate i) cos 300◦ ii) cot(−135◦ ) iii) sin 405◦ iv) cos(−420◦ )

Sol: We use the special angles

110
i) Angle 300◦ lies in the fourth quadrant. Hence cos 300◦ is positive. Thus,

cos 300◦ = cos(360◦ − 300◦ )


= cos 60◦
1
=
2

ii) Angle −135◦ lies in the third quadrant. Hence cot(−135◦ ) is positive. Thus,

cot −135◦ = cot(180◦ − 135◦ )


= cot 45◦
=1

iii) Angle 405◦ lies in the rst quadrant. Hence sin 405◦ is positive. Thus,

sin 405◦ = sin(405◦ − 360◦ )


= sin 45◦

2
=
2

iv) Angle −420◦ lies in the fourth quadrant. Hence cos(−420)◦ is positive. Thus,

cos(−420)◦ = cos(420◦ − 360◦ )


= cos 60◦
1
=
2

9.2.1 Trigonometric Identities


We have seen that
x
r
= cos θ and that yr = sin θ. This gives x = r cos θ and y = r sin θ. Using
the Pythagoru's Theorem, we have

r2 =x2 + y 2
=(r cos θ)2 + (r sin θ)2
=r2 cos2 θ + r2 sin2 θ
=r2 (cos2 θ + sin2 θ)

Dividing both sides by r2 gives

cos2 θ + sin2 θ = 1 (i)

Dividing both sides of equation cos2 θ + sin2 θ = 1 by cos θ, we have

cos2 θ + sin2 θ =1
cos2 θ sin2 θ 1
2
+ 2
= 2
cos θ cos θ cos θ
1 + tan2 θ = sec2 θ

111
Hence, we have another identity:

sec2 θ = 1 + tan2 θ (ii)

Dividing both sides of equation cos2 θ + sin2 θ = 1 by sin θ, we have

cos2 θ + sin2 θ =1
cos2 θ sin2 θ 1
2 + 2 = 2
sin θ sin θ sin θ
cot2 θ + 1 = csc2 θ

Hence, we have the identity:

csc2 θ = 1 + cot2 θ (iii)

Let α and β denote two angles, then the following identities hold:

cos(α + β) = cos α cos β − sin α sin β (iv)

cos(α − β) = cos α cos β + sin α sin β (v)

sin(α + β) = sin α cos β + sin β cos α (vi)

sin(α − β) = sin α cos β − sin β cos α (vii)

From identity (iv), we obtain

cos(α + α) = cos α cos α − sin α sin α


= cos2 α − sin2 α
2 2
Hence, cos 2α = cos α − sin α (viii)

From identity (vi), we obtain

sin(α + α) = sin α cos α + sin α cos α


=2 sin α cos α
Hence, sin 2α =2 sin α cos α (ix)

112
If α and β are two angles, then

sin(α + β)
tan(α + β) =
cos(α + β)
sin α cos β + sin β cos α
=
cos α cos α − sin α sin α
sin α cos β + sin β cos α cos α cos β
= ×
cos α cos α − sin α sin α cos α cos β
sin α cos β sin β cos α
cos α cos β
+ cos α cos β
= cos α cos β sin α sin β
cos α cos β
− cos α cos β
tan α + tan β
=
1 − tan α tan β

tan α + tan β
Therefore, we have the identity: tan(α + β) = (x)
1 − tan α tan β

tan α − tan β
Similarly, we can show that: tan(α − β) = (xi)
1 + tan α tan β

2 tan α
From the identity (x), we have tan 2α = (xii)
1 − tan2 α

Example 9.2.8. Evaluate i) cos 75◦ ii) sin 75◦ iii) tan 75◦ ii) sec 75◦

Sol:

i) Using the identity cos(α + β) = cos α cos β − sin α sin β with α = 30◦ and β = 45◦ , we have

cos(75◦ ) = cos(30◦ + 45◦ )


= cos 30◦ cos 45◦ − sin 30◦ sin 45◦
√ ! √ !   √ !
3 2 1 2
= −
2 2 2 2
√ √
6 2
= −
√4 √4
6− 2
=
4

113
ii) Using the identity sin(α + β) = sin α cos β + cos α sin β with α = 30◦ and β = 45◦ , we have

sin(75◦ ) = sin(30◦ + 45◦ )


= sin 30◦ cos 45◦ + cos 30◦ sin 45◦
  √ ! √ ! √ !
1 2 3 2
= +
2 2 2 2
√ √
2 6
= +
√4 √4
2+ 6
=
4

iii) Using the identity (x) with α = 30◦ and β = 45◦ , we have

tan(75◦ ) = tan(30◦ + 45◦ )


tan 30◦ + tan 45◦
=
1 − tan 30◦ tan 45◦
√1 + 1
= 3 
1 − √13 (1)

3+3
= 3√
3− 3
3

=2 + 3

Example 9.2.9. cos 7π ii) tan − 5π



Evaluate and leave the answer in surd form: i)
6 3

Sol:
7π (3+4)π π 2π
i) Note that
6
= 6
= 2
+ 3
so that

 
7π π 2π
cos = cos +
6 2 3
π 2π π 2π
= cos cos − sin sin
2 3 2 3
2π 2π
=(0)(cos ) − (1)(sin )
3 3

= − sin
√ 3
3
=−
2

114
ii) Verify that − 5π
3
= −π − 2π
= (−π) + (− 2π
3 3
) so that
   
5π 2π
tan − = tan (−π) + (− )
3 3
tan(−π) + tan(− 2π
3
)
= 2π
1 − tan(−π) tan(− 3 )
0 − tan 2π3
=
1 − (0) tan(− 2π3
)

= tan −
 3 

= tan π −
3
π
= tan
√ 3
= 3

Example 9.2.10. Verify that sin(α + π) = − sin α, where α∈R

Sol: Use the identity (vi)

sin(α + π) = sin α cos π + cos α sin π


=(sin α)(−1) + (cos α)(0)
= − sin α + 0
= − sin α
Hence, shown.

We can rewrite certain trigonometric functions using the above discussed identities

Example 9.2.11. Prove the identity sin x cot x = cos x

Sol: Pick the side that is more complex than the other

L.H.S = sin x cot x


cos x
= sin x
sin x
= cos x = R.H.S

Example 9.2.12. Prove the identity (1 + tan2 x)(1 − sin2 x) = 1

Sol: Picking the left hand side,

L.H.S =(1 + tan2 x)(1 − sin2 x)


=(sec2 x)(cos2 x)
1
=( 2 )(cos2 x)
cos x
=1 = R.H.S

115
Example 9.2.13. Prove the identity (csc θ − cot θ)2 = 1−cos θ
1+cos θ

Sol: We start with the L.H.S

L.H.S =(csc θ − cot θ)2


 2
1 cos θ
= −
sin θ sin θ
 2
1 − cos θ
=
sin
(1 − cos θ)2
=
sin2 θ
(1 − cos θ)(1 − cos θ)
=
1 − cos2 θ
(1 − cos θ)(1 − cos θ)
=
(1 − cos θ)(1 + cos θ)
1 − cos θ
= = R.H.S
1 + cos θ

9.2.2 Trigonometric Equations


We can solve equations involving basic trigonometric functions, such as cos x = k where x ∈ R,
using the following steps:

• nd the rst quadrant angle α for which cos α = |k|.

• nd the quadrants in which x will lie

• then determine the corresponding angles for those quadrants

A basic equation will usually have two solutions for 0 ≤ x ≤ 2π . If the angles are in degrees,
they should be read correct to one decimal place.


Example 9.2.14. Solve for x in the equation 2 sin x = 1 were 0 ≤ x ≤ 2π

Sol: Write 2 sin x = 1 as sin x = √12 . Get α in the rst quadrant such that sin α = | √12 | = √12 .
π π
Verify that α =
4
since sin
4
= √12 . Now, since sin x = √12 means that the sine function is
π π 3π
positive, the angle x must be in the rst and second quadrants. Hence, x = and x = π− =
4 4 4

π 3π
Hence, the solution set is: SS = { , }
4 4

Example 9.2.15. solve the equation tan2 x − 1 = 0 where 0◦ ≤ x ≤ 360◦

116
Sol: We have (tan x − 1)(tan x + 1) = 0. Hence, tan x = 1 or tan x = −1
For tan x = 1, we get x = 45◦ , 225◦ . For tan x = −1, we have x = 135◦ and x = 315◦

Hence, the solution set is: SS = {45◦ , 135◦ , 225◦ , 315◦ }

Example 9.2.16. Solve the equation 2 sin x − tan x = 0 for 0 ≤ x ≤ 2π

sin x
Sol: We have 2 sin x − cos x
= 0 so that 2 cos x sin x − sin x = 0. Factorising gives sin x(2 cos x −
1) = 0. Hence, sin x = 0 or cos x = 21 .
From sin x = 0, we obtain x = 0, π , and 2π . From cos x = 12 , we obtain x = π
3
and

3
 
π 5π
Hence, the solution set is: SS = 0, , π, , 2π
3 3

Example 9.2.17. solve for θ given the equation cos θ = sin 2θ , where 0 ≤ θ ≤ 2π :

Sol: We can rewrite as cos θ = 2 sin θ cos θ so that we obtain cos θ(1 − 2 sin θ) = 0. Hence,
cos θ = 0 or sin θ = 21
π 3π
From cos θ = 0, we obtain θ= 2
and
2
.

1 π 5π
From sin θ = 2
, we obtain θ= 6
and θ =
6
 
π 5π π 3π
Hence, the solution set is: SS = , , ,
6 6 2 2

Example 9.2.18. Solve the equation 2 sin2 θ − cos θ − 1 = 0 for 0 ≤ θ ≤ 2π

Sol: We rewrite as 2(1 − cos2 θ) − cos θ − 1 = 0 so that 2 cos2 θ + cos θ − 1 = 0. Let cos θ = y .
2
Then we have a quadratic equation 2y + y − 1 = 0 verify that solving this quadratic gives

1 1
(2y − 1)(y + 1) = 0 so that y = −1 or
2
. Thus, cos θ = −1 and cos θ = 2
.

From cos θ = −1, we get θ=π only.

1 π 5π
From cos θ = 2
, we get θ= 3
and θ= 3
 
π 5π
Hence, the solution set is: SS = , π,
3 2

Note 9.2.2. Expressions of the form a cos x + b sin x where a, b ∈ R can be written as

r cos(x + α) or r sin(x + α)

where α∈R and r ∈ R+

117
Example 9.2.19. Express f (θ) = sin θ − cos θ in the form f (θ) = r cos(θ + α). Hence or
otherwise, solve the equation sin θ − cos θ = 1

Sol: Let sin θ − cos θ = r cos(θ + α). Then we expand the R.H.S so that

sin θ − cos θ =r cos(θ + α)


sin θ − cos θ =r cos θ cos α − r sin θ sin α
Hence, 1 = − r sin α (i)

and, − 1 =r cos α (ii)

√ √
Solving (i) and (ii) simultaneously, gives r = 2 and α = 5π4
. Hence, f (θ) = 2 cos(θ + 5π
4
)

sin θ − cos θ =1

 

2 cos θ + =1
4
 
5π 1
cos θ + =√
4 2

Hence, θ+ 4
= π4 , 2π − π4 , π4 + 2π, · · · . Hence, θ = π2 , π since we need 0 ≤ θ ≤ 2π

9.3. Graphs of Trigonometric Functions


Let x be a random measure, we examine the graphs of sin x, cos x and tan x. The graphs of these
trigonometric functions are periodic functions. Below are the graphs of the basic trigonometric
functions

y y

1 1
x x

Amplitude, Period and Phase Shift

Let f (x) = A sin(Bx + C) + D denote the standard trigonometric function. Then

• |A| is called the amplitude of the function. This is the maximum displacement from a
given xed line, usually the line y=0
• The period of a periodic function is the interval required for one complete cycle. The

period, P =
B

118
C
• The Phase Shift or horizontal shift is given as −B . It determines the units required for
the horizontal shifting of the graph.

• The vertical shift is given by the value of D.

Example 9.3.1. Sketch the graph of f (x) = 2 sin(x + π2 ) on the interval [−2π, 2π]
π
Sol: We have A = 2, B = 1, C = 2
and D = 0.
π
C
Therefore, amplitude = |A| = |2| = 2, phase shift = − B = − 12 = − π2 , period = 2π
B
= 2π1
= 2π
π
and the vertical shift is 0. Since the phase shift is − , we shift the graph of 2 sin x to the left
2
π
units.
2

−2

Example 9.3.2. Sketch the graph of f (x) = 2 + cos(x − π2 ) for +2π ≤ x ≤ 2π

Sol: We have A = −1, B = 1, C = − π2 and D = 2.


C − π2 π 2π 2π
Therefore, amplitude = |A| = | − 1| = 1, phase shift = − B =− 1
= 2
, period = B
= 1
= 2π
and the vertical shift is 2.

1
x

Example 9.3.3. Sketch the graph of f (x) = tan(x − π2 )

Sol: Exercise

119
Double Angle Formulae

The following is a summary of the double angle formulae:

• sin 2x = 2 sin x cos x cos 2x = 2 cos2 x − 1

• sin 4x = 2 sin 2x cos 2x cos 4x = 2 cos2 2x − 1

• sin 6x = 2 sin 3x cos 3x cos 6x = 2 cos2 3x − 1

• sin 8x = 2 sin 4x cos 4x cos 8x = 2 cos2 4x − 1

• sin x = 2 sin 21 x cos 12 x cos x = 2 cos2 21 x − 1

• sin2 x = 1−cos 2x
2
cos2 x = 1+cos 2x
2

2 tan x 1−tan2 x
• sin 2x = 1+tan2 x
cos 2x = 1+tan2 x

2 tan x 2 tan( x2 )
• tan 2x = 1−tan2 x
tan x = 1−tan2 ( x2 )

Exercise 9
1. Express each of the following in radians:

i) 60◦ ii) −420◦ iii) 135◦ iv) −45◦ v) 570◦ vi) −60◦ vii) −780◦

2. Express each of the following in degrees:


5π 17π −4π −37π π −π 7π 11π
i) ii) iii) iv) v) vi) vii) viii)
6 4 3 24 36 3 5 3

3. Find the quadrant containing the terminal side of θ if the given conditions hold.

i) sin θ < 0 and cos θ > 0 ii) tan θ < 0 and cos θ > 0 iii) csc θ < 0 and cot θ > 0
iv) sec θ < 0 and tan θ > 0 v) csc θ > 0 and cot θ < 0 vi) sec θ > 0 and cot θ > 0

4. If the terminal side of θ is in the given quadrant, nd all the trigonometric functional
values:
4 5
i)1st quadrant and sin θ = 5
ii) 2nd quadrant and cos θ = − 13 iii) csc θ = − 54
and sec θ < 0
5
iv) 4th quadrant and cot θ = − 12 v) csc θ > 0 and tan θ = − 34 vi) θ is obtuse and
cot θ = − 43

5. Find the exact values of the following, leaving your answer in surd form where necessary:

i) sin 225◦ ii) cos 150◦ iii) tan 330◦ iv) csc(−240)◦ v) sec 420◦ vi) cot 135◦
vii) sin 2π
3
ii) cos(− 5π
3
) iii) tan 4π
3
iv) sec(− 7π
6
) v) csc 9π
4
vi) cot(− π3 )
π
6. Given that θ= 3
, nd the following
1
i) sin 2θ ii) 2 sin θ iii) sec θ
2
iv) cos(−3θ) v) tan2 θ vi) cot θ

120
7. Prove the following identities:

a) sec x − cos x = sin x tan x b) sin x + sin xtan2 x = tan x sec x c) tan2 x + 1 = sec2 x
1+sec x 1 1
d)
sin x+tan x
= csc x e) (sin x−cos x)2 = 1−2 sin x cos x f)
1−sin x
− 1+sin x
= 2 tan x sec x

(tan x)(1+cot2 x) 1−tan2 x


g)
1+tan x2
= cot x h) cot x sin 2x = 1 + cos 2x i)
1+tan2 x
= cos 2x
8. Simplify the following to a single trigonometric function or a constant:
tan θ sin θ
a) sec θ − sin θ tan θ b) (cos2 x − 1)(tan2 x + 1) c) cos x + tan x sin x d)
sec2 θ−1
sec x−cos x
e)
tan x

9. Solve each of the following equations for θ where 0◦ ≤ θ ≤ 360◦ :



i) 2 sin θ + 2 = 0 ii) sin2 θ − 1 = 0 iii) 2 cos2 θ = cos θ (iv) 2 tan θ = 1 v)
2 cos3 θ = cos θ
2 sin2 θ −cos θ −1 = 0
vi) vii) 2 sin θ = tan θ vii) tan θ = cot θ viii) 4 cos2 θ =
2
3 iv) tan θ = 1

10. Solve each of the following equations for x where 0 ≤ x ≤ 2π :


a) tan x + 1 = sec x b) sin x = 1 − cos x c) 2 tan x sec x − tan x d) sin x = csc x
2 2 2
e)sec x−sec x = 2 f )2 cos x+3 cos x+1 = 0 g)3 tan x−1 = 0 h)cos x sin x+
sin x − cos x = 1
11. Find the period, amplitude and phase shift of the given functions and sketch their graphs
for −2π ≤ x ≤ 2π :
a) f (x) = 2 sin(x − π2 ) b) f (x) = 4 cos 2(x + π2 ) c) f (x) = 12 cos(2x + π2 )
12. Sketch the graphs of the following functions on the stated domains:

i) f (x) = −2 sin(x+ π2 ) , − π2 ≤ x ≤ 3π
2
ii) f (x) = 3+cos(2x−π) , π
2
≤x≤ 5π
2
i) f (x) = 2 − sin x , −π ≤ x ≤ 2π (ii) f (x) = −2 + cos(x − π2 ) ,
π
2
≤x≤ 5π
2

13. Sketch the graphs of the following functions:

a) y = 3 cot(x − π4 ) (b) y = tan(x + π4 ) (c) y = − csc(x + π4 ) (c) y = 2 sec(x − π2 )


14. Verify each of the following identities:

a) cos(α + 90◦ ) = − sin α (b) sin(α + 90◦ ) = cos α (c) sin(α + π) = − sin α (d)
cos(α − π) = − cos α
f) tan(α + π4 ) = 1+tan α
1−tan α
(g) tan(α − π4 ) = tan α−1
tan α+1
(h)
sin 2θ sin θ
2 cos θ
+ cos2 θ = 1 (i) sec 2θ =
sec2θ
2−sec2 θ

15. Express: (a) sin 3θ in terms of sin θ (b) cos 3θ in terms of cos θ (c) cos 4θ in terms
of cos θ
16. solve each of the following for θ, where 0 ≤ θ ≤ 2θ.
2
(a)cos θ = sin 2θ (b)2 − sin θ = 2 cos2 2θ (c)sin 2θ + cos θ = 1 (d)cos 2θ − 3 sin θ = 2
(e)tan 2θ + sec 2θ = 1

17. Express f (x) = 3 cos x − sin x in the form f (x) = r cos(x + α). Hence, sketch its graph.
√ √
18. Find the general solution of: (a) cos θ − 3 sin θ = 1 (b) cos x + sin x = 2.

121
10
Logarithmic and Exponential Functions
10.1. Introduction to exponentials
An exponential function is a function of the form f (x) = bx .
b is called Here, the real number
x+c
the base and the power x is called the exponent. A function of the form f (x) = b is also
x
considered to be an exponential function, which can be written in the form f (x) = ab where
a = bc . The base is often taken to be e ≈ 2.718, where e is Euler's number, a number such
x
that the function f (x) = e is its own derivative. The exponential function is used to model a
relationship in which a constant change in the independent variable gives the same proportional
change in the dependent variable.

Basic Rules of Indices

The following are the basic laws of the indices.

• Multiplication: If the base is the same, then add the powers xm × xn = xm+n
• Division: If the base is the same, then subtract the powers xm ÷ xn = xm−n
• Power: If an exponential is raised to another power, multiply the powers (xm )n = xmn

− 13
Example 10.1.1.
3 2
Evaluate i) 100 2 ii) 32− 5 iii)
8
− 27 iv) (−3)0

Sol: We apply the basic rules of indices

3
 1 3
 √ 3
i) 100 2 = 100 2 = 100 = 103 = 1000
2
ii) 32− 5 = 1
2 = √
5
1
2 = 1
(2)2
= 1
4
32 5 ( 32)
 1  13  13 √
8 −3 1 3
27
iii) − 27 = − 27
8
= (−1) 3 27
8
= (−1) √3
8
= − 23
iv) (−3)0 = 1

Example 10.1.2. Solve the equation 2x = 64

Sol: Note that 64 = 25 . Hence we have 2x = 25 =⇒ x = 5

122
Example 10.1.3. Solve the equation 22x+1 − 15(2x ) = 8

Sol: We rewrite 22x+1 − 15(2x ) = 8 as 2 (2x )2 − 15(2x ) = 8 and then let y = 2x . Hence,

22x+1 − 15(2x ) =8
2 (2x )2 − 15(2x ) =8
2y 2 − 15y − 8 =0 letting 2x = y
(2y + 1)(y − 8) =0
1 x 1
We get x = −
2
and x = 8. Hence, 2 = − and
2
2x = 8. From 2x = 8, we get x = 3. However,
x 1
2 = − 2 is not valid, hence it is discarded.

Example 10.1.4. Solve the following simultaneous equations

3x × 9y = 1 (i)

1
22x × 4y = (ii)
8

Sol: From equation (i), we have

3x × 9y =1
3x × 32y =30
Hence, x + 2y =0 (iii)

Similarly, from (ii), we get

1
22x × 4y =
8
2 × 2 =2−3
2x 2y

22x+2y =2−3
Hence, 2x + 2y = − 3 (iv)

3
Solving equations (iii) and (iv) simultaneously gives x = −3 and y= 2

10.1.1 Graphs of Exponential Functions


Let f (x) = bx be an exponential function with b ∈ (1, ∞). Then the graph of y = f (x) looks
as shown below. Note that if there is no vertical shift, the graph of an exponential will pass
through the point (0, 1) and is asymptotic to the line y = 0. Below is a sketch of the graph
when b>1

123
y

1
x

When the value of the base b is a less than 1, the graph has the orientation shown below.

1
x

Example 10.1.5. Sketch the graphs of the function f (x) = 3x and g(x) = 13 x2 on the same
axis. State the domain and the range for each.

1
x

From the graph, we see that Df = (−∞, ∞) and Rf = (0, ∞). The line y = 0 is an asymptote.

Example 10.1.6. Sketch the graph of the function f (x) = ex + 1. State the domain, range
and the equation of the asymptote.

124
Sol: The graph of this function is obtained by shifting the graph of ex one unit upwards.

2
1
x

From the graph, we see that Df = (−∞, ∞) and Rf = (1, ∞). The line y = 1 is an asymptote.

Example 10.1.7. sketch the graph of the function f (x) = e−x + 3. State the domain, range
and the line of asymptote.

4
3

1
x

From the graph, we see that Df = (−∞, ∞) and Rf = (3, ∞). The line y = 3 is an asymptote.
Example 10.1.8. Sketch the graph of the function f (x) = 2 − ex . State the domain and the
range

2
1
x

From the graph, we see that Df = (−∞, ∞) and Rf = (−∞, 2). The line y = 2 is an asymptote.

125
10.2. Introduction to Logarithms
The use of calculators has made the logarithmic tables to be rarely used for calculations.
However, the theory of logarithms is important, for there are several scientic laws that involve
the rules of logarithms.

Denition 10.2.1. Let y ∈ R. Further, let b ∈ R+ − {1}. Then the number x is called the
logarithm of y to the base b if
y = bx

We can make a conversion from the exponential form to the logarithmic form using the following
relationship
If y = bx then x = logb y

Example 10.2.1. Convert the following exponentials to logarithmic form.

 3
5 −2 1 1 1
i) 10 = 100000 ii) 2 = iii) =
4 2 8

Sol:

i) If 105 = 100000, then log10 100000 = 5


ii) If 2−2 = 1
4
, then log2 14 = −2
1 3 1 1

iii) If
2
= 8
, then log 1 8
=3
2

Example 10.2.2. Convert the following logarithms to exponential form.

i) 4 = log3 x ii) x = log7 5 iii) 2 = logx 10

Sol:

i) If 4 = log3 x, then 34 = x
ii) If x = log7 5, then 7x = 5
iii) If 2 = logx 10, then x2 = 10

Example 10.2.3. Solve for x in the following expressions

1
i) x = log2 64 ii) logx 25 = 2 iii) log3 x = 4 iv) x = log3
3

Sol: To solve logarithmic equations, we need to convert to exponential form.

i) If x = log2 64, then 2x = 64. Writing in the same base, we have 2x = 26 so that x=6
ii) If logx 25 = 2, then x2 = 25 so that x=5
iii) If log3 x = 4, then x = 34 = 81. Hence, x = 81
iv) If x= log3 13 , then 3x = 1
3
= 3−1 . Thus, 3x = 3−1 so that x = −1

126
10.2.1 Laws of Logarithms
Let b ∈ R+ − {1}. Further, let x and y be real numbers. Then the following hold

1. Raising a number to a given power: logb xn = n logb x


logb x
2. Changing from base N to base b: logN x = logb N

3. Multiplying two numbers: logb (xy) = logb x + logb y

4. Dividing two numbers: logb ( xy ) = logb x − logb y

5. Log of 1 to any base: logb 1 = 0

6. log of the base: logb b = 1

Example 10.2.4. Simplify the following expressions


 
1
i) log9 81 ii) log5 iii) log2 9 + log2 21 − log2 7
25

Sol:

i) log9 81 = log9 92 = 2 log9 9 = (2)(1) = 2


1
= log5 5−2 = −2 log5 5 = (−2)(1) = −2

ii) log5
25

iii) log2 9 + log2 21 − log2 7 = log2 (9 × 21 ÷ 7) = log2 27 = log2 33 = 3 log2 3

Note 10.2.1. Two special logarithms are worth noting:

• Common Logarithms: These are logarithms whose base is 10. We denote the common
1
logarithms by lg. For example, log10 x = lg x. Similarly, log10 7 = lg 7, log10
2
= lg 12

• Natural Logarithms: These are logarithms whose base is e. We denote the common
1
logarithms by ln. For example, loge x = ln x. Similarly, loge 7 = ln 7, loge
2
= ln 12

 √ 
Example 10.2.5. Write the expression ln 8× 4 5
81
in terms of ln 2, ln 3 and ln 5

Sol: We apply the laws of logarithms.

√ !
8× 45 √
4
ln = ln 8 + ln 5 − ln 81
81
1
= ln 23 + ln 5 4 − ln 34
1
=3 ln 2 + ln 5 − 4 ln 3
4

127
10.2.2 Logarithmic Equations
Example 10.2.6. Find the possible values of x for which log 5 + log x = 1

Sol: Use the rules of logarithms and convert to exponential form.

log2 5 + log2 x =1
log2 5x =1
5x2
2
x=
5

Example 10.2.7. Solve the equation ln(x − 1) + ln(x + 1) = 2 ln(x + 2)

Sol: We use the rules of logarithms

ln(x − 1) + ln(x + 1) =2 ln(x + 2)


ln(x − 1)(x + 1) = ln(x + 2)2
(x − 1)(x + 1) =(x + 2)2
x2 − 1 =x2 + 4x + 4
4x = − 5
5
x=−
4

Example 10.2.8. Solve the following equation 9 logx 5 = log5 x

log5 5 9
Sol: Make sure the base is the same through out. Hence, note that 9 logx 5 = 9 log x
= log5 x
.
5
Therefore,

9 logx 5 = log5 x
9
= log5 x
log5 x

Let log5 x = y . Then substituting this above gives

9
=y
y
9 =y 2
y 2 − 9 =0
(y − 3)(y + 3) =0

Hence, x=3 and x = −3


Since we can not have a negative base, discard x = −3 and we say x=3

128
10.2.3 Graphs of Logarithmic Functions
Since the logarithmic function is the inverse of the exponential function, we can obtain the
x
graph of y = logb x by reecting the graph of y = b in the line y = x. Below is the sketch of
the graph of y = logb x when b > 1.

x
1

Example 10.2.9. Sketch the graphs of the following functions clearly indicating the intercepts
and asymptotes. Hence, state the domain and the range.

i) f (x) = 2 − ln x ii) gx = 1 + log 1 x iii) h(x) = 3 + ln x iv) 2 − log5 x


2

Sol: Exercise

10.3. Applications of Exponential and Logarithmic Functions


The exponential function is widely used in physics, chemistry, engineering, mathematical bi-
ology, economics and mathematics. The exponential function is used to model a number of
random and natural phenomenon.

Example 10.3.1. A highly infectious disease is introduced into a small isolated village of
population 200. The number of individuals y who have contracted the disease t days after the
outbreak begins is modelled by the equation

200
y=
1 + 199e−0.2t
Determine:

i) the number of individuals infected initially

ii) the number of individuals infected after 10 days

iii) determine the time when half the population will be infected.

129
Sol:

i) Initially implies that t = 0. Therefore,

200
y=
1 + 199e−0.2t
200
=
1 + 199e−0.2(0)
200
=
1 + 199e0
200
= since e0 = 1
1 + 199(1)
200
=
200
=1 Hence, one individual was infected initially

ii) Taking t = 10, we have,

200
y=
1 + 199e−0.2t
200
=
1 + 199e−0.2(10)
200
=
1 + 199e−2
200
= since e−2 ≈ 0.1353353
1 + 199(0.135)
200
=
27.932
=7.160 Hence, 7 individuals will be infected after 10 days

iii) Taking y = 12 (200) = 100 and solving for t, we have,

200
100 = −0.2t
−0.2t
 1 + 199e
100 1 + 199e =200
1 + 199e−0.2t =2
1
e−0.2t =
199
1
ln e−0.2t = ln( ) after taking logs on both sides
199
−0.2t = − ln 199
ln 199
t=
0.2
t =26.5 days

The above example shows the basic use of the exponential function. For more on the application
of the exponential and logarithmic functions, see the exercise below.

130
Exercise 10
1. Solve the following equations:
x 1 x 1 4x 1 −2y
a)2 = 32 b)(
2
) = 16
c)27 = 9x+1 d)(
8
) = 2y+3 e)2
2x+1
= 3(2x ) − 1

2. Sketch the graphs of the following functions:

a) y = −4x + 2 b) y = 3−x − 1 c) y = ( 14 )x d) y = −2 + e−x e) y = 1 − ex

3. Write each of the following in logarithmic form:

(a) 23 = 8 b) ( 32 )−3 = 27
8
c) 4−2 = 1
16
d) (0.4)3 = 0.064 e) 51 = 5

4. Write each of the following in exponential form:


1
(a)log2 64 = 6 b) log2 ( 16 ) = −4 c)log10 0.00001 = −5 d) log5 0.5 = −1

5. Solve each of the following:


x log8 x 3 1
a)log3 81 = x b) logx 81 = 2 c)log8 = d) log4 y = e) logx 3 =
2 log8 2 2 2
x
g)3 =5 h) 2x = 9 i)5
2x+1
= 32−x j) 22x−1 = 32−x k) 6x+1 = 8

6. Simplify the following logarithms or write as a single quantity.

(a)2 logb x+4 logb y −3 logb z (b) 2 logb x+ 21 logb (x−1)−4 logb (2x+5) (c)− ln x−3 ln 2
1
(d)2 ln 8 + 5 ln 2 (e)
2
ln x − 5 ln x + 4 ln y (f )ln 64 − ln 128 + ln 32

7. Find the possible values of x for which:

a) log 5 + log x = 0 b) log3 x − 2 logx 3 = 1 c) ln(x − 4) + ln(x − 1) = 1


2
d)log(x − 1) + log(x + 1) = 2 log(x + 2) e) log3 (2 − 3x) = log9 (6x − 19x + 2)
 √
4

125× 16
8. Write ln √
4 in terms of ln 2, ln 3 and ln 5
813

9. Show that log4 3 = log2 3. Hence solve the following simultaneous equations

3y = 9x , 2 log2 y = log4 3 + log2 x

10. Express log9 xy in terms of log3 x and log3 y . Hence solve for x and y in the simultaneous
equations
5
log9 xy = 2
, log3 x log3 y = −6

11. In a certain bacterial culture, the equation p(t) = 1000e0.4t expresses the number of
bacteria present as a function of time t, where t is expressed in hours.
(a) How many bacteria are present initially?

(b) How many bacteria are present after 2 hours?

(c) After how many hours will the number of bacteria be double the initial number?

12. The rate at which a body cools is given by θ = 250e−0.05t where the excess of the tem-

perature of a body above its surrounding at time t minutes is θ C:

(a) Sketch the graph showing the natural decay curve for the rst hour of cooling

(b) Determine temperature after 25 minutes and the time when temperature is 195◦ C.

131
13. Suppose that a certain substance has a half life of 20 years. If there are presently 2500
− t
milligrams of the substance, then the equation Q(t) = 2500(2) 20 yields the amount
remaining after t years

(a) How much remains after 40 years?

(b) How many years will it take for only half the initial amount to remain?

132
11
Binomial Expansions
11.1. Introduction
A binomial expression is one which contains two terms connected by a plus or minus sign, such
2
as (a + b), (x − y), (2x + y) , etc. If the binomial (x + y) is squared, the result is the expansion
2 3
of (x + y) . Similarly, if its cubed, the result is the expansion of (x + y) and so on.

We will be interested in the binomial expansions of the form (a + x)n , where n ∈ R, and usually
n
rational. We start with the case where n is a positive integer. Consider the expansion of (a+x)
for integer values of n from 0 to 6:

(a + x)0 = 1
(a + x)1 = a + x
(a + x)2 = a2 + 2ax + x2
(a + x)3 = a3 + 3a2 x + 3ax2 + x3
(a + x)4 = a4 + 4a3 x + 6a2 x2 + 4ax3 + x4
(a + x)5 = a5 + 5a4 x + 10a3 x2 + 10a2 x3 + 5ax4 + x5
(a + x)6 = a6 + 6a5 x + 15a4 x2 + 20a3 x3 + 15a2 x4 + 6ax5 + x6

Note 11.1.1. From this expansion, we are able to notice the following:

• The powers of a decrease from n to 0 moving from left to right

• The powers of x are increasing from 0 to n moving from left to right

• The coecients of each term of the expansions are symmetrical about the middle co-
ecient when n is even and symmetrical about the two middle coecients when n is
odd.

• For each term of the expansion, the powers of a and x add up to n

• The expansion of (a + x)n has n+1 terms

Isolating the coecients of the above expansion gives the pattern below called the Pascal's
Triangle, named after the French Mathematician Pascal (1623-1662). Working through the

133
pattern in the triangle can give us the coecients of the expansion (a + x)n , and hence, the
expansion can be determined. The gure below shows part of the Pascal's Triangle. Each
number in the triangle is obtained by adding together the two numbers directly above.

1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
1 6 15 20 15 6 1

The second row is 1 2 1. This represents the coecients of (a + x)2 = a2 + 2ax + x2 .


Similarly, the third row is 1 3 3 1 which has coecients of (a + x)3 = a3 + 3a2 x + 3ax2 + x3
The last row, 1 6 15 20 15 6 1 has coecients of (a + x)6
n
Studying the pattern of the Pascal's Triangle, enables us to obtain coecients of (a + x) for
n ∈ N. For example, we can see that the coecients of (a + x)7 will make the next row in our
diagram above. Verify that this is given by

1 7 21 35 35 21 7 1

Hence, the expansion of (a + x)7 is given by

(a + x)7 =1a7 + 7a6 x + 21a5 x2 + 35a4 x3 + 35a3 x4 + 21a2 x5 + 7ax6 + 1x7


=a7 + 7a6 x + 21a5 x2 + 35a4 x3 + 35a3 x4 + 21a2 x5 + 7ax6 + 1x7

Note that the coecients of a decreases from 7 to 0, while the coecients of x increases from
0 to 7. Also, the sum of the powers is always equal to 7.

Example 11.1.1. Expand (a + x)8

Sol: Exercise

Example 11.1.2. Expand the binomial (3x − 1)4

Sol: Using the Pascal's Triangle for n = 4, the coecients are: 1 4 6 4 1. Hence

(3x − 1)4 =1(3x)4 (−1)0 + 4(3x)3 (−1) + 6(3x)2 (−1)2 + 4(3x)(−1)3 + 1(3x)0 (−1)4
=81x4 − 108x3 + 54x2 − 12x + 1

Example 11.1.3. Find in ascending powers of x the expansion of (2 − x2 )6

134
Sol: For n = 6, the coecients are: 1 6 15 20 15 6 1. Therefore,

x x x x x x x
(2 − )6 =1(2)6 + 6(2)5 (− ) + 15(2)4 (− )2 + 20(2)3 (− )3 + 15(2)2 (− )4 + 6(2)(− )5 + 1(− )6
2 2 2 2 2 2 2
4 2 2 3 1 4 1 5 1 6
=64 − 6(2 )x + 15(2 )x − 20x + 15( 2 )x − 6( 4 )x + 6 x
2 2 2
2 3 15 4 3 5 1 6
=64 − 96x + 60x − 20x + x − x + x
4 8 64
4 5
15x 3x x6
=64 − 96x + 60x2 − 20x3 + − +
4 8 64

Example 11.1.4. Find, in ascending powers of x, the rst three terms in the expansion of the
3x 5
binomial (1 − 2
)

Sol: For n = 5, the Coecients from Pascal's Triangle are: 1 5 10 10 5 1 Hence,the


rst three terms end up to the coecient of 10

3x 5 45x2
(1 − 2
) = 1(1)5 + 5(1)4 (− 3x
2
) + 10(1)3 (− 3x
2
)2 + · · · = 1 − 15x
2
+ 2
+ ···
15x 45x2
Hence, the rst three terms are 1− 2
+ 2

Example 11.1.5. Use the binomial expansion of (1 − x2 )4 to nd the exact value of (0.995)4

Sol: n = 4. From Pascal's Triangle, the required coecients are: 1 4 6 4 1. Hence,

x x x x x x
(1 − )4 =1(1)4 (− ) + 4(1)3 (− ) + 6(1)2 (− )2 + 4(1)(− )3 + 1(− )4
2 2 2 2 2 2
x x 2 x 3 x 4
=1 + 4(− ) + 6(− ) + 4(− ) + (− )
2 2 2 2
3x2 x3 x4
=1 − 2x + − +
2 2 16
To nd the exact value of (0.995)4 , equate it to (1 − x2 )4 and determine the required value of x
x
Thus, 0.995 = 1 − 2
=⇒ x = 0.01. Using this value of x in the expansion gives the results.
Hence,

 4
4 0.01
(0.995) = 1 −
2
3(0.01)2 (0.01)3 (0.01)4
=1 − 2(0.01) + − +
2 2 16
2 4
3(0.01) (0.01) (0.01)3
=1 + + − 2(0.01) −
2 16 2
=1 + 0.00015 + 0.000000000625 − 0.02 − 0.0000005
=1.000150000625 − 0.0200005
=0.980149500625

Hence, (0.995)4 = 0.980149500625

135
11.2. The Binomial Theorem
The use of Pascal's Triangle in determining the coecients of the Binomial expansion can be
very tedious if the value of n is large. The approach works well for n values from 0 up to
8. For larger values, it does not work quite well as the computation becomes burdensome.
Hence, a more general, yet non-burdensome method is needed. The binomial series or binomial
theorem is a more general formula for raising a binomial expression to any power without
n
lengthy multiplication. Below is the formula for the Binomial series expansion of (a + bx) .

n  
X
n n n−r
(a + bx) = a (bx)r
r=0
r
OR
     
n n n n−1 n n−2 2 n n−r
(a + bx) = a + a (bx) + a (bx) + · · · + a (bx)r + · · · + (bx)n
1 2 r
n n!

where the expression
r
= (n−r)!r!
, denotes the Binomial coecients.

When a=1 in the binomial (a + bx)n , the the formula for expansion simplies to

n  
X
n n
(1 + bx) = (bx)r
r=0
r
OR      
n n n 2 n
(1 + bx) = 1 + bx + (bx) + · · · + (bx)r + · · · + (bx)n
1 2 r

Binomial Coecients

Before we apply the Binomial Theorem to the Binomial Expansions, let us study the coecients
n

of the Binomial Series, .
r

Denition 11.2.1. The factorial of a positive integer, n, denoted n! is dened by,


n! = n(n − 1)(n − 2)(n − 3) · · · 2.1

Example 11.2.1. i) 5! = 5(4)(3)(2)(1) = 120 ii) 2! = 2(1) = 2 iii) 1! = 1 iv) 0! = 1

The factorial of a positive integer n is just the product of all integers from n down to 1
Therefore, the Binomial coecient is now dened as
 
n n!
=
r (n − r)!r!
Alternatively,  
n n(n − 1)(n − 2) · · · (n − r + 1)
=
r r!

136
Example 11.2.2. Evaluate the following
8 8 8 8 8
    
i) ii) iii) iv) v)
3 5 0 8 1

n n!

Sol: Using r
= (n−r)!r!
, we get

8 8! 8! 8×7×6×5×4×3×2×1 8×7×6 8×7



i)
3
= (8−3)!3!
= 5!3!
= (5×4×3×2×1)(3×2×1)
= 3×2×1
= 1
= 56
8 8! 8! 8×7×6

ii)
5
= (8−5)!5!
= 3!5!
= 3!
= 8 × 7 = 56
8 8! 8! 8!

iii)
0
= (8!)!0!
= 8!×0!
= 8!×1
=1
8 8! 8! 8!

iv)
8
= (8−8)!8!
= 0!8!
= 8!
=1
8 8! 8! 8×7×6×5×4×3×2×1

v)
1
= (8−1)!1!
= 7!1!
= 7×6×5×4×3×2×1
=8

Using the Binomial Theorem

By denition, we have

     
n n−1
n n n−2
n 2 n n−r
(a + bx) = a + a (bx) + a (bx) + · · · + a (bx)r + · · · + (bx)n
1 2 r

Alternatively, this can be written as

n(n − 1) n−2 n(n − 1) · · · (n − r + 1) n−r


(a+bx)n = an +nan−1 (bx)+ a (bx)2 +· · ·+ a (bx)r +· · ·+(bx)n
2! r!

Note that the rst four terms of the expansion of (a + bx)n are noticed as

n(n − 1) n−2 n(n − 1)(n − 2) n−3


(a + bx)n = an + nan−1 (bx) + a (bx)2 + a (bx)3 + · · ·
2! 3!
n

The coecient of the rth term in the expansion is given by
r−1

OR in other words,
n

The coecient of the (r + 1)th term in the expansion is given by
r

Hence,  
th n n
the (r + 1) term of the expansion (a + bx) is (a)n−r (bx)r
r

Example 11.2.3. Expand (2 + x)6

Sol: We can either use Pascal's Triangle or The Binomial Theorem. We use the later.
6(5) 4 2 6(5)(4) 3 3 6(5)(4)(3) 2 4 6(5)(4)(3)(2) 6(5)(4)(3)(2)(1) 6
(2 + x)6 = 26 + 6(2)5 x + 2!
2x + 3!
2x + 4!
2x + 5!
2x5 + 6!
x
= 64 + 192x + 240x2 + 160x3 + 60x4 + 12x5 + x6

Example 11.2.4. Use the Binomial Theorem to expand (1 − 2x)5

137
(a + bx)n = nr=0 nr an−r (bx)r , we have
P 
Sol: using

n  
5
X 5
(1 − 2x) = (1)n−r (−2x)r
r=0
r
n  
X 5
= (−2x)r
r
r=0          
5 0 5 1 5 2 5 3 5 4 5
= (−2x) + (−2x) + (−2x) + (−2x) + 1(−2x) + (−2x)5
0 1 2 3 4 5
=1 − 2x + 40x2 − 80x3 + 80x4 − 32x5

Example 11.2.5. Find the rst four terms in the expansion of (x − 2)12

Sol: Using the Binomial Theorem,


n  
12
X 12
(x − 2) = (x)n−r (−2)r
r=0
r
12 × 11 10 12 × 11 × 10 9
=x12 + 12x11 (−2) + x (−2)2 + x (−2)3 + · · ·
2! 3!
=x12 − 24x11 + 264x10 − 1760x9 + · · ·

Example 11.2.6. 1 12

Find the 5th term in the expansion of 2x − 2

Sol: Since we need the 5th term, we take r =5−1=4


12
(2x)12−4 (− 12 )4 = 10×9×8×7
(2x)6 ( 12 )4

The 5th term = 4 4!
= 840x6

Example 11.2.7. Find the term that is independent of x in the expansion of (2x − x1 )10
10
(2x)10−r (− x1 )r . Hence

Sol: The (r + 1)th term = r
 
th 10 1
(r + 1) term = (2x)10−r (− )r
r x
 
10 1
= (2)10−r x10−r (−1)r ( )r
r x
 
10
= (−1)r (2)10−r x10−r x−r
r
 
10
= (−1)r (2)10−r x10−2r
r
If any term is to be independent of x, then x10−2r = 1 =⇒ 10 − 2x = 0 =⇒ x = 5
Hence, the 6th term is independent of x

So far, our discussion of the Binomial Theorem has made use of only positive integer values of
n. What if n is not a positive integer? The next subsection discusses the general application
of the Binomial Theorem, provided n is rational.

138
Binomial Theorem for Any Rational Power

The Binomial Expansion formula,


     
n n n−1
n n n−2 2 n n−r
(a + bx) = a + a (bx) + a (bx) + · · · + a (bx)r + · · · + (bx)n
1 2 r
applies to all rational powers provided that |x| < ab or − a
b
<x< a
b
. Further, for the series to
converge, an additional point is needed that |x| < a.

Example 11.2.8. Use the Binomial expansion to nd the rst four terms in the polynomial
1
approximation for
(2−3x)2

1
Sol: We rewrite (2−3x)2 as (2 − 3x)−2 . Hence, using the Binomial Theorem, we have

1
=(2 − 3x)−2
(2 − 3x)2
(−2)(−3) −2−2 (−2)(−3)(−4) −5
=(2)−2 + (−2)(2)−2−1 (−3x) + (2) (−3x)2 + (2) (−3x)3 + · · ·
2! 3!
1 6 27 (−2)(−3)(−4) −5
= + x + x2 + (2) (−3x)3 + · · ·
4 8 16 3!
1 3 27 2 27 3
= + x + x + x + ···
4 4 16 8
2
This is valid for |3x| < 2 =⇒ |x| <
3

Example 11.2.9. Expand


1
(1+2x)3
in ascending powers of x as far as the term in x3 , using the
binomial series. State the limits of x for which the expansion is valid.

1
Sol: Rewrite (1+2x)3 as (1 + 2x)−3 and then use the Binomial Theorem.

1
3
=(1 + 2x)−3
(1 + 2x)
(−3)(−3 − 1) (−3)(−3 − 1)(−3 − 2)
=1 + (−3)(2x) + (2x)2 + (2x)3 + · · ·
2! 3!
=1 − 6x + 24x2 − 80x3 + · · ·
1
This expansion is valid for |x| < 2
, ie, it is valid provided − 21 < x < 1
2


Example 11.2.10. Expand 1−x in ascending powers of x as far as the term in x3 , using
the binomial series. State the limits of x for which the expansion is valid.

√ 1 1
Sol: Rewrite 1−x as (1 − x) 2 and then use the Binomial Theorem with n= 2
.
√ 1
1 − x =(1 − x) 2
1 ( 12 )( 21 − 1) 2 ( 12 )( 21 − 1)( 21 − 2)
=1 + ( )(−x) + (−x) + (−x)3 + · · ·
2 2! 3!
x x2 x3
=1 − − − − ···
2 8 16
This expansion is valid for |x| < 1, ie, it is valid provided −1 < x < 1

139
Example 11.2.11. Use the Binomial expansion to nd a series expansion for the rational
3x+5 3
expression 2 up to the term in x .
x +2x−3

3x+5 1 2
Sol: Using partial fraction decomposition, we can show that x2 +2x−3 = x+3
+ x−1
.

1
To obtain the required series expansion, we obtain the expansion for and the expansion for
x+3
2
. Then add the two expansions.
x−1

1
=(3 + x)−1
x+3
x
=(3)−1 (1 + )−1
3
1 x (−1)(−2) x 2 (−1)(−2)(−3) x 3
= [1 + (−1)( ) + ( ) + ( ) + ···]
3 3 2! 3 3! 3
1 x x2 x3
= [1 − + − + ···]
3 3 9 27
1 x x 2 x3
= − + − + ···
3 9 27 81
This expansion is valid for |x| < 3.

2
=2(x − 1)−1
x−1
= − 2(1 − x)−1
(−1)(−2) (−1)(−2)(−3)
= − 2[1 + (−1)(−x) + (−x)2 + (−x)3 + · · · ]
2! 3!
= − 2[1 + x + x2 + x3 + · · · ]
= − 2 − 2x − 2x2 − 2x3 − · · ·

This expansion is valid for |x| < 1.


Hence, the expansion is:

3x + 5 1 x x2 x3
=( − + − + · · · ) + (−2 − 2x − 2x2 − 2x3 − · · · )
x2 + 2x − 3 3 9 27 81
1 x x2 x3
= − 2 − − 2x + − 2x2 − − 2x3 + · · ·
3 9 27 81
5 19x 53x2 163x3
=− − − − − ···
3 9 27 81
This expansion is valid for |x| < 1

Example 11.2.12. Use the Binomial expansion to nd a series expansion for the rational
1−x−x2 3
expression up to the term in x .
(1−2x)(1−x)2

Sol: Exercise

140
12
Introduction to Calculus
12.1. Introduction
One of the most fundamental topics studied in mathematics is Calculus. Calculus is simply a
branch of mathematics that studies changing quantities, such as velocity, acceleration, rate of
ination, rate of spread of disease, etc. Calculus is widely used by many dierent professionals
to model real life phenomenon. Economists, Engineers and scientists in general apply calculus
to solve the real word problems. Since calculus is the science of change, the rate at which a
chemical reaction is taking place and the mode of that reaction can be determined using the
concepts of calculus. Take the rate at which the population of a particular bacteria in a given
culture is growing. All these and many other problems are simplied through the use of calculus
to solve them.

12.2. Limits of Functions


The notion of a limit is fundamental to the study of calculus. Thus, it is important to acquire a
good working knowledge of limits before proceeding to the other topics in calculus. Suppose that
a function f (x), is dened for all points in the domain of f (x), except possibly at a particular
point say c. We are interested in knowing the behaviour of this function as the domain values
get closer and closer to this point c. If as the domain values approach c, the function f (x)
approaches a real number say L, then we say that the limit of f (x) as x approaches c is L. We
write this limit as
lim f (x) = L
x→c

We can determine the limit of a function using three basic methods;

1. Numerical Approach: This involves constructing a table of values of x getting closer


and closer to c, with the corresponding y = f (x) values.

2. Graphical Approach: Draw the graph of the function, then observe the limit of the y
values as x values approach c.

3. Analytic Approach: Here, we use the concepts of algebra and calculus to determine
the limits

We will focus on the use of graphical method and analytical approach as the methods of
determining the limits. Let us now give a formal denition of a limit.

141
Denition 12.2.1. Let f (x) be a function dened on an open interval containing a point c,
but not necessarily at c. If L is a real number such that as the x values approach c from either
the left hand side or right hand side of c, f (x) gets arbitrarily close to L, then L is called the
limit of f (x) as x approaches c. This is written as
lim f (x) = L
x→c

Note that x can actually approach c for two directions, the L.H.S and the R.H.S. Hence we can
talk of two kinds of limits:

• If as x approaches c from the L.H.S, f (x) is approaching L1 , we write

lim f (x) = L1
x→c−

to denote the left limit of f (x) as x approaches c. The minus sign on c− indicates that
the x values are being taken from the negative side of c, but are not necessarily negative.

• If as x approaches c from the R.H.S, f (x) is approaching L2 , we write

lim f (x) = L2
x→c+

to denote the right limit of f (x) as x approaches c. The plus sign on c+ indicates that
the x values are being taken from the positive side of c, but are not necessarily positive.

Theorem 12.2.2. Let f (x) be a function dened on an open interval containing a point c, but
not necessarily at c. The limit of f (x) as x approaches c exists if and only if the left limit and
the right limit of f (x) at c exist and are equal. ie
lim f (x) = L if f lim− f (x) = L and lim+ f (x) = L
x→c x→c x→c

Example 12.2.1. Given the function f (x) = x + 1,


i) sketch the graph y =x+1
ii) Hence, determine limx→0− f (x) and limx→0+ f (x)
iii) Does the limit exist?

Sol: i) The sketch of this function is a straight line y = x + 1, shown below.

1
x
−1

142
ii) From the graph, we can see that

lim f (x) = 1 and lim f (x) = 1


x→0− x→0+

iii) Using the concept from the theorem above, since

lim f (x) = lim+ f (x) = 1


x→0− x→0

Therefore, we conclude that the limit exist and that, lim f (x) = 1
x→0

Example 12.2.2. Sketch the graph of the function f (x) = x3 − 4x2 − x + 4. Hence, determine;

i) lim1 f (x) ii) lim f (x) iii) lim f (x) iv) lim f (x)
x→− 2 x→0 x→1 x→2

Sol: This is a polynomial of degree 3. The sketch is shown below.

x
−4 1

i) From the graph,

27 27
lim − f (x) = lim − x3 − 4x2 − x + 4 = and lim + f (x = lim + x3 − 4x2 − x + 4) =
x→− 12 x→− 21 8 x→− 12 x→− 12 8

27
Hence, the limit exists at c = − 12 and we say lim1 f (x) =
x→− 2 8

ii) similarly, from the graph,

lim f (x) = 4 and lim f (x) = 4


x→o− x→0+

Hence, the limit exists at c=0 and we write lim f (x) = 4


x→0

iii) From the graph,


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

Hence, the limit exists at c=1 and we write lim f (x) = 0


x→1

143
iv) From the graph,
lim f (x) = −6 and lim f (x) = −6
x→2− x→2+

Hence, the limit exists at c=2 and we write lim f (x) = −6


x→2

Example 12.2.3. Sketch the graph of the function f (x) where



x2 − 1 if x < 3;
f (x) =
x−2 if x ≥ 3.

Hence, determine

i) lim f (x) ii) lim f (x) iii) lim f (x) iv) lim f (x)
x→2 x→3 x→1 x→5

Sol:

1 x
3

i) From the graph,


lim f (x) = 3 and lim f (x) = 3
x→2− x→2+

Since the left limit equals the right limit, limit exists at x = 2. Therefore,

lim f (x) = 3
x→2

ii) From the graph,


lim f (x) = 8 while lim f (x) = 1
x→3− x→3+

Since the left limit is not equal to the right limit, limit does NOT exists at the point where
c = 3. In mathematical terms, since

lim f (x) 6= lim+ f (x)


x→3− x→3

the limit at c=3 does not exists

iii) Exercise

iv) Exercise

144

Example 12.2.4. Sketch the graph of the function f (x) = x + 1. Hence, determine

i) lim f (x) ii) lim1 f (x) iii) lim f (x) iv) lim f (x)
x→3 x→− 4 x→−1 x→0

Sol: This is a radical function whose domain is [−1, ∞)

1
x
−1

i) From the graph,


lim f (x) = 2 and lim f (x) = 2
x→3− x→3+

Hence, the limit exists at c=3 and we say

lim f (x) = 2
x→3

ii) From the graph,


√ √
3 3
lim − f (x) = and lim + f (x) =
x→− 14 2 x→− 14 2
Hence, the limit exists at c = − 14 and we say


3
lim1 f (x) =
x→− 4 2

iii) From the graph,


lim − f (x) does not exists because f (x) = x+1 is not dened on the L.H.S of −1
x→−1

However, lim f (x) = 0. Thus, the right limit exists, but the left limit does not exist.
x→−1+

Therefore, we conclude that lim f (x) does not exist for the function f (x) = x+1
x→−1

Example 12.2.5. Sketch the graph of f (x) = 1


x2
. Hence, determine the existence of the limit

1
lim
x→0 x2

145
Sol: This is a rational function. Df = {x| x 6= 0, x ∈ R}

We can see that

1 1
lim− f (x) = lim− =∞ and lim+ f (x) = lim+ =∞
x→0 x→0 x2 x→0 x→0 x2
Because f (x) is not approaching a real number L as x approaches 0, we conclude that the limit
does not exists. ie

1
lim =∞ Hence, the limit does not exist.
x→0 x2

12.2.1 Properties of Limits


So far, we have determined our limits through graph sketching. Recall that the limit of a
function f (x) as x approaches c does not depend on the value of f at x = c. It may happen,
however, that the limit is precisely f (c). In such cases the, the limit can be evaluated by direct
substitution. Hence, we can evaluate limits analytically as

lim f (x) = f (c)


x→c

This applies to functions that are continuous at the point x = c. The following theorem gives
some basic properties of Limits:

Theorem 12.2.3. Let b and c be real numbers, let n be a positive integer, and let f and g be
functions with the following limits.
lim f (x) = L and lim g(x) = K
x→c x→c

• limit of a constant function limx→c b = b

• Limit of the identity function f (x) = x limx→c x = c

• Limit of a term of a polynomial limx→c xn = cn


√ √
• Limit involving a radical function limx→c n x = n c

146
• Multiplication by a scalar quantity limx→c [bf (x)] = bL
• Limit raised to a power limx→c [f (x)]n = Ln
• Product of two limits limx→c [f (x)g(x)] = LK
• Sum or dierence of two limits limx→c [f (x) ± g(x)] = L ± K

• Quotient of two limits limx→c [ fg(x)


(x)
]= L
K
, provided K 6= 0

Example 12.2.6. Evaluate the following limits



i) lim −5 ii) lim (x + 7) iii) lim (5x2 − 2x + 9) iv) lim x2 − 3x + 2
x→2 x→−1 x→3 x→0

Sol: Using analytic method, we have

i) limx→2 −5 = −5
ii) limx→−1 (x + 7) = (−1) + 7 = 6
iii) limx→3 (5x2 − 2x + 9) = 5(3)2 − 2(3) + 9 = 48
√ p √
iv) limx→0 x2 − 3x + 2 = (0)2 − 3(0) + 2 = 2
From the above example, we see how easy it is to obtain limits by simply applying our theo-
rem above. We just substitute directly, provided the function remains dened for that direct
substitution.

Example 12.2.7. Evaluate the following limits



x2 + x + 2 x3 − 1 x2 + x − 6 x+1−1
i) lim ii) lim iii) lim iv) lim
x→1 x+1 x→1 x − 1 x→−3 x+3 x→0 x

Sol: We use analytic methods.

i) Here, a direct substitution holds as the function is still dened for x=1
x2 + x + 2 (1)2 + (1) + 2
lim =
x→1 x+1 (1) + 1
4
=
2
=2

ii) Here, a direct substitution does NOT hold as the function is undened for x = 1. Hence,
we rst factorise and then cancel out the common. Then we can substitute in the resulting
expression.

x3 − 1 (x − 1)(x2 + x + 1)
lim = lim
x→1 x − 1 x→1 x−1
2
= lim (x + x + 1)
x→1
2
=(1) + (1) + 1
=1 + 1 + 1
=3

147
x2 +x−6
iii) Again, direct substitution does NOT hold as the function f (x) = x+3
is undened for
x = −3. Hence, we factorise and then cancel out some common factors.

x2 + x − 6 (x + 3)(x − 2)
lim = lim
x→−3 x+3 x→−3 x+3
= lim (x − 2)
x→−3

=(−3) − 2
=−5


x+1−1
iv) Again, direct substitution does NOT hold as the function f (x) = x
is undened for
x = 0. Hence, we need to rationalize the numerator.

√ √ √
x+1−1 x+1−1 x+1+1
lim = lim ×√
x→0 x x→0 x x+1+1
√ √
( x + 1 − 1)( x + 1 + 1)
= lim √
x→0 x( x + 1 + 1)
(x + 1) − 1
= lim √
x→0 x x + 1 + 1
x
= lim √
x→0 x x + 1 + 1
1
= lim √
x→0 x+1+1
1
=p
(0) + 1 + 1
1
=
1+1
1
=
2

Limits of Trigonometric Functions

Let c be a real number in the domain of a given trigonometric function. Then:

i) lim sin x = sin c ii) lim cos x = cos c iii) lim tan x = tan c
x→c x→c x→c

iv) lim sec x = sec c ii) lim csc x = csc c iii) lim cot x = cot c
x→c x→c x→c

Example 12.2.8. evaluate the following limits.

i) lim sin x ii) lim (x cos x) iii) lim tan2 x


x→0 x→π x→0

Sol: The results of the theorem above applies to this case. As before, we can have a direct
substitution.

148
i) Hence, limx→0 sin x = sin 0 = 0

ii) We separate the two functions.

  
lim (x cos x) = lim x lim cos x
x→π x→π x→π
=(π)(cos π)
=(π)(−1)
=−π

iii) We uses product of a limit.

lim tan2 x = lim (tan x)2


x→π x→π
  
= lim tan x lim tan x
x→π x→π
=(tan π)(tan π)
=(0)(0)
=0

Two Special Trigonometric Limits

The following two limits are special cases. We will not prove them, but we must know them as
we shall use them often. For a proof, see The Squeeze Theorem:

sin x 1 − cos x
(i) lim =1 (ii) lim =0
x→0 x x→0 x

Example 12.2.9. Evaluate the following limits

tan x sin 4x 3(1 − cos θ)


i) lim ii) lim iii) lim
x→0 x x→0 x θ→0 θ

Sol: We see that direct substitution will not apply here.

149
i) Direct substitution gives a zero in the denominator which is indeterminate. Therefore,

  
tan x 1 tan x
lim = lim
x→0 x x→0 x 1
  
1 sin x
= lim
x→0 x cos x
  
sin x 1
= lim
x→0 x cos x
  
sin x 1
= lim lim
x→0 x x→0 cos x
 
1
=(1)
cos 0
=(1)(1)
=1

ii) Direct substitution gives a zero in the denominator which is indeterminate. Thus,

sin 4x sin 4x
lim =1 × lim
x→0 x x→0 x
4 sin 4x
= × lim
4  x→0 x 
4 sin 4x
= lim
4 x→0 x
 
sin 4x
=4 lim
x→0 4x

=(4)(1)
=4

 
3(1 − cos θ) 1 − cos θ
iii) Using the special Trig Limit, lim = 3 lim = 3(0) = 0
θ→0 θ θ→0 θ

Limits at Innity:

If f (x) is a function and c is a real number in the domain of f such that

lim = ±∞
x→c

then x=a is a vertical asymptote to the curve y = f (x).


On the other hand, if f (x) is a function and L is a real number of such that

lim = L or lim = L
x→∞ x→−∞

then y=L is a horizontal asymptote to the curve y = f (x).

150
Note: The following results hold for the limits at innity

1 1 1 1
−i) lim =0 ii) lim =0 iii) lim− =∞ iv) lim+ =∞
x→∞ x2 x→−∞ x2 x→0 x2 x→0 x2
1 1 1 1
−i) lim =0 ii) lim =0 iii) lim− = −∞ iv) lim+ =∞
x→∞ x x→−∞ x x→0 x x→0 x

Example 12.2.10. Evaluate the following limits.

x+1 x3 + x2 − 2x − 11 x3 + 2
i) lim ii) lim iii) lim
x→∞ x2 + 1 x→−∞ x3 − 7 x→∞ x2 + 1

Sol:

x 1 + x1

x+1
i) lim = lim 2
1 + x12

x→∞ x2 + 1 x→∞ x

1 + x1
  
1
= lim
x→∞ x 1 + x12
1 + x1
  
1
= lim lim
x→∞ x x→∞ 1 + 12
x
 
1+0
=(0)
1+0
=0

x3 1 + x1 − x22 − x113

x3 + x2 − 2x − 11
ii) lim = lim
x3 1 − x73

x→−∞ x3 − 7 x→−∞

1 + x1 − x22 − 11
 3 
x x3
= lim
x→−∞ x3 1 − x73
1 + x1 − x22 − x113
 
= lim
x→−∞ 1 − x73
 
1+0−0−0
=
1−0
1
=
1
=1

151
x3 1 + x23

x3 + 2
iii) lim = lim 2
1 + x12

x→∞ x2 + 1 x→∞ x

1 + x23
 3 
x
= lim
x→∞ x2 1 + x12
1 + x23
 
= lim (x)
x→∞ 1 + x12
 1 + x23
 
= lim x lim
x→∞ x→∞ 1 + 12
x
 
1+0
=(∞)
1+0
=∞

12.3. Continuity of Functions


In Mathematics, the term continuity has much the same meaning as it has in everyday usage.
To say that a function is continuous, at x=c means that there is no interruption in the graph
of y = f (x) at c. This means that its graph is unbroken at x = c and there are no holes, jumps
or gaps. However, below is the denition of continuity that is acceptable in mathematics.

Denition 12.3.1. A function f is continuous at a point c if the following three conditions


are satised.
1. f (c) is dened. ie, the function f (x) is dened when x = c
2. limx→c f (x) exists. ie, the limit of f (x) exists at x = c
3. limx→c f (x) = f (c)

Denition 12.3.2. A function f (x) is continuous at on an open interval (a, b) if it is


continuous at each point in the interval. If a function is continuous on the entire real line,
R = (−∞, ∞), then it is everywhere continuous

Example 12.3.1. Discuss the continuity of the following functions

x2 − 1

1 x2 − 1 if x < 3;
a) f (x) = b) g(x) = c) h(x) = cos x d) f (x) =
x x−1 x−2 if x ≥ 3.

Sol:
1
a) For f (x) = , the domain, Df = {x| x 6= 0, x ∈ R}. See the graph below. We see that the
x
function is continuous for all points in its domain. At x = 0, the function is discontinuous. It
has non-removable discontinuity. In other words, there is no way we can redene f (0) to make
the function continuous at x=0

152
y

x2 −1
b) For g(x) = Dg = {x| x 6= 1, x ∈ R}. For all points in this domain, the function is
x−1
,
continuous. At x = 1, the function has a removable discontinuity, ie we can redene f (1) to
make the function continuous at x = 1. See the graph below. Notice that if we dene f (1) = 2,
the function becomes continuous at x = 1.

2
1
x
−1 1

c) For h(x) = cos x, the domain is Dh = (−∞, ∞) and we can see that it is continuous for all
points in Dh .

1
x

d) For this function, Df = (−∞, ∞) and we see that it is continuous for all real numbers except
for x = 3. It has a non-removable discontinuity at x = 3. See the sketch below

153
y

1 x
3

Example 12.3.2. Discuss the continuity of the following functions

√ √

x+1 if x ≤ 0; 1
a) f (x) = b) g(x) = 2+x c) h(x) = 1−x d) k(x) =
x2 + 1 if x > 0. x+2

Sol:

a) For this function, Df = (−∞, ∞) and we see that it is continuous for all real numbers. See
the graph below.

1 x

b) This function has domain Dg = [−2, ∞). For all points in the open interval (−2, ∞), the
function is continuous. Since the right limit at x = −2 exists and it is f (−2), we conclude that
the function is also continuous on the closed interval [−2, ∞). see graph below

x
−2

154
c) This function has domain Dh = (−∞, 1]. For all points in the open interval (−∞, 1), the
function is continuous. Since the left limit at x=1 exists and it is f (1) = 0, we conclude that
the function is also continuous on the closed interval (−∞, 1]. see graph below

1
x
1

d) Exercise


Example 12.3.3. Discuss the continuity of the function f (x) = 1 − x2

Sol: Exercise

Note 12.3.1. We take note of the following on continuity.

• All polynomial functions are continuous on R

• The radical functions and rational functions are continuous on their respective domains

• Trigonometric functions sin x and cos x are continuous on R



• The tangent function is not continuous for points x= 2
where n is an odd integer

12.4. Dierentiation
We have looked at the basic prerequisites for one to study calculus, the limit and continuity of
a function. The notion of a limit and continuity are very vital for one to understand calculus.
Now, we have now arrived at a crucial point in our study of calculus. Recall the notion of
gradient of a straight line. The concept of a limit can be used to extend the notion of a
gradient to curve. The limit used to dene the slope of a tangent line is also used to dene one
of the two fundamental operations of calculus dierentiation.

Denition 12.4.1. The derivative of a continuous function f at a point x is denoted by f 0 (x)


and dened as
f (x + h) − f (x)
f 0 (x) = lim
h→0 h

155
The derivative f 0 (x) of a function f (x), is itself a function. The process of nding the derivative
of a function is called dierentiation. A function f is dierentiable at x if the derivative
exists at x and dierentiable on an open interval (a,b) if it is dierentiable at every point
in the interval.

In addition to the symbol f 0 (x), other notations are used to denote the derivative of a function:

dy d
f 0 (x) = y 0 = = [f (x)] = Dx [y]
dx dx
Any of these notations are acceptable and can be used. We will mostly adopt the use of

dy
f 0 (x), y0 and
dx

12.4.1 Dierentiation From First Principle


This is the standard procedure used to determine the derivative of any function. The process
makes us of the denition of a derivative

Example 12.4.1. Find the derivative of the function f (x) = x3 + 2x from rst principle

Sol:

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

=3x2 + 2

The approach above can be used to determine the derivative of any polynomial function. All
dierentiable functions that we will consider in our study of calculus can have their derivatives
determined from rst principle. This approach, however, is not always straight forward for
some functions as determining the limit can be dicult at times. Hence, we will analyse other
methods later.


Example 12.4.2. Dierentiate the function f (x) = x+1 from rst principle.

156
Sol:

f (x + h) − f (x)
f 0 (x) = lim
h→0 h
p √
(x + h) + 1 − x + 1
= lim
h→0 h
p √ p √
(x + h) + 1 − x + 1 (x + h) + 1 + x + 1
= lim ×p √
h→0 h (x + h) + 1 + x + 1
p √  p √ 
(x + h) + 1 − x + 1 (x + h) + 1 + x + 1
= lim p √ 
h→0
h (x + h) + 1 + x + 1
[(x + h) + 1] − (x + 1)
= lim p √ 
h→0
h (x + h) + 1 + x + 1
h
= lim p √ 
h→0
h (x + h) + 1 + x+1
1
= lim p √
h→0 (x + h) + 1 + x + 1
1
=p √
(x + 0) + 1 + x + 1
1
= √
2 x+1

Example 12.4.3. Dierentiate the function g(x) = 1


x+1
from rst principle

Sol:

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

The two examples above show the technique for dierentiating from rst principle for radical
and rational functions respectively.

157
12.4.2 Basic Dierentiation Rules
In this section we look at dierentiation rules that allow us to nd derivatives without the
direct use of the limit denition.

1. The Constant Rule: The derivative of a constant is 0. That is, if c ∈ R, then

d
[c] = 0
dx
Example 12.4.4. Dierentiate the following functions

i) y=7 ii) f (x) = 0 iii) s(t) = −3 iv) y = 3π 2

Sol: All functions here are constants

dy
i) =0 ii) f 0 (x) = 0 iii) s0 (t) = 0 iv) y0 = 0
dx

2. The Power Rule: If n is a rational number, then the function f (x) = xn is dierentiable
and
f 0 (x) = nxn−1
Example 12.4.5. Dierentiate the following functions

3 1
i) y = x3 ii) f (x) = x iii) s(t) = x2 iv) g(x) = x5

Sol: We use the power rule



dy 0 0 3 1 3 x 5
i) = 3x2 ii) f (x) = 1 iii) s (t) = x 2 = iv) g 0 (x) = −5x−4 = −
dx 2 2 x4

3. The constant Multiple Rule: If f is a dierentiable function and c is a real number,


then cf is also dierentiable and

d
[cf (x)] = cf 0 (x)
dx
Example 12.4.6. Dierentiate y= 2
x
with respect to x.

Sol: Using the constant multiple rule

dy d 2 d 1 d 2
= [ ] = 2 [ ] = 2 [x−1 ] = 2(−x−2 ) = − 2
dx dx x dx x dx x

4. The Sum and Dierence Rule: Let u(x) and v(x) be two dierentiable functions of
x. If f (x) = u(x) + v(x), then

f 0 (x) = u0 (x) + v 0 (x) Sum Rule

If f (x) = u(x) − v(x), then

f 0 (x) = u0 (x) − v 0 (x) Dierence Rule

158
Example 12.4.7. Dierentiate y = x3 − 4x + 5

Sol: Using the sum and dierence rule, we dierentiate term by term

dy
= 3x2 − 4 + 0 = 3x2 − 4
dx

5. The Product Rule: Let u(x) and v(x) be two dierentiable functions of x. If the
function f (x) = u(x)v(x) is the product of u(x) and v(x), then

f 0 (x) = u(x)v 0 (x) + v(x)u0 (x)

Example 12.4.8. Dierentiate the function f (x) = (2x − x4 )(x3 − x − 12)

Sol: Use the product rule: Let u(x) = 2x−x4 and v(x) = x3 −x−12 Then, u0 (x) = 2−4x3
0 2
and v (x) = 3x − 1. Thus

f 0 (x) =u(x)v 0 (x) + v(x)u0 (x)


=(2x − x4 )(3x2 − 1) + (x3 − x − 12)(2 − 4x3 )
=6x3 − 2x − 3x6 + x4 + 2x3 − 2x − 24 − 4x6 + 4x4 + 48x3
= − 7x6 + 5x4 + 56x3 − 4x − 24

6. The Quotient Rule: Let u(x) and v(x) be two dierentiable functions of x. If the
u(x)
function f (x) = v(x)
is the quotient of u(x) and v(x), then

v(x)u0 (x) − u(x)v 0 (x)


f 0 (x) =
[v(x)]2

Example 12.4.9. Find the derivative of the function f (x) = x2 −√ x+1
x

√ √
Sol: Let u(x) = x2 − x+1 and v(x) = x. Then u0 (x) = 2x − √1
2 x+1
and v0 = 1

2 x
.
Using the Quotient Rule, we have

v(x)u0 (x) − u(x)v 0 (x)


f 0 (x) =
[v(x)]2
√ 
1
 √  
( x) 2x − 2√x+1 − x2 − x + 1 2√1 x
= √ 2
( x)
1 √
 
1
= 3 x+ √
2 x x2 + x

Example 12.4.10. Dierentiate y= 3x−1


x2 +5x

159
Sol: Let u(x) = 3x − 1 and v(x) = x2 + 5x. Then u0 (x) = 3 and v 0 = 2x + 5. Using the
quotient rule, we have

dy v(x)u0 (x) − u(x)v 0 (x)


=
dx [v(x)]2
(x2 + 5x)(3) − (3x − 1)(2x + 5)
=
[x2 + 5x]2
3x2 + 15x − 6x2 − 13x + 5
=
(x2 + 5x)2
−3x2 + 2x + 5
=
(x2 + 5x)2

Derivatives of Trigonometric Functions

We start with the derivative of the sin and cos functions. The derivatives for the other Trigono-
metric functions will be derived from these two using the discussed properties of derivatives.

Example 12.4.11. Dierentiate the following functions from rst principle

i) f (x) = sin x ii) g(x) = cos x

Sol:

i) By denition;

f (x + h) − f (x)
f 0 (x) = lim
h→0 h
sin(x + h) − (sin x)
= lim
h→0 h
sin x cos h + cos x sin h − sin x
= lim
h→0 h
cos x sin h − (sin x)(1 − cos h)
= lim
h→0
  h  
sin h 1 − cos h
= lim (cos x) − (sin x)
h→0 h h
   
sin h 1 − cos h
=(cos x) lim − (sin x) lim
h→0 h h→0 h
=(cos x)(1) − (sin x)(0)
= cos x
Therefore, if f (x) = sin x, then f 0 (x) = cos x

ii) Exercise: Show using rst principle that if g(x) = cos x, then g 0 (x) = − sin x.

Example 12.4.12. Dierentiate the following functions

cos x
i) y = 2 sin x ii) y = iii) y = x2 + 3 cos x
5

160
Sol:
dy cos x dy dy
i)
dx
= 2 cos x ii) y= 5
= 15 cos x =⇒ dx
= − 15 sin x iii)
dx
= 2x − 3 sin x

Example 12.4.13. Find the derivative for each of the following


3 cos x x−2
i) y = x sin x ii) y = 2 iii) y = sin x cos x iv) y =
x sin x

Sol:

i) Let u(x) = x3 and v(x) = sin x. Then u0 (x) = 3x2 and v 0 (x) = cos x. Using product rule,

dy
=uv 0 + vu0
dx
=(x3 )(cos x) + (sin x)(3x2 )
=x3 cos x + 3x2 sin x
=x2 (x cos x + 3 sin x)

ii) Let u(x) = cos x and v(x) = x2 . Then u0 (x) = − sin x and v 0 (x) = 2x. By quotient rule,

dy vu0 − uv 0
=
dx v2
2
(x )(− sin x) − (cos x)(2x)
=
[x2 ]2
−x2 sin x − 2x cos x
=
x4
−x(x sin x + 2 cos x)
=
x4

iii) Let u(x) = sin x and v(x) = cos x. Then u0 (x) = cos x and v 0 (x) = − sin x. By product
rule

dy
=uv 0 + vu0
dx
=(sin x)(− sin x) + (cos x)(cos x)
= − sin2 x + cos2 x
= cos2 x − sin2 x
= cos 2x


iv) Let u(x) = x−2 and v(x) = sin x. Then u0 (x) = √1
2 x−2
and v 0 (x) = cos x. By quotient

161
rule,

dy vu0 − uv 0
=
dx v2 √
1
(sin x)( 2√x−2 ) − ( x − 2)(cos x)
=
[sin x]2
sin x


2 x−2
− ( x − 2)(cos x)
=
[sin x]2
sin x − 2(x − 2) cos x
= √
2(sin2 x) x − 2

We can now use the quotient rule to determine the derivatives of the other trigonometric
functions.

Example 12.4.14. Dierentiate f (x) = tan x

sin x sin x
Sol: Recall that tan x = cos x
. Hence f (x) = tan x can be written as f (x) = cos x
and then use
the quotient rule.

Let u(x) = sin x and v(x) = cos x. Then u0 (x) = cos x and v 0 (x) = − sin x. By quotient rule,

dy vu0 − uv 0
=
dx v2
(cos x)(cos x) − (sin x)(− sin x)
=
[cos x]2
cos2 x + sin2 x
=
cos2 x
1
= 2
cos x
 2
1
=
cos x
=(sec x)2
= sec2 x

Therefore, if f (x) = tan x, then f 0 (x) = sec2 x

Exercise: Show using quotient rule that if f (x) = cot x, then f 0 (x) = − csc x.

Example 12.4.15. Dierentiate f (x) = sec x

1 1
Sol: Recall that sec x = cos x
. Hence f (x) = sec x can be written as f (x) = cos x
and then use
the quotient rule.

162
Let u(x) = 1 and v(x) = cos x. Then u0 (x) = 0 and v 0 (x) = − sin x. By quotient rule,

dy vu0 − uv 0
=
dx v2
(cos x)(0) − (1)(− sin x)
=
[cos x]2
sin x
= 2
cos x
1 sin x
=
cos x cos x
= sec x tan x

Therefore, if f (x) = sec x, then f 0 (x) = sec x tan x

Exercise: Show using quotient rule that if f (x) = csc x, then f 0 (x) = − csc x cot x.

Example 12.4.16. Dierentiate the following functions

i) y = 3x4 − 2 tan x ii) x2 sec x

Sol:
dy dy
i)
dx
= 12x3 −sec2 x ii)
dx
= (x2 )(sec x tan x)+(sec x)(2x) = x2 sec x tan x+2x sec x

The Chain Rule

Let us now discuss one of the most powerful rules of dierentiation, the chain Rule. It enables
us to dierentiate composite functions. The theorem is stated below.

Theorem 12.4.2. Let y = f (u) be a dierentiable function of u. Further, if u = g(x) is itself


a dierentiable function of x, then y = f (g(x)) is a dierentiable function of x and
dy dy du
=
dx du dx

Example 12.4.17. Dierentiate the function y = (x2 + x − 2)5

dy du
Sol: Let u = x2 + x − 2. Then y = u5 , du
= 5u4 and
dx
= 2x + 1. By Chain Rule

dy dy du
=
dx du dx
=(5u4 )(2x + 1)
=5u4 (2x + 1)
=5(x2 + x − 2)4 (2x + 1)
=5(2x + 1)(x2 + x − 2)4

163
Example 12.4.18. dy
p
Given the function y= 3
(x2 − 1)2 , nd
dx

p 2 2
Sol: Note that
3
(x2 − 1)2 = (x2 − 1) 3 . Hence, y = (x2 − 1) 3 . Using the chain rule, we let
2 dy 1
2
u = x − 1, then y = u 3 so that du = 32 u− 3 and du
dx
= 2x.
dy dy du
=
dx du
 dx 
2 −1
= u 3 (2x)
3
 
2 2 − 13
= x −1 (2x)
3
4x
= √3
3 x2 − 1

Example 12.4.19. Dierentiate the following

i) y = cos2 x ii) y = sin3 4x iii) y = tan2 (x2 − 3x + 1) iv) y = csc3 (2x5 − 1)

Sol: We use the chain rule

i) Recall that y = cos2 x = (cos x)2 . Thus,

dy
=(2 cos x)(− sin x)
dx
= − 2 cos x sin x
= − sin 2x

ii) Recall that y = sin3 4x = (sin 4x)3 . Thus,

dy
=(3 sin 4x)2 (cos 4x)(4)
dx
=12 sin2 (4x) cos(4)
=12 sin2 4x cos 4x

iii) Recall that y = tan2 (x2 − 3x + 1) = [tan(x2 − 3x + 1)]2 . Thus,

dy
=2[tan(x2 − 3x + 1)]2 × sec(x2 − 3x + 1) × (2x − 3)
dx
=2(2x − 3) tan2 (x2 − 3x + 1) sec(x2 − 3x + 1)

iv) Recall that y = csc3 (2x5 − 1) = [csc(2x5 − 1)]3 . Thus,

dy
=3[csc(2x5 − 1)]2 (− cot(2x5 − 1) csc(2x5 − 1))(10x4 )
dx
= − 30x4 csc3 (2x5 − 1) cot(2x5 − 1)

164
Implicit Dierentiation

Most functions we have looked at now have been expressed explicitly, ie, they have been written
in such a way that y can easily be written as the subject of the formula. For example, y =
3x2 = 2x + 7 is an explicit function as y is an explicit function of x. Some functions can
3 2 2
not have y written explicitly as a function of x. For example y + y − 5xy − x = −4 is an
implicit function since y can not easily be made the subject of the formula. To dierentiate
such functions, we use implicit methods. The following guidelines can be used:

• dierentiate both sides with respect to x


dy
• collect all terms involving
dx
on the left side of the equation, and all other terms to the
right side.

dy
• factor
dx
out of the left side of the equation.

dy
• solve for
dx

Example 12.4.20. Find


dy
dx
given that y 3 − y + xy − 3x + 2x2 = −7

Sol: This is an implicit function since we can not make y the subject of the formula.

y 3 − y + xy − 3x + 2x2 = − 7
d 3 d
[y − y + xy − 3x + 2x2 ] = [−7]
dx dx
dy dy dy
3y 2 − + x + y − 3 + 4x =0
dx dx dx
dy
(3y 2 − 1 + x) + y + 4x − 3 =0
dx
dy
(3y 2 − 1 + x) = − (y + 4x − 3)
dx
dy (y + 4x − 3)
=− 2
dx (3y − 1 + x)


Example 12.4.21. Find
dy
dx
if sin y=x

Sol: Making y the subject is not an easy task. We dierentiate implicitly.


sin y =x
 
1 √ dy
√ cos y =1
2 y dx

dy 2 y
= √
dx cos y

165
Higher Order Derivatives
dy
Let y = f (x) denote a function. The derivative dx = f 0 (x) is called the rst order derivative.
0 d2 y
Recall that f (x) is itself a function as well. Hence, it can be dierentiated to obtain
dx2
= f 00 (x),
00
which is called the second order derivative. Similarly, we can dierentiate f (x) to obtain the
d3 y
third order derivative
dx3
= f 000 (x).
In general then, if y = f (x) is a dierentiable function, then we can obtain the nth order
th
derivative by dierentiating f (x) n times. Hence, the n order derivative has the notation
given below:
dn y n n dn
= y = f (x) = [f (x)] = Dxn [y]
dxn dxn

Example 12.4.22. Given the function f (x) = x4 − 3x2 + 12, nd f (4) (x), the fourth order
derivative.

Sol: f 0 (x) = 4x3 − 6x. Dierentiating further,we have f 00 (x) = 12x2 − 6, f 000 (x) = 24x so that
(4)
f (x) = 24.

Example 12.4.23. Find


d3 y
dx3
given that y = sin(x2 ).

Sol:
dy
dx
= 2x cos(x2 )
d2 y
dx2
= 2[x(−2x sin(x2 )) + cos(x2 )] = 2 cos(x2 ) − 4x2 sin(x2 )
d3 y
dx3
= 2[−4x sin(x2 ) − 2x2 cos(x2 )2x − sin(x2 )2x] = 2[−6x sin(x2 ) − 4x3 cos(x2 )]

Example 12.4.24. Find


d2 y
dx2
given that x2 + y 2 = 25

Sol: dierentiate implicitly


dy dy
2x + 2y dx = 0 =⇒ dx
= − xy . Therefore, using the quotient rule,

" #
dy
d2 y (y)(1) − (x)( dx )
=−
dx2 y2
" #
(y)(1) − (x)(− xy )
=−
y2
x2 + y 2
=−
y3
25
− 3
y

166
Derivatives of Exponential Functions

Let f (x) = ex . We can nd the derivative of the exponential function from rst principle as
shown below.

f (x + h) − f (x)
f 0 (x) = lim
h→0 h
ex+h − ex
= lim
h→0 h
e e − ex
x h
= lim
h→0 h 
e eh − 1
x
= lim
h h
h→0

x e −1
= lim (e )
h→0 h
h
 
x e −1
=(e ) lim
h→0 h
x
=(e )(1)
=ex
Therefore, if f (x) = ex , then the derivative is given as f 0 (x) = ex

Example 12.4.25. Dierentiate the following

2 √ e−x + 1
i) y = e3x ii) y = 5e−x iii) y = x2 − e x−1
iv) y = xesin x v) y =
sec x
Sol:
du dy
i) Let u = 3x. Then y = eu so that
dx
=3 and
du
= eu . By the chain Rule,

dy dy du
=
dx du dx
=(3)(eu )
=3e3x

du dy
ii) Let u = −x2 . Then y = 5eu so that
dx
= −2x and
du
= 5eu . By the chain Rule,

dy dy du
=
dx du dx
=(−2x)(5eu )
2
= − 2xe−x

iii) Similarly, applying the chain rule and the sum/dierence rule, we have

dy 1 √
=2x − √ e x−1
dx 2 x
√ √
4x x − e x−1
= √
2 x

167
iv) We use the product rule together with the chain rule.

dy
=(x) (cos x)esin x + esin x (1)
  
dx
=x cos xesin x + esin x
=(x cos x + 1)esin x

v) Exercise [ Hint: Use the quotient Rule and the Chain Rule]

Derivatives of Logarithmic Functions

We start with the natural logarithmic function, f (x) = ln x.


We will dierentiate this function
implicitly. Let y= ln x. Converting this to exponential form, we have x = ey . Hence, using
implicit dierentiation, we have

x =ey
dy
1 =ey
dx
dy 1
=
dx ey
dy 1
= since ey = x
dx x
1
Therefore, if f (x) = ln x, then the derivative is given as f 0 (x) =
x

Example 12.4.26. Find the derivative for each of the following functions


3 2 ln x
i) y = x ln x ii) y = log10 (3x − 4) iii) y = iv) y = xx v) y = 23x
x2

Sol:

i) Let u = x3 , v = ln x. Then u0 = 3x2 and v0 = 1


x
. By the product rule, we have

dy
=(u)(v 0 ) + (v)(u0 )
dx  
3 1
=(x ) + (ln x)(3x2 )
x
=x2 + 3x2 ln x

ii) We change the base to the natural logarithm:

y = log10 (3x2 − 4)
ln(3x2 − 4)
=
ln 10
1
= ln(3x2 − 4)
ln 10

168
2 dy 1
We can dierentiate the function y = ln(3x − 4). Let u = 3x2 − 4. Then y=u so that
du
= u
du
and
dx
= 6x. By the Chain Rule, we have
dy dy du
=
dx du   dx
1
= (6x)
u
 
1
= (6x)
3x2 − 4
6x
= 2
3x − 4
  
1 2 dy 1 6x 6x
Hence, for y= ln(3x − 4), = 2
=
ln 10 dx ln 10 3x − 4 (ln 10)(3x2 − 4)


iii) Let u = ln x and v = x2 . Then, by chain rule, u0 = 1
2x
and v 0 = 2x. By quotient rule,

dy vu0 − uv 0
=
dx v2  √
2 1
(x ) 2x − (ln x)(2x)
= 4
x √x
− 2x ln x
=2
x4
1 − 2 ln x
=
2x3

iv) We take the natural log on both sides, then dierentiate implicitly. y = xx =⇒ ln y =
ln xx =⇒ ln y = x ln x. Dierentiating this implicitly, we have
ln y =x ln x
1 dy 1
=(x)( ) + (ln x)(1)
y dx x
1 dy
=1 + ln x
y dx
dy
=y(1 + ln x)
dx
dy
= (xx ) (1 + ln x)
dx
dy
=xx (1 + ln x)
dx

v) Exercise

12.4.3 Applications of Dierentiation


Dierential calculus can be applied to numerous problems in applied elds. We start with its
application to the Tangents and Normal to curve.

169
Tangents and Normal to a curve:
dy
If y = f (x) = f 0 (x) is the gradient function as
is an equation of a curve, then the derivative
dx
it gives the gradient of the tangent to the curve at any given point where the derivative exists.

Example 12.4.27. Find the gradient of the tangent to the curve


1
x
y =
at the point where
x= −1. Hence, nd the equation of this tangent and the corresponding normal.

dy dy
Sol: dx = − x12 . Hence, the gradient at x = −1 is given as |
dx x=−1
1
= − (−1) 2 = −1. Hence, the
equation of the tangent is

y − y1 =m(x − x1 )
y − (−1) = − 1(x − (−1))
y+1=−x−1
y =−x−2 is the equation of the tangent line at x = −1

Normal: Recall that the gradient of the normal is − m1 = − (−1)


1
=1

1
y − y1 = − (x − x1 )
m
y − (−1) =1(x − (−1))
y + 1 =x + 1
y =x is the equation of the normal line at x = −1

Example 12.4.28. Find equation of the tangent to the curve x2 + y 2 = 10 at the point (1, 3).

dy dy dy
Sol: Dierentiate implicitly to get 2x+2y dx = 0 =⇒ dx
= − xy . Gradient at (1, 3): |
dx (1,3)
= − 13

y − y1 =m(x − x1 )
1
y − 3 = − (x − 1)
3
3y − x =10

Example 12.4.29. Find the equation of the tangent line to the curve y 3 − 3xy 2 + cos xy = 2
at the point (0, 1)

dy dy dy
 
Sol: Dierentiate implicitly to get: 3y 2 dx − 3 x2y dx + y 2 + y + x dx − sin xy = 0

dy 3y 2 + y sin(xy) dy 3(1)2 + (1) sin(0)


Thus, = 2 so that, |(0,1) = =1
dx 3y − 6xy − x sin(xy) dx 3(1)2 − 6(0) − (0) sin(0)
Hence the required tangent is given by y − 1 = 1(x − 0) =⇒ y = x + 1 is the tangent line of
interest.

170
Increasing and Decreasing Functions:
dy
Let y = f (x) be a curve. On any interval where
dx
> 0, the function y = f (x) is increasing
dy dy
on this interval. If
dx
< 0, then the function is decreasing. If dx = 0, then the function has a
critical point or stationary point, where the function is neither increasing nor decreasing.

Example 12.4.30. Determine the range of values of x for which the function

y = x3 − 3x2 − 9x + 4 is i) increasing ii) decreasing iii) stationary

dy
Sol: The derivative: dx = 3x2 − 6x − 9
dy
i) We need
dx
> 0. So we solve this inequality.

3x2 − 6x − 9 >0
x2 − 2x − 3 >0
(x + 1)(x − 3) >0
dy
This function is increasing in the interval (−∞, −1) ∪ (3, ∞) since
dx
>0 in this interval

dy
ii) We need
dx
< 0. ie, we need (x + 1)(x − 3) < 0. Verify that the function is decreasing in
the interval (−1, 3).
dy
iii) The stationary points are points where
dx
= 0. Hence, the stationary points are obtained
dy
by solving the equation
dx
= 0, ie (x + 1)(x − 3) = 0 =⇒ x = −1 and x = 3

Example 12.4.31. Determine the range of values of x for which the function

y=x is i) increasing ii) decreasing iii) stationary

Stationary Points: Maximum, Minimum and Point of Inexion


dy
Let f (x) be a function. The curve y = f (x) has a stationary point where
dx
= 0. There are
three types of stationary points

• Maximum point: The derivative here moves from positive through zero to negative
values. Thus, at maximum, we have

dy d2 y
=0 and <0
dx dx2
• Minimum point: The derivative here moves from negative through zero to positive
values. Thus, at minimum, we have

dy d2 y
=0 and >0
dx dx2

• Point of Inexion: The derivative


dy
dx
=0 but has the same value on both sides of the
zero value

171
To determine the nature of the stationary points, the following steps may be used:

dy
• Determine the stationary points by solving
dx
= 0. This gives the values of x, which we
can use to determine the corresponding y values.

d2 y
• Determine the values of
dx2
. If the result is:

(a) positive, the point is a minimum one,

(b) negative, the point is a maximum one,

(c) zero, the point is indecisively unknown.

OR

• Determine the sign of the gradient of the curve just before and just after the stationary
points. If the sign change for the gradient of the curve is:

(a) positive to negative, the point is a maximum one

(b) negative to positive, the point is a minimum one

(c) positive to positive or negative to negative, the point is a point of inexion

Example 12.4.32. Find the nature of the stationary points on the curve y = 4x3 −3x2 −6x+2

dy d2 y
Sol: The derivative, dx = 12x2 − 6x − 6 and
dx2
= 24x − 6. To get the critical values, set
dy
dx
=0

dy
=0
dx
12x2 − 6x − 6 =0
2x2 − x − 1 =0
(2x + 1)(x − 1) =0

Stationary points occur at x = − 12 and at x=1

d2 y
Since
dx2
= 24(− 12 ) − 6 = −18 < 0, x = − 12 gives a maximum point.
x=− 12

d2 y
Since
dx2
= 24(1) − 6 = 18 > 0, x = 1 gives a minimum point.
x=1

Hence the turning points or stationary points of the curve y = 4x3 − 3x2 − 6x + 2 are:

when x = − 12 , then y = 4(− 21 )3 − 3(− 12 )2 − 6(− 12 ) + 2 = 15


4

when x = 1, then y = 4(1)3 − 3(1)2 − 6(1) + 2 = −3


The points are: (− 21 , 15
4
) which is a maximum point and (1, −3) which is a minimum point

For more on maximum and other applications of calculus, see the references.

172
12.5. Integral Calculus
See the References or consult Mr. Mulenga F.

Exercise 15
1. Evaluate the following limits:


2
√ x+9−3 x−4
(a) lim (3x +x−5) (b) lim tan x (c) lim x+2 (d) lim (e) lim √
x→2 x→π x→1 x→0 x x→4 x−2

x3 + 8 x2 + 5x + 6 2x2 + 5x + 2 x3 + x2 − 8x + 6
(f ) lim (g) lim (h) lim (i) lim
x→−2 x + 2 x→−3 x+3 x→−2 x2 + 9x + 14 x→1 x−1
2. Determine the following limits:

sin 3x 1 x4 − 1
(a) lim (b) lim ex (c) lim |x2 − x − 2| (d) lim (e) lim .
x→0 x x→0 x→0 x→0 cos x x→∞ x3 + x2

x x2 3x2 + 7x3 3x3 + 2x x+1


(f ) lim 2
(g) lim (h) lim (i) lim (j) lim
x→0 3x − 2x x→0 2 − x2 x→∞ x2 + 5x4 x→∞ 4 − 2x2 − 7x3 x→∞ x2 + 1

3. Dierentiate the following functions from rst principle:


√ 1 1

(a)f (x) = x2 − 4 (b) f (x) = x − 4x2 (c)f (x) = − (d) f (x) = √1 + 2−x
x x2 x

e) f (x) = x+2 (f ) f (x) = √1 (g) f (x) = 1
(h) f (x) = sin 5x (i) f (x) = cos 2x
1−x x−4

4. Dierentiate the following with respect to x:


√ x2 − 4x + 1 (x2 + 1)3
a) y = 2x3 −7x−12 b) y = x2 x + 2 c) y = d) y = (4x3 −x2 )6 e) y = 3
x4 − 2 x2

5. Dierentiate the following with respect to x:

3
√ sin(3x2 − 1) 5 2
a) y = sec 2x b) y = cos (5x) c) y = tan x d) y = tan (3x −1) e) y =
cos(3 − 2x3 )

6. For each of the following functions, nd the derivative f 0:


2
(a)f (x) = e3x (b)f (x) = e2−5x (c)f (x) = esin x+cos 2x (d)f (x) = ex sin2 (cos x) (e)f (x) = x ln x

dy
7. For each of the following, nd :
dx

2
a) y = sin2 (2x) cos3 (5x) b) y = cos(ex ) c) y = 2x 5x−1 d) y = ln(3x−2) e) y = ln(x2 sin x)
2
f ) y = log3 (x2 +ex ) g) y = x3 ln x2 h) y = (x3 +2x2 −x−1)ex i) y = ex ln x j) y = 65x

173
8. Using the rules of logarithms, simplify the following expressions. Hence, nd f 0 (x):

(x+1)16 (2x2 +x)8 (e2x +6)7 x+4
(a) f (x) = ln √ (b) f (x) = ln −x
x2 +4 (e +ex )5

dy d2 y
9. For each of the following functions, nd and
dx dx2

(a)y+xy+y = 2 (b)y 3 +xy 2 +x2 −1 = 0 (c) sin x cos y = 2 (d)xey −x−1 = 0 (e)xy +yex −2x = 5

d2 y d3 y d4 y
10. For each of the given functions below, nd , and :
dx2 dx3 dx4

1 √ √
(a)f (x) = 2
(b)f (x) = 1 − 2x2 (c)f (x) = 2 ln x (d)f (x) = ln(3x−2) (e)f (x) = sin 4x
x

11. An open rectangular box is made from a square sheet of cardboard by removing a square
from each corner and joining the cut edges. If the cardboard is of edge 0.5m, nd the
maximum volume of the box.

12. If the selling price x is related to the prot y by the equation y = 5000x−125x2 , determine
the value of x for which the prot is maximum. Find that prot.

13. Find the critical values and determine the relative minimum and relative maximum for:

(a) f (x) = x3 + 3x2 − 12x + 7 (b) f (x) = (x − 1)(x + 1)(x + 2)


10−5
14. The concentration C, of hydrogen ions in a solution is given by C=H+ H
. Find the
value of H for which the concentration is a minimum.

15. A farmer wants to make a rectangular enclosure using a wall as one side and a 120M of
fencing for the other three sides. Let x denote the width of the enclosure measured in
meters.

i) Find the area in terms of x and state the domain of the area function.

ii) Find the value of x that gives maximum area.

16. Integrate the following functions with respect to x:


2 1 √ √ 2 1
a) x5 b) x 3 c) d) x+3x2 −5 e) (2x−1)2 f ) 3 2 − 5x g) h) √
x8 (4x + 5)3 x+2

17. Evaluate the following integrals


x4 + x2 − 2x + x2 − x + 2
Z Z Z Z
x 5 1
a) dx b) √ dx c) (2x − 1) dx d) dx
x2 x (3 − 2x)4

18. Evaluate the following integrals:

x2
Z Z Z Z Z
2 3 x 2 4x 2
a) x(x + 3) dx b) 5e dx c) (3x + e ) dx d) dx x ln x dx e)
1 + x3

x2
Z Z Z Z Z
2x 2x + 3 2x
f) √ dx g) √ dx h) 2 3
dx i) x 2 c dx j) sec2 x dx
2
x +1 1 − 2x 3 (x + 3x + 4) e

174
19. Evaluate the following integrals:
Z Z Z Z Z Z
2
a) sin 2x dx b) sec x tan x dx c) 2 sin x dx d) csc x dx e) ln x dx f ) x3 ln x dx
Z Z Z Z Z
−x2 x 3 2
g) xe dx h) e cos x dx i) cos x dx j) x sin x dx k) (1 − x)ex dx

20. By decomposing the following into partial fractions, nd the following integrals:

x2 − 2
Z 2
x2 + 2x + 4
Z Z Z Z
x 1 x +x+5
a) dx b) dx c)
dx d) dx e) dx
x+1 x2 − 1
x x(x + 1)2 (2x − 1)(x2 − 1)
Z 3
x + x2 + 2
Z 2
11x − 10
Z Z
12x x +2
g) dx h) 2 2
dx i) 2
dx j) dx
(2 − x)(3 − x)(4 − x) (x + 2) x −1 (x − 2)(x + 1)
21. Evaluate the following denite integrals:

π π
Z 3 Z 2 Z
3
Z
6
Z 1
2 x2 2
(a) (x +2x−1) dx (b) xe dx (c) cos 2t dt (d) sin x dx (e) x2 (x3 −1)6 dx
π
−1 1 6
0 −3

22. Find the area of the region bounded by the graphs of f (x) = − 14 x2 + 1 and g(x) = 21 x2 − 3
for x in the interval [−1, 2].

23. Find the area of the region bounded by the curve y = x2 − 9 and the x − axis

24. In an idealized experiment, a colony of bacteria is introduced to a limited food supply. If


the rate of change in the number N of live bacteria with respect to time t is given by

N 0 (t) = 6000t2 − 75t4 ,

Find the size of the population of the bacteria at time t if initially 1000 bacteria were
introduced to the food supply.

25. An object on the ground is projected vertically with initial velocity of 32m/s. If the
2
acceleration a(t) = −10.6m/s , nd:

(a) the velocity function, v(t)


(b) the distance at time t
(c) the height the object will attain

(d) the height of the object in 5 seconds

175
13
Sample Exam Questions
July-2016
1. a) Dene a function. [2]
x−1
b) Let f be a function dened as f (x) = x+1
.

(i) Find the domain of f (x) [2]

(ii) Find the range of f (x). [3]

(iii) Sketch the graph of f (x), clearly indicating the intercepts and asymptotes. [4]

c) Solve the following equations

(i) |3x − 6| = 12 [2]

(ii) |2x + 1| = |4x − 3| [4]


√ √
(iii) 2x − 1 − x + 3 = 1 [4]

d) Show that the function f (x) = 2x2 + 4 is not a one to one function. [4]

2. a) (i) When is a function f (x) said to be even? [2]

(ii) Determine whether f (x) = 2x3 + 4x is odd, even or neither. [3]


2
b) Let g(x) = x+1
and f (x) = 3x − 2 be two functions.

(i) Find f og(x) and state its domain. [3]


−1
(ii) Find (f og) (x) [3]

c) Find the solution sets for each of the following inequalities:



(i) x−2≤1 [4]

(ii) |6x − 11| < −5 [2]



1−x if x ≤ 0;
d) Sketch the graph and state the range of f (x) = [4]
x+1 if x > 0.
e) Decompose the following fraction into its partial fractions
x
[4]
(x+1)(x2 +2x+2)

3. a) Let g be a function dened as g(x) = x2 − 3x + 2.
(i) Find the domain of g(x) [3]

(ii) Sketch the graph of g(x). Hence, state its range. [3]

176
dy
b) Find for each of the following
dx

(x2 + 1)4
(i) y = x3 ln 3x (ii) y = (iii) y 3 + xy 2 + x2 = 1
sin x
[3,3,2]
10−5
c) The concentration C, of hydrogen ions in a solution is given by C=H+ H
. Find
the value of H for which the concentration is a minimum. [3]

d) solve the following equations

(i) 22x+1 = 3(2x ) − 1 [2]


2
(ii) log2 (x − x + 2) = 1 + 2 log2 x [3]

(iii) log3 x − 2 logx 3 = 1 [3]

4. a) Find the exact value, leaving your answer in surd form where necessary.

(i) sin 150◦ [2]

(ii) tan(− 5π
3
) [2]

b) Prove the following identities


1 1
(i)
1−sin x
+ 1+sin x
= sec2 x [2]
1−cos x
(ii) (csc x − cot x)2 = 1+cos x
[3]

c) Solve each of the following for 0 ≤ θ ≤ 2π


(i) cos θ = sin 2θ [4]

(ii) 2 sin2 θ − cos θ − 1 = 0 [4]



d) (i)Express f (x) = 3 cos x − sin x in the form f (x) = r cos(x + α) [4]

(ii) Sketch the graph of f (x) = 3 sin(x − π2 ). State the amplitude and period. [4]

5. a) Evaluate the following limits.



x2 + 5x + 6 x+9−3 x4 − 1
(i) lim (ii) lim (iii) lim
x→−3 x+3 x→0 x x→∞ x3 + x2

[2,3,2]

b) Dierentiate the function f (x) = √1 from rst principle. [4]


x+1
c) Determine the following integrals
1
R
(i) 3x2 − 2x + x
+ 5 dx [2]
2
√ x
R
(ii)
1−2x3
dx [3]

3
R
(iii)
(x+1)(x+2)
dx [4]
16 2 8
d) Given the functionf (x) = ln (x+1)√x(2x
2 +4
+x)
,

(i) Use the rules of logarithms to simplify f (x). [2]


0
(iii) Hence or otherwise, nd f (x) [3]

END!

177
July-2015
1. a) Given that X and Y are subsets of the universal set E, simplify the following as far
as possible:

(i) X − (Y − X)
(ii) X 0 ∪ (X 0 ∩ Y )0
b) R = (−∞, ∞) be the universal set.
Let Further, let A = (−8, 6], B = [4, ∞) and
C = [0, 1), be subsets of the universal set, R. Find:

(i) A∪B
(ii) (A ∩ B)0 .
(iii) C0
a
c) Express the following rational numbers in the form
b
where a and b are integers, with
b 6= 0.
(i) 0.1
(ii) 12.13.

2. a) Find the derivatives of the following functions:


√ 2
(i) f (x) = 12x4 + x− x3
2
x5 +x 3 −x3 +x
(ii) g(x) = x3
b) The line y = x+1 meets the curve y = x2 − x − 2 at the points A and B. Find the:

(i) coordinates of A and B


(ii) equations of the tangent lines at A and B
(iii) equations of the normal lines at A and B
c) Given the equation of the curve y = x(x − 2)2 ,
dy
(i) nd
dx
(ii) hence, nd the coordinates of the point on the curve at which the gradient is
zero.

3. a) Given the polynomial function p(x) = x3 + 4x2 + x − 6;


(i) factorize completely p(x) = x3 + 4x2 + x − 6
(ii) Sketch the graph of the polynomial p(x)
(iii) Hence or otherwise, nd the values of x for which x3 + 4x2 + x − 6 ≥ 0
b) Solve the following equations

(i) 3(2x − 5) + 2x ≤ 32 + x4
(ii) 2x2 − 11x + 5 ≥ 0
c) Factorize completely x4 − 1

4. a) Given the polynomial f (x) = x3 + x2 − 5x − 2;


(i) Show that x−2 is a factor of f (x).
(ii) solve the equation x3 + x2 = 5x + 2

178
b) The polynomial h(x) = 3x3 + 2x2 − px + q is divisible by x − 1, but leaves a remainder
of 10 when divided by x + 1. Find the values of p and q .

c) Solve the following pair of simultaneous equations:

y − x = −2
2x2 − 10x = y − 3

5. a) Simplify the following as far as possible:

27 32
(i) ( 64 )
11 1
(ii) 9x 5 ÷ 3x 5 × 2x
b) (i) Given that x2 + 4x − 2 = (x + a)2 + b where a and b are constants, nd the values
of a and b
√ √
(ii) Solve for x given that 2 x = 40
(iii) Rationalize the denominator and simplify

8 √
√ + 45
3+ 5

c) Given the quadratic function f (x) = 2x2 − x − 5,


(i) Complete the square of f (x) = 2x2 − x − 5
(ii) Determine the type of roots of the quadratic f (x) = 2x2 − x − 5
(iii) Sketch the graph of the given quadratic.

6. a) The line l1 has equation 2y = x − 3 and the line l2 has equation 5y + 2x − 18 = 0.


Another line, l3 is perpendicular to l1 and passes through the point (0, 3). Find:
(i) the gradient of l1

(ii) the coordinates of the point of intersection of l1 and l2 .

(iii) the equation of l3

b) The points A and B have coordinates (2k, 1) and (9, k − 1) respectively where k is a
1
constant. Given that the gradient is ,
3
(i) Show that k=3
(ii) Find the equation of the line through A and B.
√ √ √ √
c) Express 12 + 147 − 27 in the form r 3 where r is a constant

END!

179
References
[1] Erwin Kreyszig, Advanced Engineering Mathematics, John Wiley and Sons, Inc., (2006)
9th Edition

[2] John Bird, Higher Engineering Mathematics, Elsevier Ltd, 6th Edition, (2006)

[3] Talbert J.F. and Heng H.H, Additional Mathematics-Pure and Applied, Pearson Education
South Asia Pte Ltd, 6th Edition (2010) 405-439.

[4] Backhouse J.K and Houldsworth S.P.T, Pure Mathematics, 72 (1985) 11-19.

[5] Kaufman J.E, College Algebra and Trigonometry, PWS Publishers, (1987)

[6] Attwood Greg e'tal, Edexcel AS and A Level Modular Mathematics (C1-C4), Pearson
Education. (2008)

[7] Ron Larson and Bruce H. Edwards, Calculus 9th Edition, Richard Stratton, 978-0-547-
16702-2, (2010)

[8] Lynn H. Loomis and Shlomo Sternberg, Advanced Calculus, Addison-Wesley Publishing
Company, Reading, Massachusetts, (1968)

[9] J. Dugundji, Topology, Wm. C. Brown Publishers, Dubuque, 1989.

[10] S.L Gupta and Nisha Rani, Fundamental Real Analysis, Vikas Publishing House Pvt. Ltd.,
New Delhi,(1976)

[11] Robert C.Wrede and Murray Spiegel, Advanced Calculus, Schaum's Outline Series,
McGraw-Hill Companies, Inc. 2nd Edition (2002)

[12] Stroud K.A and Dexter J.B, Engineering Mathematics 5th Edition, Industrial Press, Inc,
New York, (2001)

180

You might also like