Mathematics I Module Overview at LUANAR
Mathematics I Module Overview at LUANAR
Natural Resources
We are delighted to take you through the first module in mathematics. The content
in this module builds on your knowledge from the secondary school mathematics.
As you may be aware, most of the courses in science programs, and LUANAR
programs in particular, require computational, mathematical and critical thinking
skills. This module provides the foundation knowledge and skills that are required
to competently complete your degree program.
The aim of this module is to enhance your knowledge, skills and attitudes
in mathematics through an interactive learning. The module contains five units
that lay the foundation of mathematics at LUANAR. The first unit introduces
the concept of numbers under systems of naming numbers. The second unit,
discusses the number systems. After you have learnt about numbers, you will
be ready to learn set theory that is presented in third unit. Furthermore, the
module presents relations and functions in fourth unit and graphs of some
functions in the last unit.
ii
Contents
Module Overview ii
2 Number Systems 25
2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.2 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.3 Sets of Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.3.1 Natural Numbers . . . . . . . . . . . . . . . . . . . . . . . . 26
2.3.2 Whole Numbers . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.3.3 Integers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.3.4 Rational Numbers . . . . . . . . . . . . . . . . . . . . . . . 27
2.3.5 Irrational Numbers . . . . . . . . . . . . . . . . . . . . . . . 27
2.3.6 Real Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.3.7 Complex Numbers . . . . . . . . . . . . . . . . . . . . . . . 29
2.4 Operations in Complex Numbers . . . . . . . . . . . . . . . . . . . 30
2.4.1 Addition and Subtraction . . . . . . . . . . . . . . . . . . . 30
2.4.2 Multiplication . . . . . . . . . . . . . . . . . . . . . . . . . . 32
iii
2.4.3 Complex Conjugation . . . . . . . . . . . . . . . . . . . . . . 33
2.4.4 Division . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.5 Equations Involving Complex Numbers . . . . . . . . . . . . . . . . 37
3 Set Theory 41
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.2 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.3 Definition and Notation . . . . . . . . . . . . . . . . . . . . . . . . 42
3.4 Set Builder Notation . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3.5 Finite, Infinite and Empty Sets . . . . . . . . . . . . . . . . . . . . 43
3.6 Subsets and Equality of Sets . . . . . . . . . . . . . . . . . . . . . . 45
3.7 The Universal Set and Set Operations . . . . . . . . . . . . . . . . . 46
3.7.1 Universal Set and Complement . . . . . . . . . . . . . . . . 46
3.7.2 The Union of Sets . . . . . . . . . . . . . . . . . . . . . . . . 46
3.7.3 The Intersection of Sets . . . . . . . . . . . . . . . . . . . . 47
3.7.4 Difference of Sets . . . . . . . . . . . . . . . . . . . . . . . . 48
3.8 Venn Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
iv
5.4.1 The Gradient of a Straight Line Joining Two Points . . . . . 94
5.4.2 Equation of a Straight Line . . . . . . . . . . . . . . . . . . 96
5.4.3 Parallel Lines . . . . . . . . . . . . . . . . . . . . . . . . . . 100
5.4.4 Perpendicular Lines . . . . . . . . . . . . . . . . . . . . . . . 101
5.5 Graphs of Exponential Functions . . . . . . . . . . . . . . . . . . . 103
5.5.1 Properties of Graphs of Exponential Functions . . . . . . . . 103
5.6 Graphs of Logarithmic Functions . . . . . . . . . . . . . . . . . . . 106
5.6.1 Properties of Graphs of Logarithmic Functions . . . . . . . . 106
v
vi
Unit 1
1.1 Introduction
Welcome to unit 1 where we are introducing system of naming numbers. Numbers
are named according to the base in which they are expressed. You may recall that
the first numbers you learnt were 1, 2, 3 ... 9. These numbers were expressed to
base 10 and are called decimal numbers. In this unit, you will learn how numbers
are named according to the bases. Numbers can be expressed in any base but this
unit only presents numbers expressed to base ten, two, eight and sixteen. How-
ever, you are expected to be able to express numbers in any base using the same
ideas in this unit. The unit also describes how you can conduct basic operations
of mathematics namely addition, subtraction, multiplication and division to num-
bers in different bases. For binary numbers, we look at all the four operations:
addition, subtraction, multiplication and division. For the other number systems,
we consider addition, subtraction and multiplication.
1.2 Objectives
By the end of this unit, you should be able to:
1
Key Terms
Ensure that you understand the key terms or phrases used in this unit as listed
below:
• Base
• Binary
• decimal
• octal
• hexadecimal
• binary fractions
and
71.3510 = 7 × 101 + 1 × 100 + 3 × 10−1 + 5 × 10−2 .
This shows that each position in a decimal number represents a power of ten.
We will not look at arithmetic operations in decimal numbers since you are
already familiar with them.
2
1.4.1 Converting from binary to decimal
You have seen above that every position in a decimal number represents a power
of ten. Similarly, each position in a binary number represents a power of two. To
convert from binary to decimal, we multiply each binary digit by a power of 2 at
that position then add the values together.
Solution
1101012 = 1 × 25 + 1 × 24 + 0 × 23 + 1 × 22 + 0 × 21 + 1 × 20
= 32 + 16 + 0 + 4 + 0 + 1
= 5310 .
Solution
10112 = 1 × 23 + 0 × 22 + 1 × 21 + 1 × 20
=8+0+2+1
= 1110 .
The same idea is extended to binary fractions. After the binary point, the first
bit is multiplied by 2−1 , the next one by 2−2 followed by 2−3 and so on.
Solution
Solution
3
1.4.2 Converting from decimal to binary
To convert a decimal whole number to binary;
1. Divide the number by 2, write down the remainder and quotient.
4. The solution is the list of remainders in reverse order, that is the number
formed by listing remainders from the last to the first.
Example 1.5. Convert 5310 to binary.
Solution
53/2 = 26 remainder 1
26/2 = 13 remainder 0
13/2 = 6 remainder 1
6/2 = 3 remainder 0
3/2 = 1 remainder 1
1/2 = 0 remainder 1
We stop here and report the answer as 1101012 .
Notice, in the example above, that since 1 is less than 2, 1 divided by 2 gives
0 as the quotient and the remainder is 1 itself.
Example 1.6. Convert 7210 to binary.
Solution
72/2 = 36 remainder 0
36/2 = 18 remainder 0
18/2 = 9 remainder 0
9/2 = 4 remainder 1
4/2 = 2 remainder 0
2/2 = 1 remainder 0
1/2 = 0 remainder 1
Hence 7210 = 10010002 .
Now we look at how to convert decimal fractions to binary. First note that
since a decimal fraction is less than one in base ten, converting it to binary will
give a number which is also less than one in base 2. The reason is that 2 is less
than 10 yet 12 = 110 .
To convert a decimal fraction to binary;
4
1. Multiply the number by 2 and save the integer part (whole number). The
integer part is the number to the left of a point while the fractional part is
the number to the right of a point. For example, since 1.5 = 1 + 0.5, the
number 1 is the integer part while .5 is the fractional part. Similarly in 0.6,
0 is the integer part and .6 is the fractional part.
2. Multiply the fractional part by 2 and save the new integer part.
3. Repeat step 2 till the fractional part is zero or the required number of binary
places in obtained. (Binary places are positions of digits after a point in a
binary number).
4. The solution is the list of saved integers from top to bottom written after a
binary point.
Solution
Solution
Convert the integer part first. By Example 1.5, 5310 = 1101012 . The fractional
part, by Example 1.7, gives 0.17510 = 0.001012 ....
Hence 53.17510 = 110101.001012 ...
Solution
Convert the integer part first.
25/2 = 12 remainder 1
12/2 = 6 remainder 0
6/2 = 3 remainder 0
3/2 = 1 remainder 1
1/2 = 0 remainder 1
5
Therefore 2510 = 110012 .
Converting the fractional part gives
0.68 × 2 = 1.36 integer part is 1
0.36 × 2 = 0.72 integer part is 0
0.72 × 2 = 1.44 integer part is 1
0.44 × 2 = 0.88 integer part is 0
Therefore 0.6810 = 0.10102 ....
Combining the two we have 25.6810 = 11001.10102 .
Important
Since 112 6= 1110 , 112 is not eleven. We read this as ‘one-one base two’. Similarly
1012 is read as ‘one-zero-one base two’.
Activity 1.10.
6
Example 1.12. Work out 111102 + 110112 .
Solution
1 1 1 1 02
+ 1 1 0 1 12
1 1 1 0 0 12
Binary Subtraction
We consider subtraction of binary numbers whose result is a positive binary num-
ber. Therefore the smaller number will be subtracted from the bigger number.
Note that, in binary, 0 − 0 = 0, 1 − 1 = 0 and 1 − 0 = 1. 0 − 1 wont give us a
positive number, so we need a carry bit (we ‘borrow’ 1). For example, 102 −12 = 12
and 112 − 1 = 102 .
Example 1.13. Work out 111102 − 10012 .
Solution
1 1 1 1 02
− 1 0 0 12
1 0 1 0 12
Example 1.14. Work out 100012 − 11102 .
Solution
1 0 0 0 12
− 1 1 1 02
1 12
Activity 1.15.
1. Perform the indicated operation
(a) 10102 + 10102
(b) 100112 + 10102
(c) 10100102 + 11101112 − 101012
(d) 111012 + 1002
(e) 101102 + 110012
(f) 1112 + 12
(g) 100112 − 10102
(h) 101012 − 11012
(i) 1000112 − 110102
7
Binary Multiplication
Here we require the skill of binary addition. Note that 1 × 1 = 1, 1 × 0 = 0,
0 × 1 = 0 and 0 × 0 = 0.
Solution
1 0 1 0 12
× 1 0 12
1 1 0 0 1
+ 0 0 0 0 0
1 1 0 0 1
1 1 1 1 1 0 12
Solution
1 1 0
0 12 1
× 1 12
1 1 0 1 0 1
+ 1 1 0 1 0 1
1 0 0 1 1 1 1 12
Binary Division
We consider long division method for binary numbers. The skill of binary subtrac-
tion is required in binary division.
If you are not sure on the values you get, you can convert each number to
decimal, divide in decimal then convert the result to binary. However doing this
during an examination is unacceptable.
Note that the result of dividing two binary numbers of equal length (same
number of digits) is either 1 or 0 with or without a remainder. Also note that
0/1 = 0 and 1/1 = 1.
8
Example 1.18. Work out 1010102 ÷ 1102 .
Solution
Activity 1.20.
9
(b) 1010102 × 1102
(c) 1011012 × 112
(d) 10001002 ÷ 102
(e) 11101101012 ÷ 1012
(f) 11110002 ÷ 1102
578 = 5 × 81 + 7 × 80
= 40 + 7
= 4710
10
Example 1.23. Convert 205.137510 to octal.
Solution
Convert the integer part first.
205/8 = 25 remainder 5
25/8 = 3 remainder 1
3/8 = 0 remainder 3.
Important
As is the case with binary numbers, octal numbers are read one digit after the
other. For example, 5728 is read as ‘five-seven-two base eight’.
Activity 1.24.
11
Solution
1
2 68
+ 7 38
2 2 18
Solution
2
6 1 58
+ 7 4 68
3 5 6 38
Solution
1 1 6 78
+ 1 2 1 68
2 4 0 58
Octal Subtraction
Octal subtraction is similar to subtraction of decimal numbers. While a ‘borrow’
(carry bit) of 1 is equivalent to 10 in decimal, it is equivalent to 8 in octal. Note
that 108 − 3 = 5, 128 − 6 = 4 and 118 − 7 = 2. To see why these statements are
true, convert the numbers to base 10 then subtract.
It is easy to verify that the following statements are true: 228 − 128 = 108 ,
208 − 7 = 118 and 318 − 148 = 158 .
Solution
1
7 6 38
− 1 7 48
1 5 6 78
12
3 − 4 does not give us a positive number, so we borrow a 1 from 6 to have
138 . This is actually 8 + 3 = 1110 and subtracting 4 from it gives 7. Therefore
138 − 48 = 78 . Similarly 158 − 78 = 68 .
Solution
1 2 0 18
− 7 18
1 1 1 08
Activity 1.30.
Octal Multiplication
In octal multiplication, digits are multiplied in base 10 but the result is quickly
converted to base 8. Note that 3 × 4 = 148 , 7 × 2 = 168 , 138 × 2 = 268 and
6 × 6 = 448 . The last one is true since 6 × 6 = 3610 and 3610 = 448 . Use the same
idea to verify that the first three statements are also true.
Solution
1 2 68
× 48
5 3 08
13
Example 1.32. Work out 2318 × 678 .
Solution
2 3 18
× 6 78
2 0 5 7
+ 1 6 2 6
2 0 3 3 78
Activity 1.33.
(a) 376548 × 38
(b) 67318 × 568
(c) 4568 × 738
(d) 674228 × 458
(e) 778 × 2.48
14
Solution
A3D916 = A × 163 + 3 × 162 + D × 161 + 9 × 160
= 10 × 163 + 3 × 162 + 13 × 161 + 9
= 40960 + 768 + 208 + 9
= 4194510
Example 1.35. Write 9AF.DE16 in base 10.
Solution
9AF.DE16 = 9 × 162 + 10 × 161 + 15 × 160 + 13 × 16−1 + 14 × 16−2
= 2479 + 13/16 + 14/256
= 2479 + 222/256
= 2479.86710 .
Example 1.36. Convert 31510 to hexadecimal.
Solution
315/16 = 19 remainder 11 (B)
19/16 = 1 remainder 3
1/16 = 0 remainder 1.
Therefore 31510 = 13B16 .
Example 1.37. Convert 0.42510 to hexadecimal.
Solution
0.425 × 16 = 6.8 integer part is 6
0.8 × 16 = 12.8 integer part is 12(C)
0.8 × 16 = 12.8 integer part is 12(C).
Therefore 0.42510 = 0.6CC16 ....
Example 1.38. Say whether each of the following statements is true or false.
a 1510 = 1516
b 1510 = F16
Solution
a Converting we have 1516 = 1×161 +5×160 = 16+5 = 2110 6= 1510 . Therefore
it is not true.
b The second statement is clearly true since fifteen is represented by the letter
F in base 16.
15
Important
The last example shows that the number fifteen is the same whether in base 10 or
base 16. This is true for all numbers between zero and fifteen inclusive. The only
difference is that in base 16 some numbers are represented by a single digit while
in base 10 they have two digits.
The example also shows that any number with two or more digits in base 16
is not equal to the same digits in base 10. For example 35416 6= 35410 .
Activity 1.39.
Solution
6 5 616
+ 8 8 B16
E E 116
Solution
E D A16
+ F F16
F D 916
16
A + F = 10 + 15 = 2510 = 1916 , write 9 and keep 1.
1 + D + F = 1 + 13 + 15 = 2910 = 1D16 , write D and keep 1.
Finally we have 1 + E = 1 + 14 = 1510 = F16 .
Solution
7 8 416
+ B D A16
1 3 5 E16
4 + A = 4 + 10 = 1410 = E16 .
8 + D = 8 + 13 = 2110 = 1516 , write 5 and keep 1.
1 + 7 + B = 1 + 7 + 11 = 1910 = 1316 .
Hexadecimal Subtraction
Subtraction in hexadecimal numbers is equivalent to subtraction in other num-
ber systems. The only difference is that, in hexadecimal numbers, a carry bit is
equivalent to 16.
Note that F16 − 5 = 1510 − 5 = 1010 = A16 , 1016 − F16 = 1610 − 1510 = 116 and
2016 − 1D16 = 3210 − 2910 = 316 .
Solution
1 3 5 E16
− B D A16
7 8 416
Solution
3 6 4 C 116
− A B 2 116
2 B 9 A 016
17
C16 − 216 = 1210 − 210 = 1010 = A16 .
1416 − B16 = 2010 − 1110 = 910 = 916 .
1516 − A16 = 2110 − 1010 = 1110 = B16 .
Activity 1.45.
Hexadecimal Multiplication
Multiplication of hexadecimal numbers is similar to multiplication of octal num-
bers. Here you multiply digits in decimal and write the answer in hexadecimal.
You need to be able to convert numbers quickly between base 10 and base 16. You
also require the skill of hexadecimal addition.
Note that A16 × 2 = 1416 , 2216 × 3 = 6616 , AA16 × 2 = 15416 , C16 × 4 = 3016
and 1F16 × 2 = 3E16 .
Solution
F 4 A 116
× 616
5 B B C 616
18
A16 × 616 = 1010 × 610 = 6010 = 3C16 , write C and keep 3.
316 + (416 × 616 ) = 310 + 2410 = 2710 = 1B16 , write B and keep 1.
116 + C16 + 516 = 110 + 1210 + 510 = 1810 = 1216 , write 2 and keep 1.
116 + F16 + E16 = 110 + 1510 + 1410 = 3010 = 1E16 , write E and keep 1.
Activity 1.48.
19
1.7 Binary to Octal, Binary to Hexadecimal and
vice versa
We have looked at converting numbers from any base to base 10 and vice versa.
Suppose you are asked to convert a binary number to octal. You can first convert
the number from base 2 to base 10, then convert the result to base 8. However,
this can take you a lot of time especially if the number is large.
In this section, we look at a direct way of converting between binary and octal
and between binary and hexadecimal.
Conversion of binary numbers to octal requires putting binary bits into groups
of three. Then each group of bits is converted to a decimal number. For the integer
part, groups are formed beginning from right and progressing to the left. For the
fractional part, we start from left and progress to the right. For numbers with
both integer and fractional parts, we start from the binary point and move to the
left for the integer part and to the right for the fractional part.
If the number of bits in a binary number is not a multiple of three, we add
zeros so that it becomes a multiple of three. For the integer part zeros are added
to the left while for the fractional part zeros are added to the right of a number.
Note that this kind of addition of zeros does not change the value of the number.
Solution
There are 8 bits (digits) in this number. 8 is not a multiple of 3 but 9 is.
Therefore, we add zero to the left of this number so that we have 9 bits. Putting
the digits into groups of 3 we have
Solution
011 100 010 101 010 100 100 011 . 111 010
3 4 2 5 2 4 4 3 . 7 2
20
Hence 11100010101010100100011.111012 = 34252443.728 .
Conversion of binary numbers to hexadecimal numbers is done in a similar
manner only that now binary bits are put into groups of four.
Example 1.51. Convert 101111.00111112 to hexadecimal.
Solution
0010 1111 . 0011 1110
2 F . 3 E
Hence 101111.00111112 = 2F.3E16 .
To convert from octal to binary, convert each digit to three binary bits and
add zeros where necessary. Zeros are added to the left. Similarly, to convert from
hexadecimal to binary, change each hexadecimal digit to four binary bits.
Example 1.52. Convert 7628 to binary.
Solution
7 6 2
111 110 010
Hence 7628 = 1111100102 .
Example 1.53. Write 3B25.E16 in binary.
Solution
3 B 2 5 . E
0011 1011 0010 0101 . 1110.
Hence 3B25.E16 = 11101100100101.11102 .
Activity 1.54.
21
Unit Summary
In this unit, you have learnt how to convert numbers from one base to an-
other. The number systems; decimal (base 10), binary (base 2), octal (base 8) and
hexadecimal (base 16) were discussed.
You also learnt how to perform arithmetic operations in each number system
discussed. It is expected that you will be able to extend this knowledge to other
systems not discussed in this unit.
3. Perform the indicated operation. Write the answer in the base indicated.
4. What is the smallest binary number that must be added to 1011012 to make
the sum divisible by 16?
22
Unit Answers
Suggested Solutions to Activity 1.10
1. (a) 11111102 (b) 111000012 (c) 11001102 (d) 1001100.000112 (e) 1101100000.01112
(f) 110001.01012 (g) 10011100000000.101012 .
2. (a) 12.812510 (b) 244.87510 (c) 3803.62510 (d) 6810 (e) 355.12510 .
1. (a) 101002 (b) 111012 (c) 101101002 (d) 1000012 (e) 1011112
(f) 10002 (g) 10012 (h) 10002 (i) 10012 .
1. (a) 10158 (b) 223068 (c) 6762008 (d) 3668 (e) 3778 (f) 1078
1. (a) DB216 (b) 112416 (c) DD8D16 (f) 47A16 (h) 93516 (j) 36AA16
23
1. (a) 23C7316 (b) DCDA1D8916 (f) D8AF AEF A16 (h) 22492E0016
1. (a) Base 7 (b) Base 8 (c) Base 5 (d) Base 3 (e) Base 16 (f) Base 8
3. (a) 1001103
4. 112
24
Unit 2
Number Systems
2.1 Introduction
Welcome to unit 2 which is about number systems. In this unit, you will learn
different sets of numbers and how they are related to each other. You will learn
imaginary numbers, complex conjugation, basic operations of complex numbers
and solving equations involving complex numbers.
2.2 Objectives
By the end of this unit, you should be able to:
Key Terms
Ensure that you understand the key terms or phrases used in this unit as listed
below:
• Natural numbers
• whole numbers
• integers
25
• rational numbers
• irrational numbers
• real numbers
• complex numbers
• imaginary part
• real part
• complex conjugate
Which number do you start with when counting? You may have your answer
as 1. This means that 1 is the smallest natural number.
What do you think is the largest natural number? Note that there is actually
no largest natural number. That is, there is always a natural number larger than
any number you can think of.
The list of natural numbers is 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, .... The dots at
the end of this list indicate that the list is endless. Natural numbers are represented
by N.
Definition 2.2. Whole numbers are all natural numbers plus zero.
The list of whole numbers is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, ..... What do you
think is the largest whole number? Note that there is no largest whole number.
26
2.3.3 Integers
Definition 2.3. Integers are all positive and negative whole numbers including
zero.
Integers are represented by Z. Examples of integers include ...−4, −3, −2, −1, 0, 1, 2, 3, 4, 5, ......
The dots at the beginning of the list shows that there is no smallest integer.
The dots at the end indicate that there is no largest integer.
27
You may be wondering why π is not a rational number. All along you have
22
known π as which is a rational number. On your scientific calculator
7
22
= 3.142857142857142857142857142857....
7
and
π = 3.14159226535897932384626433832795...
Notice that, in the decimal expansions of the two numbers, only the first three
22 22
digits are equal. So π is only close to . is used in place of π for easy
7 7
calculation.
The decimal
√ expansion of an irrational number
√ neither terminates nor recurs.
For example, 2 = 1.414213562373095.... and 15 = 3.872983346207416....
Activity 2.7.
z = x + iy
Example 2.9.
Simplify i29 .
Solution
We use laws of exponents and the fact that i2 = −1.
i29 = i28 × i
= (i2 )14 × i
= (−1)14 × i
=1×i
= i.
Activity 2.10.
29
Simplify the following powers of i:
1. i3
2. i4
3. i25
4. i−27
5. i200 − 1
By the definition of a complex number above, do you think 7 is a complex
number? You are correct if your answer is yes. To see why this is true, write 7 as
7 + 0i. So 7 is a complex number with real part 7 itself and imaginary part 0. It
is easy to see that every real number is a complex number.
2.
(3 − 4i) + (−5 + 6i) = (3 − 5) + (−4i + 6i)
= −2 + 2i.
30
Subtraction of complex numbers is similar to addition. We subtract complex
numbers by subtracting the real parts and subtracting the imaginary parts.
Example 2.12.
Simplify and write your answer in the form x + iy where x and y are real
numbers.
1. (1 + 8i) − (6 + i)
2. (2 − 5i) − (5 − 11i)
3. (2 + 3i) − (2 − 3i)
Solution
1.
(1 + 8i) − (6 + i) = 1 + 8i − 6 − i
= (1 − 6) + (8i − i)
= −5 + 7i.
2.
3.
(2 + 3i) − (2 − 3i) = 2 + 3i − 2 + 3i
= (2 − 2) + (3i + 3i)
= 6i.
Activity 2.13.
1. Evaluate the expression and write your answer in the form x + iy.
31
1 5
(d) 4 − i − 9 + i
2 2
(e) i5 + i + 1
(f) (3 + 2i) + (9 + 7i) + (−2 − i)
1 2 5
(g) + i − 4+ i
5 5 2
(h) 3 + 4 + 6i
(i) i(9 − 2i) − (5 + 7i)
(j) (17 + i) + (9 − i) − (8 + 9i) − (6 − 7i)
(k) 7 + i + 4 + 5
(l) (12 − 5i) + (3 − 7i)
(m) (18 + 15i) − (15 − 2i) − (3 + 7i)
(n) 5(4 + 3i) − 4(−1 + 2i)
(o) (10 + 5i) − (4 − 6i) + (19 − i)
2.4.2 Multiplication
We multiply complex numbers using the same technique used for multiplying
brackets in algebra. We simplify powers of i using the fact that i2 = −1.
Example 2.14.
Example 2.15.
32
(2 + 5i)(4 − i) = 8 − 2i + 20i − 5i2
= 8 − 2i + 20i + 5
= (8 + 5) + (−2i + 20i)
= 13 + 18i.
Activity 2.16.
1. Evaluate the expression and write your answer in the form x + iy.
(a) (1 − 2i)(8 − 3i)
(b) (7 − 4i)2
(c) (1 + i)(2 + i)(3 + i)
√ ! √ !
3 1 1 3
(d) + i + i
2 2 2 2
(e) (1 + i)6
1 i 3
(f) + −i
2 7 2
(g) (3 + 3i)8
√ √
(h) (3 2 + i)( 2 − i)
(i) (1 − i)4
(j) (3i)3 − 3i3
(k) (2i)6
(l) 5i × (−i)
(m) 7i × 4i(−6 − 6i)
(n) (6i)3
(o) 6i(−4 + 8)
33
Properties of Complex Conjugation
We state the following properties of complex conjugation without proof.
(3 + 2i) − (3 − 2i) = 3 + 2i − 3 + 2i
= (3 − 3) + (2i + 2i)
= 4i.
Activity 2.18.
34
2.4.4 Division
To divide one complex number by another;
Example 2.19.
2 − 5i
Simplify and write the answer in the form x + iy.
3 + 4i
Solution
2 − 5i 2 − 5i 3 − 4i
= ×
3 + 4i 3 + 4i 3 − 4i
6 − 8i − 15i + 20i2
=
9 − 12i + 12i − 16i2
6 − 8i − 15i − 20
=
9 + 16
(6 − 20) + (−8i − 15i)
=
25
−14 − 23i
=
25
−14 −23
= + i.
25 25
Example 2.20.
35
3+i 1+i
(3 + i) ÷ (1 − i) = ×
1−i 1+i
3 + 3i + i + i2
=
1 + i − i − i2
3 + 3i + i − 1
=
1+1
(3 − 1) + (3i + i)
=
2
2 + 4i 2 4i
= = +
2 2 2
= 1 + 2i.
Activity 2.21.
(a) (6 + i) ÷ (3 + 4i)
1+i
(b)
2+i
2+i
(c)
1 + 4i
3 + 5i
(d)
6 − 8i
(3 − 4i)2
(e)
1+i
3
(f)
4 − 3i
i−4
(g)
2i − 3
(h) (2 + i)−3
1+i 3−i
(i) − (1 + 2i) +
1−i 1+i
14 + 13i
(j)
2−i
1+i 3−i
(k) − (1 + 2i)(2 + 2i) +
1−i 1+i
36
2.5 Equations Involving Complex Numbers
To solve an equation involving complex numbers, equate the real and imaginary
parts of each side of the equation to form two equations. We demonstrate this in
the following examples.
Example 2.22.
Solve for x and y in the equation (3x + 2) + (2y − 4)i = −4 + 6i.
Solution:
The real part of the complex number appearing on the right hand side of the
equation is (3x + 2). The real part of the right hand side complex number is −4.
Therefore,
3x + 2 = −4 ⇒ 3x = −6 giving x = −2.
The imaginary part of the complex number on the left hand side of the equation
is 2y − 4. This corresponds to 6 which is the imaginary part of the right hand side
complex number. So
2y − 4 = 6 ⇒ 2y = 10 ⇒ y = 5.
Hence x = −2 when y = 5.
The symbol ⇒, used in this example, is an implication sign. It is used in place
of ‘implies’. It means the expression to the left has the same meaning as the one
to the right of the symbol. Do not use it in place of equals sign ‘=’.
Example 2.23.
Find all x and y for which (1 + 3i)x + (2 − 5i)y = 7 − i.
Solution:
Multiplying out brackets we have x + 3xi + 2y − 5yi = 7 − i.
Rearranging we have (x + 2y) + (3x − 5y)i = 7 − i leading into equations
x + 2y = 7........(i)
3x − 5y = −1....(ii)
3(i) − (ii) gives
3x + 6y = 21
− 3x − 5y = −1
11y = 22.
Therefore y = 2.
Substituting in equation (i) we have x + 2(2) = 7 ⇒ x + 4 = 7 ⇒ x = 3.
Hence x = 3 when y = 2.
37
Activity 2.24.
Unit Summary
In this unit, you have learnt different sets of numbers. We started with a
smaller set which is the set of natural numbers. We kept adding other numbers to
this set to derive other sets of numbers. The largest set of numbers this far is the
set of complex numbers.
You also learnt how to add, subtract, multiply and divide complex numbers.
For addition and subtraction, you learnt that the real parts and imaginary parts
are treated separately. Multiplication follows the usual expansion of brackets.
Division requires the idea of complex conjugation also discussed in this unit.
38
(a) (1 − i)4
(b) (i + 1)(2 − i)−1 − (2 + i17 )
(c) (1 + 3i)(i + 2) + (2 + i)−1
(d) (2 − 3i)(4 − 5i)−2 (1 + 3i) − (7 − i)
(e) i + i2 + i3 + i4 + i5 + ..... + i23
6 + 8i 6 + 8i
(f) + − (7i)−1
1+i 1−i
3. Find real numbers x and y such that,
(a) z1 − z3 + z2
(b) z2 × z3 ÷ z1
2z1 + 5z2
(c)
z3
z1 × z3
(d) Re
z2
1
(e) Im
z1 z2
5. Find the complex number z in each of the following;
(a) z × w = z × w
(b) z + w = z + w
39
Unit Answers
Suggested Solutions to Activity 2.7
1. False 2. True 3. True 4. False [Link] 6. False 7. False 8. False 9. True 10.
False [Link]
Suggested Solutions to Activity 2.10
1
1. −i 2. 1 3. i 4. − 5. 0
i
Suggested Solutions to Activity 2.13
(a) 8 − 3i (b) 1 + 2i (d) −5 − 3i (e) 1 + 2i (h) 7 + 6i (m) 10i (l) 15 − 12i (o)
25 + 10i
Suggested Solutions to Activity 2.16
(a) 2 − 19i (d) i (e) −8i (g) 104976 (j) −24i (k) −64 (l) 5 (m) 168 + 168i
Suggested Solutions to Activity 2.18
1. (a) 23 + 4i (b) −13 − 8i (or −8i − 13) (c) 2 − 16i (d) 7 (e) −19i
2. −10i
1. (a) True (b) False (c) True (d) False (e) False (f) True
7 6 3 36 55
2. (a) −4 (b) − − i (c) − + i (e) −1 (f) 6 + i
5 5 5 5 7
3. (a) x = 2, y = −2 (b) x = 1, y = 1 (c) x = 4, y = 3
8 3
4. (a) −i (d) (e) −
5 10
3 1 41 18
5. (a) z = 2 − 7i (c) z = −2 + 7i (d) z = − i (e) z = − + i
8 8 15 15
40
Unit 3
Set Theory
3.1 Introduction
Welcome to Unit three, set theory. This unit provides an overview of the meaning
of the set and how it is used to solve real life problems. You will learn notations
used in set theory, set operations and use of Venn diagrams to solve real life
problems related to sets.
3.2 Objectives
By the end of this unit, you should be able to:
1. Define sets
Key Terms
Ensure that you understand the key terms or phrases used in this unit as listed
below:
• Set
• Elements or members
• Union
41
• Intersection
• Empty set
• complement
• Universal set
• Venn diagram
• Roster notation
• Finite sets
• subsets
• disjoint sets
The objects that belong to a set are called its elements or members. We
denote sets by upper case letters A, B, C, ... and its elements by lower case letters
a, b, c, .... If x is an element of the set A, we write x ∈ A, otherwise we write x ∈
/ A.
A set A may be described by listing all of its elements in a pair of curly brackets
{}. Examples of sets include V = {a, e, i, o, u} and C = {Blantyre, Lilongwe,
Mzuzu}.
For sets with many elements, it is allowed to produce only an implied list of
all elements of the set. The roster notation is a complete or implied list of all
the elements of a particular set. Examples of roster notation are A = {x, y, z} and
B = {1, 3, 5, 7, ..., 19} defining sets with 3 and 10 elements respectively.
42
3.4 Set Builder Notation
A set A may also be described by defining the properties that its elements must
satisfy. This is called set builder notation.
For example, A = {2n|n ∈ N} which is read as ‘A is the set of elements 2n
such that n is a natural number.’
Activity 3.2.
Example 3.4.
43
3. Each of the sets N, Z, Q, R and C is infinite.
Example 3.5.
Definition 3.6. An empty or null set is a set without elements and is denoted
by φ.
Example 3.7.
1. Consider the set X = {x|x ∈ Z, 8 < x < 9}. This is the set of integers
between 8 and 9. It is clear that this set is empty since there is no integer
between 8 and 9.
Activity 3.8.
1. {a|a ∈ R, −1 < a ≤ 3}
4. {y|y ∈ N, y ≤ 0}
5. {x|x ∈ R, x ≥ 1, x ≤ 1}
44
3.6 Subsets and Equality of Sets
Definition 3.9. A set A is a subset of another set B, written A ⊂ B or B ⊃ A,
if every element of A is also an element of B.
Example 3.10.
1. {3, 4} ⊂ {1, 2, 3, 4, 5, 6}
2. N ⊂ Z ⊂ Q ⊂ R ⊂ C.
Remark 3.11.
Definition 3.12. Two sets A and B are equal, written A = B, if and only if
A ⊂ B and A ⊃ B.
The definition above implies that the sets A and B are equal if every element
of A is also an element of B and vice versa. Hence A = B means A and B have
exactly the same elements. If A is not equal to B, we write A 6= B.
When considering equality of sets, the order in which the elements are listed is
not important. Furthermore, repetition of elements is irrelevant.
Example 3.13.
Let
A = {x, y, z}
B = {y, x, z}
C = {w, x, y}
D = {w, x, x, y, y, y}.
Then A = B, C = D, A 6= C and B 6= D.
A set A is a proper subset of another set B if A ⊂ B but A 6= B.
45
3.7 The Universal Set and Set Operations
3.7.1 Universal Set and Complement
Consider the set of all students in your class. Consider also the set of students in
your class who play Tennis. Clearly, the second set is a subset of the first set. The
set of volleyball players in your class is also a subset of the first set. Notice that
there are many sets that are subsets of the first set. The first set is the set under
discussion in this case.
Definition 3.14. The universal set is the set of all elements under discussion.
We will denote the universal set by ξ throughout the text.
Definition 3.15. Let A be any set such that A ⊂ ξ. Then the complement of a
set A, denoted by A0 , is the set of all elements in the universal set which are not
in A, i.e,
A0 = {x|x ∈ ξ, x ∈/ A}.
Example 3.16.
Let ξ = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} and A = {2, 4, 6, 8, 10}. Then A0 = {1, 3, 5, 7, 9}.
2. A ∪ B = B ∪ A
46
3. A ∪ φ = A
4. A ∪ ξ = ξ
5. A ∪ (B ∪ C) = (A ∪ B) ∪ C
6. A ⊂ (A ∪ B).
The definition above implies that the intersection of two sets is the set of
elements that are common to both sets.
Example 3.21.
Properties of Intersection
Proposition 3.22. Let ξ be the universal set and A, B and C any sets. Then
1. A ∩ A = A
2. A ∩ B = B ∩ A
3. A ∩ φ = φ
4. A ∩ ξ = A
5. (A ∩ B) ⊂ A
6. A ∩ (B ∩ C) = (A ∩ B) ∩ C
Definition 3.23. Two sets A and B are disjoint if and only if there intersection
is empty, that is, if A ∩ B = φ.
47
3.7.4 Difference of Sets
Definition 3.24. The difference of two sets, A and B, denoted A \ B or A − B,
is the set of elements of A which are not in B i.e.,
A \ B = {x|x ∈ A, x ∈
/ B},
Note that the definition of difference of two sets above does not in any way
involve the universal set.
A4B = (A \ B) ∪ (B \ A) = (A ∪ B) \ (A ∩ B).
Example 3.26.
Let A = {2, 3, 5, 7, 11, 13, 17, 19, 23} and B = {1, 3, 5, 7, 9, 11, 13, 15, 17, 21, 23}.
Then
1. A \ B = {2, 19}
Remark 3.27.
Let ξ be the universal set and A any set such that A ⊂ ξ. Using the definition
of difference of sets we can redefine the complement of the set A as
A0 = ξ \ A.
We state one of the popular results in set theory without proof. The proof is
available in many elementary algebra books.
a. (A ∪ B)0 = A0 ∩ B 0
b. (A ∩ B)0 = A0 ∪ B 0
Example 3.29.
48
Let ξ = {1, 2, 3, 4, 5, 6}, A = {2, 4, 6}, B = {3, 4, 5} and C = {1, 6}. Find
A0 ∩ B 0 .
Solution
By Demorgan’s Laws, A0 ∩B 0 = (A∪B)0 . Now A∪B = {2, 3, 4, 5, 6} and, therefore,
(A ∪ B)0 = {1}.
Activity 3.30.
Let ξ = {0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60}, X = {10, 20, 30, 40}, Y =
{15, 20, 25} and Z = {0, 20, 40, 60}. Find
1. X ∩ Y
2. X ∩ Y ∩ Z
3. X ∪ (Y ∩ Z)
4. (X 0 ∩ Y 0 ) − Z
5. (X ∩ Y ) ∪ Z
6. X − Y
7. X4Z
8. Y 0 4Z
9. Z 0 − Y
Example 3.31.
49
Each student in a class of 40 plays at least one indoor game chess, carrom and
scrabble. 18 play chess, 20 play scrabble and 27 play carrom. 7 play chess and
scrabble, 12 play scrabble and carrom and 4 play chess, carrom and scrabble. Find
the number of students who play
Solution
50
20 play scrabble, so e + c + b + f = 20 ⇒ e + 8 + 4 + 3 = 20 giving e = 5.
We are remaining with a, d and g.
18 play Chess, so g + b + a + f = 18 ⇒ g + 4 + a + 3 = 18 giving g = 11 − a.
27 play Carrom, so a + b + c + d = 27 ⇒ a + 4 + 8 + d = 27 giving d = 15 − a.
Now
a + b + c + d + e + f + g + h = 40
a + 4 + 8 + (15 − a) + 5 + 3 + (11 − a) = 40
46 − a = 40
a = 6.
The new Venn diagram, with numbers, is given in Figure 3.2
51
Figure 3.3: Venn Diagram 3
Therefore
60 − 34
b + (b + 14) + 20 = 60 ⇒ 2b + 34 = 60 ⇒ b = = 13.
2
Hence 13 students play cricket only.
Activity 3.33.
1. If A and B are two sets such that A ∪ B has 60 elements, A has 32 elements
and B has 40 elements, How many elements does A ∩ B have?
3. In a group of 40 vendors, 24 sell shoes, 15 sell shirts and 7 sell shirts but not
shoes. How many sell
(a) neither
(b) shoes but not shirts?
52
4. At a picnic attended by 50 people, 21 people participated in the water-balloon
throwing contest, W; 20 people participated in the hot-dog eating contest,
H; and 25 people participated in the sack race, S. Of these, seven people
participated in the hot-dog eating contest and the sack race, four people
participated in the water-balloon throwing contest and the hot-dog eating
contest, and eight people participated in the sack race and the water-balloon
throwing contest.
5. In a group of 60 people, 27 like cold drinks and 42 like hot drinks and each
person likes at least one of the two drinks. How many like both cold drinks
and soft drinks?
6. There are 35 students in art class and 57 students in dance class. Find the
number of students who are either in art class or in dance class.
(a) When two classes meet at different hours and 12 students are enrolled
in both activities.
(b) When two classes meet at the same hour.
(a) neither
(b) History.
53
Unit Summary
In this unit you have learnt that a set is a collection of objects. You have
also learnt notation used in set theory. Set operations; union, intersection and
difference, were discussed.
The universal set and complements of a set were also described. Finally, you
learnt how to use Venn diagrams to solve real life problems.
54
7. In a group, 25 persons like tea or coffee, of these 15 like tea and 6 like both
coffee and tea. How many like coffee?
8. In a class, 60% students like maths whereas 50% like science. What per cent
of students like both maths and science?
Unit Answers
Suggested Solutions to Activity 3.2
1. (a) A = {a|a ∈ Z, 0 ≤ a ≤ 9}
(b) B = {3x|x ∈ N, 1 ≤ x ≤ 27}
(c) C = {x3 |x ∈ Z, 3 ≤ x ≤ 7}
1. X ∩ Y = {20}
2. X ∩ Y ∩ Z = {20}
55
Suggested Solutions to Activity 3.33
1. 12 elements
2. 31 students
3. (a) 9 (b) 16
6. (a) 80 (b) 92
1. (a) True (b) True (c) True (d) False (e) False
6. 10
8. 10
9. 7
56
Unit 4
4.1 Introduction
Welcome to Unit 4; relations and functions. In unit 3, we discussed sets. We
looked at a set as a collection of objects which have something in common.
In this Unit, we will look at a link between members of different sets called
relations. We will introduce a function as an example of a relation. Types of
functions, bijective functions, inverse of a function and combination of two or
more functions will also be discussed.
Finally, we will discuss exponential and logarithmic functions. We will look at
how exponential functions are used in solving population problems.
4.2 Objectives
By the end of this unit, you should be able to:
57
7. Solve population problems using exponential and logarithmic functions
Key Terms
Ensure that you understand the key terms or phrases used in this unit as listed
below:
• relations
• functions
• one-to-one or injective functions
• onto or surjective functions
• bijective function
• inverse of a function
• composite function
• even function
• odd function
• algebraic function
• transcendental function
• rational function
• exponential function
• logarithmic function
• polynomials
• constant function
• identity function
• domain
• co-domain
• range
58
4.3 Relations
A relation is a link between members of two sets. Examples of relations in real life
situations include
1. ‘is a son of’
2. ‘is the same age as’
3. ‘is a classmate of’.
Relations considered in this course are mathematical in nature. Examples of
such relations include
1. ‘is a square of’
2. ‘is a divisor of’
3. ‘is a multiple of’.
We now give a mathematical definition of a relation.
Definition 4.1. A relation R from X to Y is defined as a set of ordered pairs
(x, y) with x in X and y in Y , i.e.,
R = {(x, y)|x ∈ X, y ∈ Y }.
Example 4.2.
Consider the relation ‘is a multiple of’ from X = {15, 20} to Y = {1, 2, 3, 4, 5, 10, 15, 20}.
The set of ordered pairs for this relation is
R = {(15, 1), (15, 3), (15, 5), (15, 15), (20, 1), (20, 2), (20, 4), (20, 5), (20, 10), (20, 20)}.
R = {(−2, 4), (−1, 1), (0, 0), (1, 1), (2, 4)}.
59
Figure 4.1: is a multiple of
60
4.4 Functions
Definition 4.4. A function f from a set X to a another set Y is a relation that
assigns to each element x of X a unique element y of Y .
The element x of X is the argument of f . X is the domain of the function
f and Y is the co-domain of f . The element y of Y is the image of x under f
and is denoted f (x) read ‘f of x’ while x is a pre-image of y. It is not always the
case that all elements of Y are images under a given function. The range of f is
the subset of Y whose elements are all possible values of f (x) for x in X.
A function f from X to Y is denoted by any of the following;
1. f : X → Y .
2. f : x 7→ f (x).
3. f (x).
Example 4.5.
Let f be a function with domain R such that f (x) = x2 . Find
i. f (6).
√
ii. f ( 3).
iii. The range of f consists of all real numbers of the form x2 for x ∈ R. But the
square of any real number is non-negative. Thus the range of f is the set of
non-negative real numbers.
Example 4.6.
x−1
A function f is given by f (x) = . Find f (−1).
x+1
Solution
−1 − 1 −2
f (−1) = = which is undefined (we do not divide by 0!). Hence
−1 + 1 0
f (−1) does not exist. This means that −1 is not in the domain of f .
61
4.5 Types of Functions
There are two main categories of functions; algebraic and transcendental func-
tions.
Definition 4.7. An algebraic function is a function that can be expressed in terms
of finite sums, differences, products, quotients or roots of polynomial functions.
Transcendental functions are non-algebraic functions, i.e., functions that can
not be expressed in terms of polynomials such as exponential, logarithmic and
trigonometric. We will discuss algebraic, exponential and logarithmic functions
in this unit. Trigonometric functions are covered in semester 2.
Definition 4.8. A polynomial over R in x is an expression of the form
where n is a positive integer and an , an−1 , an−2 , ....., a2 , a1 , a0 are real numbers.
The numbers an , an−1 , an−2 , ....., a2 , a1 and a0 are called coefficients of the
polynomial. For example, the expression 7x3 + 4x + 6 = 7x3 + 0x2 + 4x + 6 is a
polynomial with n = 3, a3 = 7, a2 = 0, a1 = 4 and a0 = 6.
In Equation 4.1 if an 6= 0 then we have a polynomial of degree n. That is the
degree of a polynomial is the highest power n of x. For instance, the polynomial
6x4 + x3 + 4 has degree 4.
A linear polynomial, a1 x + a0 , has degree 1. A quadratic polynomial,
a2 x2 + a1 x + a0 , has degree 2 and a cubic polynomial has degree 3. Note that
the choice of the letters is purely arbitrary otherwise a quadratic polynomial is
sometimes written as ax2 + bx + c.
A special type of a linear polynomial function is an identity function which is
obtained when a1 = 1 and a0 = 0.
Definition 4.9. An identity function, f , is a function of the form f (x) = x for
all x in the domain of f .
An identity polynomial function from R to itself has the property that the image
of an element a ∈ R is a itself. For example, f (19) = 19 and f (−6.35) = −6.35.
In equation 4.1, if an = an−1 = an−2 = ..... = a2 = a1 = a0 = 0 then we have
the zero polynomial and if an = an−1 = an−2 = ..... = a2 = a1 = 0 but a0 6= 0
then we have a constant polynomial. The zero polynomial is an example of a
constant polynomial.
Definition 4.10. A constant function is a function of the form f (x) = a where
a ∈ R.
62
Example 4.11.
Let f (x) = −3 (a constant function), then f (7) = −3, f (4.5) = −3 and
f (−12) = −3.
Rational functions are ratios of polynomials.
Definition 4.12. A rational function is a function of the form
p(x)
R(x) = (4.2)
q(x)
Activity 4.15.
2x
1. Let f (x) = . Find f (3) and f (4).
x−2
2. Let p(x) = 12. Find p(2) and p(−2).
63
√
(a) f (x) = 2x + 10
1
(b) f (x) = 2
x − 6x − 7
(c) f (x) = 5x − 4
x
(d) f (x) =
1−x
x+3
(e) f (x) =
x−5
5. Let g(t) = t2 − 4t − b. Find a non-zero value of b such that g(b) = b.
7. Given that f (x) = 4x−7 and g(x) = x+2, solve the equation f (2x) = 7g(x).
2x + 2
8. Let g(x) = . Find the value of x such that g(x) = −1.
x−5
9. If f (x) = −2x2 + 6x + r and f (0) = −1, find the value of r.
11. Given that h(t) = t2 − 3ta − 4 and h(1) = −2, find the value of a.
12. Let q(x) = ax + b where a and b are real numbers. If q(−2) = 7 and
q(2) = −1, find the values of a and b.
64
Definition 4.18. A function f is a bijective function (or a bijection) if f is
both one-to-one and onto.
Example 4.19.
Let X = {1, 2, 3} and Y = {a, b}. The function f = {(1, a), (2, b), (3, a)} is
onto but not one-to-one. (See Figure 4.3).
Figure 4.3:
Note that we can not have a one-to-one function from X to Y since there are
too many elements in X for them to map uniquely to Y .
Example 4.20.
Let X = {a, b} and Y = {1, 2, 3}. The function g = {(a, 3), (b, 1)} is one-to-one
but not onto. (See Figure 4.4).
Figure 4.4:
It is not possible to define an onto function from X to Y since there are not
enough elements in X to map to all the elements of Y .
Example 4.21.
65
Figure 4.5:
Let X = {a, b, c} and Y = {1, 2, 3}. The function h = {(a, 1), (b, 3), (c, 2)} is
bijective. (See Figure 4.5).
To show that a given function is one-to-one, we use the condition (especially
the second condition) given in Definition 4.16. To show that a function is not
one-to-one, we need only find two distinct elements in the domain that produce
the same function value.
Example 4.22.
Show whether each of the following functions is one-to-one or not;
i. f (x) = 3x + 2
ii. g(x) = x2
3a + 2 = 3b + 2
3a = 3b
a = b.
Hence f is one-to-one.
66
iv. Let p(a) = p(b). Then
a+4 b+4
=
a−4 b−4
(a + 4)(b − 4) = (b + 4)(a − 4)
ab − 4a + 4b − 16 = ab − 4b + 4a − 16
−8a = −8b
a = b.
Example 4.23.
Example 4.24.
67
Figure 4.6: A function f and its inverse f −1
From the definition above, not every function has an inverse. A function is said
to be invertible if its inverse exists. (Se Figure 4.6).
Suppose a function f is not one-to-one. Then there exists two elements x1 and
x2 in X such that x1 6= x2 but f (x1 ) = f (x2 ) = r in Y . The inverse relation
gives x1 and x2 as the images of r. Since a function assigns to each element in the
domain a unique element, this inverse relation is not a function. Hence we have
the following proposition.
Proposition 4.27. A function f is invertible if and only if it is one-to-one.
The inverse of a function f is also a one-to-one function. Given a function f
to find f −1 follow the following steps;
a. Verify that f is one-to-one, otherwise the inverse does not exist.
b. Replace f (x) with y.
c. Solve for x.
d. Replace x with f −1 (x) and y with x.
Example 4.28.
68
Find the inverse of each of the following functions;
1. f (x) = x2
2. f (x) = 2x + 3
x−2
3. f (x) = (x 6= 3)
x−3
Solution
1. By Example 4.22, f (x) = x2 is not one-to-one. Hence the inverse does not
exist.
Activity 4.29.
(a) f (x) = 2x − 3
(b) f (x) = 6x2 + 17
4x − 5
(c) f (x) =
7
7
(d) f (x) =
4x − 5
69
2. For each function f (x) below, find f −1 (x).
(a) 3x + 2
x+4
(b)
3x − 5
(c) (5x − 1)3
1
(d)
3x + 1
3. If f (x) = 2x + 18, find f −1 (40).
2. (f − g)(x) = f (x) − g(x) is the difference between functions f (x) and g(x).
Example 4.31.
1. (f + g)(x)
2. (f − g)(2)
3. (f g)(−1)
70
g
4. (0).
f
Solution
1.
2.
Note that we can find (f − g)(2) by first finding f (x) − g(x) then plug in 2.
3.
(f g)(x) = f (x)g(x)
= (2x + 3)(4 − x2 )
= 8x − 2x3 + 12 − 3x2
= −2x3 − 3x2 + 8x + 12.
So
g g(0) 4 − (0)2 4
4. (0) = = = .
f f (0) 2(0) + 3 3
71
Figure 4.7: Composition of f and g
The domain of g ◦ f is the set of all x in the domain of f such that f (x) is in
the domain of g.
Example 4.33.
Let f (x) = x2 and g(x) = 2x + 5. Find f ◦ g and g ◦ f .
Solution
f ◦ g = f (g(x)) = [g(x)]2 = (2x + 5)2 = 4x2 + 20x + 25.
g ◦ f = g(f (x)) = 2f (x) + 5 = 2x2 + 5.
Example 4.34.
2
Functions f and g are defined by f : x 7→ and g : x 7→ 3x − 2. Find (a)
x+1
f ◦ g (b) g ◦ f (c) (f ◦ g)−1 .
Solution
2 2 2
(a) f ◦ g = f (g(x)) = = = .
g(x) + 1 (3x − 2) + 1 3x − 1
2 6 4 − 2x
(b) g ◦ f = g(f (x)) = 3f (x) − 2 = 3 −2= −2= .
x+1 x+1 x+1
(c) (f ◦ g)−1 = (f (g(x)))−1 .
2
Let y = . Then y(3x − 1) = 2 ⇒ 3xy − y = 2 ⇒ 3xy = y + 2 giving
3x − 1
y+2
x= .
3y
72
x+2
Hence (f (g(x)))−1 = .
3x
Note in the examples above that, in general, f (g(x)) 6= g(f (x)). We say that
the composition of functions is not commutative.
Example 4.35.
Activity 4.37.
(a) (f + g)(x)
(b) (h − g)(3)
h
(c) (0)
g
(d) (f g + h)(2)
(e) (g − f + h)(−1)
r
2. Let r(x) = 3x + 1 and s(x) = −2x + 5. Find r(x) − s(x) and (−3).
s
3. Find the composite function p(q(x)) given that;
73
(a) p = {(3, 6), (7, 5), (0, 9)} and q = {(5, 0), (2, 3), (4, 7)}
(b) p = {(1, 6), (5, 0), (4, 7)} and q = {(6, 1), (7, 4), (0, 5)}
4. Find f (g(−1)) and g(f (−1)) given that;
(a) f (x) = x − 2 and g(x) = 5x + 3.
x−1
(b) f (x) = and g(x) = 4x − 3
4
2
(c) f (x) = 2x and g(x) =
x
5. If g(x) = 3x2 + 5x − 6 and h(x) = −2x2 − 6x + 7, find (g − h)(−2).
x−4
6. If r(x) = 3x + b and s(x) = , for what value of b is r(s(x)) = s(r(x))?
3
7. The formula f (x) = x + 273 converts Celsius temperature to Kelvin. The
5
formula g(x) = (x − 32) converts Fahrenheit temperature to Celsius. Write
9
a formula that will convert Fahrenheit temperature to Kelvin.
8. If f (x) = 8x + 5 and g(x) = x2 − 7, find 2f (3) − 4g(−2).
74
Example 4.42.
2. g(x) = x3 + x2 − 3
Solution
Activity 4.43.
75
4.10 Transcendental Functions
4.10.1 Exponential Functions
Definition 4.44. An exponential function is a function of the form f (x) = ax
for every x in R, where a is a constant, a > 0 and a 6= 1.
In Definition 4.44, a is called the base and x is called the exponent or index.
Note that any real number will have an image under the exponential function.
Hence the domain of an exponential function is the whole set of real numbers.
However, not every real number has a pre-image under this function. There is
no real number x such that ax is negative. Hence the range of the exponential
function is the set of positive real numbers.
You do not need to memorise the value of e given in Definition 4.45. You can
find this value using your scientific calculator when you need it.
Laws of Exponents
In Theorem 4.46, we remind you of the laws of exponents (laws of indices) covered
in secondary school mathematics course.
Theorem 4.46. Let a and b be positive numbers and let x and y be any numbers.
Then
1. ax × ay = ax+y
2. ax ÷ ay = ax−y
3. (ax )y = ax×y
1
4. a−x =
ax
√
5. ax/y = ( y a)x
6. (ab)x = ax × bx
a x ax
7. = x
b b
It can be shown that an exponential function is a one-to-one function. Hence
exponential functions satisfy the following properties;
76
1. ax = ay if and only if x = y.
Example 4.47.
√
(a) 10001/3 = 3
1000 = 10.
1 1 1 1
(b) 64−5/6 = 5/6
= √
6
= 5 = .
64 ( 64)5 2 32
Exponential Equations
Example 4.48.
i. 2x+3 − 24 = 40
a4
ii. ay a2 =
ay+1
Solution
a4
ii. ay a2 = y+1 ⇒ ay+2 = a4−(y+1) = a3−y ⇒ y + 2 = 3 − y ⇒ 2y = 1 giving
a
1
y= .
2
77
4.10.2 Logarithmic Functions
Definition 4.49. A logarithmic function is a function of the form f (x) = loga x
where a is a positive constant, a 6= 1, and x is any positive real number.
The domain of a logarithmic function is the set of positive real numbers. The
range is the entire set of real numbers.
If a > 0 and a 6= 1 then the exponential function g(x) = ax has inverse
g −1 (x) = loga x. Therefore the statement loga x = y is equivalent to ay = x.
Example 4.50.
i. log4 64
Solution
In most cases the number 10 is not included, so the common logarithm is simply
written as log x.
Laws of Logarithms
Theorem 4.53. Let a, x and y be positive numbers, a 6= 1, and let r be any
number. Then
1. loga a = 1
78
2. loga 1 = 0
1. loga (ax ) = x
2. aloga x = x
Example 4.54.
Both common logarithm and natural logarithm of a number can be found using
a calculator. Suppose you have been asked to find the logarithm of a number whose
base is not 10 or e. For most calculators this can not be done directly. You need
to change the base to either 10 or e using the theorem below.
Note that some modern calculators allow you to directly find logarithm of a
number with any base. You do not need this theorem if you have such a calculator.
Therefore it is important that you understand the functions on your calculator.
logb m
loga m = .
logb a
79
logb m = logb ay ⇒ logb m = y logb a.
logb m
Therefore y = .
logb a
Example 4.56.
Logarithmic Equations
We will now illustrate the method of solving logarithmic equations.
Example 4.58.
1. log 5 + log x = 2
2. ln(2x + 3) = 0
3. log x + log(x − 3) = 1
Solution
100
1. log 5 + log x = 2 ⇒ log 5x = 2 ⇒ 5x = 102 = 100 giving x = = 20.
5
2. ln(2x + 3) = 0 ⇒ loge (2x + 3) = 0 ⇒ 2x + 3 = e0 = 1 ⇒ 2x = −2 giving
x = −1.
80
Application of Exponential Functions
A number of quantities in real life are modelled, for a certain period of time, by
the equation
Q(t) = Q0 ekt (4.3)
Example 4.59.
0.1 = 20e−0.4t
0.005 = e−0.4t
ln(0.005) = ln e−0.4t
ln(0.005) = −0.4t.
ln(0.005) −5.2983
Therefore t = = = 13.25.
−0.4 −0.4
After approximately 13 hours and 15 minutes, the amount of the drug will be
almost gone with only 0.1 milligrams remaining in the body.
Example 4.60.
The population of a city in 2010 was 153800. Assuming that the population
increases continuously at a rate of 5% per year, predict the population of the city
in the year 2050.
Solution
We apply Equation 4.3, with initial population Q0 = 153800, rate of growth
k = 5/100 = 0.05 and time t = 2050 − 2010 = 40 years. Thus in the year 2050 the
81
population of the city is expected to be
Q(40) = 153800e(0.05)40
= 153800e2
= 153800 × 7.3891
= 1136436.828
≈ 1136437.
Example 4.61.
An initial population of 720 endangered turtles triples each year. Find the
population after 12 years.
Solution
First year we have 720 turtles and in the second year we expect to have
720 × 3 = 2160 turtles.
So, when t = 1, 2160 = 720ek ⇒ ek = 3 giving k = ln 3 = 1.0986.
Therefore the population model is
Q(t) = 720e1.0986t .
Q(12) = 720e1.0986×12
= 720 × e13.1832
= 720 × 531362.6374
= 382581098.928
≈ 382581099.
Notice, in examples above, that the final answer is rounded to the nearest whole
number.
Activity 4.62.
1
1. If ax = cbx , show that x = a.
logc
b
2. Solve the following equations;
10
(a) =2
1 + e−x
82
1
(b) 92x+1 =
274+x
(c) 25−2x = 125x+7
−3x−2
1
(d) = 36x+1
6
(e) 3x+1 = 4x−1
(f) log2 3 + log2 x = log2 5 + log2 (x − 2)
(g) ln x + ln(x − 1) = ln(4x)
(h) log(3x − 10) = 2 + log(x − 2)
(a) log2 16
√
(b) log3 9 3 3
(c) log8 128
(d) log7 12
(e) log9 6
8. The population of area 9 starts off at 20, 000, and grows by 13 % each year.
Write an exponential growth model and find the population after 10 years.
83
10. A certain type of bacteria, given a favourable growth medium, doubles in
population every 6.5 hours. Given that there were approximately 100 bac-
teria to start with, how many bacteria will there be in a day and a half?
Unit Summary
In this Unit, you have learnt the two main types of functions: algebraic and
transcendental. You ave also learnt how to identify a one-to-one, an onto, a bijec-
tive, an even and an odd function.
Laws of exponents and laws of logarithms were discussed. Yu also learnt how
to solve both exponential and logarithmic equations.
3. Functions f and g are given as sets of ordered pairs (x, y): f = {(−1, 1), (0, 3), (4, 5)}
and g = {(1, 6), (3, 7), (5, 8)}. Find the composite function defined by g ◦ f .
4. Find h(g(x)) and g(h(x)) given that h(x) = x + 4 and g(x) = x2 + 2x.
84
x+2
1
(a) 92x = 27 (3x )−2
3
(b) 2−100x = (0.5)x−4
7. For the two functions, f (x) and g(x), tables of values are shown below.
x −5 −2 1 3 x −2 1 2 3
.
f (x) 7 −5 3 2 g(x) 3 −1 −3 −5
Find
Unit Answers
Suggested Solutions to Activity 4.15
1. f (3) = 6, f (4) = 4
5. b = 6
7. x = 21
9 r = −1
10. t = 2
12. a = −2 when b = 3
85
Suggested Solutions to Activity 4.29
−1 x−2 −1 x3 + 1
2. (a) f (x) = (c) f (x) =
3 5
3. 11
3. (a) p(q(x)) = {(5, 9), (2, 6), (4, 5)} (b) p(q(x)) = {(6, 6), (7, 7), (0, 0)}
4. (a) f (g(−1)) = −4 and g(f (−1)) = −12 (c) f (g(−1) = −4) and g(f (−1)) =
−1
6. b = 4
5(x − 32)
7. f (g(x)) = + 273
9
Suggested Solutions to Activity 4.43
1. (a) even (b) odd (c) even (d) neither (e) neither (f) odd (g) neither
190
2. (a) x = − ln 4 (b) x = −2 (e) x = 8.6371 (h) x =
97
7
5. (a) 4 (b) (d) 1.277
3
x2 (x + 1)
6. (a) log (c) log(x + 1)
(1 − x)3
8. 73386
9. k = 0.25
12. 3124
86
2x + 5 2x + 9
1. (a) f −1 (x) = (b)f −1 (x) =
3x − 2 7
2. g(g(3)) = 5 and f (g(3)) = 3
87
Unit 5
5.1 Introduction
In Unit 4, we defined linear, exponential and logarithmic functions. In this unit,
we will look at their graphs. For linear graphs, we will discuss the slope, equation
of a straight line, parallel lines and perpendicular lines. For exponential and
logarithmic functions, we will look at how to sketch their graphs.
5.2 Objectives
By the end of this unit, you should be able to:
• Find the mid-point of the line segment joining any two points.
• Find the equation of a line from two given points on the plane.
• Find the equation of line from one given point and the gradient.
88
Key Terms
Ensure that you understand the key terms or phrases used in this unit as listed
below:
• Cartesian coordinate system
• gradient/slope
• linear graph
• exponential graph
• logarithmic graph
• slope-intercept form
• general form
• point-slope form
• two-point form
• horizontal line
• vertical line
• parallel lines
• perpendicular lines
89
of steps from O is called the displacement. Moving up and moving to the right
from O are positive displacements while moving down and moving to the left give
negative displacements.
P1 R = x 2 − x 1
and distance
P2 R = y2 − y1 .
90
Since triangle P1 P2 R is right-angled, by Pythagoras theorem, we have;
Therefore p
P1 P 2 = (x2 − x1 )2 + (y2 − y1 )2 .
Hence the distance between any two points P1 (x1 , y1 ) and P2 (x2 , y2 ) is given by
p
D= (x2 − x1 )2 + (y2 − y1 )2 . (5.1)
Remark 5.1. Do not worry about which point you choose for P1 (x1 , y1 ) (it can be
the first or second point given), because the answer works out the same.
Example 5.2.
2. The distance M N is 5, where M is the point (4, −2) and N is the point
(a, 2a). Find the possible values of a.
Solution
p √ √
1. D = (5 − (−1))2 + (−6 − 2) = 62 + 82 = 100 = 10.
so
√
a2 − 8a + 16 + 4a2 + 8a + 4 = 5
a2 − 8a + 16 + 4a2 + 8a + 4 = 25
5a2 + 20 = 25
5a2 = 5
a2 = 1
a = ±1.
Hence a = 1 or a = −1.
91
Figure 5.3: The mid-point of a line
92
2. Let coordinates of Q be (x, y). Then
x+2 y+2
(3, 4) = , .
2 2
Therefore
x+2
=3
2
giving x = 4 and
y+2
=4
2
giving y = 6.
Hence the point Q has coordinates (4, 6).
Activity 5.4.
1. Find the distance between the following pairs of points:
(a) (0, 0) and (3, 4)
(b) (0, 4) and (5, 1)
(c) (−3, 1) and (−1, 6)
(d) (4, −2) and (3, 0)
(e) (3, −2) and (6, 1)
√
2. The distance between two points A(6, 2p) and B(p, −3) is 5 5. Find the
possible values of p.
3. The vertices of a triangle are P (1, 3), Q(−2, 0) and R(4, 0).
(a) Find the lengths of the sides of triangle P QR.
(b) Show that angle QP R = 90◦ .
(c) The point T is such that P QT R is a square. Find the coordinates of T .
4. Find the coordinates of the mid-point of the line segments joining:
(a) (3, 2) and (7, 2)
(b) (1, −2) and (1, 3)
(c) (0, 3) and (6, 1)
(d) (−3, 3) and (−1, 6)
5. Show that the points (3, 4), (−3, 7) and (−6, 1) and (0, −2) form the vertices
of a square.
93
5.4 Graphs of Linear Functions
In unit 4, we defined a linear function as a function of the form f (x) = a1 x + a0
where a0 and a1 are real numbers. Note that if we change the letters, we can write
a linear function as y = mx + c. Graphs of linear functions are straight lines.
Example 5.5.
x −2 −1 0 1 2 3
y −1 1 3 5 7 9
Table 5.1: Table of values for the graph of y = 2x + 3
94
Figure 5.5: Positive and negative slopes
In Figure 5.5, the line A has a positive slope and the line B has a negative
slope.
Mathematically, the slope of a straight line joining two points (x1 , y1 ) and
(x2 , y2 ) is given by
y2 − y1
m= . (5.3)
x2 − x1
Example 5.6.
Find the slope of the line passing through (−2, 1) and (3, 6).
Solution
6−1 5
m= = = 1.
3 − (−2) 5
Example 5.7.
The slope of the line which passes through (10, −5) and (3, r) is −2. Find the
value of r.
Solution
r − (−5)
m= = −2
3 − 10
r+5
= −2
−7
r + 5 = 14.
Therefore r = 9.
95
5.4.2 Equation of a Straight Line
There are a number of ways of writing the equation of a straight line depending on
the information given. However, the equation can be transformed from one form
to another.
y = mx + c (5.4)
where m is the slope and c is the y coordinate at the point where the line crosses the
b
y-axis called the y-intercept. When y = 0, x = − . Therefore, the x-intercept
m
b
of the line in Equation 5.4 is − (See Figure 5.6).
m
Example 5.8.
1. Write down the equation of the line with slope 2 and crosses the y-axis at
the point (0, −4).
2. Find the equation of the line passing through (2, 3) and (0, 7).
Solution
y = 2x − 4.
96
7−3
2. Here m = = −2, so the equation is y = −2x + c.
0−2
We use the second point to find the value of c:
7 = −2(0) + c ⇒ c = 7,
so the equation is
y = −2x + 7.
ax + by + c = 0 (5.5)
Example 5.9.
Find the general form of the equation of a straight line which has a slope of
2
− and y-intercept 2.
3
Solution
97
The slope-intercept form of this equation is
2
y = − x + 2.
3
Multiplying by 3 and rearranging we have
2x + 3y − 6 = 0.
Point-Slope Form
A line with slope m and passes through the point (x1 , y1 ) has equation
y − y1 = m(x − x1 ). (5.6)
y = mx + (y1 − mx1 ).
Hence the y-intercept of a line, with slope m and passes through (x1 , y1 ), is
y1 − mx1 .
Example 5.10.
Find the equation of a straight line with slope −3 and passes through (−1, 5).
Solution
We use y − y1 = m(x − x1 ) with m = −3, x1 = −1 and y1 = 5.
So
y − 5 = −3(x − (−1))
y − 5 = −3(x + 1)
y − 5 = −3x − 3
y = −3x + 2.
Two-Point Form
A line which passes through points (x1 , y1 ) and (x2 , y2 ) has equation
y − y1 y2 − y1
= . (5.7)
x − x1 x2 − x1
Example 5.11.
98
Find, in general form, the equation of a straight line which passes through
(−1, 2) and (2, −3).
Solution
We use Equation 5.7 with x1 = −1, y1 = 2, x2 = 2 and y2 = −3.
y−2 −3 − 2
=
x − (−1) 2 − (−1)
y−2 −5
=
x+1 3
3y − 6 = −5x − 5.
y=a (5.8)
2. Vertical Line
A vertical line is any line which is parallel to the y-axis and perpendicular
to the x-axis. The equation of a vertical line is
x=b (5.9)
99
Figure 5.8: Horizontal and Vertical lines
Example 5.12.
1. Find the equation of the line passing through (5, −2) that is perpendicular
to the y-axis.
2. Find the equation of the line passing through (5, −2) that is parallel to the
y-axis.
Solution
See Figure 5.8.
1. This is a horizontal line. At every point of this line, the y coordinate is −2.
Hence equation of this line is y = −2.
100
Theorem 5.13. Let straight lines L1 and L2 be parallel with slopes m1 and m2
respectively. Then
m1 = m2 , (5.10)
i.e., two straight lines are parallel if and only if they have the same slope.
Recall that the slope is not defined for vertical lines. Therefore, although any
two vertical lines are parallel, we can not say that they have the same slope, since
there is no slope for each line in the first place.
Example 5.14.
Find the equation of the straight line which is parallel to the line y = 4x − 1
and passes through the point (3, 2).
Solution
The slope of a line parallel to y = 4x − 1 is 4, so using
y − y1 = m(x − x1 )
y − 2 = 4(x − 3)
y − 2 = 4x − 12
y = 4x − 10.
Theorem 5.15. Let L1 and L2 be straight lines with slopes m1 and m2 respectively.
Then L1 and L2 are perpendicular if and only if
m1 × m2 = −1. (5.11)
We know that any vertical line is perpendicular to any horizontal line. However,
we can not give a relationship between their slopes since the slope is not defined
for vertical lines.
Example 5.16.
1. Find the slope of a line which is perpendicular to the line joining A(1, 3) and
B(4, 5).
101
2. Write down the equation of a line which passes through (3, 1) and is perpen-
1
dicular to a line with slope − .
3
Solution
5−3 2
1. Slope of AB is = .
4−1 3
Let m be the slope of any line perpendicular to AB, then
2 3
× m = −1 ⇒ m = − .
3 2
1 = 3(3) + c ⇒ c = −8.
y = 3x − 8.
Activity 5.17.
102
3. Find the slope of the line joining (2, 4) and (5, 9).
4. Find the equation of the line passing through the points (2, 3) and (−3, 7).
1
5. Find the equation of the straight line with slope − which passes through
3
the point (1, −2).
6. Given that A = (−2, 0), B = (0, 1), C = (3, 4) and D = (5, 0), show that
AB is parallel to CD.
7. The line joining the points A(1, 3) and B(3, −2) crosses the x-axis at the
point F . Write down the coordinates of F .
8. Find the equation of the straight line which passes through the origin and is
1
perpendicular to the line y = x + 6.
2
9. Find the Cartesian equation for the perpendicular bisector of the line joining
A(2, 1) and B(4, 5).
10. Find the y-intercept of the straight line which passes through the point (2, 2)
and is perpendicular to the line 3y = 2x + 1.
11. Show that the point (−4, 8) lies on the line passing through the points (1, 3)
and (7, −3).
103
Figure 5.9: The graph of y = ax where a > 1
104
4. The graph of an exponential function passes through the points (0, 1), (1, a)
1
and (−1, ).
a
Example 5.18.
x −4 −3 −2 −1 0 1 2 3 4
1 1 1 1
y = (0.5)x 16 8 4 2 1
2 4 8 16
1 1 1 1
y = 22 1 2 4 8 16
16 8 4 2
1 1 1 1
y = 5x 1 5 25 125 625
125 125 25 5
Table 5.2: Table of values for the graphs of y = (0.5)x , y = 2x and y = 5x
105
5.6 Graphs of Logarithmic Functions
In unit 4, we defined a logarithmic function as a function of the form f (x) = loga x
where a is a positive constant, a 6= 1, and x is any positive number. In this section,
we will look at graphs of logarithmic functions.
2. There are no y-intercepts, that is, the graph does not cross the y-axis.
The graph of a logarithmic function gets close to y-axis, but never touches it.
We say that the y-axis is a vertical asymptote of the graph of logarithmic
function.
1
4. The graph of y = loga x passes through the points (1, 0), (a, 1) and , −1 .
a
Example 5.19.
106
Figure 5.13: The graph of y = loga x (a > 1)
In the same coordinate plane, sketch the graphs (a) f (x) = 2x and g(x) =
log2 x.
Solution
(a) Table 5.3 is the table of values. The graph is sketched in Figure 5.14
x −2 −1 0 1 2 3
1 1
y 1 2 4 8
4 2
Table 5.3: Table of values for the graph of y = 2x
(b) Since g(x) = log2 x is the inverse of f (x) = 2x , the graph of g is obtained by
plotting the points (f (x), x). The table of values is given in Table 5.4 and
the sketch is in Figure 5.14.
1 1
x 1 2 4 8
4 2
y −2 −1 0 1 2 3
Table 5.4: Table of values for the graph of y = log2 x
107
Figure 5.14: The graphs of f (x) = 2x and g(x) = log2 x)
Activity 5.20.
x x
x x x 1 5
1. Sketch the graphs of y = 4 , y = 10 , y = 6 , y = and y = .
3 2
2. Sketch the graphs of y = log4 x, y = log6 x, y = log8 x and y = log12 x.
3. In the same coordinate plane, sketch the graphs of y = loge x, y = log3 x and
log2 x.
Unit Summary
In this unit, you have learnt graphs of linear, exponential and logarithmic
functions. You have learnt different forms of equation of a straight line, the slope
of a straight line, parallel and perpendicular lines. You have also learnt how to
sketch graphs of exponential and logarithmic functions.
1. Find the slope and y-intercept for the line with equation:
(a) y = 4 + 3x
(b) 2y − 4x = 3
(c) y = 4
108
(d) 0.5y = 8x + 4
(e) 8 − 5x + 4y = 0
(f) 4 − 3x = 2y
3. Find the equation of a line which passes through (2, 2) and is parallel to the
line 5x − 2y − 4 = 0.
5. The lines CD and EF are perpendicular with points C(1, 2), D(3, −4),
E(−2, 5) and F (k, 4). Find the value of the constant k.
6. Two vertices of a rectangle ABCD are A(−2, 3) and B(4, 1). Find:
Unit Answers
Suggested Solutions to Activity 5.4
√ √ √ √
1. (a) 5 (b) 34 (c) 29 (d) 5 (e) 3 2
2. p = 4 and p = −4.
√ √ √
3. (a) P Q = 18, P R = 18 and QR = 36 = 6
(b) The triangle satisfies Pythagoras theorem since
√ √ √
(P Q)2 + (P R)2 = ( 18)2 + ( 18)2 = ( 36) = 36 = (QR)2 .
1
4. (a) (5, 2) (b) 1, (c) (3, 2) (d) (−2, 4.5)
2
√
5. The distance between any adjacent vertices is 45. Hence the points form
the vertices of a square.
109
5
3.
3
4. 4x + 5y − 23 = 0
7. 5x + 2y − 11 = 0
8. y = −2x
9. x + 2y − 9 = 0
5. k = −5
1
6. (a) − (b) y = 3x − 11
3
111
Bibliography
[1] H. Anton, New elementary Linear Algebra with applications, New York: John
Wiley and Sons, 2005.
[2] J. Stewart, L. Redlin, and S. Saatson, College Algebra (5th ed.) USA:
Brooks/Cole, 2009.
[3] M. Sullivan, Algebra and Trigonometry (8th ed.), USA:Pearson Prentice Hall,
2008.
112
Exponential functions, characterized by growth or decay at constant proportional rates, underpin modeling in economics for compound interest, biology for population growth, and physics for radioactive decay. Understanding these functions enables predictions and strategic planning, such as calculating depreciation or assessing long-term investments, essential in both scientific and financial analysis.
Excluding values from the domain of a rational function, usually where the denominator equals zero, is crucial as these would make the function undefined, introducing breaks or holes in its graph. This exclusion is vital for ensuring continuous and interpretable values within real-world applications, such as physics and engineering problems, where undefined points can lead to inaccuracies or miscalculations.
To convert a decimal fraction to a binary fraction, multiply the fraction by 2, take the integer part as the next binary digit, and repeat with the new fractional part. This process continues until a repeating pattern or an exact conversion is observed. The challenge in this conversion arises due to potential infinite repetition, leading to recurring fractions in binary, such as 0.17510 converting to 0.001012...
The gradient of a straight line between two points (x1, y1) and (x2, y2) is calculated using the formula m = (y2 - y1) / (x2 - x1). The sign of the gradient indicates the direction of the slope: a positive gradient means the line slopes upwards from left to right, while a negative gradient indicates it slopes downwards.
In octal addition, digits range from 0 to 7. If the sum of two digits exceeds 7, the result must be converted to octal because it represents an invalid single-digit octal value. For instance, adding 5 and 7 gives 1210, which is not a valid octal digit. Instead, 1210 converts to 148 in octal by carrying over 1 to the next higher place value, similar to decimal carryover, resulting in 118 in this place.
An injective function, or one-to-one function, ensures each element in the domain maps to a unique element in the co-domain. This is characterized by the fact that different elements in the domain map to different elements in the co-domain, i.e., if f(a) = f(b) implies a = b, hence no two distinct domain elements have the same target.
The slopes of two perpendicular lines are negative reciprocals of each other. This relationship can be used to find the equation of a line perpendicular to a given line by taking the opposite reciprocal of the given line's slope. For example, if a line has a slope of 2/3, a line perpendicular to it will have a slope of -3/2. This property is used to derive equations and solve geometric problems involving perpendicularity.
Converting numbers between bases enhances understanding of numeral systems by illustrating how number representation affects arithmetic and computing. It illustrates logical operations, simplifies binary-coded construction, and aids in encryption processes and the development of computer algorithms. Each base has practical uses like binary in computing, octal in digital electronics, and hexadecimal in color representation and memory addressing.
The slope-intercept form y = mx + c allows direct identification of the slope (m) and the y-intercept (c), making it ideal for graph plotting and interpreting linear trends. In applications, it helps in budgeting, speed calculation (distance over time), and any system displaying proportional growth or decay, providing a straightforward format for analyzing linear relations.
The binary number system uses base two, meaning each digit represents a power of two, whereas the decimal system uses base ten, with each digit representing a power of ten. Conversion from binary to decimal involves multiplying each binary digit by its corresponding power of two and then summing the results. For example, the binary number 1101012 is converted to decimal as 1 x 2^5 + 1 x 2^4 + 0 x 2^3 + 1 x 2^2 + 0 x 2^1 + 1 x 2^0 = 53.