College Algebra Concepts and Techniques
College Algebra Concepts and Techniques
by
Chancellor College
2016
Contents
ii
1.9.3 Proof by contrapositive . . . . . . . . . . . . . . . . . . 19
1.9.4 Mathematical induction . . . . . . . . . . . . . . . . . 20
2 SET THEORY 23
2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.2 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.3 Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.4 Set Theory Notions . . . . . . . . . . . . . . . . . . . . . . . . 24
2.4.1 Ways to Describe Sets . . . . . . . . . . . . . . . . . . 24
[Link] The Verbal Method . . . . . . . . . . . . . . . 24
[Link] The Roster Method . . . . . . . . . . . . . . 24
[Link] The Set-Builder Method . . . . . . . . . . . . 24
2.4.2 Subset . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
[Link] Motivation . . . . . . . . . . . . . . . . . . . 25
[Link] Proper and Improper Subsets . . . . . . . . . 26
2.4.3 Universal Set . . . . . . . . . . . . . . . . . . . . . . . 27
2.4.4 Empty set or Null set . . . . . . . . . . . . . . . . . . . 27
2.4.5 Equal Sets . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.4.6 Equivalent sets . . . . . . . . . . . . . . . . . . . . . . 27
2.4.7 Finite and Infinite sets . . . . . . . . . . . . . . . . . . 28
2.4.8 Set Operations . . . . . . . . . . . . . . . . . . . . . . 30
[Link] Union set . . . . . . . . . . . . . . . . . . . . 30
[Link] Intersection Set . . . . . . . . . . . . . . . . . 31
[Link] Difference Set . . . . . . . . . . . . . . . . . . 32
[Link] Disjoint Set . . . . . . . . . . . . . . . . . . . 32
[Link] Complement Sets . . . . . . . . . . . . . . . . 33
iii
[Link] The Number of Elements in a Set/Set Cardi-
nality . . . . . . . . . . . . . . . . . . . . . . 35
[Link] Cartesian Product of Two Sets . . . . . . . . 37
[Link] Power Set . . . . . . . . . . . . . . . . . . . . 37
3 NUMBER SYSTEMS 41
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.2 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.3 Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
3.4 Sets of numbers . . . . . . . . . . . . . . . . . . . . . . . . . . 42
3.4.1 Natural numbers . . . . . . . . . . . . . . . . . . . . . 42
3.4.2 Integers . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3.4.3 Rational numbers . . . . . . . . . . . . . . . . . . . . . 43
3.4.4 Irrational numbers . . . . . . . . . . . . . . . . . . . . 44
3.4.5 Real numbers . . . . . . . . . . . . . . . . . . . . . . . 44
3.5 Summations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
3.5.1 Writing a sum in sigma notation . . . . . . . . . . . . . 47
3.5.2 Rules for use with sigma notation . . . . . . . . . . . . 47
3.6 Multiplication and Factorization . . . . . . . . . . . . . . . . . 50
3.6.1 Multiplication . . . . . . . . . . . . . . . . . . . . . . . 50
3.6.2 Factorization . . . . . . . . . . . . . . . . . . . . . . . 52
3.6.3 Complete the square . . . . . . . . . . . . . . . . . . . 54
3.6.4 Quadratic equations . . . . . . . . . . . . . . . . . . . 55
[Link] Discriminant of a Quadratic Equation . . . . 58
3.6.5 The Remainder Theorem . . . . . . . . . . . . . . . . . 60
3.7 Inequalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
iv
[Link] Interval notation . . . . . . . . . . . . . . . . 66
[Link] Solving inequalities . . . . . . . . . . . . . . . 67
3.7.1 Absolute Values . . . . . . . . . . . . . . . . . . . . . . 70
3.7.2 Indices and Logarithm . . . . . . . . . . . . . . . . . . 74
[Link] Indices . . . . . . . . . . . . . . . . . . . . . . 74
[Link] Logarithms . . . . . . . . . . . . . . . . . . . 77
4 INTRODUCTION TO COMBINATORICS 82
4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
4.2 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
4.3 Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
4.4 Fundamental Counting Principle (FCP) . . . . . . . . . . . . . 83
4.5 Permutations . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
4.5.1 Mathematics of Permutations . . . . . . . . . . . . . . 87
4.5.2 Guidelines for When to Use Permutations . . . . . . . 88
4.5.3 Distinguishable Permutation . . . . . . . . . . . . . . . 90
4.5.4 Theorem on Distinguishable Permutation . . . . . . . 90
4.5.5 Circular Permutation . . . . . . . . . . . . . . . . . . . 91
4.6 Combinations . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
4.6.1 Mathematics of Combinations . . . . . . . . . . . . . . 91
4.6.2 Factorial Formula for Combination . . . . . . . . . . . 92
4.6.3 Guidelines for When to Use Combinations . . . . . . . 92
4.6.4 Guidelines for Choosing a Counting Method . . . . . . 94
4.6.5 Summary of Permutation and Combination . . . . . . 94
4.7 Pascal’s Triangle . . . . . . . . . . . . . . . . . . . . . . . . . 98
4.8 The Binomial Theorem . . . . . . . . . . . . . . . . . . . . . . 100
v
[Link] Activity Two . . . . . . . . . . . . . . . . . . 102
5 FUNCTIONS 103
5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
5.2 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
5.3 Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
5.4 Relation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
5.4.1 Domain and Range of a Relation . . . . . . . . . . . . 105
5.5 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
5.5.1 Evaluating a function . . . . . . . . . . . . . . . . . . . 110
5.5.2 finding domain and range of a function . . . . . . . . . 111
5.5.3 One-to-one and onto functions . . . . . . . . . . . . . . 113
5.5.4 Even and Odd functions . . . . . . . . . . . . . . . . . 116
5.5.5 Composite functions . . . . . . . . . . . . . . . . . . . 118
5.5.6 Inverse Functions . . . . . . . . . . . . . . . . . . . . . 120
5.5.7 Graphs of Functions . . . . . . . . . . . . . . . . . . . 125
[Link] Linear Functions . . . . . . . . . . . . . . . . 125
[Link] Quadratic Functions . . . . . . . . . . . . . . 125
[Link] Piecewise Defined Functions . . . . . . . . . . 126
[Link] Absolute Value Function . . . . . . . . . . . . 126
[Link] Greatest Integer Function (Step Function) . . 127
[Link] Exponential Functions . . . . . . . . . . . . . 127
[Link] Logarithmic Functions . . . . . . . . . . . . . 130
vi
6.3 Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
6.4 Graphs of Polynomials . . . . . . . . . . . . . . . . . . . . . . 134
6.4.1 Polynomial Functions . . . . . . . . . . . . . . . . . . . 134
6.4.2 Linear Functions Graphs . . . . . . . . . . . . . . . . . 135
[Link] Finding the Slope of a Line . . . . . . . . . . 136
[Link] Point-Slope Form of the Equation of a Line . 136
[Link] Parallel and Perpendicular Lines . . . . . . . 137
[Link] Even and Odd Functions . . . . . . . . . . . . 138
[Link] Graph Symmetry . . . . . . . . . . . . . . . . 139
[Link] Symmetry with Respect to the y-axis . . . . . 139
[Link] Symmetry with Respect to the Origin . . . . 139
[Link] Symmetry with Respect to the x-axis . . . . . 140
6.4.3 Quadratic Function Graphs: Parabola . . . . . . . . . 140
[Link] Effect of “a" on the Graph of f . . . . . . . . 140
[Link] Transformation of Quadratic Graphs and sym-
metry . . . . . . . . . . . . . . . . . . . . . . 142
[Link] Vertical and Horizontal Shifts . . . . . . . . . 142
[Link] Standard Form of a Quadratic Function . . . 143
[Link] The Minimum and Maximum Values of Quadratic
Functions . . . . . . . . . . . . . . . . . . . . 146
6.4.4 Graphs of General Polynomial Functions . . . . . . . . 148
[Link] The Effect of Multiplicity of a Polynomial . . 148
[Link] Turning Points and Intercepts . . . . . . . . . 150
[Link] Zeros of a polynomial . . . . . . . . . . . . . 151
[Link] Intermediate Value Theorem for Polynomial . 151
[Link] Steps for Graphing Polynomial Functions . . 151
vii
6.4.5 Graph Relationships with the Basic Function . . . . . 155
[Link] General Graph Transformations . . . . . . . . 156
6.4.6 Sine, Cosine and Tangent Functions . . . . . . . . . . . 158
[Link] Angle and Degree Measure . . . . . . . . . . 158
[Link] Radian Measure . . . . . . . . . . . . . . . . 159
[Link] Converting Angles Between Degrees and Ra-
dians . . . . . . . . . . . . . . . . . . . . . . . 159
[Link] Applications of Radian Measure . . . . . . . . 161
[Link] Arc Length . . . . . . . . . . . . . . . . . . . 161
[Link] Area of a Sector of a Circle . . . . . . . . . . 162
[Link] Area of a Sector of a Circle . . . . . . . . . . 163
6.4.7 Trigonometric Functions . . . . . . . . . . . . . . . . . 163
[Link] Rotation of Angles . . . . . . . . . . . . . . . 168
[Link] Reference Angles . . . . . . . . . . . . . . . . 168
[Link] Trigonometric Identities . . . . . . . . . . . . 170
[Link] Solving Trigonometric Equations . . . . . . . 171
6.4.8 Graphing the Trigonometric Functions . . . . . . . . . 174
[Link] The Graph of sine Function . . . . . . . . . . 175
[Link] The Graph of Cosine Function . . . . . . . . 176
[Link] The Graph of Tangent Function . . . . . . . . 177
6.4.9 Properties of graphs of Trigonometric Function . . . . 179
[Link] Amplitude and Period . . . . . . . . . . . . . 180
[Link] Translations of Sine and Cosine Curves . . . . 180
[Link] Reflections . . . . . . . . . . . . . . . . . . . 182
[Link] Activity Three . . . . . . . . . . . . . . . . . 183
6.4.10 Graph of Modulus Functions and their Transformations 186
viii
6.4.11 Graph of Exponential functions and their Transforma-
tions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
[Link] Basic Exponential Function Graphs . . . . . . 187
6.4.12 Graph of Logarithmic Functions and their Transforma-
tions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
6.4.13 Greatest Integer Function and its Graphs . . . . . . . . 190
[Link] graph of greatest integer Function . . . . . . . 191
6.4.14 Conic Sections Graphs and their Transformations . . . 193
6.4.15 Standard Equations of Conic Sections . . . . . . . . . . 194
[Link] Parabola . . . . . . . . . . . . . . . . . . . . 194
[Link] Ellipses . . . . . . . . . . . . . . . . . . . . . 196
[Link] Hyperbolas . . . . . . . . . . . . . . . . . . . 199
6.4.16 Transformations of Conics . . . . . . . . . . . . . . . . 202
6.4.17 Shifted Conics . . . . . . . . . . . . . . . . . . . . . . . 203
Bibliography 207
1
Chapter 1
INTRODUCTION TO
MATHEMATICAL LOGIC
1.1 Introduction
1.2 Objectives
2
1.3 Key Terms
p:2=2=5
Example 1.4.1. Which of the following are propositions? Give the truth
value of the propositions.
c) 2 + 2 = 5
Solution.
b) Not a proposition.
d) Not a proposition.
3
Activity 5.4
p : It is raining.
q : It is warm.
4
Example 1.5.1. Let
p:4<7
q:7<5
Solution.
p : It is raining
q : It is warm
Solution.
A truth table is used to show the relationships between the truth value of
propositions. We present the truth table of p ∧ q.
p q p∧q
T T T
T F F
F T F
F F F
5
1.5.3 Exclusive Or (XOR)
p q p⊕q
T T F
T F T
F T T
F F F
p q r q⊕r p ⊕ (q ⊕ r)
T T T F T
T T F T F
T F T T F
T F F F T
F T T F F
F T F T T
F F T T T
F F F F F
1.5.4 Negation
6
p ∼p
T F
F T
p : Today is Monday
q :2+1=3
r : The derivative of sin x is cos x.
p q r p∧q ∼ (p ∧ q) [∼ (p ∧ q)] ∨ r
T T T T F T
T T F T F F
T F T F T T
T F F F T T
F T T F T T
F T F F T T
F F T F T T
F F F F T T
p ∼p p∨ ∼ p
T F T
F T T
7
Therefore the proposition is a tautology.
Two propositions are equivalent if they have exactly the same truth values
under all circumstances. We p ≡ q.
p q ∼p ∼q p∨q ∼ (p ∨ q) ∼ p∧ ∼ p
T T F F T F F
T F F T T F F
F T T F F F T
F F T T F T T
Activity 5.5
8
1.6 Conditional and Biconditional Propositions
1.6.1 Conditional
p q p→q
T T T
T F F
F T T
F F T
p q ∼p p→q ∼p∨q
T T F T T
T F F F F
F T T T T
F F T T T
a) if p then q.
9
b) p implies q.
e) p only if q.
f) q whenever p.
g) q follows from p.
b) Find the negation of the statement "If my school uniform is with the
tailor, then I cannot go to school."
∼ (p → q) ≡∼ (∼ p ∨ q)
≡∼ 9 ∼ p)∧ ∼ q
≡ p∧ ∼ q
1.6.2 Biconditional
10
Solution. The truth table is as follows:
p q p↔q
T T T
T F F
F T F
F F T
Example 1.6.5. Find the converse, inverse and the contrapositive of the
implications "If today is Monday, then I have a test today."
11
Solution. Using DeMorgan’s laws we get
p → q ≡∼ p ∨ q
≡∼ (p∧ ∼ q)
≡∼ (∼ q ∧ p)
≡∼∼ q∨ ∼ p
≡ q∨ ∼ p
≡∼ q →∼ p
Activity 5.5.2
3. Show that ∼ q →∼ p ≡ p → q.
12
1.7 Inferential logic
p∧q
∴r
(2) Construct a truth table including the premises and the conclusion.
13
(3) Find rows in which all premises are true.
(4) In each row of Step (3), if the conclusion is true then the argument is
valid; otherwise the argument is
Example 1.7.2 (Modus Ponens or the method of affirming). Show that the
argument
p→q
p
∴q
is valid.
p q p→q
T T T
T F F
F T T
F F T
We can see from the first row that the argument is valid.
Example 1.7.3 (Modus Tollens or the method of denial). Show that the
argument
p→q
∼q
∴∼ p
14
is valid.
Solution. The truth table is as follows:
p q p→q ∼q ∼p
T T T F F
T F F T F
F T T F T
F F T T T
We can see from the last row that the argument is valid.
Activity 5.5.4
1. Use symbols to write the logical form of the given argument.
If Tom is not on team A, then Hua is on teamB.
If Hua is not on team B, then Tom is on team A.
∴ Tom is not on team A or Hua is not on teamB.
p→q
q→p
∴p ∨ q
p→q
∼q∨r
∴r
15
1.8 Quantifiers
Statements such as ”x > 20 are not propositions when we do not define the
variable. We can, however, obtain propositions from such statements.
An expression involving one or two variables defined on some domain is
called a predicate. If we substitute a particular value for the variable(s) we
get a proposition which is either true or false. For example, P (n) : n is odd
is a predicate on the natural numbers. We see that P (1) is true and P (2)
is false. In the expression P (x), x is called a free variable. As x varies the
truth value of P (x) varies as well.
Another way of obtaining propositions is by means of quantifiers. For
example ∀x ∈ D; P (x) is a proposition which is true if P (x) is true for
all values of x in the domain D of P : For example, if k is an nonnegative
integer, then the predicate P (k) : 2k + 1 is odd is true for all k ∈ N: We
write, ∀k ∈ N; (2k is odd): We call the symbol ∀ the universal quantifier.
The proposition ∀x ∈ D; P (x) is false if P (x) is false for at least one
value of x: In this case x is called a counter example.
The notation ∃x ∈ D; P (x) is a proposition that is true if there is at least
one value of x ∈ D where P (x) is true; otherwise it is false. The symbol ∃ is
called the existential quantifier.
The proposition ∀x ∈ D; P (x) → Q(x) is called the universal conditional
proposition. For example, the proposition ∀x ∈ R; if x > 2 then x2 > 4 is a
universal conditional proposition.
b) Let P (x) denote the statement "x > 5": What is the truth value of the
proposition ∃x ∈ R; P (x):
16
b) Since 6 ∈ R and 6 > 5; the given proposition is true
b) ∀x ∈ D; ∼ P (x):
Activity 5.5.3
1. Rewrite the following using quantifiers:
17
1.9.1 Direct proof
Activity 5.5.5
2. Prove that the sum of an even number and an odd number is odd.
18
√
Example 1.9.3. 2 is irrational.
Activity 5.5.7
√
Prove that 4 is irrational.
19
7x + 9 = 2m + 1, where m is the integer 7k + 4. Consequently 7x + 9 is odd.
Therefore 7x + 9 is not even.
Activity [Link]
1 + 3 + 5 + · · · + (2n − 1) = n2 (1.1)
Although from this pattern we might conjecture that statement (1.1) is true
for any choice of n, can we really be sure that it does not fail for some choice
of n? The method of proof by mathematical induction will, in fact, prove
that the statement is true for all n.
The idea behind proof by mathematical induction is simple one: The
natural numbers form a list, so that if we start at the beginning and keep
going from one number to the next, we eventually get to any given number.
20
Let P1 , P2 , P3 , . . . be a list of propositions that may or may not be [Link]
principle of mathematical induction asserts that all the propositions P1 , P2 , P3 , . . .
are true provided
1. P1 is true,
We will refer to (1),i.e, the fact that P1 is true as the basis for induction and
we will refer to (2) as the induction step.
n(n+1)
Example 1.9.5. Prove that 1 + 2 + 3 + · · · + n = 2
.
n(n+1)
Proof. Let P (n) : 1 + 2 + 3 + · · · + n = 2
. Firstly, when n = 1,
LHS of P (1) = 1
1(1 + 1)
= = 1 = RHS of P (1).
2
So P (1) is true.
Now for the induction step, assume P (k) is true, for some natural number
k, i.e, 1 + 2 + 3 + · · · + k = k(k+1)
2
. Since we wish to prove P (k + 1) from this,
we add k + 1 to both sides to obtain
k(k + 1)
1 + 2 + 3 + ··· + k + k + 1 = +k+1
2
1
= [k(k + 1) + 2(k + 1)]
2
1
= (k + 1)(k + 2)
2
So P (k + 1) is true if P (k) is true. By the principle of mathematical conduc-
tion, we conclude that Pn is true fro all n.
21
Activity [Link]
Prove by induction:
2. 13 + 33 + 33 + · · · + n3 = 41 n2 (n + 1)2 ;
3. 1 + 21 + 14 + · · · 21n = 2 − 1
2n
;
4. 53 + 3 is divisible by 4.
5. 3n > 2n .
22
Chapter 2
SET THEORY
2.1 Introduction
Set theory is the branch of mathematical logic that studies sets, which infor-
mally are collections of objects. Although any type or objects can be collected
into a set, set theory is applied most often to objects that are relevant to
mathematics. The language of set theory can be used in the definition of
nearly all mathematical objects.
2.2 Objectives
23
2.3 Key Terms
Set, member, subset, set operation, universal set, empty set, set cardinality
Use a sentence to define the set, e.g. "the set of number from one to ten".
Begin with a left brace ‘{’, list each element the set only once and then end
with a right brace ‘}’ e.g. “{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}"
24
Note that we listed ‘a’ only once, even though it appears twice in the word
“Malawi". Also the order of the elements doesn’t matter, so {l, w, a, m} is
also roster description of M. On the other hand, a set builder description of
M is : {x | x is a letter int he word “Malawi"}. The way to read this is ‘The
set of elements x such that x is a letter in the word “Malawi"’. In each of the
above cases, we may use the familiar equals sign ‘=’ and write
M = {m, a, l, w, i} or M = {x}, |x is a letter in the word “Malawi"}
Notice that w is in M but any other letters, such as t, are not in M. We
express these ideas of set inclusion and exclusion ( or membership) mathe-
matically using the symbols. More precisely we have the following definition.
2.4.2 Subset
[Link] Motivation
Now let’s consider another set, C, formed from set M from above defined as
follows: C= {x | x is a consonant in the word “Malawi"}. Hence the roster
definition of the set is: C={m, l, w}. Thus by construction every element of
C is a member of M. We express this relationship by stating that the set C
is a subset of the set M, which is written in symbols as, C ⊆ M. The more
formal definition is given below.
Definition 2.4.3. Given sets A and B, we say that the set A is a subset of
the set B and write ‘A ⊆ B’ if every element in A is also an element of B.
25
Illustration
Example 2.4.6. Consider the set {1, 2, 3, 4, 5}. Then {1, 2, 3} ⊂ {1, 2, 3, 4, 5}
while {1, 2, 3, 4, 5} ⊆ {1, 2, 3, 4, 5, 5}.
26
2.4.3 Universal Set
The set containing the totality of the elements of any particular discussion
or situation is called universal set.
Notations Other symbols for universal set are: µ and ξ. For instance,
in the case where all sets under discussion consist of numbers, we can take
the universal set to be just R (a set of real numbers).
A set which contains no element is an empty set or null set. This is symbol-
ically denoted by: {} or ∅.
(b) {x | x ∈ R, and x = x + 1}
Two sets are equal if and only if they have exactly the same elements. We
define A = B if and only if A ⊆ B and B ⊆ A.
Two sets are equivalent if their element can be put into one-to-one corre-
spondence with one another. In other words, two sets are equivalent if they
27
have the same number of elements. The notation A ≈ B means set A and B
are equivalent.
Example 2.4.9. {a, b, c, d} and {#, &, $, %} are equivalent since one-to-
one correspondence can be established between them. This is written as,
{a, b, c, d} ≈ {#, &, $, %}, but {1, 2, 3} 6≈ {a, b}.
Definition 2.4.10. (a) A finite set is a set whose elements can be placed
in one-to-one correspondence with the first k-counting numbers. In
other words, a set is finite if its elements can be counted. The empty
set is also considered finite.
(i) {1, 2, 3, . . . , n}
(ii) {whole numbers between 2000 and 2005} = {2001, 2002, 2003, 2004}
(iii) {whole numbers between 2000 and 3000} = {2001, 2002, 2003, . . . , 2999}
The dots ‘. . . ’ in (iii) stand for the other 995 numbers in the set.
All the sets above are infinite (or non-finite) no matter how many ele-
ments we list. This time the dots ‘. . . ’ have slightly a different mean-
ing, because they stand for infinite many elements that we could not
possibly list all, no matter how long we try.
28
Activity 1
a) ∅ ∈ ∅
b) {∅} ∈ {∅}
c) {1, 2} ∈ {1, {1, 2}, 2, 3}
d) 2 6∈ {a, e, i, o, u}
e) State whether each of the following sets is an empty set or not.
i. {x | x2 = x2 + 2}
ii. {t | t2 = 1}
29
a) {2, 4, 6, 8}
b) {1, 3, 5, 7, 9}
c) {2, 3, 5, 7, 11}
d) The set of positive multiples of 3.
Given the set A and B of a universal set, µ, new sets can be constructed by
application of certain operations on sets A, B and µ. The following are the
basic binary operations on sets.
30
b) Let A = {x | x is an even integer} and B = {x | x is an odd inte-
ger}.Then A ∪ B = {x | x is an integer}.
i. A ∪ A = A
ii. A ∪ B = B ∪ A
iii. A ∪ (B ∪ C) = (A ∪ B) ∪ C
iv. A ⊆ A ∪ B
a) A ∩ B = ∅
b) A ∩ C = {2}
c) B ∩ C = {5, 6}
31
[Link] Difference Set
Definition 2.4.15. : Given set A and set B, the difference of set B from set
A is the set of all elements in A but not in B. We write A − B or A\B.
Illustration
a) A − B = {2, 4, 7}
b) B − A = {3, 9}
Two sets are called disjoint if they have no element in common. Otherwise,
disjoint sets are known as non-overlapping sets.
Illustration
Example 2.4.17. Given A = {1, 2, 3}, B = {8, 9, 10} and C = {a, b, c}.
Then
32
a) A ∩ B = ∅
b) A ∩ C = ∅
c) B ∩ C = ∅
i. A ∩ A = A
ii A ∩ B = B ∩ A
iii. A ∩ (B ∩ C) = (A ∩ B) ∩ C
iv. A ∩ B ⊆ A
v. ∅ ⊆ A
The proofs for the above properties by using venn diagrams are left as an
exercise.
Illustration
Example 2.4.19. : Let U = {2, 4, 6, 8, 10, 12, 14, 16} and A = {6, 10, 4, 16}.
Then A0 = {2, 8, 12, 14}
33
Properties of Complement sets
i. (A0 )0 = A
ii. A ∪ A0 = ξ
iii. A ∪ ξ = ξ
iv. A ∪ ∅ = A
v. A ∩ Ā = ∅
vi. (∅)0 = ξ
vii. A ∩ ξ = A
viii. A ∩ ∅ = ∅
ix. (ξ)0 = ∅
34
The proofs for the above properties by using Venn diagrams are left as an
exercise.
De Morgan’s Law
35
Proof : The proof for number of elements in overlapping sets use what is
known as the exclusion and inclusion principle. Notice that A can be divided
into two disjoint sets, A ∩ B0 and A ∩ B. similarly B can be divided into the
disjoint sets A0 ∩ B and A ∩ B
= n(A ∪ B) + n(A ∩ B)
36
Therefore, the students playing none of the sporting games, F , V and N are
(F ∪ V ∪ N )0 .
A × B = {(1, x), (1, y), (1, z), (2, x), (2, y), (2, z)}
and B × A = {(x, 1), (x, 2).(y, 1), (y, 2), (z, 1), (z, 2)}
Given a set, you can form a new set with the power set operation, defined as
follows.
37
Example 2.4.24. : Suppose A = {a, b, c}. Then:
ρ(A) = {∅, {a}, {b}, {c}, {a, b}, {a, c}, {b, c}, {a, b, c}}
Activity 2
a) A ∪ B d) A − C g) B ∩ C
b) A ∩ B e) B − A h) C − A
c) A − B f) A ∩ C i) C − B
a) A ∪ C c) (A ∩ B) ∩ C e) A ∩ (B ∪ C)
b) B ∪C d) A∩(B ∩C) f) (A∩B)∪(A∩C)
a) A ∩ B c) A0 ∪ B 0
b) A ∪ B 0 d) A0 ∩ (A ∪ B)
a) Ā d) A ∪ Ā g) Ā ∩ B̄
b) B̄ e) A − Ā h) A ∩ B
c) A ∩ Ā f) A ∪ B i) Ā ∩ B
5. Suppose A = {1, 2, 3, 4} and B = {a, c}, write out the indicated sets
by listing
their elements between braces.
38
a) A × B d) A × A g) A × B × B
b) B × A e) B × B h) A × (B × B)
c) ∅ × B f) (A × B) × B i) B 3
9. 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 coffee and tea?
11. Each student in a class of 40 plays at least one indoor game chess,
draft and scrabble. 18 play chess, 20 play scrabble, 27 play draft. 7
play chess and scrabble, 12 play scrabble and draft while 4 play chess,
scrabble and draft. Find the number of students who play:
39
a) Chess and draft
b) Chess, draft but not scrabble.
40
Chapter 3
NUMBER SYSTEMS
3.1 Introduction
3.2 Objectives
b) multiply polynomials
c) factorize polynomials
41
d) solve quadratic equations and equations of higher order.
e) solve inequalities.
42
√
for example 5 ∈ N, but 5∈
/ N.
We may use powers, since this is another way of writing a product formed
by several equal factors. Thus if a ∈ N, then a2 ∈ N.
Note that sometimes natural numbers can mean the set of whole numbers,
i.e, {0, 1, 2, . . .} depending on the subject.
We now enlarge N so that it includes negatives. This will answer some sub-
traction problems.
3.4.2 Integers
The set of integers denoted by Z include zero as well as the negative whole
numbers. Z is for the German "zahl" meaning number. Thus Z = {. . . , −2, −1, 0, 1, 2, . . .}.
Note that N ⊆ Z.
The addition, subtraction and multiplication of two integers is another inte-
ger. That is if a, b ∈ Z, then a + b ∈ Z, a − b ∈ Z and ab ∈ Z.
However the division of two integers is not always another integer. Thus for
1
example 2, 6 ∈ Z, but 2/6 = 3
∈
/ Z.
We can use powers, but the exponent has to be a natural number. For ex-
ample, (−3)3 = −27 ∈ Z, but (−3)−3 = − 27
1
∈
/ Z.
The root of an integer is not always another integer. Thus for example
√
−4 ∈
/ Z.
We now enlarge Z so that it includes [Link] will help to answer some
division problems.
43
We show why b must be zero. We define for example
1
=∞ (3.1)
0
where the right-hand side is "infinity." By (3.1) we have
1 = 0 · ∞. (3.2)
The set formed by rational and irrational numbers is the set of real numbers
denoted by R. Thus R = {x : x is a rational or an irrational number.} In fact
a real number can be thought of as any point anywhere on the number line.
44
√
3
√
−17 2 π
w w w w w w w w w w
-
−4 −3 −2 −1 0 1 2 3 4 5
For every real number there is a point on a straight line and for every
point on the straight line, a real number.
All operations can be performed with real numbers with the exception of the
root of a negative number, and division by zero.
Activity 5.4
(a) a + b ∈ Q.
(b) a − b ∈ Q.
(c) ab ∈ Q.
45
a
(d) b
∈ Q.
3.5 Summations
We shall look at a method which is used to write out a long sum in a concise
way. Consider for example the series
1 + 2 + 3 + 4 + · · · + 100 (3.3)
where the three dots signify the obvious missing terms. Clearly this is the
sum of whole numbers from 1 to 100. Now we write the number as k, where
k ∈ Z. Thus we shall represent (3.3) as
100
X
k (3.4)
k=1
So this expression means that the sum of all the terms k where k takes the
P
values from 1 to 100. Here the symbol is the Greek Capital letter Sigma
corresponding to our letter 0 S 0 , and refers to the first letter of the word
"Sum." Now to evaluate (3.4), first put k = 1, to get 1. Then set k = 2,
which gives 2 and a total of 1 + 2 = 3. Further set k = 3, which yields 3 and
adding again gives 1 + 2 + 3 = 6. Continuing in this way until k = 100, we
recover (3.3). Similarly,
10
X 1 2 1 2 1 2 1 2 1 2
− = − + − + − + ··· + −
k=1
k 1 2 3 10
1 1 1
=1+ + + ··· +
4 9 10
We don’t have to use k. Here we use p and sum up 4p − 1, going from −2 to
8. Thus
8
X
(4p − 1) = (−9) + (−5) + 0 + · · · + 31.
p=−2
46
3.5.1 Writing a sum in sigma notation
Solution. Look for a pattern. Each term is its position location times 2.
X45
Thus 2n.
n=1
1 1 1 1
Example 3.5.2. Write the sum −1 + − + · · · + in sigma nota-
2 3 4 100
tion.
= c × (1 + 2 + · · · + n)
n
X
=c k.
k=1
47
3. If we sum k plus a constant then we can write
n
X
(k + c) = (1 + c) + (2 + c) + · · · + (n + c)
k=1
(i)
n
X n
X
(g(k) + c) = nc + g(k),
k=1 k=1
(ii)
n
X n
X
(ag(k) + c) = nc + a g(k).
k=1 k=1
5. If we have any two functions f (k) and g(k) of k then we can write
n
X n
X n
X
(f (k) + g(k)) = f (k) + g(k).
k=1 k=1 k=1
1. n
X n(n + 1)
k = 1 + 2 + 3 + ··· + n = . (3.6)
k=1
2
2. n
X n(n + 1)(n + 2)
k 2 = 12 + 22 + 32 + · · · + n2 = . (3.7)
k=1
6
3. n
X n2 (n + 1)2
k 3 = 13 + 23 + 33 + · · · + n3 = . (3.8)
k=1
4
100
(3 − 2r)2
P
Example 3.5.3. Find the value of the following summation:
r=1
48
Solution. First we need to square out the stuff being summed and then
break up the summation using the properties as follows,
100
X 100
X
2
(3 − 2r) = (9 − 12r + 4r2 )
r+1 r=1
100
X 100
X 100
X
= 9 − 12 r+4 r2 .
r=1 r=1 r=1
Activity 5.5
(a) −3 + 6 − 9 + 12 − 15 + · · · + 60
(b) 2 + 5 + 8 + 11 + · · · + 32
(c) 4 + 8 + 16 + 32 + · · · + 128
1
(d) 2
+ 32 + 34 + 45 + · · · + 19
20
49
10
P
(b) n(n + 1)(n + 2)
n=1
3.6.1 Multiplication
an xn + an−1 xn−1 + · · · + a1 x + a0
m(a + b) = ma + mb
Thus to multiply a sum by a number, multiply each term of the sum. That
is called the distributive rule. m multiplies a, then it multiplies b. We say
that we have "distributed" m to a and b.
(a + b)(x + y) = ax + ay + bx + by
50
If you have expressions like (x − 3)(x + 2)(2x + y) multiply two of the terms
first.(It doesn’t matter which two you choose)
= (x2 − x − 6)(2x + y)
Some products have been given special names because of their for. Thus
(x + b)2 = x2 + 2xb + b2
(x − b)2 = x2 − 2xb + b2
x2 − b2 = (x − b)(x + b)
= (x + b)(x2 + 2bx + b2 )
= x3 + 3bx2 + 3b2 x + b3 .
Similarly,
51
In the first row write 1 and the two
1
1’s in the second row as shown. Each
1 1
new row starts and ends with 1s.
The intervening numbers are obtained 1 2 1
by adding the two numbers directly 1 3 3 1
above. We can see that in third row we 1 4 6 4 1
2 2
have 121 and (x + b) = 1 · x + 2 · xb +
1 5 10 10 5 1
1 · b2 . In fourth row we have 1331 and
(x+b)3 = 1·x3 +3·x2 b+3·xb2 +1·b3 , in Figure 3.1: Pascal’s triangle.
fifth row we have 14641 and(x + b)4 =
1 · x4 + 4 · x3 b + 6 · x2 b2 + 4 · xb3 1 · b4 , and so on. Note that (a + b)n 6= an + bn
(unless n = 1).
Example 3.6.2. Expand
a) (x − 3)5
b) (x + 5)4
Solution. ´
3.6.2 Factorization
= 3x2 + 10x − 8
52
The two polynomials on the left side are called factors of the polynomial on
the right side. Expressing a given polynomial as a product of other polyno-
mials, that is ,finding the factors of a polynomial, is called factoring.
When you factor a polynomial, first check for common factors. Then see
whether you can use one of the following special formulas:
Activity 5.5.2
1 Expand
a) (x + 2y)3
b) (9a − 2b)2
c) (x − y)7
53
d) (x − 2y)4
e) (x + 2y − 2)2
2 Factorize
54
If we critically look at the example we notice that the given quadratic
expression is replaced by
coefficient of x 2
x+ + corrected constant term
2
By applying the process of completing the square to the general quadratic
expression we can obtain a very useful result.
b c
ax2 + bx + c = a x2 + +
a a
b c b2
= a (x + )2 + − 2
2a a 4a
b 2 b2 − 4ac
= a (x + ) −
2a 4a2
Example 3.6.4. Complete the square for x2 + 2x + 4.
Solution. We have
2
52 25
3(x − 5x + 4) = 3 (x − ) + 4 −
2 4
5 2 9
= 3 (x − ) −
2 4
5 3 5 3
=3 x− + x− −
2 2 2 2
= 3(x − 1)(x − 4).
55
equation we can derive A formula which can be used to solve any quadratic
equation.
Consider the general quadratic equation ax2 + bx + c = 0. By completing
the square we get
b c
a(x2 + x + ) = 0
a a
b c b2
a((x + )2 + − 2 ) = 0
2a a 4a
b 2 b2 − 4ac
a((x + ) − 2
)=0
2a r4a
b b2 − 4ac 2
a((x + )2 − ( ) )=0
2a r 4a2
b b2 − 4ac 2
a((x + )2 ( ) )=0
2a 2a
We see that the term inside the bracket is the difference of two squares and
so we obtain
√ √
b b2 − 4ac b b2 − 4ac
a(x + + )(x + − )=0
2a 2a 2a 2a
Hence either
√ √
b b2 − 4ac b b2 − 4ac
x=− + or x = − −
2a 2a 2a 2a
which we write as √
−b ±b2 − 4ac
x= (3.9)
2a
This is the formula for solving any quadratic equation.
Example 3.6.6. Solve the following quadratic equations using the quadratic
formula.
a) x2 + 5x + 6 = 0
b) 4x2 − 12x + 9 = 0
c) 3x2 + 6x + 5 = 0
56
Solution. a) a = 1, b = 5 c = 6.
√ √
−5 ± 52 − 4 × 1 × 6 −5 ± 1 −5 ± 1
x= = =
2×1 2 2
i.e.
−5 + 1 −5 − 1
x= = −2 or x = = −3
2 2
b) a = 4, b = −12, c = 9
√ √
12 ± 122 − 4 × 4 × 9 12 ± 144 − 144
x= =
2×4 8
12
=
8
3
=
2
3
Thus x = 2
is a repeated root of the equation.
c) a = 3, b = 6, c = 5
√ √
−6 ± 62 − 4 × 3 × 5 −6 ± 36 − 60
x= =
2×3 √6
−6 ± −24
=
6
A negative number does not have a real square root so the given equa-
tion has no real roots.
From the preceding three examples we see that a quadratic equation may
have two, one, or no solutions. Indeed it is the sign of the term under
the square root in (3.9) which determines which of these three possibilities
happens.
58
Example 3.6.9. Solve the equation x4 − 4x2 + 1 − 0.
Activity 5.5.3
(a) x2 − 4x + 6
(b) 2x2 + 5x − 7
(c) 20x2 + 33x − 36
2. Factorize:
(a) x2 + 4x − 21
(b) 4t2 + t + 1
(c) 2x2 + 5x + 3
(a) x2 − x − 3 = 0
(b) 4x2 − 8x − 1 = 0
(c) x3 + 4x2 − 8x = 0
59
(d) x4 + 3x2 − 10 = 0
(e) 4x2 − 10 · 2x + 16 = 0
√ √
(f) x − 1 + x + 1 = 2
60
Theorem 3.6.2 (Division Algorithms for Polynomials). If f (x) and gx)
denote polynomials and if g(x) is a polynomial whose degree is greater than
zero, then there are unique polynomial q(x) and r(x) such that
f (x) r(x)
= q(x) + or f (x) = q(x)g(x) + r(x) (3.10)
g(x) g(x)
where r(x) is either the zero polynomial or a polynomial of degree less than
that of g(x).
In equation (3.10), f (x) is the dividend, g(x) is the divisor, q(x) is the
quotient, and r(x) is the remainder.
If the divisor g(x) is of the form
g(x) = x − c c textarealnumber
This has two important consequences, known as the Remainder and Factor
Theorem.
f (c) = (c − c)q(x) + R = R.
1. x + 3
61
2. x − 2
f (x) = (x − c)q(x)
f (x) = (x − c)q(x).
Example 3.6.13. Use the Factor Theorem to determine whether the func-
tion f (x) = 2x3 − x2 + 2x − 3 has the factor
a) x − 1
62
b) x + 3
2x2 + x + 3
x−1 2x3 − x2 + 2x − 3
− 2x3 + 2x2
x2 + 2x
− x2 + x
3x − 3
− 3x + 3
63
Solution. The proof uses the Factor Theorem. If r is a real root of a polyno-
mial f , then f (r) = 0 and, thus, x − r is a factor of f . Each root corresponds
to a factor of degree one. because f cannot have more first-degree factors
than its degree, the result follows.
Solution. Let f (x) = x4 +x3 −3x2 −x+2. Let f (0) = 2 and f (1) = 0. Thus
(x − 1) is a factor. Om division we have f (x) = (x − 1)(x3 + 2x2 − x − 2).
Now if we factorize f1 (x) = x3 + 2x2 − x − 2, we have f1 = −2 and f−1 = 0.
Thus (x + 1) is a factor, and on division
Activity 5.5.4
a) x3 + 2x2 − 5x − 6 = 0.
b) 2x3 − 11x2 + 10x + 8 = 0.
c) x4 − x3 + 2x2 − 4x − 8 = 0.
d) 2x4 + x3 − 24x2 + 20x + 16 = 0.
64
3.7 Inequalities
Definition 3.7.1. We say that a is greater than b (or b is less than a), and
write this as a > b (b < a).
We can deduce the following properties from the two properties (also
known as order axioms) given above:
Reciprocal property
1
9. If a > 0, then a
>0
Transitive property
65
Particular attention should be paid to Property 6 which says multiplying
each side of an inequality by the same negative quantity reverses the direction
(sense) of the inequality. For example, if −x < 5, then (−1)(−x) > (−1)(−5)
or x > 5.
The notation a ≤ b shall mean that a < b or a = b. Similarly b ≥ a
means that b > a or b = a.
Suppose a < b. We shall use the notation a < x < b to mean that x is a
member between a and b. The expression a < x < b is equivalent to the two
inequalities a < x and a < b.
i) An open interval denoted by (a, b), consists of all real numbers x for
which a < x < b, i.e, (a, b) = {x : a < x < b}.
ii) An closed interval denoted by [a, b], consists of all real numbers x for
which a ≤ x ≤ b, i.e, (a, b) = {x : a ≤ x ≤ b}.
iii) The half-open, or half-closed intervals are (a, b], consisting of all real
numbers x for which a < x ≥ b,[ i.e, (a, b) = {x : a < x < b}]
and [a, b), consisting of all real numbers x for which a ≥ x < b,[ i.e,
(a, b) = {x : a ≥ x < b}].
The symbol ∞(−∞) is not a real number, but a notation used to indicate
unboundedness in the positive (negative) direction. Using these symbols we
can define five other kinds of intervals.
[a, ∞) = {x : a ≤ x}
(a, ∞) = {x : a < x}
(−∞, a] = {x : x ≤ a}
(−∞, a) = {x : x < a}
66
(−∞, ∞) = {x : −∞ < x < ∞}
g g - w w -
a b a b
(a, b) [a, b]
g w - w -
a b a
(a, b] [a, ∞)
-
(−∞, ∞)
67
−3 −2
x+3 - + +
x+2 - - +
(x + 3)(x + 2) + - +
Figure 3.2:
−1 0
2x - - +
1+x - + +
2x
+ - +
1+x
Figure 3.3:
2
Example 3.7.8. Solve x < .
x−1
68
2 2 (x + 1)(x − 2)
Solution. Subtract to get x − x+1 < 0, so < 0. The
x−1 x−1
factors in this quotient change sign at −1, 1, and 2, so we must examine
the intervals (−∞, −1), (−1, 1), (1, 2), and (2, ∞). The diagram is shown in
Figure [Link]. The solution set is (−∞, −1) ∪ (1, 2).
−1 0
x+1 - + + +
x−2 - - - +
x−1 - - + +
(x + 1)(x − 2)
- + - +
x−1
69
Activity 5.5.5
a) 3x + 11 < 5
b) 6 − x ≥ 2x + 9
c) 2(7x − 3) ≤ 12x + 16
d) x2 − 3x − 18 ≤ 0
e) 5x2 + 3x ≥ 3x2 + 2
f) (x + 2)(x − 1)(x − 3) ≤ 0
x−3
g) ≥0
x+1
x
h) > 3x
x+1
x+2 x−1
i) <
x+3 x−2
j) x + 4 < 2x − 1 < 5 − 3x
70
Geometrically, |x| is the distance between x and 0, and the distance be-
tween x and y is |x−y|. Thus the distance from −3 to 0 is |−3−0| = |−3| = 3
and the distance from −2 to 5 is | − 2 − 5| = | − 7| = 7. Note then that
|x| = | − x| for all x ∈ R.
Theorem 3.7.1. Let c > 0. Then |x| < c if and only if −c < x < c.
We consider two cases x ≥ 0 and x < 0. For each case we prove the two
parts.
We first consider the case x ≥ 0. Suppose x ≥ 0 and |x| < c. Then by
Definition 3.7.9 |x| = x. Thus if |x| < c, then 0 ≤ x < c and so −c < x < c.
On the other hand, suppose x ≥ 0 and −c < x < c. Then we have
0 ≤ x < c. Since by Definition 3.7.9 |x| = x, we have |x| < c.
We now consider the case x < 0. Suppose that x < 0 and |x| < c. Then
by Definition 3.7.9 |x| = −x. Since |x| < c, we have −x < c. Multiplying by
−1 we get x > −c. Since −c < x < 0, we have −c < x < c.
On the other hand, suppose that x < 0 and −c < x < c. Then by
Definition 3.7.9 |x| = −x. Then we have −c < x < 0 and consequently
0 < −x < c. So |x| < c.
71
|x| < c, c > 0
g g -
−a 0 a
Theorem 3.7.2. If c > 0, then |x| > c if and only if x < −c, or x > c.
Proof. The method of proof is similar to the one of the previous theorem.
g g -
−a 0 a
72
p
Theorem 3.7.3. If x ∈ R, then |x| = (x2 ).
Note that without the restriction that both a and b be positive the result
cannot be true. For example, −4 < 1 but (−4)2 > 12 .
1 1
Example 3.7.14. Solve < .
3x − 1 x−3
Solution. Since |3x − 1| > 0 and |x − 3| > 0 we multiply and get |x − 3| <
|3x − 1|. By Theorem 3.7.4 and 3.7.13,we have x2 − 6x + 9 < 9x2 − 6x + 1,
i.e., 8x2 − 8 > 0. Thus x2 − 1 > 0. So (x + 1)(x − 1) > 0 and hence
(−∞, −1) ∪ (1, ∞).
Activity 5.5.7
a) |5x − 2| < 6
b) |2x − 3| ≥ 2
1
c) | 2x−3 |<5
d) | x−2
3
|<2
e) |x − 9| > 9
73
b) Use the result in 2a) to prove the triangle inequality |a + b| ≤
|a| + |b|. [Hint: Expand |a + b|2 = (a + b)2 .]
c) Prove that |a − b| ≥ |a| − |b|. [Hint: Apply the triangle inequality
from 2b) to |a| = |(a − b) + b|]
d) Use Theorem 3.7.3 to show that |ab| = |a||b|.
[Link] Indices
n
|a · a · a{z· . . . · a} = a
n factors
an am = (a · a · . . . · a) (a · a · . . . · a) = a · a · a{z· . . . · a} = an+m
| {z }| {z } |
n f actors m f actors n+m f actors
Thus
an am = an+m for n, m ∈ N
In word to multiply powers with the same base, we add their exponents. For
example, 43 45 = 48 .
Now if m, n ∈ N and m > n, then
n f actors
n
a · a · ... · a
z }| {
a
m
= =a · a · a{z· . . . · a} = an−m
a |a · a ·{z. . . · a}
|
n−m f actors
m f actors
Thus
an
am
= an−m for n, m ∈ N for m > n, a 6= 0. (3.12)
74
In word to divide powers with the same base, we subtract the exponents. For
39
example, 32
= 37 .
Further if m, n ∈ N, we have
(an )m = (a
| · a ·{z. . . · a})
m
n f actors
= (a · a · . . . · a) (a · a · . . . · a) · · · (a · a · . . . · a)
| {z }| {z } | {z }
n f actors n f actors n f actors
| {z }
m groups of f actors
= (a · a · a · . . . · a) = anm
| {z }
nm f actors
Thus
(an )m = anm for n, m ∈ N for a 6= 0. (3.13)
75
√ √ √
and a is negative n
a will not exist. For example, −3 and 4 −3 are not
real numbers. When n is odd and a is negative, it will exist; for example
√3
−8 = −2, since (−2)3 = −8.
1 √
Definition 3.7.17. If a ∈ R, n ∈ N, then a n = n a, provided the right-hand
side exists.
√ √
Note that n a = x means xn = a. If n is even and a > 0, n a is defined
√
to be the positive real solution to the equation xn = a. Thus 16 is defined
to be 4 and not ±4. But if x2 = 16 then x = ±4. This so because x = 4 and
x = −4 both satisfy the equation x2 = 16.
m 1
It follows from the definition that if m, n ∈ N, then a n = (am ) n =
p
n
(am ), provided the nth root exist.
The exponents also satisfy the following properties:
a) (ab)n = an bn
an
b) ( ab )n = bn
(provided 6= 0)
76
√ √ √ √ √ √ √
Solution. 8 + 50 + 32 = 2 2 + 5 2 + 4 2 = 17 2
Activity [Link]
1. Simplify
322 · 643
a)
1285 · 16
!3 !
a2 b−3 x−2 b−1
b) 3 1
x−1 y 2 a2 y 3
2. Simplify
√ √ √
a) 125 − 45 + 75
√ √ √
b) 3 24 − 3 81 + 3 108
3. Solve for x:
1
a) 2x+1 = 64
[Link] Logarithms
77
• one hour there are 1000 × 2 bacteria
and so on.
Following the pattern, if N is the population after n hours then
N = 1000 × 2n .
If we ask the question, when is the population equal to 1000, then we need
to solve 2n = 100 to find the time. How do we solve the equation 2n = 100?
Since 23 = 8, we say that log2 8 = 3. This is read as ’the log of 8 to the
base 2 is 3’. To find the logarithm of a number to the base b, we ask the
question ’What power do I raise b to, in order to obtain a?’
We formally define the logarithm.
In word, loga x is the power to which the base a must be raised to give x.
For example,
81 = 34 then log3 81 = 4
78
Theorem 3.7.5. Let a > 0 and x, y > 0. Then
c) loga xb = b loga x
More generally,
Sometimes a logarithm is written without a base, like this;log 100. This means
that the base is really 10. It is called a common logarithm. Common loga-
rithms can be evaluated using a scientific calculator. Engineers love to use it.
Another base that is often used is e (eulers number) which is approximately
2.71828. This is called a natural logarithm. Mathematicians use this one a
lot.
There are many occasions when we want to change from one base to
another. For example, to find log4 54 we can change from base 4 to base 10
where the calculator can be used.
79
Theorem 3.7.6 (Change of Base Theorem). If x > 0 and a, b > 0 then
loga x = log bx
log a
.
b
Proof. Let y = loga x. Then x = ay . Taking logb of both sides, then logb x =
logb ay = y logb a. Hence y = log bx
log a
. That is loga x = log bx
log a
.
b b
1
Corollary 3.7.23. If a, x > 1 then loga x = logx a
.
80
Activity [Link]
1. Simplify
81
Chapter 4
INTRODUCTION TO
COMBINATORICS
4.1 Introduction
This unit introduces the fundamental counting principle which involves find-
ing number of possible ways an event can happen. A formal definition of
permutation as an ordered arrangement is presented alongside combinations
which are unordered collections. Then the discussion proceed with Pascal’s
triangle and then the binomial theorem which are the applications of the
combination concept.
4.2 Objectives
82
c) Determine the number of distinguishable permutations in the letter of
word by determining the number of letters in word that repeat.
In many real-life problems you want to count the number of possibilities. For
instance, suppose you own a small restraint. You offer four types of relish
(beef, chicken, fish and eggs) and three types of main dish meals (nsima, rice
and chips). How many choices do your customers have for a meal?
The problem above can be done by using the fundamental counting prin-
ciple. Because you have 4 choices for relish and 3 choices for main meal, so
the total number of choices is 4 · 3 = 12.
83
Definition 4.4.1. ( The fundamental Counting Principle states that) Let
E1 , E2 , . . . , Ek be a sequence of K events. If for each i, Ei , occurs in m ways,
then the total number of ways the events may take place is the product
m1 , m2 , . . . mi .
84
ways Ei can occur, for i = 1, 2, 3 and 4> It follows that m1 = 60, m2 = 40,
m3 = 98, and m4 = 97. (why?). By the fundamental Counting Principle,
the number of possibilities is 60 · 40 · 98 · 97 = 22, 814, 400.
Solution. There are 4 places and each can be filled in 5 ways with 5,2,3,7,or
8. 54 = 625 numbers ca be formed. 2.5 Factorial This
is a way to determine how many ways you can arrange items. The following
examples show how to use it>
Example 4.4.5. : How many ways can you arrange the letters in the word
BUNDA without repetition of a letter.
Solution. The basic idea is, we can have 5 objects (letters) and the 5 possible
positions they can occupy, as shown below.
Example 4.4.6. : How many ways can eight different books be arranged?
Solution. We can approach this question in the same way as the previous
one, but there is a shorter way. The factorial function on the calculator
performs this calculation. Factorial function is denoted, ! l.e. n! where n
stands for number of items. Hence, 8! = 8 · 7 · 6 · 5 · 4 · 3 · 2 · 1 = 40320
2. 0! = 1.
1 1 x
Example 4.4.8. If + = , find x.
8! 9! 10!
85
Solution.
1 1 x
+ =
8! 9! 10!
1 1 x
Therefore 1+ = since (9! = 9 · 8!)
8! 9 10!
1 10 x
=
8! 9 10!
10(10!)
x =
9 · 8!
10 · 10 · 9!
=
9!
Hence x = 100
4.5 Permutations
L = {A, B, C, D, E}
The set of letters in the string ABCD can arrange themselves in a row in
5! = 120 different ways. A basics question would be, how many ways can
three letters be chosen fro set L if a letter would be chosen only once? The
question can be paraphrased in general as follows: How many arrangements
are there of five things taken three at a time? The answer by the fundamental
principle of counting is: 5 · 4 · 3 = 60. The factors begin with 5 and proceed
downward, just as in a factorial product, but do not all the way to 1. (In this
example the product stops when there are three factors). We now generalize
this idea.
A permutation is “a re-arrangement of elements of a set". This means
that any duplication of the collected elements in different orders is fine. A
permutation therefore tends to be a large number.
Example 4.5.1. : Taking the 4 letters, ABCD, write down all the permu-
tations of 3 letters from the 4 letters ABCD
86
Solution. There are different arrangement of 3 letters that can be generated
from the letters ABCD, which are
n!
P (n, r) =
(n − r)!
So from the above example, the number of choosing 3 letters from the 4
letter, ABCD, can be calculated as:
4! 4! 4·3·2·1
P (4, 3) = = = = 24
(4 − 3)! 1! 1
87
4!
a) P (4, 2) = = 4 · 3 = 12
(4 − 2)!
8!
b) P (8, 5) = = 8 · 7 · 6 · 5 · 4 = 6720
(8 − 5)!
5!
c) P (5, 5) = = 5 · 4 · 3 · 2 · 1 = 120
(5 − 5)!
Example 4.5.3. : Find r if P (5, r) = P (6, r − 1)
Solution.
5! 6!
=
(5 − r)! (7 − r)!
(7 − r)! 6 · (5!) (5 − r)!
= = 6 ⇒ (7 − r)(6 − r) =6
(5 − r)! 5! (5 − r)!
r2 − 13r + 42 = 6
r2 − 13r + 36 = 0 ⇒ r = 9 or 4
2. Order is important
Example 4.5.4. : How many different 4 letter “words" can you make from
the word DAFFODIL?
88
Example 4.5.5. : How many nonrepeating 3-digit numbers can be written
using digits from then set {3,4,5,6,7,8}?
Solution. Repetitions are not allowed, since the numbers are to be nonre-
peating, for example, 663 is not acceptable. Also, order is important, since
476 and 746 are distinct cases. So we use permutations
6!
P (6, 3) = = 6 · 5 · 4· = 120 distinct numbers
(6 − 3)!
Example 4.5.6. How many different 4 letter “words" can you make from
the word DAFFODIL?
89
4.5.3 Distinguishable Permutation
In indistinguishable objects are simply items (letters) that are repeated in the
original set> For example, if the word MOM was used to form permutations,
the two M’s are indistinguishable from one another since they repeat. Using
MOM some of the arrangements would be duplicates of one another because
of the repeating M. If we are interested in unique arrangements, we must
deal with any letters (objects) that repeat in the original set.
is;
n!
n1 ! · n2 ! · · · nk !
Notice that, n = n1 + n2 + · · · + nk
Example 4.5.8. : How many different 5-letter words can be formed from
the word; APPLE?
5P5 5·4·3·2·1 120
Solution. = = = 60 words
2! 2·1 2
Example 4.5.9. : Find the number of distinguishable permutations of the
letters in the word; MISSISSIPPI
90
4.5.5 Circular Permutation
So far we have linear permutations> The basic difference between linear per-
mutations and circulations is that every linear arrangement has a beginning
and end, but there is nothing like beginning or ending in circular permuta-
tion. Thus in circular permutations, we consider one object as fixed and the
remaining objects are arranged as in case of linear arrangement.
4.6 Combinations
n
at a time, where, k ≤ n, denoted, C(n, k) or nCk or k
or Ckn is given by:
91
Combining this formula with the factorial formula for permutations gives
a way of also evaluating combinations entirely in terms of factorials.
n!
P (n, k) (n − k)! n!
C(n, k) = = =
k! k! k!(n − k)!
P (n, k) n!
C(n, k) = =
k! k!(n − k)!
So from the above example, the combination of 3 letters chosen from the
string of 4 letters, ABCD is:
4! 4! 4·3·2·1
C(4, 3) = = = =4
3!(4 − 3)! 3!1! 3·2·1·1
Example 4.6.1. : Evaluate each combination
a) C(8, 6)
b) C(22, 5)
8! 40, 320
Solution. a) C(8, 6) = = = 28
6!2! 720 · 2
22!
b) C(22, 15) = = 170, 544
15!7!
92
Example 4.6.2. Find the number of different subsets of size 2 drawn from
the set {a, b, c, d}. Subset of size 2 must have distinct elements, so repetitions
are not allowed. And since the order in which the elements of a set are listed
makes no difference, we see that order is not important. Use the combination
formula with n = 4 and k = 2.
Solution.
P (4, 2) 4! 4·3·2·1 4·3
C(4, 2) = = = = =6
2! 2!(4 − 2)! 2·1·2·1 2·1
C(n, k) = C(n, n − k)
93
4.6.4 Guidelines for Choosing a Counting Method
Example: How many ways can three of eight people line up at a ticket
combination.
12
12 · 11 · 10
C(12, 3) = 3
= = 220
3·2·1
94
Permutation Combination
Number of ways of selecting r items out of n items
Repetitions are not allowed
Order is important Order is not important
Arrangement of n items taken r at a time Subsets of n items taken r at a time
P (n, r)
P (n, r) = n(n − 1)(n − 2) · · · [n − (r − 1)] C(n, r) = nr =
r!
n! n(n − 1)(n − 2) · · · (n − r + 1)
= =
(n − r)! r(r − 1)(r − 2) · · · 2 · 1
n!
=
r!(n − r)!
Clue words: arrangement, schedule, orderClue words: set, group, sample, selection
Activity One
2. A multiple-choice quiz has five questions with the answer choices la-
beled A, B, C and D for each question. In how many ways can the five
questions be answered?
4. Suppose 7 students are staying in a hostel and they are allotted 7 beds.
Among them, Fwipi does not a bed next to Majoti because Majoti
snores. Then in how many ways can the beds allowed?
5. In how may ways can an animal trainer arrange 5 lions and 4 tigers in
a row so that no two lions are together?
95
7. In some states, the license plate of a car consists of three letters followed
by three digits.
8. How many different 7-digit telephone numbers are possible if the first
digit cannot be zero and no digit may repeat?
10. How many ways can 5 people sit on a park bench if the bench can only
seat 3 people?
11. Dan has installed a stalled in his room to display some of his trophies.
However Dan has 15 trophies he can display but the shelf only has
space for 8 trophies. How many display arrangement are possible?
a) 5Pr4 = 6Pr−1
5
96
2n n
c) 3
÷ 2
= 12
n n
15. if r−1
= 36, r
= 84, n{r + 1 = 126, find n and r.
17. Thoko has 3 T-Shirts (red, white, yellow); 2 pairs of jeans (black, blue)
and 2 pairs o shoes (sneaker, Sandals). How many different outfit
combinations can she put together?
18. How many arrangements of the letters in the word SQUARE begin
with SQ?
20. In how many ways can you choose 5 out of 10 friends to invite to a
dinner party?
n n−1 n−1
21. Suppose 1 ≤ r ≤ n. Then prove that: r
= r
+ .
97
4.7 Pascal’s Triangle
1 1
Then we generate new rows to form a triangle of numbers. Each row must
begin and end with 1.
• • • • 1 • • • •
• • 1 • ∗ • 1 • •
• 1 • ∗ • ∗ • 1 •
1 • ∗ • ∗ • ∗ • 1
The remaining numbers in each row are calculated by adding together the
two numbers in the row above which lie above-left and below right. So adding
the two 1’s in the second row gives 2, and this number goes in the vacant
space in the third row. The vacant spaces in the fourth row are each found by
adding together the two numbers in the third row down which lie above-left
and above-right. We can continue to build up the triangle in this way to
98
write down as many rows as we wish. This gives;
• • • • • 1 • • • • •
• • • 1 • 2 • 1 • • •
• • 1 • 3 • 3 • 1 • •
• 1 • 4 • 6 • 4 • 1 •
1 5 • 10 • 10 • 5 • 1
You may try to generate Pascal’s triangles for the sixth, seventh, eighth and
ninth rows.
Example 4.7.1. : Use the Pascal’s triangle to expand the binomial expres-
sion.
a) (2x + y)3
b) (1 + p)4
c) (3a − 2b)5
99
c) To expand (3a − 2b)5 , we pick the relevant row of the Pascal’s triangle
beginning, 1,5; which is 1,5,10.10,5,1. So the expansion will be:
Proof. The proof uses mathematical induction. For each positive integer
n, let Pn denote the statement given in the Binomial Theorem. Step (i) If
n = 1, the statement reduces to (a + b)1 = a1 + b1 . Thus P1 is true
Step (ii) Assume that, Pk is true, for k ∈ N. Then the induction hypothe-
k(k − 1) k−2 2 k(k − 1)(k − 2) · · · (k − r + 2) k−r+1 r−1
sis is (a+b)k = ak +kak−1 b+ a b +· · · + a b
2! (r − 1)!
100
k(k − 1)(k − 2) · · · (k − r + 1) k−r r
a b +· · ·+kabk−1 +bk Where we have shown
r!
both the rth and (r + 1)th terms in the expansion. If we multiply both sides
of the equation by (a + b), we obtain:
h k(k − 1) k−1 2 k(k − 1)(k − 2) · · · (k − r + 1) k−r+1 r
(a + b)k+1 = ak+1 + kak b + a b + ··· + a b
2! r!
2 k−1
i h k(k − 1)(k − 2) · · · (k − r + 2) k−r+
+ · · · + ka b + ab + ak b + kak−1 b2 + · · · +
k
a
(r − 1)!
i
+ · · · + kabk + bk+1
Where the terms in the first pair of brackets result from multiplying the right
side of the hypothesis by a and the terms in the second pair of brackets result
from multiplying by b. Rearranging and combining terms we have:
h k(k − 1) i
k+1 k+1 k
(a + b) =a + (k + 1)a b + + ak−1 b2 + · · ·
2!
h k(k − 1)(k − 2) · · · (k − r + 1) k(k − 1)(k − 2) · · · (k − r + 2) i
+ + ak−r+1 br + · · ·
r! (r − 1)!
+ (1 + k)abk + bk+1
The formula above represents a finite series, since it stops after a finite
number of terms and the last term is bn .
Solution. We use the theorem, replacing a with 1 and b with (−x) and
letting n = 3
3(3 − 1) 3(3 − 1)(3 − 2)
(1 − x)3 = 1 + 3(−x) = (−x)2 + (−x)3
2! 3!
= 1 − 3x + 3x2 − x3
Example
4.8.2.
10 : Find the first four terms in ascending order of the expan-
1
sion 1 + y
3
101
Solution. Letting n = 3. This gives:
10 y 10(10 − 1)(10 − 2) y 3
1
1+ y = 1 + 10 + + ···
3 3 3! 3
y 40
= 1 + 10 + 5y 2 + y 3 + · · ·
3 9
Example 4.8.3. : Find the first three terms in ascending order of the ex-
pansion (w − 5z)14 .
14(13) 12
(w − 5z)14 = w14 + 14w13 (−5z) + w (−5z)2 + · · ·
2!
14 13 12 2
= w − 70w z + 2275w z − · · ·
14 70 2275 2
=w 1 − z + 2 z − ···
w w
102
Chapter 5
FUNCTIONS
5.1 Introduction
In our everyday life we come across different types of relations between the
objects. The concept of relation has been developed in mathematical form.
The word function was introduced by Leibnitz in 1694. Function is a special
type of relation. Each function is a relation but each relation is not a function.
In this chapter we shall discuss relation between two sets, the conditions
under when a relation becomes a function, different types of function and
their properties.
5.2 Objectives
103
e) draw the graph of functions.
h) define and give examples of functions like modulus function, the great-
est integer function, polynomial functions, logarithmic and exponential
functions.
Relation, Function
5.4 Relation
104
R = {(Mary, David), (Alice, David), (Sandra, Ivan), (Farida, Musa}
Clearly R ⊆ A × B, i.e. R = {(a, b) : a ∈ A, b ∈ B and aRb}
If A and B are two sets then a relation R from A to B is a sub set of A × B.
If
If R is a relation between two sets then the set of its first elements of all
the ordered pairs of R is called Domain and set of second elements of all the
ordered pairs of R is called range, of the given relation.
Consider previous example given above.
Domain = { Mary, Alice, Sandra,Farida}
Range = {David, Ivan, Musa}
We can represent this relation diagrammatically as below.
# #
Mary w wDavid
Alice w
wIvan
Sandra w
Farida w wMusa
"! "!
105
find
(i) R,
(ii) Domain of R,
(iii) Range of R,
Solution. (i) R = {(2, 2), (4, 2), (6, 2), (6, 3)},
(iv) R is as below:
# #
2 w w2
4 w
5 w
6 w
w w3
7
"! "!
Activity 5.4
Find
(i) R
106
(ii) Domain of R
(iii) Range of R .
Find
(i) R
(ii) Domain of R
(iii) Range of R .
5.5 Functions
# #
f
a w - w1
w2
b w -
w3
c w
-
w4
d w - w5
"! "!
A B
107
a) b)
X Y X Y
# # # #
1 w w2 1 w -
- w3
w4
w w w
2 -
-1 2 -
w-1
R
3 w w4 3 w - w2
108
Solution. a) This relation is defined by the set of ordered pairs
{(1, 4), (2, −1), (3, 2)} . Notice that for each x in the domain there is
only one corresponding y in the range. Therefore, this relation is a
function.
a) {(1, −2), (3, 7), (4, −6), (8, 1)}, A = {1, 3, 4, 8}, B = {−2, 7, −6, 1, 2}
b) {(1, 0), (1, −1), (2, 3), (4, 10)}, A = {1, 2, 4}, B = {0, −1, 3, 10}
Solution.
(b) It is not a function. Because first two ordered pairs have same first
elements.
a) y = 3x + 2
b) y < x + 3
c) y = 2x2 + 1
b) For any real value of x we get more than one real value of y. Therefore
it is not a function.
c) For any real value of x, we will get a unique real value of y. Therefore
it is a function.
109
Activity 5.5
X Y
# #
2 w - w12
6 w -
w
13
-
7 w w10
"! "!
(a) {(1, −2), (3, 7), (4, −6), (8, 11)}, A = {1, 3, 4, 8}, B = {−2, 7, −6, 11}
(b) {(1, 0), (1, −1), (2, 3), (4, 10)}, A = {1, 2, 4}, B = {1, 0, −1, 3, 10}
(c) {(a, 2), (b, 3), (c, 2), (d, 3)}, A = {a, b, c, d}, B = {2, 3}
(a) y = 2x + 1
(b) y > x + 3
(c) y = x2 + 1
110
that results when x is given and the function f is applied; f (x) is the output
corresponding to x or the image of x.
Sometimes it is helpful to think of a function as a machine. If x is in
the domain of the function f , then when x enters the machine, it is accepted
as an input and the machine produces an output f (x) according to the rule
of the function. Thus, we can think of the domain as the set of all possible
inputs and the range as the set of all possible outputs.
A function may be evaluated at different values of x by substituting x-
values from the domain into the function.
1
(a) y =
x
1
(b) y =
(x + 2)(x − 3)
111
Solution. (a) Here we can see that x can take all real values except 0
because the corresponding image, i.e., 10 is not defined.
Therefore Domain R − {0}[Set of all real numbers except 0]
Note : Here range =R − 0.
Activity 5.5.2
2x + 1
1. Let f (x) = 3x2 +2x−4, and f (x) = . Find f (0), f (−1), −f x, f (2x), f (x+
3x − 5
1), f (x + h).
(a) y = 9x + 3
(b) y = x2 + 5
112
1
(c) y = 3x−1
1
(d) y = (x−3)(x−5)
√
(e) y = 6−x
p
(f) y = (x − 3)(x − 5)
X Y X Y
# # # #
a w -f w1 f
a w - w1
b w w
-
-
2 w
b w2
w w3 -
c c w
-
113
Solution. Now 1 6= −1, but f (1) = f (−1). This means that f is not one-to-
one.
We can draw the graph of f . Then f will be one-to-one if and only if each
horizontal line cuts the graph of f at most once.
y
6
-
-1 1 x
X Y X Y
# # # #
a w -f w1 a w -f w1
w2
w
b w w
-
b w3
-
2
c w - w4 c w - w3
Solution. We must show that for any value of y there exists a value of x
such that f : x → y. Let y = f (x). We have y = 3x+2 or x = y−23
. Therefore
for each y there exists x such that f : x → y. Thus f is onto.
114
Example 5.5.12. Prove that the function defined by f (x) = x2 + 1 is not
onto.
-
x
y y
6 6
- -
x x
Activity 5.5.3
115
a) f : R → R defined as f (x) = 115x + 49
b) f : R → R defined as x2 + 3
a) f : R → R defined as x2 + 3
b) f : N → N defined as x2 + 2x
y
6
y
6
- -
x x
a) f (x) = x2 − 3
b) g(x) = x3 − 2
116
c) h(x) = 2x3 − x
Activity 5.5.4
1. f (x) = 2x4 − x2
2. f (x) = 3x3 + 5
x
3. h(x) =
x2 −1
√
4. h(x) = x
5. f (x) = x − x3
117
A B C
# # #
(f ◦ g)(x) = f (g(x))
= f (x2 + 2)
= 3(x2 + 2) + 1
= 3x2 + 7
118
and
= g(3x + 1)
= (3x + 1)2 + 2
= 9x2 + 6x + 3.
(g ◦ g)(x) = g(g(x))
= g(x2 + 2)
= (x2 + 2)2 + 2
= x4 + 4x2 + 6
(f ◦ f )(x) = f (f (x))
= f (3x + 1)
= 3(3x + 1) + 1
= 9x + 4.
√
Example 5.5.16. If f (x) = x2 + 3 and g(x) = x + 2, find f ◦ g and g ◦ f.
119
Solution.
(f ◦ g)(x) = f (g(x))
√
= f ( x + 2)
√
= ( x + 2)2 + 3
=x+5
Activity 5.5.5
a) f (x) = x2 − 4, g(x) = 2x + 5.
1
b) f (x) = x2 + 2, g(x) = 1 − 1−x
, x 6= 1.
120
X Y
# #
x f y
w - w
-
f −1
"! "!
X Y Y X
# # # #
−1
a w -f w1 1 w -f wa
b w - w2
2 w -
-
w
b
-
c w w3 3 w wc
121
In the diagram above, f −1 does not represent a function, because element
3 of set Y is not associated with any element of X. Also note that the element
2 of Y does not have a unique image. To get around this problem we need
the following results:
i) g −1 (g(x)) = x;
iii) (g −1 )−1 = g.
Example 5.5.20. Let f (x) = x+3 and g(x) = x2 . Find (f ◦g)(x), g −1 (f −1 (x))
and (f ◦ g)−1 (x).
√
Solution. Let y = g −1 (x); x = g(y) = y 2 . Hence y = x = g −1 (x), x > 0.
(f ◦ g)(x) = f (x2 ) = x2 + 3.
√
g −1 (f −1 (x)) = g −1 (x − 3) = x − 3, x ≥ 3.
Now let (f ◦ g)−1 (x) = y, i.e (f ◦ g)(y) = x. So x = y 2 + 3 and so y =
√
x − 3 = (f ◦ g)−1 (x).
122
Theorem 5.5.3. If f and g are both one-to-one and onto then (f ◦ g)−1 =
g −1 ◦ f −1 .
f (x) = x2 f (x) = x2
y y
6
6
1 1
-
-1 1
-
1 x
x
123
Activity 5.5.5
a) f (x) = 1 − 3x
b) f (x) = x3 − 1
2
c) g(x) =
3+x
x+1
d) g(x) = , x 6= 0.
x
2
2. Let f and g be defined by f (x) = 3x − 7 and g(x) = , x 6= 0.
x
a) (f ◦ g)(x)
b) f −1 (x)
c) g −1 (x)
d) (g ◦ f )(x)
124
5.5.7 Graphs of Functions
y y
y = 2x + 2
6 6
y=4
- -
x x
125
y
y = x2
6
-
x
y
6 e(2, 4)
-
2 x
e -2
We recall that
x if x ≥ 0
|x| =
−x if x < 0.
Note that if y = |x|, y ≥ 0 for all x ∈ R. So the point (0, 0) lies on the
graph. If x ≥ 0, then y = x and the graph is part of the line y = x, if x < 0,
then y = −x and the graph is part of the line y = −x.
126
y
y = |x|
6
-
0 x
The domain of the step function is the set of real numbers while the range
is the set of integers.
127
• two hours there are 1000 × 2 × 2 = 1000 × 22 bacteria
and so on.
Following the pattern, if N is the population after n hours then
N = 1000 × 2n .
1000
-
0 x
128
This example lead us to consider functions of the form f (x) = ax , called
exponential functions.
x -2 -1 0 1 2 3
1 1
3x 9 3
1 3 9 27
1 1
2x 4 2
1 2 4 8
1x 1 1 1 1 1 1
3−x 9 3 1 1
3
1
9
1
27
y
−x
y=3 6y = 3x y = 2x
y = 1x
1
-
0 x
129
Note that ax > 0 for all x.
y
6y = 3x
y=x
1 y = 3−x
-
0 1 x
130
Activity 5.5.7
a) y = −2;
b) x = −3;
c) x = y;
d) y = 3x − 2;
e) 3x − 2y = 6.
a) y = |x + 1|
b) y = [[x]] − 2.
a) y = 2−x ;
b) y = 4x ;
c) y = 1 + 3x ;
131
d) x = log2 y;
e) x = log4 x2 .
132
Chapter 6
GRAPHS AND
INTERPRETATION
6.1 Introduction
This unit discusses about the graphs of different functions and how different
graphs can be transformed to new ones. The main graphical transformations
of horizontal and vertical shifts are elaborated besides the horizontal and
vertical stretch and compression of different graphs. In the discussion the
transformation are applied on polynomial, trigonometric, modulus, logarith-
mic and exponential functions as well as greatest integer function and conics.
An outline of each of these functions is given prior to graphing the function.
6.2 Objectives
133
c) understand how complicated functions can be built up from transfor-
mations of simple functions.
134
means “x becomes large in the negative direction" For any polynomial,
the end behavior is determined by the term that contains the highest power
of x.
135
Solution. (a) b = 1, hence the y-intercept is (0, 1). The slope m = 2, so
the line rises 2 units for each unit. The line rises to the right, as shown
in figure (a)below.
The slope m of a line passing through two points (x1 , y1 ) and (x2 , y2 ) is
y2 − y1
m=
x2 − x1
Where x2 6= x1
136
ratio:
y − y1 y2 − y1
= = m → y − y1 = m(x − x1 )
x − x1 x2 − x1
This equation is called the Point-Slope Form of the Equation of the Line.
Example 6.4.3. : Find the slope of the line passing through each pair of
the points.
Solution. a) Letting (x1 , y1 ) = (−1, 2) and (x2 , y2 ) = (2, 2), the slope is,
2−2
m= =0
2 − (−1)
b) Letting (x1 , y1 ) = (0, 4) and (x2 , y2 ) = (1, −1), the slope is, m =
−1 − 4
= −5
1−0
Example 6.4.4. Write the linear function f for witch, f (1) = 3 and f (4) =
0.
Solution.
y2 − y1 f (1) − f (4) 3−0 3
m= = = = = −1
x2 − x1 1−4 1−4 −3
Writing the point-slope form of the equation of a line:
y − y1 = m(x − x1 )
y − 3 = −1(x − 1)
f (x) = −x + 4
1. Two nonvertical lines are parallel if and only if their slopes are equal.
that is , m1 = m2 .
2. Two nonvertical lines are perpendicular if and only if their slopes are
1
negative reciprocals of each other. That is, m1 = −
m2
137
Example 6.4.5. : Find the slope intercept forms of the equations of the
lines that pass through the point (2, −1) and are (a) parallel to and (b)
perpendicular to the line 2x − 3y = 5.
2 5 2
Solution. In slope-intercept form, the equation is, y = x− , clearly m =
3 3 3
(a) So the line that is passing through (2, −1) and is parallel to 2x−3y = 5
2
has the slope m = . Now we can find the equation of this line by,
3
2
y − (−1) = (x − 2)
3
2 4
y = x− −1
3 3
2 7
Thus y = x−
3 3
2
(b) Any line perpendicular to 2x − 3y = 5, has the slope of − . So if such
3
a line passes through (2, −1) its equation is given by,
2
y − (−1) = − (x − 2)
3
2
Thus y =− x+2
3
138
(a) f (x) = 3x4 − 2x2 + 5 (b) g(x) = 2x5 − 2x3 + 5x
(b)
The graph of y = f (x) is symmetric with respect to the y-axis i for any point
(x, y) on the graph, the point (−x, y) is also on the graph. In other words,
f (−x) = f (x), for all x in the domain of f . Thus even functions graphs are
symmetric about the y-axis.
The graph of y = f (x) is symmetric with respect to the origin, if for any
point (x, y) on the graph, the point (−x, −y) is also on the graph> In other
words, F (−x) = −f (x), for all x in the domain of f . Thus odd functions
graphs are symmetric about the origin.
139
[Link] Symmetry with Respect to the x-axis
The graph of an equation is symmetric with respect to the x-axis, if for every
point (x, y) on the graph, the point (x, y) is also in the graph. Illustration of
three symmetries
If a > 0, the graph of f (x) = ax2 +bx+c, is a parabola that opens upwards. If
a < 0, the graph of f (x) = ax2 + bx + c, is a parabola that opens downwards.
140
The simplest form of a quadratic function is: f (x) = ax2 . The graph i
a parabola whose vertex is (0, 0). If a > 0, the vertex is the point with the
minimum y−value on the graph and if a < 0, the vertex is the point with
the maximum y-Value on the graph.
The other effect of a is the dilation of the graph. When sketching the
graph of f (x) = ax2 , it is helpful to use the graph of f (x) = x2 as a reference.
We shall consider the case where a > a only for argument sake. If 0 < a < 1
the graph of f (x) = ax2 flattens out by a factor of a and is wider than the
graph of f (x) = x2 . On the other hand if a > 0 and a > 1 the graph of
f (x) = ax2 steepens by a factor of a.
1
(a) f (x) = x2 (b) f (x) = 2x2
3
1 2
Solution. (a) Comparing f (x) = x with f (x) = x2 , it means we are
3
1
multiplying the values of y by a factor of , so the graph widens up.
3
(b) Similarly comparing f (x) = 2x2 with f (x) = x2 , it means we are
multiplying the value of y by a factor of 2, so the graph is narrower
parabola.
Note 1. Note that the coefficient a determines how widely the parabola
given by f (x) = ax2 opens. If |a| is small, the parabola opens more widely
than if |a| is large.
141
[Link] Transformation of Quadratic Graphs and symmetry
(b) To realize the graph of g(x) = (x + 2)2 − 3 from the graph of f (x) = x2
we carry out left shift by 2 units and then downward shift by 3 units.
142
[Link] Standard Form of a Quadratic Function
143
by solving the equation, ax2 + bx + c = 0. If ax2 + bx + c does not factor,
you can use the quadratic formula to find the x-intercept. Notice that it is
possible for a parabola not to have x-intercept.
a) The vertex
b) The x-intercepts
Solution
f (x) = −x2 + 6x − 8
= −[(x − 3)2 + 8 − 9]
= −(x − 3)2 + 1
144
b) To determine the x-intercepts we solve, −x2 + 6x − 8 = 0.
−x2 + 6x − 8 = 0
−(x2 − 6x + 8) = 0
x2 − 6x + 8 = 0
(x − 2)(x − 4) = 0
Solution. Since the standard form is: f (x) = a(x − h)2 + k, where the
vertex is (h, k). Then the equation has the form f (x) = a(x − 1)2 + 2.
Because the parabola passes through (3, 6), it means that f (3) = −6 Thus
for, f (x) = a(x − 1)2 + 2, we have
145
[Link] The Minimum and Maximum Values of Quadratic Func-
tions
−b
1. If a > 0, f has a minimum at x = The minimum value of f is
2a
−b
f
2a
−b
2. If a < 0, f has a maximum at x = The maximum value of f is
2a
−b
f
2a
Activity One
1. Each pair of points listed below determines the graph of a linear func-
tion. For each pair give the following:
2. For each pair of point in (1) above determine the slope-intercept form
of the equation of the line between the points.
3. The population of a city increases from 23, 400 to 27, 800 between 2002
and 2006. Find the rate of change of the population during this time
span.
146
4. Sketch a graph for each function on a separate set of coordinate axes.
2
a) y = 1 + x c) y − 3x = 4
3
b) y = 2x − 3 d) 2x − y = 6
5. Give the equation of the line passing through the point (1, −5) that is
parallel to y = 12 − 8x.
6. Give the equation of the line passing through the point (−12, −1) that
2
is perpendicular to y = x = 1.
5
7. Sketch the graph of each function. Compare the graph of each function
with the graph of y = x2 .
1
a) f (x) = x2 c) h(x) = (x − 1)2 e) f (x) =
3
1
− (x + 1)2 + 1
3
b) g(x) = −2x2 d) k(x) = (3x)2 + 2 f) g(x) =
2
[−2(x + 1)] + 4
8. Identify the vertex, axis of symmetry, and x-intercept for the following
quadratic function and then sketch their graphs.
1
a) f (x) = −(x2 + 2x − 3) c) f (x) = x2 − 5 e) f (x) =
2
2
2x − x + 1
3 2
b) f (x) = −4x2 + 24x − 41 d) f (x) = (x + 6x − 5) f)
5
7
f (x) = (x2 + 12x − 45)
10
9. Write the standard form of the equation of a parabola that has the
indicated vertex and whose graph passes through the given point.
147
10. Find two quadratic functions, one that opens upward and one that
opens downward, whose graphs have the given x-intercepts. (there are
many correct answers).
a) (1,
0), (3,
0) c) (−5, 0), (5, 0) e) (−3, 0),
1
− ,0
2
5
b) − , 0 , (2, 0) d) (0, 0), (10, 0) f) (4, 0),
2
(8, 0)
148
d. f (x) = axn → −∞ as x → ∞ a < 0
Example 6.4.14. : Basic Power function graphs (parent graphs), for n even
and odd.
149
[Link] Turning Points and Intercepts
a. Turning Points The turning point is the point where function changes
direction from increasing to decreasing of from decreasing to increasing.
If a function has a degree of n, then it has at most n − 1 turning points.
On the other hand, if the graph of a polynomial function has t number
of turning points, then the function has at least a degree of t + 1.
b. Intercepts Intercepts are points where the graph crosses the axes.
The x-intercept is the point where y = 0 l.e. f (x) = 0 whereas the y-
intercept is the point where x = 0 l.e. f (0). For f (x) = xn a polynomial
of degree n, it has at most n intercepts.
Example 6.4.15. : What is the most number of turning points the following
polynomial functions could have?
a) f (x) = 5x + 2x − 6x3 + 3
a) For f (x) = 5x+2x2 −6x3 +3, most number of turning points is 3−1 = 2
150
b) For g(x) = 4x3 + 6x11 − x10 + x12 , most number of turning points is
12 − 1 = 11
1. c is a zero of P (x).
3. x − c is a factor of P (x).
If P (x) is a polynomial function and P (a) and P (b) have opposite signs, then
there exists at least one value c between a and b for which P (c) = 0.
2. Find the zeros of the function by solving f (x) = 0. Any real zeros are
the first coordinates of the x-intercepts.
3. Use the x-intercept (zeros) to divide the x-axis into intervals and choose
a test point in each interval to determine the sign o all function values
in that interval.
151
5. If necessary, find additional function values to determine the general
shape of the graph and then draw the graph.
6. As a partial check use the fact that the graph has at most n − 1 turning
points. Multiplicity of zeros can also be considered in order to check
where the graph crosses or is tangent to the x-axis. Then sketch a
smooth curve passing through the points and having the required end
and behavior.
Solution. 1. The leading term is 2x3 . The degree, 3, is odd, the coeffi-
cient, 2, is positive. Thus the end behavior of f is; f → ∞ as x → ∞
and f → −∞ as x → −∞.
2x3 + x2 − 8x − 4 = 0
x2 (2x + 1) − 4(2x + 1) = 0
(2x + 1)(x2 − 4) = 0
(2x + 1)(x − 2)(x + 2) = 0
1 1
The zeros are: − , −2 and 2. Thus the x-intercept are − , 0 ,
2 2
(−2, 0) and (2, 0).
1
3. The zeros divide the x-axis into four intervals: (−∞, −2), −2, − ,
2
1
− , 2 and (2, 0). We choose a test value for each interval and find
2
f (x).
152
Interval test Value, x Function Value, f (x) Sign of f (x) Location of points
on graph
f (x) = 2x3 + x2 − 8x − 4
f (0) = 2(0)3 + (0)2 − 8(0) − 4 = −4
x f (x)
−2.5 −9
−1.5 3.5
1.5 −7
153
Then we can sketch the graph based on the information found.
Example 6.4.17. : Describe the right and left hand behavior of the graphs
of each of the following functions.
(c) f (x) = x5 − x
Solution. (a) Because the degree is odd and the reading coefficient is neg-
ative, the graph rises to the left and falls to the right, l.e. f → ∞ as
x → −∞ and f → −∞ as x → ∞.
(b) Because the degree is even and the leading coefficient is positive, the
graph rises to both the left and right, l.e. f → ∞ as x → −∞ and
f → ∞ as x → ∞.
(c) Because the degree is odd and the leading coefficient is positive, the
graph falls to the left and rises to the right, l.e. f → ∞ as x → ∞ and
f → −∞ as x → −∞.
Sketching of the graphs of the polynomials is illustrated below respec-
tively.
b) f (x) = x3 + x2 − 8x; a = 1, b = 3
154
Solution. a) We find f (a) and f (b) and determine where they differ in
sign.
f (−4) = (−4)3 + (−4)2 − 8(−4) = −16
and
f (−1) = (−1)3 + (−1)2 − 8(−1) = 8
By the intermediate value theorem, since f (−4) and f (−1) have oppo-
site signs, then f (x) has a zero between −4 and −1.
and
f (3) = (3)3 + (3)2 − 8(3) = 12
By the intermediate value theorem, since f (1) and f (3) have opposite
signs, then f (x) has a zero between 1 and 3.
This can be verified by following the steps for sketching graph of the
polynomial as shown below.
155
graph of f (x), the following transformations, l.e. f (x + c), f (cx), cf (x) and
f (x) + c can be carried out to obtain related graphs. We can perform these
transformations of any graph. In this section we shall demonstrate these
transformation on the following function: sine, cosine, tangent, modulus,
logarithmic, power function, largest integer part and different function and
conics.
2. Horizontal Shift: y = f (x − c)
The graph of y = f (x) is shifted h-units right if c > 0 and h-units
down if c < 0.
3. Stretch/Compress: y = cf (x)
The graph is vertically stretched using a factor of |c| if |c| > 1 and it
is compressed using a factor of |c| if |c| < 1.
156
4. Reflection: y = −f (x)
The graph is reflected across the x-axis.
5. Reflection: y = f (−x)
The graph is reflected across the y-axis.
Activity Two
a) y = x3
i. f (x) = (x − 3)3 iii. f (x) = x3 − 3
1
ii. f (x) = − x3 iv. f (x) = (x − 3)3 − 3
5
4
b) y = x
i. f (x) = (x + 3)4 iii. f (x) = x4 + 3
1
ii. f (x) = (2x)4 + 1 iv. f (x) = (x − 3)4
2
2. Describe the right-hand and left-hand behavior of the graph of each of
the following polynomial functions
1
a) f (x) = x3 + 4x c) f (x) = (3x4 − 2x + 5)/4
5
7
b) f (x) = 1 − x6 d) f (x) = − (x3 + 5x2 − 7x + 1)
8
3. For each of the given polynomial functions; (i) find all the real zeroes
of the polynomial function, (ii) determine the multiplicity of each zero
and the number of turning points of the graph of the function.
157
6.4.6 Sine, Cosine and Tangent Functions
An angle has three parts: initial ray, a terminal ray, and a vertex(the
point of intersection of the two rays), as shown in the figure below. An angle
\begin{figure}[H]
\includegraphics[scale=0.8 ]{F_4}
is in standard position if its initial ray coincides with the positive x-axis and
\vspace{-20pt}
\end{figure}
its vertex is the origin. It is common practice to use θ (The Greek lowercase
theta) to represent both an angle and its measure.
is coterminal with θ.
158
[Link] Radian Measure
The radian measure of an angle, θ is the ratio of the arc length, s to the
s
radius of the cicle, r, i.e. θ = . If the arc length subtended by angle θ is
r
equal to the radius (i.e. when s = r), then θ has a measure of 1 radian.
159
b) It is absolutely essential that you know the equivalent degree and radian
measures for all standard angles. This is not difficult if you think of
every standard angle as a multiple of one of the four special angles: 30◦ ,
1π 2π 3π
45◦ , 60◦ and 90◦ . For example, if 30◦ = , then 60◦ = , 90◦ =
6 6 6
1π 2π 3π
etc. If 45◦ = , then 90◦ = , 135◦ = , and so on.
4 4 4
Example 6.4.19. Convert the following angles from degree measure to ra-
dian measure.
(a) 120◦
(b) 225◦
π
Solution. We multiply by to convert to radian measure. So;
180◦
π 2π
(a) 120◦ × ◦
=
180 3
π 5π
(b) 225◦ × ◦
=
180 4
Example 6.4.20. : Convert the following inputs from radian measure to
degree measure.
7π 4π 5π
(a) rads (b) − rads (c) rads
4 3 6
180◦
Solution. We multiply by; to convert to degree measure. So;
π
7π 180◦ 4π 180◦
(a) × = 315◦ (b) − × = −240◦ (c)
4 π◦ 3 π
5π 180
× = 150◦
6 π
The diagram below show the relationship between degrees and radians for
standard angles:
160
[Link] Applications of Radian Measure
Example 6.4.21. : Find the length of the arc intercepted by a central angle
θ = 135◦ in a circle of radius r = 71.9 cm.
arc length s
Linear speed, v = =
time t
162
[Link] Area of a Sector of a Circle
The area (A) of a sector of a circle of radius r with central angle θ (mea-
sured in radians) is given by
1
A = r2 θ
2
Example 6.4.24. : Find the area of a sector with radius 18.3 cm and the
central angle θ = 125◦ . (Round to the nearest tenth).
1
Solution. The formula A = r2 θ requires that θ be measured in radians.
2
Converting θ to radians, we have,
π 25π
θ = 125◦ × ◦
=
180 36
1 25π 334.89 25π
Then, A = (18.3)2 × = × = 365.3083
2 36 2 36
The area of the sector is; 365.3 cm2
Consider the following right angled triangle, given below where θ as our
reference angle. The ratios of sides of a right triangle occur often enough
in practical applications to warrant their own names. So we define the six
rations as trigonometric functions as follows: sine, cosine, tangent, cotangent,
secant and cosecant, abbreviated; sin, cos, tan, sec and cosec.
163
Definition 6.4.25. (The Six Trigonometric Functions) Right triangle defi-
π
nitions, where 0 < θ <
2
Opposite Adjacent Opposite
sin θ = , cos θ = , tan θ = ,
Hypotenus Hypotenus Adjacent
Hypotenus Hypotenuse Adjacent
csc θ = , sec θ = , cot θ =
Opposite Adjacent Opposite
Consider the circle with radius r and where θ is any angle, given below
to define the circular definitions of the trigonometric function.
y x y r r x
sin θ = , cos θ = , tan θ = , csc θ = , sec θ = , cot θ =
r r x y x y
Note 2. i. Since −1 ≤ x ≤ 1 i.e. |x| ≤ 1, then | cos θ| ≤ 1. Similarly,
| sin θ| ≤ 1.
sin θ
ii. It follows from the definition that: tan θ = , (cos θ 6= 0). Further-
cos θ
cos θ 1 1
more; cot θ = , sec θ = , csc θ =
sin θ cos θ sin θ
iii. Since x2 + y 2 = 1, by Pythagoras theorem, then;
164
Note: sin2 θ = (sin θ)(sin θ) = (sin θ)2 , sin2 θ 6= sin(θ2 )
2 cos2 θ 1
iv. Dividing (1) by sin θ (when sin θ =6 0), it follows that 1+ 2 =
sin θ sin2 θ
Thus
csc2 θ = 1 + cot2 θ (2)
Similarly dividing (1) by cosθ , follows that;
π
vi. Directly from definitions; sin 0 = 0, cos 0 = 1, tan 0 = 0, sin = 1,
2
π π
cos = 0, tan is undefined, sin π = 0, cos π = −1, tan π = 0,
2 2
3π 3π 3π
sin = −1, cos = 0, tan is undefined.
2 2 2
vii. Summary of the signs of trigonometric functions, in relation to the
quadrant an angle lies.
165
π π π π π
viii. If θ = , then x = y = sin = cos . Since sin2 + cos2 = 1 Then,
4 4 4 4 4
2 π π π 1 π
2 sin = 1. So sin = cos = √ and tan = 1
4 4 4 2 4
i.e.
ix. Consider the equilateral triangle whose sides are all 1 unit long, as
shown below.
π π
If θ = (= 60◦ ), then, angle BAM = =angle CAM (=30◦ ).
3 6
s 2 √
1 3
Thus, AM= 12 − = , (Pythagoras theorem)
2 2
√
π AM 3 π BM 1 π AM √
Hence, sin = = , cos = = , tan = = 3
3 AB 2 3 AB√ 2 3 BM
π 1 π 3 1
In similar fashion, sin = , cos = and tan √
6 2 6 2 3
166
Table of Value of Standard Angles
π π π π 3π
In rads(θ) 0 π
6 4 3 2 2
√
1 1 3
sin θ 0 √ 1 0 −1
2 2 2
√
3 1 1
cos θ 1 √ 0 −1 0
2 2 2
1 √
tan θ 0 √ 1 3 unde f 0 unde f
3
√
π π 1 π 3
For example, sin − = − sin = − , cos − = , etc
6 6 2 6 2
167
[Link] Rotation of Angles
Now we will take a look at how certain geometric operations can help simplify
the use of trigonometric functions of any angle, and how some basic relations
between those functions can be made. The operations to be considered are
rotation and reflection.
Figure below, shows an angle θ in Quadrant I (or QI) which is rotated
90 around the origin, resulting in the angle θ + 90◦ in QII. Notice that the
◦
168
11π
(a) θ = 300◦ (b) θ = 2.3 (c) θ =
4
Solution. (a) Since 300◦ lies in quadrant IV, the angle it makes with the
x-axis, θ0 = 360◦ − 300◦ = 60◦
Illustration
π
(b) Because 2.3 lies between ≈ 1.5708 and π = 3.1416, it follows that it
2
is in Quadrant II and its reference angle is θ0 = π − 2.3 ≈ 0.8416
11π 3π 3π
(c) Notice that θ = = 2π + and and coterminal angles. Hence
4 4 4
3π 3π π
we consider , Now the reference angle θ0 = π − = .
4 4 4
Example 6.4.27. : Evaluate each of the trigonometric function.
3π
(a) sin
4
11π
(b) tan
6
4π
(c) cos
3
3π
Solution. (a) Since lie in Quadrant II, then its reference angel is, θ0 =
4
3π π 3π π 1
π− = and sine is positive in quadrant II. So. sin = sin = √
4 4 4 4 2
169
11π
(b) Similarly, since lies in quadrant IV, then its reference angle is
6
11π π
θ0 = 2π − = and tangent is negative in Quadrant IV. So,
6 6
11π π 1
tan = − tan = √
6 6 3
4π 4π π
(c) lies in Quadrant III, then the reference angle is θ0 = −π = ,
3 3 3
4π π 1
and cosine is negative in quadrant III. Hence, cos = − cos = −
3 3 2
1 − cos θ
Example 6.4.28. : Prove the identity, (cot θ − csc θ)2 =
1 + cos θ
Proof. We start with one side and show that it is equal to the other side.
We consider L.H.S:
2
2 cos θ 1
(cos θ − csc θ) = −
sin θ sin2 θ
1
= (cos θ − 1)2
sin θ
(cos θ − 1)2
= 2
trig. identity sin2 θ + cos2 θ = 1
1 − cos θ
(cos θ − 1)2 )
= difference of two squares
(1 − cos θ)(1 + cos θ)
cos θ − 1
= R.H.S
1 + cos θ
170
Proof. Consider L.H.S
1 sin x
cot x + tan x = +
tan x cos x
cos x sin x
= +
sin x cos x
cos2 x + sin2 x
=
sin x cos x
1
=
sin x cos x
1 1
= ·
sin x cos x
= sec x csc x R.H.S
θ = θ1 + 2nπ or θ = (π − θ1 ) + 2nπ
171
to θ1 and θ2 , will also be a solution to the equation cos θ = a. So in general,
the solution to the equation cos θ = a are:
θ = ±θ1 + 2π
Because there are infinitely many coterminal angle for θ1 and θ2 = −θ1 which
are θ1 + 2nπ and −θ1 + 2nπ respectively, hence there are also infinitely many
solutions to the equation, cos θ = [Link] figure below shows this situation.
172
Note 3. If a solution of a trigonometric equation is given in specific terms
i.e. θ = θ1 , it is called the principle solution to the equation.
(a) 2 sin x = 1
√
(b) sin x + 2 = − sin x
(c) 2 cos 3t − 1 = 0
(d) tan θ = 1.
1 1
Solution. (a) 2 sin x = 1 implies sin x = But sin x = has solutions;
2 2
π 5π
x = and x = , in the interval, [0, 2π) and these are principle
6 6
1 π
solutions. The general solution for sin x = are x = + 2nπ and
2 6
5π
x= + 2nπ, where n is an integer.
6
√
√ √ − 2
(b) sin x + 2 = − sin x implies 2 sin x = − 2 and sin x = Thus x,
2
must fall in Quadrant III or IV, since sin x < 0. The principle solutions
5π 7π
are x = and x = and the general solutions are:
4 4
5π 7π
x= = 2nπ and x = + 2nπ
4 4
173
1
(c) 2 cos 3t = 0 implies cos 3t = In the interval [0, 2π), we know that,
2
π 5π
3t = and 3t = . Hence we have,
3 3
π π 5π 5π 2nπ
3t = + 2nπ ⇒ t = and 3t = + 2nπ ⇒ t = +
3 2nπ 3 9 3
9+
3
5π π π 2nπ
Notice that, = − , so the solution can be written as; t = ± + .
9 9 9 3
π π
(d) tan θ = 1. We know tan = 1. So θ = , is the principle solution.
4 4
π
Hence the general solution is θ = + nπ
4
We can also graph trigonometric functions just like any other functions. In
our graphs we shall consider radians for the angle measure. We shall first
graph a sine function, by using the unit circle, shown below to describe hoe
the graph is created. A unit circle has radius 1, in the xy-plane consisting of
all the points (x, y) which satisfy the equation x2 + y 2 = 1.
As we can see from the figure above, that any point on the unit circle has
coordinates (x, y) = (cos θ, sin θ), where θ is the angle that the line segment
from the origin to (x, y) makes with the positive x-axis. so as the point (x, y)
around the circle, its y-coordinate is sin θ.
174
[Link] The Graph of sine Function
5π 3π π π 3π 5π
x − −2π − −π − 0 π 2π
2 2 2 2 2 2
sin x −1 0 1 0 −1 0 1 0 −1 0 1
In general the basic properties of a sine function are depicted in the following
figure.
175
[Link] The Graph of Cosine Function
To graph the cosine function we could again draw the unit circle idea (using
the x-coordinate of a point that moves around the circle), but there is an
easier way. Recall that, cos x = sin(x + 90◦ , for all x. So cos 0◦ has the same
value as sin 90◦ , cos 90◦ has the same value as sin 180◦ , cos 180◦ has the same
values sin 270◦ and so on. In other words the graph of cosine function is just
π
the graph of the sine function shifted to the left by 90◦ = radians, as shown
2
below.
176
[Link] The Graph of Tangent Function
sin x
The graph of the tangent function, we use tan x = to get the following
cos x
graph:
Recall that the tangent is positive for angle in QI and QIII, and is negative
in QII and QIV, this is well depicted in the graph above. The tangent function
π π 3π 5π
is undefined when cos x = 0, l.e. at odd multiples of, ; x = ± , ± , ± ,
2 2 2 2
etc and these points are vertical asymptotes for the tangent functions. We
can determine whether the tangent values increase to infinity or decrease
sin x
to negative infinity by examining the ration at that particular point.
cos x
Notice that the graph of tangent function repeats every π radians, l.e. two
times faster than the graph of sine and cosine repeats.
The graph of the remaining trigonometric functions can be determined
by looking at the reciprocal of sine, cosine and tangent. For example, using
1
csc x = we can just look at the graph of y = sin x and invert the values.
sin x
We will get vertical asymptotes when sin x = 0, that happen at multiples
π of: x = 0, ±π, ±2π etc. The figure below show the graph of y = csc x
and y = sin x (the dashed curve) for reference. In the same manner we can
177
graph the function y = sec x, with the graph of y = cos x (the dashed curve)
as reference, the figure below shows this scenario. note that the vertical
π 3π
asymptotes are: x = ± , ± etc. Notice also that the graph is just the
2 2
π
graph of the cosecant shifted to the left by radians.
2
1
The graph of y = cot x can also be determined by using cot x = .
cot x
Alternatively, we can use the relation cot x = − tan(x + 90◦ ). So the graph
178
of the cotangent function is just the graph of the tangent function shifted
π
to the left by radians and then reflected about the x-axis. The graph of
2
cotangent is shown below.
179
[Link] Amplitude and Period
The amplitude given by |a| represents half the distance between the
maximum and minimum values of function. The period o each function is
2π
given by .
b
Let a, b, c ∈ R for b > 0 and c > 0 and y = a sin(bx − c) and y = cos(bx − c),
c
then the graph of each of the functions is shifted to the left and right by
b
c c c
units when < 0 and 0 respectively. the number is called the phase
b b b
2π
shift. The period is and amplitude is |a|. The left and right end points
b
of one-cycle interval can be determined by solving the equations bx − c = 0
and bx − c = 2π
180
Suppose c > 0. We can carry out the following transformations on a
trigonometric function y = f (x), to obtain the graph of:
Notice that this is the same thing as the curve of y = cos x (why?).
181
Solution. We shall use the basic function, y = cos x to obtain the graphs of
the other two functions. To obtain the graph of y = cos 2x, we compress the
graph of y = cosx by factor 2 horizontally. On the other hand, in order to
obtain the graph of y = 3 cos 2x, we further stretch the graph of y = cos 2x
by a factor of 3 vertically.
[Link] Reflections
182
a) y = −f (x), reflect the graph of y = f (x) about the x-axis
Example 6.4.34. : Given that the dashed curve represents the unction
y = sin x, determine whether the following statement is TRUE or FALSE.
The solid curve (not dashed curve) on the following graph represents both
y = − sin x and y = sin(−x).
Solution. TRUE- The solid curve does represent both y = − sin x and y =
sin(−x). In this particular situation the reflection about the x-axis is the
same as the reflection about the y-axis.
1. Determine two coterminal angles for each of the following angles (one
positive and the other negative).
5π 7π 5π 2π
(a) (c) (e) (g)
3 4 2 3
5π 13π 7π
(b) (d) (f) 2π (h)
6 2 6
2. for each angle given in (1) above determine its corresponding reference
angle.
3. Determine the quadrant in which each angle lies, i.e. given angles are
given in degree and radians s specified.
183
(a) 18◦ (d) 230◦ (g) 300◦ (j) −520◦
π 11π 9π
(b) 740◦ (e) rad (h) rad (k) rad
4 8 8
5π
(c) rad (f) −1 rad (i) 2.25 rad (l) 6.02 rad
4
4. Convert angle measure from degrees to radians. Round to 3 decimal
places.
a) Find the number of revolutions per minute the wheels are rotating.
b) Find the angular speed of the wheels in radians per minute.
184
3
c) sin θ = , θ lies in Quadrant III f) sec θ = −2, θ lies
4
in Quadrant III
12. Describe the relationship between the graphs of f (x) and g(x). Con-
sider amplitude, period and shifts.
185
d) f (x) = sin 2x, g(x) = 3 + sin 2x h) f (x) = cos 4x,
g(x) = −2 + cos 4x
13. Sketch the graph for each pair of function in (12) above on the same
set of coordinates axes. (include two full periods).
Definition
6.4.35. : The modulus function f (x) = |x| means, f (x) =
x, x≥0
. So the graph of f (x) is given by:
−x, x < 0
186
6.4.11 Graph of Exponential functions and their Trans-
formations
a. If a > 1 and x1 < x2 for x1 , x2 ∈ R then ax1 < ax2 , ∀x ∈ [x1 , x2 ]. That
is f (x1 ) < f (x2 ) throughout its domain, hence f (x) is increasing in
that interval.
187
Figure 6.2: Illustration o basic exponential graphs
188
6.4.12 Graph of Logarithmic Functions and their Trans-
formations
189
followed by a horizontal shift of 1 unit to the right to get g(x) =
2 loga (x − 1).
Functions whose graphs resemble sets of stair steps are known as steps func-
tions. There are two kinds of step functions which are, the greatest integer
function (or flow function) and the least integer function( or ceiling function).
Notation. The following notations are used for greatest integer function bxc
or kxk
Notation. The following notations are used for least integer function dxe or
]x[
190
Example 6.4.42. : Given f (x) = bxc + 1. Evaluate the function when
x = −1, x = 7.5 and x = −6.3
The greatest integer function is the integer that lies to the left of the
given number on a number line.
Example 6.4.43. :How can the graph of the greatest integer function f (x) =
bxc move to get, g(x) = bx − 3c.
Activity Four
191
3. discuss how the graph of each of the following functions is related to
the basic exponential function (parent function) y = ax , where a > 0.
5. discuss how the graph of each of the following function is related to the
basic logarithmic function y = logxa , where a > 0.
a) f (x) = loga x − 5
c) f (x) = loga (3 − 7x)
b) f (x) = 2 loga (x + 1) − 5
d) f (x) = loga 2x − 5
192
6. For each function in (5) above sketch the graph of f (x) that show how
the basic graph y = loga x has transformed.
a) f (x) = bxc
i. f (2.1)
ii. f (−3.2)
7
iii. f
2
iv. f (−5.6)
b) f (x) = b3x − 1c
i. f (2.1)
ii. f (−1)
21
iii. f −
2
iv. f (−3.6)
a) f (x) = −bxc
b) f (x) = bx + 1c
c) f (x) = bxc − 2
d) f (x) = −bxc + 6
Parabola, circles, ellipses and hyperbolas are all curves that are formed by the
intersection of a plane and a double-napped cone. Therefore, these shapes
are called conic sections or simply conics, since they result from intersecting
a cone with a plane.
193
6.4.15 Standard Equations of Conic Sections
[Link] Parabola
194
the focus is:
p
|P F | = x2 + (y − p)2 (1)
By using the formula or distance between two points. But the distance
from |y + p|. The figure above illustrates the case where p > 0. The defining
property of parabola is that these distances are equal. Simplifying (1) above
we obtain.
x2 = 4py (2)
1
If we let a = , then the standard equation (2) becomes y = ax2 . It
4p
opens upward if p > 0 and downward if p < 0. The graph is symmetric with
respect to the y-axis because y(x) = y(−x). If we interchange x and y in (2),
we obtain
y 2 = 4px (3)
195
symmetric with respect to the x-axis.
Illustration
Example 6.4.45. : Find the focus and directrix of the parabola y 2 +10x = 0
and sketch the graph.
[Link] Ellipses
An ellipse is the set of all points in the plane, the sum of whose distances
from two fixed points F1 and F2 is a constant. These two points are called
the foci (plural for focus). One of Kepler’s laws is that the orbits in the
196
solar system are ellipse with the sun at the one focus. In order to orbit the
simplest equation for an ellipse, we place the foci on the x-axis at the points
(−c, 0) and (c, 0), so that the origin is halfway between the foci, as shown in
the figure below.
let the sum of the distances from a point on the ellipse to the foci be
2a > 0. Then P (x, y) is a point on the ellipse when
|P F1 | + |P F2 | = 2a
Thus
p p
(x + c)2 + y 2 + (x − c)2 + y 2 = 2a
197
From triangle F1 F2 P in the figure above, we see that 2c < 2a, so, c < a and
therefore, a2 − c2 > 0. For convenience. let, b2 = a2 − c2 . Then the equation
of the ellipse becomes b2 x2 + a2 y 2 = a2 b2 or if both sides are divided by a2 b2 ,
x2 y 2
+ 2 =1 (4)
a2 b
The ellipse
x2 y 2
+ 2 = 1, a ≥ b > 0 (5)
a2 b
The ellipse
x2 y 2
+ 2 = 1, a ≥ b > 0 (6)
b2 a
Example 6.4.46. : Sketch the graph of 9x2 + 16y 2 = 144 and locate the
foci
198
x2 y2
Solution. Dividing both sides of the equation by 144, + = 1. The
16 9
equation is now in the standard form for an ellipse, so we have a2 = 16,
b2 = 9, a = 4 and b = 3. The x-intercepts are ±4 and the y-intercepts are
√ √
±3. Also c2 = a2 − b2 = 7, so c = 7 and the foci are (± 7, 0). See the
graph below.
Example 6.4.47. :find the equation of the ellipse with foci (0, ±2) and
vertices (0, ±3).
[Link] Hyperbolas
A hyperbola is the set of all points in the plane difference of whose distances
from two fixed points F1 and F2 (the foci) is a constant. The figure illustrate
this definition. Notice that the definition of hyperbola is similar to that of
an ellipse; the only change is that the sum of difference of distance. In fact
the deviation, of the equation of a hyperbola is also similar to the one given
earlier for an ellipse. It is left as an exercise, to show tht when the foci are on
the x-axis (±c, 0), and the difference of the distance is |P F1 | − |P F2 | = ±2a,
then the equation of the parabola is
x2 y 2
− 2 =1 (7)
a2 b
199
Where c2 = a2 + b2 . Notice that the x-intercept again are ±a and the
points (a, 0) and (−a, 0) are the vertices of the hyperbola. But if we put
x = 0 in equation (7) we get y 2 = −b2 , which is impossible, so there is
no y-intercept. The hyperbola is symmetric with respect to both axes. To
analyze the hyperbola further we look at the equation.
x2 y2
= 1 + ≥1
a2 b2
√
This shows that x2 ≥ a, so |x| = x2 ≥ a. Therefore we have x ≥ a or
x ≤ −a. This means that the hyperbola consists of two parts, called its
branches. When we draw a hyperbola
it is useful
to first
draw its asympotes,
b b
which are dashed lines y = x and y = − x shown in the figure
a a
below. Both branches of the hyperbola approach the asymptotes, that is,
they come arbitrary close to the asymptotes.
The hyperbola
x2 y 2
− 2 = 1, has foci (±c, 0), (8)
a2 b
2 2 2 b
where c = a + b , vertices (±a, 0), and asymptotes y = ± x
a
If the foci of the parabola are on the y-axis, then by reversing the roles
200
of x and y we obtain the following information.
The hyperbola
y 2 x2
− 2 = 1, has foci (0, ±c), (9)
a2 b
b
where c2 = a2 + b2 , vertices (0, ±a), and asymptotes y = ± x
a
201
Illustration
Example 6.4.48. : Find the foci and asymptotes of the hyperbola 9x2 −
16y 2 = 144 .
x2 y 2
− =1
16 9
Ehich is of the form given in (8) with a = 4 and b = 3. Since c2 = 16+9 = 25,
3 3
the foci are (±5, 0). The asymptotes are lines y = x and y = − .
4 4
Example 6.4.49. : find the foci and equation of the hyperbola with vertices
(0, ±1) and asymptote y = 2x.
b 1 5
Solution. Using (9), we see that a = 1 and = and c2 = a2 + b2 = .
r ! a 2 4
5
The foci are 0, ± and the equation of the hyperbola is y 2 − 4x2 = 1.
2
Just as we have seen with parabola, ellipses (circle) and hyperbola can also
be transformed in various ways, which are; vertical translation, horizontal
202
translation, vertical shrinking and horizontal stretching, these transforma-
tions correspond to f (x) + c, f (x + c), f (cx), cf (x) respectively. We shall
not look into them in detail again but just pick now. to recall the mentioned
transformations a review on the quadratic functions graph is recommended.
We shift conics by taking the standard equation (2), (3), (5), (6), (8) and (9)
and replace x and y by x − h and y − k.
Example 6.4.50. : Find an equation of the ellipse with foci (2, −2), (4, −2)
and vertices (1, −2), (5, −2)
Solution. The major axis is the line segment that join the vertices (1, −2), (5, −2)
and has length 4, so a = 2. The distance between the foci is 2, so c = 1.
Thus, b2 = a2 − c2 = 3. Since the center of the ellipse is (3, −2), we replace
x and y in (5) by x − 3 and y + 2 to obtain
(x − 3)2 (y + 2)2
+ =1
4 3
As the equation of the ellipse.
203
Activity Five
1. find the standard form of the equation of the parabola with the given
characteristic(s) and vertex at the origin.
a) Focus: (−2, 0)
b) Focus: (0, −2)
1
c) Focus: 0,
2
3
d) Focus; − , 0
2
e) Directrix: y = 1
f) Directrix: y = −2
g) Directrix: x = −1
h) Directrix: x = −1
i) Directrix: x = 4
2. Find the standard form of the equation of the parabola with the given
characteristic(s) and vertex at the origin.
204
b) Passes through the point (−2, −2); Vertical axis
1
c) Passes through the point −2, ; vertical axis
4
1
d) Passes through the point , −4
2
3. Find the vertex and focus of the parabola and sketch
1
a) y = x2
2
2
b) y = 3x
c) x2 + 12y = 0
d) y 2 = −6x
e) x + y 2 = 0
f) y = −4x2
4. Find the center and vertex of the ellipse and sketch its graph.
x2 y 2
a) + =1
25 16
x2 y2
b) + =1
121 144
x2 y 2
c) + =1
36 7
x2 y2
d) + =1
100 49 2
item[e)]4x + 9y 2 = 36
9x2 9y 2
f) + =1
25 16
5. Find the center and radius of the circles.
a) x2 + y 2 + 4x − 10y = 0
b) x2 + y 2 = y − 4x
c) 2x2 + 2y 2 + 4x − 8y = 0
d) 3x2 + 3y 2 − 6x + 12y + 11 = 0
205
6. Find the standard form of the equation of the hyperbola with the given
characteristics.
1 1
a) Vertices: (±6, 7); asymptotes: y = − x + 7, y = x + 7
2 2
√
b) Vertices: (0, 0), (0, −4); passes through the point (2, 2( 5 − 1))
c) Vertices: (−10, 3), (6, 3); foci: (−12, 3), (8, 3)
d) Vertices: (2, 2), (−2, 2); foci: (4, 2), (−4, 2)
e) Foci: (0, 0), (8, 0); asymptotes: y = ±2(x − 4)
f) Foci: (3, ±2); asymptotes: y = ±2(x − 3)
7. Identify the conic by writing its equation in standard form. Then sketch
its graph and describe the transformation.
a) x2 − 6y + 2y + 9 = 0
b) 6x2 + 16y 2 − 16x + 24y − 3 = 0
c) y 2 − 12y − 8x + 20 = 0
d) x2 + 9y 2 + 10x + 18y + 25 = 0
e) x2 + y 2 − 2x − 4y + 5 = 0
f) 4x2 + y 2 − 16x + 51 = 0
206
Bibliography
[1] J.A. Beecher, J.A. Penna, M.L. Bittinger, College Algebra, 4th Edition,
Pearson: London, (2011).
[2] J.P.G. Ewer, Algebra, Trigonometry and Calculus, Science Teachers As-
sociation of Malawi, Zomba (1994).
[4] M. Lial, J. Hornsby, D.I. Schneider, College Algebra, 9th Edition, Ad-
dison Wesley: New York, (2014).
[7] M. Sullivan, College Algebra, 9th Edition , Prentice Hall, New York,
(2012).
[8] M. Sullivan, Algebra and Trigonometry, 9th Edition, Dellen; New York,
(2011).
[9] C.Y. Young, Pre-Calculus„ 1st Edition, John Wiley & Sons, Inc: River
Street-Hoboken, (2010).
207