Professional Documents
Culture Documents
Basics of Sub-Math by Khalid M
Basics of Sub-Math by Khalid M
Basics of Sub-Math by Khalid M
Muhamood
BASICS OF
SUBSIDIARY
MATHEMATICS
Based on the 2020 NCDC syllabus
Khalid
MUHAMOOD 2023
EDITION
Basics of Subsidiary Mathematics
By
KHALID MUHAMOOD
MSc. Mathematical Science (AIMS - Rwanda)
BSc. Ed (HONS) (KYU - Uganda)
CONTACTS
TEL: +256 754857297
Email: khalidhkmsh@gmail.com
i
ACKNOWLEDGEMENTS
I extend my great appreciation to the Director and entire Staff of Hope Boarding Secondary School - Lutembe for
the support given towards the production of this book.
I would like to extend my sincere thanks to Mr. Ssegawa yasini of Kyambogo University Mathematics department,
Mr. Matama Peter, Head of Mathematics Department Kajjansi Progressive SS, Mr. Walugada Ronald of Ndejje
SSS. for their consistence guidance, encouragement, advice and in depth insight that resulted into the successful and
comprehensive compilation of this book.
ii
DEDICATION
This book is dedicated to all Subsidiary Mathematics Students in Uganda.
iii
INTRODUCTION
The objective of this book is to empower students with the techniques and knowledge essential for understanding and
excelling in Subsidiary Mathematics.
We recognize that both students and teachers play pivotal roles in the educational journey. Therefore, this book is
designed to benefit both. Students will find it an indispensable companion in their exam preparations, while teachers
will appreciate the resource it offers to aid their teaching endeavors.
As we embark on this mathematical journey together, we welcome your feedback and suggestions for the improvement
of this text. Our commitment to enhancing the learning experience knows no bounds, and your insights are invaluable.
Together, we can continue to refine and elevate the standards of mathematical education.
We wish you every success in your Subsidiary Mathematics examinations and trust that this guide will be a guiding
light on your path to excellence.
iv
Contents
Acknowledgements ii
Dedication iii
Introduction iv
1 ALGEBRA 1
1.1 MATRICES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.6 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.7 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.8 Permutations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2 LINEAR PROGRAMMING 16
2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.3 Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.4 Exercise: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.1 Vectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
v
CONTENTS CONTENTS
4.3 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4.5 Trigonometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
5.1 Derivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
5.6 Intercepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
5.8 Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
6 Probability Theory 49
vi
1. ALGEBRA
1.1 MATRICES
A matrix is a rectangular arrangement of numbers orga- Example (Column Matrix):
nized in rows and columns.
3
Example: " # C = −2
2 4 1
A= 0
0 5 3
1.1.1 Matrix Notation. A matrix with m rows and n 1.1.5 Rectangular Matrix. A matrix with different
columns is denoted as m × n matrix. numbers of rows and columns is called a rectangular ma-
trix.
Example:
1 −3 Example: " #
B = 2 7
1 2 3
P =
0 9 −1 0 1
Matrix P is a rectangular matrix of order 2 × 3.
1.1.2 Order of a Matrix. The order of a matrix is de-
termined by its dimensions: the number of rows by the 1.1.6 Addition and Subtraction. Matrices of the same
number of columns. dimensions can be added/subtracted element-wise.
Example: Example:
" #
2 3 −1 " # " #
M= 2 1 −1 2
0 1 4 C= D=
0 3 4 0
The order of matrix M is 2 × 3.
" #
1.1.3 Square Matrix. A square matrix has an equal 1 3
C +D =
number of rows and columns. 4 3
"
# The determinant of A is given by:
2 8
GH =
4 −16
det(A) = 3 · 4 − 2 · 1 = 10
1.1.10 Non-Commutativity of Matrices. Matrix mul-
tiplication is not commutative, meaning the order mat- To find the inverse of a matrix A, you can use the for-
ters. mula:
1
A−1 = · adj(A)
Example: det(A)
" # " # where adj(A) is the adjoint of matrix A.
1 0 2 3
I= J=
0 1 4 5 Example: For matrix A,
" #
4 −2
" #
2 3 adj(A) =
IJ = −1 3
4 5
" #
14 19 Thus, the inverse of A is:
JI =
20 27 " #
1 4 −2
A−1 =
1.1.11 Identity Matrix and Inverse. The identity ma- 10 −1 3
trix is the matrix equivalent of the number 1 in multipli-
cation. 1.1.13 Singular Matrices. A matrix is called singular if
its determinant is zero. Singular matrices do not have an
Example: " # inverse.
1 0
I=
0 1 Example: Consider the matrix
" #
Not all matrices have inverses. A matrix with an inverse 2 2
B=
is called invertible or non-singular. 1 1
singular. Since its determinant is zero, B does not have Example: For the given system of equations, the deter-
an inverse. minant of matrix A is 2 · 3 − (−1) · 1 = 7.
(am )n = am·n
Example:
" # " # Indices, or exponents, come in various types: positive,
1 3 1 5 negative, and fractional.
A−1 = , B=
2 · 3 − (−1) · 1 −1 2 7
1.2.2 Positive Indices. Positive indices represent the
" #
3 number of times a base is multiplied by itself.
X = A−1 B =
1 Example: 23 means 2 raised to the power of 3, which is
2 · 2 · 2 = 8.
Thus, the solution is x = 3 and y = 1 using the adjoint
method. 1.2.3 Negative Indices. Negative indices indicate tak-
ing the reciprocal (inverse) of the base raised to the pos-
1.1.17 Cramer’s Rule. Cramer’s rule provides a solution
itive index.
for each variable by calculating determinants.
Example: 5−2 means 1
52
, which is 1
25
.
1.2.4 Fractional Indices. Fractional indices, or roots, So, the solutions to the equation 22x − 5 · 2x + 4 = 0 are
represent the inverse operation of raising a number to an x = 2 and x = 0.
exponent.
1.2.5 Logarithms. Logarithms are the inverse opera-
1/2
Example: 16 means the square root of 16, which is tions of exponentiation. The logarithm of a number to a
4. specific base gives the power to which the base must be
raised to obtain that number.
Some important rules for fractional indices include:
√ Example: log10 100 = 2 because 102 = 100.
n am = am/n
Some logarithmic rules include:
√ √ √
na· b= a·b
n n
(y − 4)(y − 1) = 0 log10 10 1
log3 10 = =
log10 3 log10 3
So, y = 4 or y = 1.
Example 1: Solve for x in the equation 3x = 27.
Since y = 2x , we have two cases to consider:
3x = 27
x
Case 1: y = 4 (which corresponds to 2 = 4)
log3 (3x ) = log3 27
2x = 4 ⇒ x = log2 4 ⇒ x = 2 x = log3 27
x=3
Case 2: y = 1 (which corresponds to 2x = 1)
The logarithmic transformation converts the exponential
x
2 = 1 ⇒ x = log2 1 ⇒ x = 0 equation into a linear one.
√ √
Example 2: Solve for y in the equation 2 · 5y = 50. Example: Simplify 2· 3.
√ √ √
2 · 5y = 50 2· 3= 6
log5 (2 · 5y ) = log5 50
log5 2 + log5 (5y ) = log5 50 1.2.10 Rationalization of Surds. Rationalizing surds
log5 2 + y = log5 50 involves eliminating radicals from the denominator of a
y = log5 50 − log5 2 fraction. This is done to simplify expressions and make
50 them more manageable.
y = log5
2 1.2.11 Rationalizing with Conjugates. One common
y = log5 25 method is to multiply both the numerator and denomi-
y=2 nator of a fraction by the conjugate of the denominator.
Un
1.2.13 Practice and Exercises. Work on problems in- d) Un+1 = Un+2
where U1 = 2
volving indices, surds, and logarithms to reinforce con-
cepts. Solution (a) We substitute for to find the first three terms
1.3 SEQUENCE, SERIES, SIGMA (b) Since the first term is given Then when
NOTATION For n = 1, U2 = 2 − 5
U1
= −3
For n = 2, U3 = 2 − 5
U2
= 3 23
There are many sequences found in nature. A mathemati-
cian known as Leonardo of Pisa (Fibonacci) [1170-1250] (c) and (d) left as an exercise
first discovered the sequence of numbers which would be-
Example 2: Write down the nth term of each sequence
come known as the Fibonacci Sequence. This sequence
can be used to describe can be used to describe the spiral a) 1, 4, 9, 16, · · ·
which appears in sea shells, the arrangement of seeds in a
b) 3, 7, 11, 15, 16, · · ·
flowering plant and many other sequences found through-
out nature. c) 2, 5, 10, 17, 26, · · ·
1.3.1 Sequences. When a set of numbers follow a pat- d) 1 1 1 1 1
, , , , ,···
2 3 4 5 6
tern and there is a clear rule for finding the next number
in the pattern then we have a sequence. The following Solution (a) nth term is n2 because squaring counting
are examples of sequences; number results into square numbers
1, 4, 9, 15, 25,· · ·
(b)
2, -4, 8, -16, 32,· · · 3, 7, 11, 15, 17, · · · 4n − 1
c) Un = (−1)n 7n2 5 + 9 + 13 + 17 + 21 + 25
is a finite series, it has 6 terms. A series is infinite if it 1.4.3 Generating an A.P.. To generate an A.P., start
continues indefinitely e.g., with an initial term (a1 ) and add the common difference
(d) successively to each term.
5 + 9 + 13 + 17 + 21 + · · ·
Example
1.3.3 Sigma Notation Σ. The symbol Σ was intro- Generate an A.P. with a1 = 3 and d = 2.
duced by Leonard Euler to denote the sum of series. It The A.P. will be: 3, 5, 7, 9, 11, ...
is useful to have a short way of writing expressions like
1.4.4 Finding the nth Term of an A.P.. The nth term
12 +22 +· · ·+n2 This can be done by writing Σm2 which
(an ) of an A.P. can be determined using the formula:
means the sum of all terms like m2 Thus
an = a1 + (n − 1)d
Σn1 m2 = 12 + 22 + 32 + · · · + n2
and Example
a) Σ4m=1 m3
So, the 10th term is 21.
b) Σnk=2 (k 2 + k)
1.4.5 Determining the Sum of the First n Terms.
1 To find the sum of the first n terms (Sn ) of an A.P., you
c) Σ5r=1 r(r+1)
can use the formula:
d) Σnq=1 (−1)q q 2 n
Sn = [2a1 + (n − 1)d]
2
e) Σnj=1 (j − 4)(j + 4)
Example
Using Theorem 3.2.1: 1.4.10 (b). Jamila starts a part-time job on a salary of
shs. 9000 per year, and this increases by an annual in-
n
Sn = [2a + (n − 1)d] crement of shs. 1000. Assuming that, apart from the
2
increment, Jamila’s salary does not increase, find:
Given: n = 8, a = 37, d = −4
(i) Her salary in the 12th year.
8 (ii) The length of time she has been working when her
S8 = [2·37+(8−1)·(−4)] = 4[74−28] = 4[46] = 184
2
total earnings are shs. 100,000.
Obtain the first algebraic equation. 1.4.13 Characteristics of a G.P.. The characteristics
of a G.P. include: - A fixed common ratio (r). - The first
Also, for m, another equation using Theorem 3.2.1:
term (a1 ). - The general term an given by an = a1 ·r(n−1) .
n
Sn = [2a + (n − 1)d] for n = 6 1.4.14 Generating a G.P.. To generate a G.P., start
2
with an initial term (a1 ) and multiply it by the common
Solve the two equations simultaneously to obtain a = ratio (r) successively to each term.
16.5 and d = −1.5. Example
n
Suppose Sn = 0, then Sn = 2
[2a + (n − 1)d] = 0. Generate a G.P. with a1 = 2 and r = 12 .
Substitute in the values a and d to obtain n. [Answer: The G.P. will be: 2, 1, 0.5, 0.25, ...
n = 23]
1.4.15 Sum of n Terms of a G.P.. To find the sum of
1.4.8 (c). The sum of the first ten terms of an AP is the first n terms (Sn ) of a G.P., you can use the formula:
120, and the sum of the first twenty terms is 840. Find
the sum of the first thirty terms. a1 (1 − rn )
Sn =
1−r
Similar to (a) and (b), use Theorem 3.2.1 to generate
two equations and solve. [Answer: 1575d] Example:
Example 3.2.3 [Real Life Experiences] Consider a G.P. with a1 = 3 and r = 12 . Find the sum of
1.4.9 (a). A student reading a book finds that he reads the first 4 terms.
faster as he gets into the subject. He reads 19 pages
on the first day, and his rate of reading then goes up by
3 pages each day. How long does he take to finish the
book?
So, the sum of the first 4 terms of this G.P. is 5.625. Example 3.5.2
1.4.16 Sum to Infinity of a G.P.. The sum to infinity A geometric progression has first terms 27 and a common
(S∞ ) of a G.P. exists if −1 < r < 1. It can be calculated ratio 43 . Find the least number n of terms the series can
using the formula: have if its sum exceeds 550.
a1 Solution:
S∞ =
1−r
Given: a = 27, r = 34 .
Where: - S∞ is the sum to infinity. - a1 is the first term Apply Theorem 3.5.1 appropriately.
of the G.P. - r is the common ratio.
Sn > 550
Example:
Remember to apply logarithms.
1
Consider a G.P. with a1 = 2 and r = 3
. Find the sum to
Answer: n = 8
infinity.
Example 3.5.3
Using the formula:
1.4.19 (a). In a GP, U3 = 32 and U6 = 4. Find a and
2
S∞ = 1
r, and the sum of the first eight terms.
1− 3
2 Solution:
= 2
3 Using Theorem 3.5.1, Un = arn−1 .
=3
Formulate two equations in terms of a and r.
So, the sum to infinity of this G.P. is 3. Example 3.5.1 Divide the two equations to get r3 = 18 , which implies
r = 12 .
1.4.17 (a). Find the sum of the first five (S5 ) terms of:
Use one of the equations to get a = 128.
25
12 6 + 3 + ... Apply Theorem 3.5.1: S8 = 255.
5
1.4.20 (b). In a GP, the sum of the second and third
Solution:
term is 6, and the sum of the third and fourth terms is
Using Theorem 3.6.1 (ii): −12. Find the first term and common ratio.
Solution:
a) ∞ n
P
18 + 1.8 + 0.18 + 0.018 + 0.0018 + 0.00018 + . . . n=0 (−2)
b) ∞ n
P
n=0 2
1
The first term is 18, and the common ratio is 10
.
Solution:
For this GP:
a) The series ∞ n
P
n=0 (−2) is a geometric series with a
S2 = 18 + 18 = 19.8 common ratio of −2. The partial sums are as follows:
S3 = 18 + 1.8 + 0.018 = 19.98 First partial sum S1 = 1.
S4 = 19.998 Second partial sum S2 = 1 − 2 = −1.
S5 = 19.9998 Third partial sum S3 = 1 − 2 + 4 = 3.
Clearly, Sn approaches the value 20 as n approaches Since the partial sums are not getting close to a specific
infinity. This is written as Sn → 20 as n → ∞ or value, the series is divergent.
limn→∞ Sn = 20.
b) The series ∞ n
P
n=0 2 is also a geometric series with a
For a general GP, a + ar + ar2 + ar3 + . . . and if common ratio of 2. The partial sums are as follows:
−1 < r < 1 (i.e., |r| < 1), then:
First partial sum S1 = 1.
3.8.1 Example
10 · 9 · 8 = 10!
Each of these arrangements is a possible permutation of 1. (a) The number of possible arrangements of the
the letters X, Y , Z, so there are six permutations alto- books.
gether.
2. (b) If these books, 3 are red-covered books, in how
Definition 1.2.1 A permutation is an arrangement of many arrangements can these be kept together?
objects without repetition, and order is important.
Solution:
Permutations that arrange objects in a line are
called linear permutations. 1. (a) Number of books n = 12 (with no restriction).
Possible arrangements: n! = 12 · 11 · 10 · . . . · 1 =
Permutations that arrange objects in a circle are 479001600 ways.
called circular permutations.
2. (b) Three red-covered books kept together. These
three can be arranged by reversing this order in 3!
In practice, the order may be in space, such as from left
ways among themselves. If these 3 are together,
to right in a row, or it may be in time, such as reaching
then there are 10 to be arranged. Therefore, there
the winning spot in a race.
are 10! · 3! ways.
In the above scenario, there are 6 ways of arranging the
3 letters: 3! = 3 · 2 · 1 = 6. 10! · 3! = 21772800 ways
Example 1.2.2 There are 12 textbooks on the shelf to Example 1.2.4 In how many ways can 8 people sit at a
be arranged. Find: round table?
1.8.3 Solution. Since 8 people are identical, then Pn = 1.8.6 Arrangements of Objects Selected from a
(n − 1)! Group. Suppose we wish to arrange r objects chosen
from n unlike objects. The permutation of r objects from
P8 = (8 − 1)! = 7! = 7 · 6 · 5 · 4 · 3 · 2 · 1 = 5040 ways n unlike objects is given by:
Example 1.2.5 Nine beads, all of different colors, are Pnr = n(n − 1)(n − 2)(n − 3) . . . (n − r + 1)
to be arranged on a circular wire. How many different
Expanding in factorial notation:
arrangements are possible if two arrangements are not
considered different? n!
Pnr =
(n − r)!
1.8.4 Solution.
Example 1.2.6 How many different four-digit numbers The number of permutations of n things taken all
can be formed from the figures 1, 2, 5, 6 if each figure is at a time, when repetition of objects is allowed, is
used only once? How many of these numbers: nn .
1. (a) The last digit is 6, and it must be chosen in one 1. (a) are allowed?
way. The first digit can be chosen in 3 ways, the
second digit in 2 ways, the third digit in one way. 2. (b) are not allowed?
Total: 3 · 2 · 1 · 1 = 6 ways.
Solution
2. (b) Using similar reasoning, there are 6 ways.
3. (c) Since the numbers cannot end with both 6 and 1. (a) Using n = 4 and r = 3 with repetition allowed:
1, they are mutually exclusive situations. Thus,
6 + 6 = 12 of the numbers end with 6 or 1. 43 = 64 different numbers
2. (b) Using n = 4 and r = 3 with no repetition 1.8.11 Example 5. Find the number of ways in which
allowed: the letters of ISOSCELES can be arranged if the two Es
are separated.
4!
4P 3 = = 24 different numbers
(4 − 3)! Solution [left as a trial question]
Solution
AB ACBC
1.8.14 Theorem 1.3.1. The number of possible com- 1.8.19 Solution. (i) Find using Theorem 1.3.1.
binations of ”n” different objects taken ”r” at a time is
(ii) Number of choosing 3 boys from 7 boys.
given by:
(iii) Number of choosing 2 girls from 5 girls.
nCr (iv) Multiply the two results since the choice of 3 boys
and the choice of 2 girls are independent.
Examples 1.3.1: Using Theorem 1.3.1, find the values:
1.8.20 Answer. 350
6! 6! 7C5 = 21
6C4 = = = 15
(6 − 4)!4! 2!4!
(b) At least one member of each (fill in the missing
1.8.16 Example 1.3.3. (a) Find the number of different spaces):
selections of 4 letters that can be made from the letters
of the word SPHERICAL.
(b) How many of these selections do not contain a vowel? 4 Boys 7 Girls Possible Selections
1.8.17 Solution. (a) n = 9 (All different letters). Num- 14 4C1 × 7C4
9!
ber of selections of 4 letters: 9C4 = 5!4! = 126. 23 4C2 × 7C3
(b) There are 3 vowels: E, I, A. Each word either does 32 4C3 × 7C2
or doesn’t contain a vowel. If these selections are not to 41 4C4 × 7C1
contain vowels, then 4 letters are selected from 6: Total 441
6!
6C4 = 2!4!
= 15
Since these possible selections are mutually exclusive, we
1.8.18 Example 1.3.4 [Independent Operations].
add all of them and get 441.
How many different committees, each consisting of 3 boys
and 2 girls, can be chosen from 7 boys and 5 girls? (c) Left as an exercise.
Linear programming problems come in different types, but x2 represents the number of loaves of bread to bake
two common ones are: daily.
The Product-Mix Problem: This problem occurs when 2. Objective Function: In every linear programming
you have multiple products, and they all need resources problem, the decision maker aims to either maxi-
that are limited. The goal is to figure out which products mize (usually revenue or profit) or minimize (usually
to make and how much of each to produce or sell so that costs) a specific function of the decision variables.
you can make the most profit, capture the most market This function is called the objective function.
share, or generate the highest sales revenue. The bakery’s objective is to maximize profit, which
The Blending Problem: This problem is about finding depends on the sales of cakes and bread. Let’s as-
the best combination of available ingredients to create a sume the bakery earns Shs. 10 in profit for each
specific quantity of a product while meeting strict quality cake sold (x1 ) and Shs. 5 in profit for each loaf of
requirements. ”Best blend” here means the combination bread sold (x2 ). The objective function, represent-
that costs the least among the necessary inputs. ing total daily profit, is:
x1 + x2 ≤ 8 (Time constraint)
c) x + y ≥ 4
(0, 5), (2, 4) and (4, 3). are the points where the line
d) y > x − 2 passes.
looking at. The place where all the rules work together is
called the ”feasible region.” Any point inside this region
follows all the rules.
2.3 Optimization
The result is as seen in the figure. The region which y = number of product B stocked,
has been shaded in all three different ways (the triangle A maximum of 10 products can be stocked so x + y ≤ 10
outlined in bold) satisfies all three inequalities.
stock more of A type than B then x > y
A manufacturer of printed circuits has a stock of 200 i.e. y = 3 and x = 6. So maximum profit occurs at the
resistors, 120 transistors, and 150 capacitors. The man- point (6, 3) and the profit is given by
ufacturer needs to produce two types of circuits:
P = 5(6) + 12(3) = Shs. 66
- Type A requires 20 resistors, 10 transistors, and 10 ca-
pacitors. - Type B requires 10 resistors, 20 transistors, This means that the manufacturer should produce 6 Type
and 30 capacitors. A circuits and 3 Type B circuits to maximize profit.
The profit on type A circuits is Shs.5, and the profit on
type B circuits is Shs. 12. Determine how many of each
circuit should be produced to maximize profit.
Solution
Constraints:
Solution:
Objective Function: Maximize P = 100x + 120y hectares of tomatoes and 16 hectares of pineapples to
maximize profit.
2.4 Exercise:
Here are some types of trends in data: When we plot moving averages on a graph, we can spot
cyclical trends in the data. By calculating the average
of two or more data points, we remove the sharp peaks
1. Secular Trend: When data consistently increases
and valleys. Consequently, the graph of moving averages
or decreases over a long period. An example is how
shows a more stable trend in the data’s changes.
high jump records keep improving or how winning
marathon times get faster. Where we place the moving average on the graph mat-
ters significantly. It should be marked at the middle point
2. Seasonal Variation: When data follows a pattern of the data we used for the calculation. We then con-
during specific months each year. Think of heating nect these points sequentially with straight lines, creating
bills, which are higher in colder months and lower what we call a ”trend line.” This trend line helps us pre-
in warmer ones. Umbrella sales go up in the rainy dict future values by extending it.
season and down when it’s sunny.
If the plotted points of moving averages don’t form a
straight line when connected, we simply draw the best-
3. Cyclical Variation: This occurs when periods of
fitting trend line through them.
prosperity are followed by downturns, and this cycle
repeats. Example: 3-points moving average Let’s consider a
set of data points listed below:
4. Random Variation: This happens when unpre-
dictable events like wars or stock market crashes
Data : x1 , x2 , x3 , x4 , x5 , x6 , . . . , xn
disrupt the trend. It’s hard to predict because these
events are irregular.
To calculate the first 3-point moving average, we add the next three data points (x2 , x3 , x4 ).
the first three data points together, resulting in the first
To calculate the third 3-point moving average, we drop
3-point moving total: x1 + x2 + x3 . We then divide
the second data point x2 and include the fifth data point
this moving total by 3 to obtain the first 3-point moving
x5 . This results in the third 3-point moving average:
average: x1 +x32 +x3 . It’s important to place this moving x3 +x4 +x5
3
, positioned at the midpoint of the next three
average at the midpoint of the first three data points:
data points (x3 , x4 , x5 ).
(x1 , x2 , x3 ).
This process continues to obtain subsequent 3-point mov-
For the second 3-point moving average, we exclude the
ing averages, always placing the moving average at the
first data point x1 and include the next data point
midpoint of the data points.
x4 . This gives us the second 3-point moving average:
x2 +x3 +x4
, which should be positioned at the midpoint of Note: To keep things organized, it’s a good practice to
3
tabulate the moving averages in the format shown below:
Example The table below shows the tax collection of a town council in millions of shillings for six consecutive months.
(a). Construct the 3-month moving averages for the given data.
(b). Plot the 3-month moving averages and the original data on the same axes.
(c). Use your graphs to estimate the town council’s tax collection for the month of July.
Solution
Example: 4-points moving average To find the four-point moving averages, we do things the same way as before,
but this time, we add up four data points and then divide the total by four to get the four-point moving averages.
Remember, we still put the moving average in the middle of those data points.
The table below shows the number of bags of sugar sold by a certain wholesale shop from the year 2009 to 2012.
Year 1st Quarter 2nd Quarter 3rd Quarter 4th Quarter
2009 192 280 320 260
2010 300 360 380 270
2011 342 420 430 320
2012 424 480 510 412
(a). Calculate the four-point moving averages for the data.
(b). (i). On the same axes, plot the original data and the four-point moving averages.
(ii). Comment on the trend of the number of bags of sugar sold over the four-year period. (iii). Use your graph to
estimate the number of bags to be sold in the first quarter of 2013.
Sol:
Year Quarter Bags of Sugar 4-Point Moving Total 4-Point Moving Average
2009 1st 192
2nd 280
1052 263
3rd 320
1160 290
4th 260
1240 310
2010 1st 300
1300 325
2nd 360
1310 327.5
3rd 380
1352 338
4th 270
1412 353
(a).
2011 1st 342
1462 365.5
2nd 420
1512 378
3rd 430
1594 398.5
4th 320
1654 413.5
2012 1st 424
1734 433.5
2nd 480
1826 456.5
3rd 510
1402+x
1402+x 4
4th 412
2013 1 x
from the graph,
1402 + x
= 467.5
4
1402 + x = 4 × 467.5
x = 1879 − 1402
= 468
The estimate the number of bags to be sold in the first quarter of 2013 is 468 bags.
Figure 3.1: There is an increasing trend in the average number of bags of sugar over the four-year period.
Example: 5-points moving average The five-point moving averages are determined using the same process as
previously explained. In this case, we add up five consecutive data points and then divide the sum by five to calculate
the five-point moving averages. It’s essential to note that the moving average is positioned at the middle of these
data points.
Question: The provided table displays the monthly prices of a liter of milk throughout the year 2016.
(a). Utilize the data to compute the five-month moving totals and subsequently determine the five-month moving
averages.
(b). Create a single graph that illustrates both the given data and the moving averages on the same axes. Provide
insights into your findings.
(c). Utilize the graph from part (b) to estimate the milk price for:
Month Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Price (shs) 1900 1905 1910 1910 1920 1930 1920 1945 1965 1960 1980 2000
Solution
Figure 3.2: Comment: There is an increasing trend in the monthly prices of a litre of milk over the year 2016.
Example: 6-points moving average The table below shows the monthly sales of a Cars in (shs “000”) for the year
2016.
(a). Calculate 6-point moving totals and hence the moving averages. [6]
(b). (i). Plot on the same axes actual sales and moving averages. Comment on the trend of sales during the year.
Month Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Sales 220 210 200 207 196 189 175 186 176 170 159 168
Solution: Table is left as an exercise to the learner. see graph in the figure
Figure 3.3: Comment: There is a decreasing trend in the average sales during the year 2016.
3.1.2 Exercise.
Qtn 1. The number of Shirts sold by a shop for the first 10 weeks of the period February to April 2012 is as in the
table below.
Week 1 2 3 4 5 6 7 8 9 10
Sales 7 4 6 4 5 3 4 1 5 2
Qtn 2. The table shows the average monthly production of a certain commodity in thousands of tones.
(a). On the same coordinate axes represent the average monthly production and the three-year moving averages
for the data.
(b). From the graph estimate the average monthly production in 2007.
Generally, we compare current prices with prices in the This indicates that the price of petrol went up by 20%
past. The current time is called the ”current period,” between 2005 and 2009.
and some past time is called the ”base period.” These
3.2.2 Simple Aggregate Price Index. The simple ag-
periods could be days, weeks, months, years, or decades.
gregate price index is obtained by calculating the total
price of a group of items as a ratio of the total price of
Base Year: The year used to compare other prices the same group of items in the base year. It consists of
or the year on which price changes are based. expressing the aggregate price of all commodities in the
current year as a percentage of the aggregate price in the
Current Year: The year for which the index is cal-
base year.
culated or the year being compared with the base
P
year. p1
Simple aggregate price index, P = P × 100
p0
Sum of prices in current year
Item Price in 1995 ($) Price in 2005 ($) weighted contributions of different items to the overall
A 10 15 index and is calculated as:
B 20 25
C 15 30 P p1
D 25 35 p0
·w
Weighted Average Price Index = P × 100
E 30 40 w
F 40 45
Here, p1 and p0 represent the prices of individual items
Solution in the current year and base year, respectively. w repre-
sents the weight of each item, and Pw and P represent
To calculate the aggregate price index, we need to find
the aggregate prices in the current year and base year,
the sum of the prices for each year:
respectively.
Solution
P2014 P2014
Item price 2010 price 2014 W P2010
× 100 P2010
W × 100 P2010 W P2014 W
A shs.1500 shs.1800 4 120.00 480.00 6000 7200
B shs.2500 shs.2800 6 112.00 672.00 15000 16800
C shs.900 shs.800 5 88.89 444.45 4500 4000
Total P
P2010 = 4900
P
P2014 = 5400
P
W = 15
P P2014
P2010
W × 100 = 1596.45
P
P2010 W = 22500
P
P2014 W = 24400
(a) simple aggregate price index for 2014. Item Term one Term two weight
P Soda shs.800 shs.1200 2
p1
Simple aggregate price index = P × 100 Chapati shs.1000 shs.1500 1
p0
5400 Samosa shs.900 shs.1200 3
= × 100
4900 Sweet shs.300 shs.400 4
= 110.2%
(a) Calculate the simple price index of each item in
term two,
(b) Price relative for each item for 2014
(b) Calculate Marion’s cost of living index in term
two,
A = 120.00% B = 112.00% C = 88.89%
(c) Calculate Marion’s simple aggregate index for
(c) Find weighted price index for 2014. term two taking term one as the 100% year.
P p1
p0
·W Qtn 2. The table below shows the expenditure of restau-
Weighted Price Index = P × 100
W rants for the years 2014 and 2016.
1596.45
=
15
= 106.43% Items Price 2014 (Shs) Price 2016 (Sh
Milk (per litre) 1000 1300
(d) Find weighted aggregate price index for 2014. Eggs (per tray) 6500 8300
P
p1 · w Sugar (per kg) 3000 3800
Weighted Aggregate Price Index = P × 100 Blue band 7000 9000
p0 · w
24400
= × 100 Taking 2014 as the base year, calculate for 2016
22500
= 109.804% the; (a) Price relative for each item.
(b) Simple aggregate Price index.
3.2.5 Exercise.
(c) Weighted aggregate Price index and comment
on your results.
(d) In 2016, the restaurant spent Shs.45, 000 on
buying these items. Using the index obtained in
Qtn1. The table below shows Marion’s expenditure on (c), find how much money the restaurant could
break time during School time in term have spent in 2014.
dependent while the other is dependent. This type of correlation, the Spearman’s value ranges are as follows:
relationship is referred to as ”bi-variates.”
A scatter diagram, also known as a scatter graph, is a 3.4.1 Types of Correlation. Correlation types explain
graphical representation of the relationship between two the relationship between the two plotted variables, de-
variables. It is essential to include a title, labeled axes,
noted as X and Y . These types include: negative, or no correlation, referring to the illustrations
above.
(a) Negative Correlation: In this case, an increase in the
independent variable (X) results in a decrease in the de- 3.4.2 Drawing a Line of Best Fit. The line of best
pendent variable (Y ). fit is drawn to ensure it passes through the mean point
(M0 (x, y)) of the given data. Two formats are generally
Dependent (Y ) used:
↑
1. Line of Best Fit of x on y: - Plot the mean (M0 (x, y))
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
on the scatter. - Draw a line parallel to the x-axis (using
Independent (X)
the imaginary eye idea). - Find the mean (Ma ) of the
points above. - Find the mean (Mb ) of the points below.
(b) Positive Correlation: Here, an increase in the indepen-
- Draw a solid line passing through M0 , Ma , and Mb ,
dent variable (X) leads to an increase in the dependent
forming the line of best fit. This line is preferred when y
variable (Y ).
values are more accurate.
Dependent (Y ) 2. Line of Best Fit of y on x: - Plot the mean (M0 (x, y))
↑ on the scatter. - Draw a line parallel to the y-axis (using
↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ the imaginary eye idea). - Find the mean (Ml ) of the
Independent (X) points on the left. - Find the mean (Mr ) of the points
on the right. - Draw a solid line passing through M0 , Ml ,
(c) Zero/No/Neutral Correlation: In this scenario, and Mr , forming the line of best fit. This line is preferred
changes in the independent variable (X) have little to when x values are more accurate.
no effect on the dependent variable (Y ), and vice versa.
For increased accuracy, ensure that the line of best fit
Dependent (Y ) passes through the mean of all points.
↑ 3.4.3 Equation of the Line of Best Fit. The equation
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ of the line of best fit is determined by selecting any two
Independent (X) points from the drawn line and using them to calculate
the equation of the line in the form y = mx + c using
To comment on the graph, observe the trend of the the analytical approach.
scattered points and classify the relationship as positive,
3.4.4 Example. The table below displays the height and weight of 8 students in a certain school:
In mathematics and physics, vectors are quantities that have both magnitude and direction. They are often represented
using various notations.
4.1.1 Vector Notation. A vector is typically represented as v and can be denoted in different forms:
" #
x
Column Notation: v =
y
h i
Row Notation: v = x, y
4.1.2 Displacement Vector. A displacement vector, denoted as d, represents the change in position from one point
to another.
4.1.3 Position Vector. A position vector, denoted as r, locates a point with respect to a reference point.
4.2.1 Addition and Subtraction of Vectors. Vectors can be added or subtracted component-wise. For vectors
u = hu1 , u2 i and v = hv1 , v2 i:
u + v = hu1 + v1 , u2 + v2 i
u − v = hu1 − v1 , u2 − v2 i
4.2.2 Multiplication by a Scalar. A vector can be multiplied by a scalar, resulting in a vector with the same
direction (if the scalar is positive) or the opposite direction (if the scalar is negative).
4.2.3 Magnitude and Direction of a Vector. The magnitude of a vector v = hx, yi is given by:
p
|v| = x2 + y 2
The direction of v is given by the angle θ it makes with the positive x-axis:
y
tan θ =
x
4.2.4 Parallel Vectors. Two vectors are parallel if they have the same or opposite directions.
4.2.5 Equal Vectors. Two vectors are equal if they have the same magnitude and direction.
4.2.6 Dot/Scalar Product of Two Vectors. The dot product of vectors u and v is defined as:
u · v = u1 v1 + u2 v2
4.2.7 Angle Between Vectors. The angle θ between two vectors u and v can be found using the dot product:
u·v
cos θ =
|u| · |v|
4.2.8 Perpendicular Vectors. Two vectors are perpendicular (orthogonal) if their dot product is zero.
4.3 Examples
Example 1
Example 2
Find the magnitude and direction of the vector v = h3, 4i. Example 3 Given vectors u = h3, 1i and v = h−2, 4i,
find the angle between them.
Solution: To find the angle θ between vectors u and v, we can use the dot product formula:
u·v
cos θ =
|u| · |v|
−2 −2 −2 −1
cos θ = √ √ =√ = √ = √
( 10)( 20) 200 10 2 5 2
Example 4
Solution: Two vectors are perpendicular if their dot product is zero. Calculate the dot product of a and b:
a · b = (2)(3) + (−3)(2)
=6−6
=0
2. v = 2h2, 1i − 3h−1, 2i
4. Determine whether vectors p = h1, −3i and q = h−2, 6i are parallel, equal, or neither.
4.5 Trigonometry
4.5.1 Trigonometric Ratios. Trigonometric ratios are relationships between the sides of a right-angled triangle.
There are three primary trigonometric ratios: sine (sin), cosine (cos), and tangent (tan).
4.5.2 Expressions of the Six Trigonometric Ratios. For a right-angled triangle with angle θ:
The reciprocals of these ratios are: cosecant (csc), secant (sec), and cotangent (cot):
1 1 1
csc θ = , sec θ = , cot θ =
sin θ cos θ tan θ
4.5.3 Special Angles. Common special angles include: 30◦ , 45◦ , and 60◦ .
4.5.4 Graphs of Trigonometric Functions. The graphs of sin θ and cos θ are periodic, oscillating between -1 and
1.
Trigonometric Identities
tan2 θ + 1 = sec2 θ
cot2 θ + 1 = csc2 θ
Quadratic Equations
4.5.6 Introduction to Quadratic Equations. A quadratic equation is a polynomial equation of the second degree:
ax2 + bx + c = 0
In calculus, differentiation is the process of finding the rate of change of a function. It provides us with tools to
calculate derivatives for various types of functions. In this section, we’ll explore derivatives of linear, quadratic, and
cubic functions and discuss the first and second derivatives for functions with integer exponents.
5.1.1 Derivatives of Linear Functions. A linear function f (x) = ax+b has a constant rate of change. Its derivative
f 0 (x) is equal to the coefficient of x:
d
f (x) = ax + b ⇒ f (x) = a
dx
Example
d
(3x + 2) = 3
dx
5.1.2 Derivatives of Quadratic Functions. A quadratic function f (x) = ax2 + bx + c has a parabolic shape. Its
derivative f 0 (x) can be found using the power rule:
d
f (x) = ax2 + bx + c ⇒ f (x) = 2ax + b
dx
Example
d
(2x2 + 3x − 1) = 4x + 3
dx
5.1.3 Derivatives of Cubic Functions. A cubic function f (x) = ax3 + bx2 + cx + d has a more complex shape.
Its derivative f 0 (x) can also be found using the power rule:
d
f (x) = ax3 + bx2 + cx + d ⇒ f (x) = 3ax2 + 2bx + c
dx
Example
d
(3x3 − 2x2 + 5x − 1) = 9x2 − 4x + 5
dx
5.1.4 First Derivative for Integer Exponents. When dealing with functions of the form f (x) = xn , where n is a
positive integer, the first derivative f 0 (x) can be calculated using the power rule:
d
f (x) = xn ⇒ f (x) = nxn−1
dx
Example
d 3
(x ) = 3x2
dx
5.1.5 Second Derivative for Integer Exponents. To find the second derivative f 00 (x) for functions f (x) = xn ,
where n is a positive integer, you can apply the power rule twice:
n d d2
f (x) = x ⇒ f (x) = nxn−1 ⇒ 2
f (x) = n(n − 1)xn−2
dx dx
Example
d2 4
(x ) = 12x2
dx2
5.1.6 Natural Logarithm in Differentiation. The derivative of the natural logarithm function f (x) = ln(x) is
given by:
d 1
f (x) = ln(x) ⇒ f (x) =
dx x
This result is essential in various applications, particularly in solving exponential growth and decay problems.
Example
d 1
(ln(x)) =
dx x
In calculus, critical points of a function are values of x where the first derivative f 0 (x) equals zero or is undefined.
Critical points play a crucial role in determining whether a function has a local minimum, local maximum, or neither.
5.2.1 Finding Critical Points. To find critical points, follow these steps:
1. Compute the first derivative f 0 (x) of the given function f (x). 2. Set f 0 (x) = 0 and solve for x. 3. The solutions
to f 0 (x) = 0 are the critical points of the function.
Example
1. Compute f 0 (x):
f 0 (x) = 3x2 − 12x + 9
5.2.2 Determining Maximum and Minimum. After finding the critical points, you can determine whether each
critical point represents a local maximum, a local minimum, or neither:
- If f 0 (x) > 0 to the left of a critical point and f 0 (x) < 0 to the right of that point, it’s a local maximum. - If
f 0 (x) < 0 to the left of a critical point and f 0 (x) > 0 to the right of that point, it’s a local minimum. - If f 0 (x) does
not change sign at a critical point, it’s neither a maximum nor a minimum.
Example
Determine the nature of the critical points of the function f (x) = x3 − 6x2 + 9x + 4.
At x = 1: - To the left of x = 1, f 0 (x) = 3(1)2 −12(1)+9 = 0. - To the right of x = 1, f 0 (x) = 3(2)2 −12(2)+9 = −9.
Since f 0 (x) changes sign from positive to negative, x = 1 is a local maximum.
At x = 3: - To the left of x = 3, f 0 (x) = 3(2)2 −12(2)+9 = −9. - To the right of x = 3, f 0 (x) = 3(3)2 −12(3)+9 = 0.
Since f 0 (x) changes sign from negative to positive, x = 3 is a local minimum.
In calculus, you can use functions to model and solve real-life problems. Two common types of real-life functions
are profit functions and cost reduction functions. These functions help businesses make decisions about pricing and
production.
5.3.1 Profit Functions. A profit function models the profit (revenue minus cost) of a business as a function of a
variable, such as the number of units sold. To maximize profit, find the critical point where the derivative of the
profit function is zero, and determine whether it represents a maximum.
Example
A company’s profit function is given by P (x) = −x2 + 40x − 100, where x is the number of units sold. Find the
production quantity that maximizes profit.
1. Compute P 0 (x):
P 0 (x) = −2x + 40
−2x + 40 = 0 =⇒ 2x = 40 =⇒ x = 20
The critical point is x = 20. To determine whether it’s a maximum, check the sign change of P 0 (x) around this
point.
- To the left of x = 20, P 0 (x) = −2(19) + 40 = 2 > 0. - To the right of x = 20, P 0 (x) = −2(21) + 40 = −2 < 0.
Since P 0 (x) changes sign from positive to negative, x = 20 represents a local maximum.
5.3.2 Cost Reduction Functions. A cost reduction function models the cost of production as a function of a
variable, such as the quantity produced. To minimize costs, find the critical point where the derivative of the cost
reduction function is zero, and determine whether it represents a minimum.
Example
A company’s cost reduction function is given by C(x) = x2 − 20x + 150, where x is the quantity produced. Find the
production quantity that minimizes costs.
1. Compute C 0 (x):
C 0 (x) = 2x − 20
2x − 20 = 0 =⇒ 2x = 20 =⇒ x = 10
The critical point is x = 10. To determine whether it’s a minimum, check the sign change of C 0 (x) around this point.
- To the left of x = 10, C 0 (x) = 2(9) − 20 = −2 < 0. - To the right of x = 10, C 0 (x) = 2(11) − 20 = 2 > 0.
Since C 0 (x) changes sign from negative to positive, x = 10 represents a local minimum.
5.3.3 Real-Life Applications. Calculus is widely used in real-life situations to optimize functions. Examples include:
- Maximizing profit by determining the optimal price and production quantity. - Minimizing cost by optimizing
production processes. - Maximizing revenue in marketing campaigns. - Minimizing travel time in route planning.
By formulating functions and finding critical points, you can make informed decisions in various fields.
5.4.1 Turning points. In calculus, turning points of a quadratic curve are points where the curve changes direction,
transitioning from increasing to decreasing (local maximum) or from decreasing to increasing (local minimum).
Calculating turning points involves finding the coordinates (x, y) where the derivative is zero.
1. Compute the first derivative f 0 (x) of the quadratic function f (x). 2. Set f 0 (x) = 0 and solve for x. 3. Substitute
these values of x into the original function to find the corresponding y-coordinates.
5.4.2 Second Derivative Method. Alternatively, you can use the second derivative to determine the nature of
turning points:
1. Compute the first and second derivatives, f 0 (x) and f 00 (x), of the quadratic function f (x). 2. Find the values of
x where f 0 (x) = 0. These are potential turning points. 3. Examine the sign of f 00 (x) at each potential turning point:
- If f 00 (x) > 0, it’s a local minimum point. - If f 00 (x) < 0, it’s a local maximum point. - If f 00 (x) = 0, the nature of
the turning point is unclear.
Once you’ve found potential turning points, you can determine their nature:
- For a turning point at x = a: - If f 00 (a) > 0, it’s a local minimum point. - If f 00 (a) < 0, it’s a local maximum point.
4x − 8 = 0
Solving for x:
4x = 8 =⇒ x = 2
To determine the nature of the turning point at x = 2, use the second derivative f 00 (x):
Since f 00 (x) is a constant (4) and it’s greater than zero (f 00 (x) > 0), this means that the turning point at x = 2 is a
local minimum point.
So, for the quadratic function f (x) = 2x2 − 8x + 6, the turning point at x = 2 is a local minimum point.
You can also find the corresponding y-coordinate by substituting x = 2 back into the original function:
So, the turning point is (2, −6), and it represents a local minimum point on the curve.
5.6 Intercepts
Intercepts are points where a curve intersects the coordinate axes. For a quadratic function f (x), you can find the
following intercepts:
- Y-Intercept (y-intercept): To find the y-intercept, set x = 0 in the quadratic function and solve for y.
- X-Intercepts (x-intercepts or roots): To find the x-intercepts, set y = 0 in the quadratic function and solve for
x. These are also the solutions to the quadratic equation.
Curve sketching involves creating a visual representation of the quadratic curve using the information you’ve gathered,
including turning points, intercepts, and the shape of the curve.
5.7.1 Steps for Curve Sketching. 1. Find the y-intercept and x-intercepts. 2. Determine the turning points and
their nature (maximum or minimum). 3. Consider the leading coefficient of the quadratic function: - If it’s positive,
the parabola opens upward. - If it’s negative, the parabola opens downward. 4. Sketch the curve accordingly, ensuring
it passes through the intercepts and has the appropriate concavity (upward or downward).
5.8 Integration
In calculus, indefinite integrals are used to find antiderivatives of functions. An antiderivative is a function whose
derivative is equal to the given function. The notation for an indefinite integral is:
Z
f (x) dx
Here, f (x) is the function to be integrated, and dx indicates the variable of integration.
5.9.1 Constant of Integration. When we find an antiderivative, there is an arbitrary constant introduced, denoted
as C, called the constant of integration. This constant accounts for all possible antiderivatives of the same function.
The general form of the indefinite integral is:
Z
f (x) dx = F (x) + C
Example
Z
3x2 dx = x3 + C
Definite integrals are used to calculate the net area under a curve between two specific points on the x-axis. The
notation for a definite integral is:
Z b
f (x) dx
a
Here, f (x) is the function to be integrated, and [a, b] are the limits of integration.
5.10.1 Evaluating Definite Integrals. To evaluate definite integrals, we find the antiderivative of the function and
then apply the Fundamental Theorem of Calculus:
Z b
f (x) dx = F (b) − F (a)
a
Example
Z 3
(2x − 1) dx
1
Z 3
(2x − 1) dx = [x2 − x]31 = (32 − 3) − (12 − 1) = 9 − 3 − 1 + 1 = 6
1
The natural logarithm, denoted as ln(x), frequently appears in integration, especially when dealing with functions
involving exponentials. The integral of x1 with respect to x is the natural logarithm:
Z
1
dx = ln |x| + C
x
Here, C is the constant of integration, and |x| denotes the absolute value of x.
Example
Z
1
dx = ln |x| + C
x
6.0.10 Independence of Events. Two events are in- Problem: One letter is selected at random from the word
dependent when the occurrence of one event does not ”SUBSIDIARYMATHEMATICS.” Find the probability of
influence the probability of the other event. In other selecting
words, they are unrelated, and the outcome of one event
does not affect the outcome of the second event. For 1. An ”A”
example, throwing a die and flipping a coin are inde- 2. An ”E”
pendent events. For two independent events A and B,
P (A ∩ B) = P (A) × P (B). The word ”SUBSIDIARYMATHEMATICS” has a sample
space of 21 letters.
Examples
number of A’s 3 1
Problem: The numbers 1 to 20 are each written on a 1. P (selecting A) = total number of letters
= 21
= 7
card. The 20 cards are mixed together. One card is cho- number of E’s 1
2. P (selecting E) = total number of letters
= 21
sen at random from the pack. Find the probability that
the number on the card is: Problem
number of factors of 24
2. P (a factor of 24) = total number of numbers in the pack HH HT
The factors of 24 are: F24 = {1, 2, 3, 4, 6, 8, 12, 24}. TH TT
number of factors of 24 = |F24 | = 8 Let A be the event ”two heads are obtained.”
8 2
Therefore, P (a factor of 24) = 20
= 5 A = {HH} =⇒ |A| = 1
3. Prime numbers in the pack = {2, 3, 5, 7, 11, 13, 17, 19} Therefore, P (A) = |A|
|S|
= 14 . The probability that two
P (Prime) = number of prime numbers in the pack heads are obtained is 41 .
total number of numbers in the pack
P (Prime) = 8
= 2 Let E be the event ”a head and a tail is obtained.”
20 5
When a coin is tossed once, the sample space is: S = two numbers on which the dice land. Find the possibility
{H, T } where H denotes a ’head’ and T a ’tail.’ So space and the probability of each element of the space.
P (H) = P (T ) = 12 .
9. One ball is selected at random from a bag containing
Similarly, the sample space when a die is tossed once is: 12 balls, of which x are white. (a) What is the probabil-
S = {1, 2, 3, 4, 5, 6}. So P (six) = 16 . ity of selecting a white ball? (b) When a further 6 white
balls are added, the probability of selecting a white ball
The two events are independent. Therefore,
is doubled. Find x.
P (head and six) = P (H) × P (six) = 12 × 1
6
1
= 12 .
10. A bead is drawn from a container containing 10 red,
6.0.11 Exercise:. 1. An ordinary die is thrown. Find the
15 black, 5 green, and 10 yellow beads. Find the proba-
probability that the number obtained (a) is a multiple of
bility that the bead is (a) black, (b) not green, (c) red or
3, (b) is less than 7, (c) is a factor of 6.
black, (d) not blue.
2. A bag contains 6 red balls and 4 green balls. (a) Find
6.0.12 Probability and Set Theory. There are sev-
the probability of selecting at random (i) a red ball, (ii)
eral fundamental laws and notations that relate to set
a green ball. (b) One red ball is removed from the bag.
theory. These laws govern how probabilities are assigned
Find the new probability of selecting at random: (i) a red
to events within a sample space. Here are some of the
ball, (ii) a green ball.
basic laws of probability in relation to set theory:
3. From a set of cards numbered 1 to 20, a card is drawn
Probabilities can be illustrated on a Venn diagram. The
at random. Find the probability that the number (a) is
rectangle represents the entire sample space, and the cir-
divisible by 4, (b) is greater than 15, (c) is divisible by 4
cle represents the event A, as shown below.
and greater than 15.
clusive. ”A or B” means ”A or B or both”, as shown by 4. Law of Total Probability: For two events A and
the shaded region below. B where A and A0 , B and B 0 are complementary: (i)
P (B) = P (A ∩ B) + P (A0 ∩ B)
(ii) P (A) = P (A ∩ B) + P (A ∩ B 0 )
(iv) P (B 0 ) = P (A ∩ B 0 ) + P (A0 ∩ B 0 )
6.0.13 Basic Probability Laws. The laws are:
2. Complementary Law:
6.0.14 Contingency Table. A contingency table pro-
vides a way of portraying data that can facilitate calcu-
P (A) + P (A0 ) = 1 =⇒ P (A0 ) = 1 − P (A)
lating probabilities. We use a contingency table to rep-
resent the probabilities of two events, A and B, which
3. Additive Law: For any two events A and B: may or may not be independent. The contingency table
might look like this:
P (A ∪ B) = P (A) + P (B) − P (A ∩ B)
Event B B0
If A and B are mutually exclusive, P (A ∩ B) = 0, and A P (A ∩ B) P (A ∩ B 0 )
thus, P (A ∪ B) = P (A) + P (B). A0 P (A0 ∩ B) P (A0 ∩ B 0 )
Some important relationships are visible in the contin- (b) From P (A ∪ B) = P (A) + P (B) − P (A ∩ B):
gency table: 1. P (A) = P (A ∩ B) + P (A ∩ B 0 )
1 1 1 1
0
P (A ∪ B) = + − =
2. P (B) = P (A ∩ B) + P (A ∩ B) 3 4 12 2
B) = 5P (B) = 4P (A), find (i) P (A), (ii) P (Ā ∩ B̄). are mutually exclusive. (a) P (John or Mark wins) =
P (John wins) + P (Mark wins) = 0.7. (b)
8: The events A, B, and C are mutually exclusive, such
P (neither John nor Paul wins) = P (John or Paul wins)C =
that P (A) = 0.3, P (B) = 0.2, and P (C) = 0.3. Find
1 − P (John or Paul wins) = 0.5.
(i) P (A ∪ C), (ii) P (A ∪ B ∩ C).
Example 3: A coin and a die are thrown together. Find
6.0.15 Probability Situations. These include:
the probability of obtaining: (a) a head (b) a number
The OR Situation: greater than 4 (c) a head and a number greater than 4
This situation deals with the probability of either one, or (d) a head or a number greater than 4.
the other, or both events occurring. If events A and B Solution: The sample space when a coin is thrown is
are two events, the probability that either A or B or both S = {H, T }, where H denotes ”head” and T denotes
occur is denoted by P (A ∪ B), where ”tail.”
(a) P (a head) = 21 .
P (A ∪ B) = P (A) + P (B) − P (A ∩ B).
The sample space when a die is thrown is S =
If the two events are mutually exclusive (meaning they {1, 2, 3, 4, 5, 6}.
cannot occur at the same time), the probability that A (b) P (a number greater than 4) = 13 .
or B will occur equals the sum of their probabilities, i.e.,
(c) P (a head and a number greater than 4) = 61 .
P (A ∪ B) = P (A) + P (B). In this context, the ”OR
8
Law” means probabilities are added. (d) P (a head or a number greater than 4) = 12
= 32 .
This situation deals with the probability of two events A 1. An ordinary die is thrown. Find the probability that
and B occurring together. In probability, the ”AND Law” the number obtained is: (a) even, (b) prime, (c) even
means that the probabilities are multiplied. For events A and prime, (d) even or prime,
and B, P (A ∩ B) = P (A) · P (B).
2. A and B are independent events, and P (A) = 0.3,
Examples P (B) = 0.75. Find the probability that: (a) Both A and
B occur, (b) A or B occurs,
Example 1: One ball is selected at random from a bag
containing 5 red balls, 2 yellow balls, and 4 white balls. 3. The probability that a student in a S.5 class is left-
Find the probability of selecting a red ball or a white ball. handed is 16 . From the class of 15 girls and 5 boys, a stu-
dent is chosen at random. Assuming that left-handedness
Solution: The two events are exclusive.
is independent of the sex of a student, find the probability
that a student chosen is a boy or is left-handed.
5 4. The probability of a student in S.5 getting an A in
P (red ball or white ball) = P (red) + P (white) = .
11 Subsidiary Mathematics is 0.24, and that of getting a B
in Economics is 0.28. What is the probability that a ran-
Example 2: John, Paul, and Mark compete in a 100m
domly selected student from this class will get an A or a
race. The probability that John wins is 0.3, Paul wins is
B?
0.2, and Mark wins is 0.4. Find the probability that: (a)
John or Mark wins (b) Neither John nor Paul wins. 5. A fair die is thrown twice. Find the probability of ob-
taining a 4 on the first throw and an odd number on the
Solution: Since only one person can win, the events
second throw.
6. A bag contains 10 red balls, 5 blue balls, and 7 green P (A∩B) = P (A)·P (B). In this case, P (A/B) = P (A)
balls. Find the probability of selecting at random: (a) a and P (B/A) = P (B).
red ball, (b) a green ball,(c) a blue or a red ball,(d) a red
Example 1
or a green ball,
13 3
Given that P (H) = 52
and P (H ∩ G) = 52
, find
6.0.16 Conditional Probability. Conditional probabil-
P (G/H).
ity refers to the likelihood of an event occurring when we
have additional information about the occurrence of an-
other event. For instance, consider a school that employs P (G ∩ H)
P (G/H) =
both male and female teachers who teach both Arts and P (H)
3
Science subjects. If we randomly select a teacher and 52
= 13
know that the selected teacher is female, we might be 52
interested in the probability that she teaches a Science 3
=
subject. This scenario illustrates conditional probability. 13