Professional Documents
Culture Documents
Mathematical Structure:: An Introduction To Mathematical Reasoning and Proofs
Mathematical Structure:: An Introduction To Mathematical Reasoning and Proofs
Talitha M. Washington
University of Evansville
Contents
0 Preface 1
2 SETS 12
2.1 Sets and Subsets . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.2 Set Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.3 Relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.4 Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3 NUMBER SYSTEMS 19
3.1 Equality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2 Natural Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.3 Computations on Natural Numbers . . . . . . . . . . . . . . . . . 22
3.4 Solving Natural Number Equations . . . . . . . . . . . . . . . . . 23
3.5 Whole Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.6 Solving Whole Number Equations . . . . . . . . . . . . . . . . . 25
i
ii CONTENTS
3.7 Integers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.8 Solving Integer Equations . . . . . . . . . . . . . . . . . . . . . . 29
3.9 Rational Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.10 Solving Rational Equations . . . . . . . . . . . . . . . . . . . . . 34
3.11 Real Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
3.11.1 Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
3.11.2 Real Numbers . . . . . . . . . . . . . . . . . . . . . . . . 40
3.11.3 Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.11.4 Real Numbers . . . . . . . . . . . . . . . . . . . . . . . . 41
5 POLYNOMIALS 46
5.1 Polynomials as a Mathematical System . . . . . . . . . . . . . . 46
5.2 Operations on the Set of Polynomials . . . . . . . . . . . . . . . 48
5.2.1 Addition . . . . . . . . . . . . . . . . . . . . . . . . . . 48
5.2.2 Subtraction . . . . . . . . . . . . . . . . . . . . . . . . . 49
5.2.3 Multiplication . . . . . . . . . . . . . . . . . . . . . . . . 49
5.2.4 Division . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.2.5 Long Division . . . . . . . . . . . . . . . . . . . . . . . 52
Preface
Mathematical systems all have the same structure. They begin with a set of
objets, the relationships between the objects, operations or things to do with the
objects, and a set a rules or axioms. We utilize these things to logically draw
conclusions called theorems.
We will motivate the construction of mathematical systems by considering
solvability. This approach is both historically motivated and intuitively correct.
Each time a mathematical system (physics, monopoly and basketball) is studied,
modifications and extensions of these systems are created to achieve a solution of
problems.
Previously in your education, you may have been taught that mathematics is
basically a collection of algorithms to get answers. In fact, you may have been
encouraged to memorize formulas and methods. However, the first formal math-
ematician Gaber Ben Hayyan, aka Eulcid, said that a collection of mathematical
facts and techniques is no more mathematics than a pile of stones is a house. It is
not the algorithms that are important but the structure. Understanding the structure
will allow you to create the techniques needed to solve problems.
We now begin with mathematics as a structure that can be used to describe
any natural phenomena. We refer to this structure as mathematical system. A
mathematical system consists of
1
2 CHAPTER 0. PREFACE
1. A set
2. Relationships
3. Operations
4. Axioms (or rules)
5. A system of logic
6. From which follow theorems.
Some terms are primitive and are taken as basic and understood and are not
formally defined. Primitive terms are necessary to avoid circular definitions. For
example, to define the word ”set” we could define it as a collection of objects.
Now we could define a collection of objects as a group of things that are aggre-
gated. Then we could define a group of objects that are aggregated as a set. Hence,
we end our definition with the word that we sought to define. Thus, the word set
is undefined and we simply have a mutual understanding of the word. In the same
way, we have axioms which are statements that we agree to be true and need no
further justification. Theorems are statements deduced from definitions, axioms
or a previously proved theorem.
Everyone has experienced a mathematical system. For example, games and
our judicial system are mathematical systems. Consider the game of basketball.
In basketball, we have the following:
All games are mathematical systems. In the judicial system, the same system-
atic approach applies.
In this text, we build the sets of statements, sets, numbers and functions. We
will define what equality means on a each set. We will also define six other re-
lationships. Axioms will be listed. We will develop a system of logic in chapter
2. The objective is to teach the construction of algorithms and the creation of
theorems.
Chapter 1
STATEMENTS AND
INTRODUCTION TO LOGIC
1.1 Introduction
In logic, the set is the set of all statements. Statements are declarative sen-
tences that can be judged either as true or as false. They are not commands or
opinions because the sentence must have a truth value. For example, ”the sky is
beautiful” is not a statement because the sky may be beautiful to one person and
ugly to the next. However, ”the sky is blue” is a statement since the sky could be
blue or not blue if it is a cloudy day.
4
1.2. LOGICAL OPERATORS 5
P Q P∧Q
T T T
T F F
F T F
F F F
Table 1.1: Definition of ∧.
1.2.2 Disjunction
The statement ”P or Q” is called a disjunction where ”or” is the binary operation.
A disjunction is true when one or both statements are true. This is referred to as
the inclusive or. For example,
”5 is a prime number or 8 is an even number”
and
”5 is a prime number or 8 is an odd number”
are both true statements because at least one conjunct is true. The next table
shows the truth values of P ∨ Q for each of the four possible combinations of
truth values of two statements P, Q .
6 CHAPTER 1. STATEMENTS AND INTRODUCTION TO LOGIC
P Q P∨Q
T T T
T F T
F T T
F F F
Table 1.2: Definition of ∨.
1.2.3 Negation
A negation is true whenever the opposite of the original statement is false. For
example the statement
”4 is an even number”
is a false statement. The following truth table shows the truth values of ∼ P
(read not P) for each of the possible values of P:
P ∼P
T F
F T
Table 1.3: Definition of ∼.
P⇒Q
Two statements can be equivalent. That is, P can imply Q and Q can imply P
in which case we write
P ⇔ Q.
P Q P⇒Q
T T T
T F F
F T T
F F T
Table 1.4: Definition of ⇒.
case where it does rain and they do not bring the umbrella they have made a false
statement. This is summarized in the following truth table.
Notice that a conditional statement is false only in the case that P, the an-
tecedent, is true and Q, the consequence, is false otherwise P ⇒ Q is true. Often
people misunderstand when a conditional statement is true or false. For example,
a parent once told their child that if they do not clean the room, then he will not
take you to the store to buy a cell phone. The child proceeded to clean their room
expecting to go and told the parent that they were ready to go. But my parent
responded, ”I never said what I would do if you actually cleaned up your room.”
Consequently, the child never confused implication again!
In the English language, there are several ways to express the conditional state-
ment P ⇒ Q other than the form ” if P, then Q”. This can be illustrated as follows:
Form Example
If P then Q If x is even, then x is a multiple of 2.
P implies Q x is even implies x is a multiple of 2.
P only if Q x is even only if x is a multiple of 2.
Q is a necessary condition for P x is a multiple of 2 is necessary for x to be even.
P is a sufficient condition for Q x is even is sufficient for x to be a multiple of 2.
Every P is Q Every even number is a multiple of 2.
the inverse, converse, and contrapositive. The table below shows how these three
variants are formed.
Example 1. Given the following conditional, form the converse, inverse and con-
trapositive.
Solution 1. Notice from the table above, the converse is formed by interchanging
the hypothesis and the conclusion. Therefore, if the conditional statement is f it
rains then I will bring an umbrella, then the converse is
What is the inverse formed using the conditional statement? In this case the in-
verse is
According to the table, what is the contrapositive? Using the table, the contrapos-
itive is as follows
1.3.3 Equivalence
Before we can introduce equivalent statements, we must first talk about a bicon-
ditional statement.
Definition 1. For statements P and Q, the biconditional (in the form ”P if and
only if Q” and notated as P ⇐⇒ Q) is the conjunction (P ⇒ Q) ∧ (Q ⇒ P).
10 CHAPTER 1. STATEMENTS AND INTRODUCTION TO LOGIC
Solution 2.
P Q P⇒Q Q⇒P (P ⇒ Q) ∧ (Q ⇒ P)
T T T T T
T F F T F
F T T F F
F F T T T
Solution 3.
P Q ∼P ∼Q P ∨ Q ∼P ∨ Q ∼P ∧ ∼Q
T T F F T F F
T F F T T F F
F T T F T F F
F F T T F T T
Solution 4.
1.3. RELATIONSHIPS IN LOGIC 11
P Q ∼P ∼Q P⇒ Q ∼Q ⇒ ∼P
T T F F T T
T F F T F F
F T T F T T
F F T T T T
Solution 5.
P ∼P ∼(∼P)
T F T
T F T
F T F
F T F
Solution 6.
P Q Q R Q∨R P∧ Q P ⇒ (Q ∨ R) (P ∧ ∼Q) ⇒ R
T T F T T F T T
T T F F T F T T
T F T T T T T T
T F T F F T F F
F T F T T F T T
F T F F T F T T
F F T T T F T T
F F T F F F T T
Chapter 2
SETS
12
2.2. SET NOTATION 13
x∈A
Definition 2. The universal set, U , is the set which contains all elements includ-
ing itself.
Example 1. Let N be the universal set and P (x) is the open sentence x ≤ 5 where
x ∈ N. Describe the set P in set builder and list notation.
Definition 3. A set is said to be finite provided that it has only a fixed number
of elements. Formally, a set is finite if and only if it can be put in one-to-one
correspondence with an initial segment of the set of natural numbers. Otherwise,
the set is called infinite.
2.3 Relationships
We will now define relationships on the set of all sets.
14 CHAPTER 2. SETS
Definition 5. Two sets A and B are said to be equal if and only if A is a subset
of B and B is a subset of A. That is,
A = B ⇔ (A ⊆ B) ∧ (B ⊆ A)
A ⊂ B ⇔ (A ⊆ B) ∧ (A 6= B)
Example 3. Using the same sets as in the previous example, is set A a proper
subset of B?
2.4. OPERATIONS 15
Example 4. Suppose set A = {a, b, c} and set B = {a, b, c}. A and B equal?
Solution 4. Two sets are A and B are equal if and only if A is a subset of B
and B is a subset of A. First, we must determine if A is a subset of B. For
A to be a subset of B, the elements of A must also be an element of B. Since
set A = {a, b, c} and set B = {a, b, c}, the elements of A are contained in B.
Because the elements of A are contained in B, A is a subset of B. Similarly for
the elements of B contained in A; that is, B is a subset of A. Since A is a subset
of B and B is a subset of A, A equals B or A = B.
2.4 Operations
To help us understand and write simplified sentences which have the same mean-
ing as more complex sentences, we will consider certain set operations. The word
operation suggests a well defined process. Similar to operations such as addition
that define a binary process on numbers, a set operation defines a process on sets.
Definition 7. The union of set A and B is the set consisting of every element
belonging to either set A or set B, or both. The symbol ∪ denotes a union between
two sets and is read ”A union B”. Symbolically stated:
A ∪ B ≡ {x|x ∈ A ∨ x ∈ B, or both}
Example 5. Let A = {car, oil, tires, gears} and B = {wheel, gears, mirror}.
Describe A ∪ B.
16 CHAPTER 2. SETS
Definition 8. The intersection of set A and set B is the set whose elements belong
to both set A and set B. We denote intersection by the symbol ∩ and is read ”A
intersect B”. Using set builder notation,
A ∩ B ≡ {x|x ∈ A ∧ x ∈ B}.
Example 6. Let A = {car, oil, tires, gears} and B = {wheel, gears, mirror}.
Describe A ∩ B.
Solution 6. Referring back to the definition of intersection, the elements of A ∩ B
are those elements which are common in both set A and set B. Thus,
A ∩ B = {gears}.
Definition 9. The difference of two sets is the set of elements in one set and not
the other. Set difference is denoted by the symbol − . Symbolically,
A − B = {x|x ∈ A ∧ x ∈
/ B}.
Thus,
{1, 2, 3, 4} − B = {2, 4} = {1, 3}.
2.4. OPERATIONS 17
Definition 10. The complement of a set is defined as the set of elements in the
universal set but not in the actual set itself. Set complement is denoted by the
symbol Ac . Symbolically,
Ac ≡ {x ∈ U |x ∈
/ A} = U − A.
Ac = {2, 4}.
Definition 11. The Cartesian product of a set A and set B is the set whose
elements are all of the possible ordered pairs (x, y) such that the replacement set
for x is set A and the replacement set for y is set B. We denote the Cartesian
product by the symbol × and is read ”A cross B”. Symbolically stated:
Solution 9. The elements of the set named first in the symbol A × B will appear
as the first components of the ordered pairs. The elements of the set named second
in the symbol A × B will become the second components of the ordered pairs.
Therefore
A × B = {(0, 5), (0, 6), (1, 5), (1, 6)}
NUMBER SYSTEMS
3.1 Equality
Recall that a Cartesian product was defined as the set of all ordered pairs (x, y)
where x ∈ A and y ∈ B where A and B are given sets. A relation, denoted by R,
is a subset of a Cartesian product if and only if R ⊆ A × B for some sets A and
B. Now we can define equality as an equivalence relation on a set of numbers.
1. R is reflexive: ∀ x ∈ A, (x, x) ∈ R.
19
20 CHAPTER 3. NUMBER SYSTEMS
Definition 2. Addition on N.
+ 1 2 3 4 5 ···
1 2 3 4 5 6 ···
2 3 4 5 6 7 ···
3 4 5 6 7 8 ···
4 5 6 7 8 9 ···
5 6 7 8 9 10 ···
.. .. .. .. ..
. . . . .
Definition 3. Multiplication on N.
· 1 2 3 4 5 ···
1 1 2 3 4 5 ···
2 2 4 6 8 10 ···
3 3 6 9 12 15 ···
4 4 8 12 16 20 ···
5 5 10 15 20 25 ···
.. .. .. .. ..
. . . . .
We will assume that the following laws, or axioms, are true for addition and
multiplication of natural numbers m, n and p.
Addition Multiplication
Closure Laws
m + n is a unique natural number m · n is a unique natural number
Identity Laws
m·1=1·m=m
Associative Laws
(m + n) + p = m + (n + p) (mn)p = m(np)
Commutative Laws
m+n=n+m mn = nm
Distributive Law for Multiplication over Addition
m(n + p) = mn + mp
Theorem 1. If a = b, then a + c = b + c.
Therefore we have just now shown that we can add the same number to both
sides of the equation and the equality still holds. We will now show that we can
subtract the same number from both sides of an equation and the equality still
holds.
Theorem 4. If a, b, c ∈ N, a = b ⇔ ac = bc.
The proof is similar to Theorems 1 and 2 and is left as an exercise.
With the given tables, we can add, subtract, multiply and divide numbers and
solve equations with natural number solutions. Now we can readily verify that
8 + 3 = 11 because of the definition of addition on N. Also, we can show that
6 − 2 = 4. Since we know that 4 + 2 = 6 by definition of addition on N, therefore
6 − 2 = 4. Also, 15 ÷ 3 = 5 since 5 · 3 = 15.
By the definition of subtraction, x + 2 = 6 if and only if x = 6 − 2 but we
have already shown that 6 − 2 = 4. Therefore, by transitivity, x = 4. We can
now solve linear equations while justifying each step with an axiom, definition or
a (proven) theorem.
Solution 2.
Statement Reason
8 · 2 = 16 definition of · on N
16
Example 4. Verify 2
= 8.
Solution 4. Proof. From definition of division, 16
2
= 8 if and only if 16 = 2 · 8.
From definition of multiplication on N, 2 · 8 = 16. Hence, 16
2
=8
We may wish to solve equations of the form x + 9 = 9 and there is not natural
number solution. Thus we need to expand our set to the set of whole numbers.
In addition to the axioms for the natural numbers, we add the identity law for
addition. Hence, we have the following set of axioms.
Addition Multiplication
Closure Laws
m + n is a unique whole number m · n is a unique whole number
Identity Laws
m+0=0+m=m m·1=1·m=m
Associative Laws
(m + n) + p = m + (n + p) (mn)p = m(np)
Commutative Laws
m+n=n+m mn = nm
Distributive Law for Multiplication Over Addition
m(n + p) = mn + mp
Theorem 5. a · 0 = 0
Proof. Because equality is reflexive, a·0 = a·0. From the identity law, a·(0+0) =
a · 0 + 0. By the distributive law, a · 0 + a · 0 = a · 0 + 0. By the commutative law,
a · 0 + a · 0 = 0 + a · 0. By Theorem 2, a · 0 = 0.
3.7 Integers
Now we need to expand the set of whole numbers so that we compute values such
as 7−9. Integers are defined as Z ≡ {−n|n ∈ N}∪W = {. . . , −3, −2, −1, 0, 1, 2, 3, . . . }.
The mathematical system will be as follows:
The operations are the same except we can now add an inverse element for
addition, but not multiplication.
Addition Multiplication
Closure Laws
m + n is a unique whole number m · n is a unique whole number
Identity Laws
m+0=0+m=m
Inverse Laws, for m 6= 0
1 1
m + (−m) = 0 = (−m) + m m· m
=1= m
·m
Associative Laws
(m + n) + p = m + (n + p) (mn)p = m(np)
Commutative Laws
m+n=n+m mn = nm
Distributive Law for Multiplication Over Addition
m(n + p) = mn + mp
The theorem states that (−a) · (b) is equal to the additive inverse of ab. So if
we add ab to (−a) · (b) we should get zero. This will be the strategy of the proof.
Proof.
3.7. INTEGERS 27
Statement Reason
(−a) · b + ab = b · (−a) + b · a commutative law for ·
= b · (−a + a) distributive law for · over +
=b·0 inverse law for +
=0 zero law
= −(ab) + ab inverse law for +
= (−a) · b + a · b transitivity
Therefore (−a) · (b) = −(ab) cancelation law
Corollary 7. (−1) · b = −b
Theorem 8. (−a)(−b) = ab
We will use the same technique as in the previous theorem.
Proof.
Statement Reason
(−a)(−b) + −(ab) = (−a)(−b) + (−a)(b) theorem: −(xy) = (−x)y
= (−a)(−b + b) distributive law for · over +
= (−a)(0) inverse law for +
=0 theorem: x · 0 = 0
0 = ab + −(ab) inverse law for +
(−a)(−b) + −(ab) = ab + −(ab) transitivity
(−a)(−b) = ab right hand cancelation theorem
Theorem 9. (i) For any real number a, its additive inverse is unique.
(ii) For any real number a, its multiplicative inverse is unique.
Proof. (i) We assume that there exists another inverse, b, such that a + b = 0 and
show that b must be equal to zero.
Statement Reason
a+b=0 assumption
0 = a + (−a) inverse law
a + b = a + (−a) Transitivity
b = −a by Left Hand Cancelation Theorem
The proof of Theorem 1 part (ii) is left as an exercise.
28 CHAPTER 3. NUMBER SYSTEMS
Starting with the conclusion, we find the motivation for the proof.
Statement Reason
a − b = a + −b given
a = b + (a + −b) definition of subtraction
a = b + (−b + a) commutative law
a = (b + −b) + a associative law
a=0+a inverse law
a=a identity, equality is reflexive
We now state the previous reasoning backwards and this will be the proof of the
theorem.
Statement Reason
a=a equality is reflexive
a=a+0 identity law
a = a + (b + −b) inverse law
a = (a + b) + −b associative law
a = (b + a) + −b commutative law
a = b + (a + −b) associative law
∴ a = b + (a + −b) transitive
∴ a − b + a + −b definition of subtraction
Theorem 11. a − a = 0
Proof.
Statement Reason
a=a reflexive
=a+0 identity law
∴a−a=0 definition of subtraction
3.8. SOLVING INTEGER EQUATIONS 29
Solution 8.
Statement Reason
t + 7 − 7 = t + (7 + −7) theorem: a − b = a + (−b)
=t+0 inverse law for +
=t identity law for +
Solution 9.
Statement Reason
−3 + 5 = 5 + −3 commutative law for +
= (2 + 3) + −3 definition of + on N
= 2 + (3 + −3) associative law for +
=2+0 inverse law for +
=2 identity law for +
Solution 10.
Statement Reason
(−4) · 4 = −(4 · 4) Theorem: (−a) · b = −(ab)
= −(16) definition of · on N
Solution 11.
Statement Reason
(x − 31) + 31 = 43 + 31 Theorem: If a = b, then a + c = b + c
(x + −31) + 31 = 43 + 31 Theorem: a − b = a + (−b)
x + (−31 + 31) = 43 + 31 associative law for +
x + 0 = 43 + 31 inverse law for +
x = 43 + 31 identity law for +
x = 74 definition of + on N
Given the sets that we currently have, we are unable to solve these types of
problems. Once again, we must expand the set.
Addition Multiplication
Inverses, for m 6= 0
1 1
m + (−m) = 0 = (−m) + m m· m
=1= m
·m
Identities
1 1
m+0=0+m=m m· m
= m
·m=1
Proof. An exercise.
32 CHAPTER 3. NUMBER SYSTEMS
Proof. An exercise.
Proof. An exercise.
a
Theorem 16. If a ∈ Q and a 6= 0, then a
= 1.
a
Theorem 17. 1
= a for a ∈ Q.
Proof. An exercise.
a c ad+bc
Theorem 18. For a, b, c, d ∈ Z and b, d 6= 0, then b
+ d
= bd
.
Proof.
Statement Reason
a
b
+ dc = ab · 1 + c
d
·1 identity law for ·
a d cb a c a
b
· d
+ db
= b
·1+ d
· 1 theorem: a
=1
ad cb
= bd
+ db
definition of · on Q
ad bc
= bd
+ bd
commutative law for · on Z
ad+bc
= bd
definition of · on Q
3.9. RATIONAL NUMBERS 33
0
Theorem 19. For b ∈ Z − {0}, b
= 0.
−a a
Theorem 20. For a, b ∈ Z and b 6= 0, b
= −b
= − ab .
We will play the exact same game we played to show (−a) · b = −(ab).
Proof.
Statement Reason
−a −a+a
b
+ ab = b
definition of + on Q
0
= b
inverse law for +
=0 theorem: 0b = 0
= − ab + a
b
inverse law for +
−a
∴ − ab + a
b
= b
+ a
b
transitivity
−a
− ab = b
Right Hand Cancelation Theorem
a c a
Theorem 21. For a, b, c, d ∈ Z and b, d 6= 0, b
÷ d
= b
· dc .
Proof. ab = ab · 1 by the identity law for multiplication. By the inverse law for
multiplication, dc · dc = 1. By the substitution theorem, ab = ab · dc · dc . By the
definition of division, ab ÷ dc = ab · dc .
a÷c a
Theorem 22. For a, b, c, d ∈ Z and b, d 6= 0, b÷d
= b
÷ dc .
a÷c a
Proof. By definition of division, b÷d
= (a ÷ c) ÷ (b ÷ d) = c
÷ db .
34 CHAPTER 3. NUMBER SYSTEMS
5 · 77 + 3
7
= 5
1
· 77 + 3
7
theorem: a
1
=a
5
1
· 77 + 3
7
= 5·7
1·7
+ 3
7
definition of · on Q
5·7 3 35 3
1·7
+ 7
= 7
+ 7
definition of · on N
35 3 35+3
7
+ 7
= 7
definition of + on Q
35+3 38
7
= 7
definition of + on N
1 6 2
Example 15. Compute: 8 7
+ 7
.
Proof.
Statement Reason
1 6
( + 27 ) = 81 ( 6+2
8 7 7
) definition of + on Q
1 6+2 1 8
8
( 7 ) = 8
· 7
definition of + on N
1 8 1·8
8
· 7
= 8·7
definition of · on Q
1·8 8·1
8·7
= 8·7
commutative law
8·1 8 1
8·7
= 8
· 7
definition of · on Q
8 1 1 a
8
· 7
=1· 7
theorem: a
=1
1 1
1· 7
= identity law for ·
7
3.10. SOLVING RATIONAL EQUATIONS 35
36 CHAPTER 3. NUMBER SYSTEMS
1 6 2
Example 16. Compute: 8 7
+ 7
.
Proof.
Statement Reason
1 6
( + 27 ) =
8 7
1
8
6
· + ·
7
1
8
2
7
distributive law for · over +
1
8
· 67 + 18 · 2
7
= 1·6
8·7
+ 1·2
8·7
definition of · on Q
1·6 1·2 6 2
8·7
+ 8·7
= 56
+ 56
definition of · on N
6 2 6+2
56
+ 56
= 56
definition of + on Q
6+2 8
56
= 56
definition of + on N
8 8
56
= 8·7
definition of · on N
8 8·1
8·7
= 8·7
identity law for ·
8·1 8 1
8·7
= 8
· 7
definition of + on Q
8 1 1 a
8
· 7
=1· 7
theorem: a
=1
1 1
1· 7
= 7
identity law
3 −2
Example 17. Simplify the following: 4
· 3
.
3.10. SOLVING RATIONAL EQUATIONS 37
Statement Reason
3 −2
4
· 3 = 3·−2
4·3
definition of · on Q
3·−2 −2·3
4·3
= 4·3
commutative law
−2·3 −2 3
4·3
·1= 4
· 3
definition of · on Q
−2 3 −2 a
4
· 3
= 4
·1 theorem: a
=1
−2 −2
4
·1= 4
identity law
−2 −2
4
= 2·2
definition of · on N
−2 −2·1
2·2
= 2·2
identity law
−2·1 −2·1
2·2
= 2·2
Theorem 6
−2·1 −1·2
2·2
= 2·2
commutative law
−1·2 −1·2
2·2
= 2·2
Theorem 6
−1·2 −1 2
2·2
= 2
· definition of · on Q
2
−1 2 −1 a
2
· 2
= 2 ·1 theorem: a
=1
−1 −1
2
·1= 2
identity law
5 1 16
Example 18. Verify that 6
+ 2
= 12
.
Proof.
Statement Reason
5
6
+ 12 = (5·2+6·1)
6·2
theorem: a
b
+ c
d
= ad+bc
bd
(5·2+6·1) 10+6
6·2
= 12
definition of · on N
10+6 16
12
= 12
definition of + on N
1 7
Example 19. Solve 3
+r = 8
for r.
Proof.
38 CHAPTER 3. NUMBER SYSTEMS
Statement Reason
( 13 + r) + − 13 = 7
8
+ − 13 theorem: if a = b then a + c = b + c
(r + 13 ) + − 13 = 7
8
+ − 13 commutative law
r + ( 13 + − 13 ) = 7
8
+ − 13 associative law
7
r+0= 8
+ − 13 inverse law
7
r= 8
· 1 + − 31 · 1 identity law
7
= 8
· 33 + − 13 · 8
8
theorem: a
a
=1
7·3
= 8·3
+ − 1·8
3·8
definition of · on Q
21 8
= 24
+ − 24 definition of + on N
21 −8 −a
= 24
+ 24
theorem: − ab = b
21+−8
= 24
definition of + on Q
(13+8)+−8
= 24
definition of + on N
13+(8+−8)
= 24
associative law
13+0
= 24
inverse law
13
= 24
identity law
Statement Reason
5x + 2 = 15 + 2 definition of + on N
(5x + 2) − 2 = (15 + 2) − 2 theorem: if a = b then a − c = b − c
(5x + 2) + −2 = (15 + 2) + −2 theorem: a − b = a + −b
5x + (2 + −2) = 15 + (2 + −2) associative law for +
5x + 0 = 15 inverse law for +
5x = 15 identity law for +
1 1
5x · 5
= 15 · 5
theorem: if a = b then ac = bc
5x 1 15 1 a
1
· 5
= 1
· 5
theorem: = a
1
5x·1
1·5
= 15·1
1·5
definition of ·onQ
5x·1 15·1
5·1
= 5·1 commutative law for ·
5x 1
5
· 1 = 15 5
· 1
1
definition of · on Q
5x 15 a
5
·1= 5 ·1 theorem: a
=1
5x
5
= 155
identity law for ·
5·x
5·1
= 155
identity law for ·
5 x 15
5 1
· = 5
definition of · on Q
x 15 a
1· 1 = 5 theorem: a
=1
x 15
1
= 5
identity law for ·
15 a
x= 5 theorem: 1
=a
= 5·3
5
definition of · on N
5·3
= 5·1 identity law for ·
= 55 · 31 definition of · on Q
= 1 · 31 theorem: a
a
=1
= 13 identity law for ·
a
=3 theorem: 1
=a
Statement Reason
5x + 2 = 15 + 2 definition of + on N
5x = 15 right-hand cancellation theorem
5x = 5 · 3 definition of ·
x = 5·35
definition of ÷
5·3
= 5·1 identity
= 55 · 13 definition of · on Q
= 1 · 13 theorem: a
a
=1
a
=1·3 theorem: 1
=a
=3 identity
Example 22. Consider the following set. A = {0.9, 0.99, 0.999, . . . } Determine
the least upper bound.
Solution 12. Note that for all a ∈ A, a ≤ 1. Therefore the set has an upper bound
of 1 and 1 is the least number such that a ≤ 1. Therefore the least upper bound of
A is 1.
3.11.3 Limits
Before we discuss limits we first introduce the notion of a sequence. A sequence
is a set of numbers that can put into a one-to-one correspondence with the set of
natural numbers. For example, if an = n1 , then the sequence is 1, 12 , 13 , . . . . Note
that when n is large, an gets close to 0.
n
.
ak ≡ a1 + a2 t + .. + an
X
k=1
42
4.1. USING MATHEMATICAL INDUCTION TO PROVE STATEMENTS 43
For example:
4
X
2·k =2·1+2·2+2·3+2·4
k=1
2 + 4 + 6 + 8 = 20.
7
X
= 32 + 42 + 52 + 62 + 72
k=4
9 + 16 + 25 + 36 + 49 = 135.
n
X n(n + 1)
Theorem 23. k=
k=1
2
n
X n(n + 1)
Proof. Let S = {n ∈ N : k= }. Since
k=1
2
1
X 1 · (1 + 1)
k=1= , 1 ∈ S. Assume m ∈ S; that is,
k=1
2
m
X m(m + 1)
= for some m ∈ N. Then,
k=1
2
m+1
X m
X m+1
X
= k+ k
k=1 k=1 k=m+1
m(m + 1)
= +m+1
2
m(m + 1) 2(m + 1)
= +
2 2
(m + 1)(m + 2)
=
2
(m + 1)[(m + 1) = 1]
=
2
44 CHAPTER 4. INDUCTION AND EXPONENTS
4.2 Exponents
Exponents are defined inductively.
Statement Reason
ak+1 · am = (a · ak ) · am definition of exponents
= a(ak · am ) associative law for ·
= a · am+k inductive hypothesis
= a(m+k)+1 definition of exponents
= am+(k+1) associative law for addition
4.2. EXPONENTS 45
am
Theorem 26. an
= am−n .
The theorem follows from the definition of division, the theorem that ap · aq =
aq+p , and the theorem from the preceding chapter.
POLYNOMIALS
First, a function can be defined as a rule that assigns a given input to a unique
output. The input and output are referred to as the independent and dependent
variables, respectively. In this system, we have the consider set of all polynomials
P which is defined as
P = a0 + a1 x + a2 x2 + · · · an−1 xn−1 x + an xn , an ∈ R.
46
5.1. POLYNOMIALS AS A MATHEMATICAL SYSTEM 47
n
X
P = ak x k
k=0
5, 2x + 9, 7x3 + 3x2 − 1
Notice that each term in the expressions listed above are in the form of ai xi , where
ai is the coefficient and i is the exponent. The degree of a polynomial is the
greatest value of an exponent in the expression. For example, the polynomial
5x4 − 6x3 + 2x2 + x − 8 has degree 4 since the term with the greatest exponent is
5x4 .
n
X n
X
k
ak x = bk xk if and only if ak = bk
k=0 k=0
for k = 1, . . . , n. That is, for two polynomials to be equal, the coefficients per-
taining to terms of the same degree must be the same.
Addition Multiplication
Closure Laws
P + Q is a unique polynomial P · Q is a unique polynomial
Identity Laws
P +0=0+P =P P ·1=1·P =P
Inverse Laws
P + (−P ) = −P + P = 0
Associative Laws
(P + Q) + R = P + (Q + R) (P Q)R = P (QR)
Commutative Laws
P +Q=Q+P P Q = QP
Distributive Law for Multiplication over Addition
P (Q + R) = P Q + P R
5.2.1 Addition
The sum of two polynomials is defined as follows:
n
X n
X n
X
k k
ak x + bk x = (ak + bk )xk
k=0 k=0 k=0
= (a0 + b0 ) + (a1 + b1 )x + (a2 + b2 )x2 + ... + (an + bn )xn .
That is, we add the coefficients that have the same powers of variables. Note that
the sum of two polynomials is just another polynomial (Closure Law).
5.2. OPERATIONS ON THE SET OF POLYNOMIALS 49
5.2.2 Subtraction
We define subtraction on the set of polynomials as follows: Given two polynomi-
als, P1 and P2 , then P1 − P2 = P3 if and only if P1 = P3 + P2 .
5.2.3 Multiplication
In junior high school and even in high school, the only way a student was taught
to multiply polynomials was to FOIL (first, outside, inside, last). However, what
instructors have neglected to tell students was that FOIL fails if both polynomials
are not binomials (a polynomial with two terms). If one polynomial is a trinomial
and the other is a monomial, then it is impossible to even use FOIL. Thus, we now
illustrate a different way to approach these types of problems.
Let
P1 = a0 + a1 x + a2 x2 + a3 x3 + ... + an xn
and
P2 = b0 + b1 x + b2 x2 + b3 x3 + ... + bn xn .
Consider the product
The way that we approach this problem is by asking ourselves a series of ques-
tions:
a0 b0 +(a0 b1 +a1 b0 )x+(a0 b2 +a1 b1 +a2 b0 )x2 +(a0 b3 +a1 b2 +a2 b1 +a3 b0 )x3 +· · ·+(a0 bn +an b0 )xn .
2
X
Note that (a0 b2 + a1 b1 + a2 b0 )x = 2
ak b2−k x2
k=0
and
3
X
(a0 b3 + a1 b2 + a2 b1 + a3 b0 )x3 = ak b3−k x3 .
k=0
So, P1 P2 =
X0 1
X 2
X n
X
ak b0−k x0 + ak b1−k x1 + ak b2−k x2 + · · · + ak bn−k xn .
k=0 k=0 k=0 k=0
Or
n X
X i
P 1 P2 ≡ ak bn−k xi .
i=0 k=0
The above double sum is the definition of multiplication on the set of polynomi-
als.
5.2. OPERATIONS ON THE SET OF POLYNOMIALS 51
5.2.4 Division
We now define division on the set of polynomials.
P1
= P3 if and only if P1 = P3 P2 .
P2
This is also similar to the definition of division on the set of natural numbers.
Division on the set of polynomials works much in the same manner. Here is
an example.
Solution 2. By definition,
4x2 + 6x + 2
= 4x + 2 if and only if 4x2 + 6x + 2 = (4x + 2)(x + 1).
x+1
We now have to use the steps outlined for multiplication on the set of polynomials
in order to see if this statement is true.
Question: How do I obtain a 0 degree term?
Answer: I get a 0 degree term by multiplying 2 and 1: (2)(1) = 2.
Question: How do I obtain a 1st degree term?
Answer: I get a 1st degree term by multiplying 4x and 1 (and) 2 and x :
((4x)(1) + (2)(x)).
Question: How do I get a 2nd degree term?
Answer: I get a 2nd degree term by multiplying 4x and x: (4x)(x).
52 CHAPTER 5. POLYNOMIALS
Recall when you were in grade school and the teacher gave a problem such
60
as 10
.The first question that would be asked is: How many times does 10 go
into 60? Or how many groups of 10 will give you a total of 60? The answer
could obviously not be more than 60. In this case, our answer would be 6 because
6 · 10 = 60 by definition of multiplication on N. Also, 6 groups of 10 give 60.
Notice that in this case that since 10 goes into 60 evenly, the remainder r is 0. This
same approach applies to polynomials as well.
376
3
3 376
− 376
0
Example 4. Determine the quotient and remainder for (x2 + 6x + 14) ÷ (x + 2).
2. We would then find the product of the quotient and the divisor and then
multiply this product by (−1).
x
x+2 x2 + 6x + 14
− x2 − 2x
3. We subtract the product of the quotient and the divisor from the dividend
and then bring down the next term.
x
2
x+2 x + 6x + 14
− x2 − 2x
4x + 14
5. Again we find the product of the quotient and divisor and then multiply the
product by (−1).
x +4
2
x+2 x + 6x + 14
− x2 − 2x
4x + 14
− 4x − 8
5.2. OPERATIONS ON THE SET OF POLYNOMIALS 55
x +4
2
x+2 x + 6x + 14
− x2 − 2x
4x + 14
− 4x − 8
6
At this point, we do not have any more terms in the dividend; consequently, we
are left with a remainder r = 6 and quotient q = x + 4. Thus, we have that
x2 + 6x + 14 = (x + 4)(x + 2) + 6.
We may verify our result by multiplying and combining like terms on the right
had side:
(x + 4)(x + 2) + 6 = x2 + 6x + 8 + 6 = x2 + 6x + 14
6.1 Introduction
In this chapter we introduce functions.
Mathematical System
The set Real-valued functions
Relationship Equality
Operations Arithmetic, composition, inverse
Axioms (or rules) Closure, commutative, associative, identity, etc.
A system of logic As developed in chapter 2
From which follow theorems Will be developed throughout the chapter
First we consider the set of relations. In chapter two, we defined a Cartesian
product as the set of all ordered pairs (x, y) such that x ∈ A and y ∈ B where A
and B are given sets. A relation, denoted by R, is a subset of a Cartesian product.
Simply stated, a relation from a set A to a set B is a subset of their Cartesian
product. Symbolically,
R ⊆ A × B.
56
6.2. EQUIVALENCE RELATION 57
1. R is reflexive: ∀ x ∈ A, (x, x) ∈ R.
2. R is symmetric: ∀ x, y ∈ A, (x, y) ∈ R =⇒ (y, x) ∈ R.
3. R is transitive: ∀ x, y, z ∈ A, (x, y) ∈ R and (y, z) ∈ R =⇒ (x, z) ∈ R.
6.3 Function
Recall that the cartesian product of two sets is defined as
{x ∈ A| ∃ y ∈ B with (x, y) ∈ R}
The image or range of R [written Im(R)] is defined as the set of all second com-
ponents of the ordered pairs or
{y ∈ B| ∃ x ∈ A with (x, y) ∈ R}
58 CHAPTER 6. RELATIONS AND FUNCTIONS
We will later show that the same operations performed on a set of relations
can also be performed on the set of functions. We usually write a function as f (x)
where f is the name of the function, x is the independent variable, and f (x) is the
dependent variable. We read f (x) is read ”f of x.”
Example 2. Let f (x) = x2 defined on the domain A = {−2, 0, 2, 5}. Write the
function as a set of ordered pairs.
Solution 2. Evaluating f (x) = x2 for each x ∈ A, we have that
Example 3. Let f = {(c, 1), (c, 5), (d, 1), (d, 5), (2, 1), (2, 5)}. Is f a function?
Solution 3. Since (d, 1) ∈ f and (d, 5) ∈ f and 1 6= 5, f is not a function.
Definition 4. Two sets are said to have one-to-one correspondence if every el-
ement of each set can be matched with one and only one element from the other
set.
Solution 6. a. These two sets are in one-to-one correspondence because each el-
ement from one set can be matched with one and only one element from the
other set.
b. These two sets are not in one-to-one correspondence because the first set has
three elements and the second set has only two elements.
c. These two sets are in one-to-one correspondence because each element from
one set can be matched with one and only one element from the other set.
Example 7. Let A = {x, y, z} and B = {10, 15, 20}. Find A × B, determine the
domain and range and state whether A and B are one-to-one.
Solution 7. A×B = {(x, 10), (x, 15), (x, 20), (y, 10), (y, 15), (y, 20), (z, 10), (z, 15), (z, 20)}
Domain of A×B: {x, y, z} Range of A×B: {10, 15, 20} One-to-one: Yes because
there are exactly three elements in each set and every element can be matched with
one element from the other set.
Theorem 27. If R is a relation from the set A to the set B and that A and B are in
a one-to-one correspondence. Then
1. Dom(R−1 ) = Im(R)
60 CHAPTER 6. RELATIONS AND FUNCTIONS
2. Im(R−1 ) = Dom(R)
3. (R−1 )−1 = R
Proof. (1) We need to show that (i) Dom(R−1 ) ⊆ Im(R) and (ii) Im(R−1 ) ⊆
Dom(R).
Therefore Dom(R−1 ) = Im(R). The proofs of (2) and (3) are left as exercises.
Solution 8. Since C = {(3, −7), (4, 5), (2, 1)}, by definition, C −1 = {(−7, 3), (5, 4), (1, 2)}.
6.4. OPERATIONS: ARITHMETIC, COMPOSITION AND INVERSE 61
Example 9. Let G = {(3, −7), (6, 9), (2, 1)}. Find G−1 .
Solution 9. Since G = {(3, −7), (6, 9), (2, 1)}, by definition, G−1 = {(−7, 3), (9, 6), (1, 2)}.
That is, S ◦ R ⊆ A × C is defined by the rule that says that (a, c) ∈ S ◦ R if and
only if there is an element b ∈ B such that (a, b) ∈ R and (b, c) ∈ S.
Example 11. Let f = {(5, 6), (10, 15), (3, 0)} and g = {(5, 1), (10, 2), (1, 9)}.
Find the sum and difference of f and g.
62 CHAPTER 6. RELATIONS AND FUNCTIONS
Solution 11. f + g = {(5, 6 + 1), (10, 15 + 2)} = {(5, 7), (10, 17)}. Note that
the domain of f is D(f ){3, 5, 10} and the domain of g is equal to D(g){1, 5, 10}
and thus Df ∧ Dg = {5, 10}. Therefore, the domain of f + g is given by
Similarly, f − g = f + (−g) = {(5, 6 − 1), (10, 15 − 2)} = {(5, 5), (10, 13)}.
The domain of f − g is
D(f − g) = {5, 10}.
That is, f ◦ g is the set of all ordered pairs (x, z) such that (x, y) ∈ gand(y, z)inf .
The functions f and g have domains D(f ) and D(g) and the ranges are given by
R(g) and so Rg ⊆ Df . We can write the composition of f and g as (f ◦ g)(x)) =
f (g(x)).
(a) (f + g)(x)
(b) (f + g)(2)
(c) f (g(x))
(d) g(f (x)) = g(3x + 7) = 6(3x + 7)2 − 4 = 6(x2 + 14x + 49) − 4 = 6x2 +
84x + 294 − 4 = 6x2 + 84x + 290
6.5 Inverse
The inverse of a relation R is defined as
Consider the set f (x) = x2 on the set {−2, −1, 0, 1, 2}. Note that the function is
given by
f = {(−2, 4), (−1, 1), (0, 0), (1, 1), (2, 4)}.
Thus, f −1 = {(4, −2), (1, −1), (0, 0), (1, 1), (4, 2) which is not a function since
(4, −2), (4, 2) ∈ f −1 but −2 6= 2. Therefore, f −1 is not a function. Notice that f
is not a one-to-one function.
We now consider a special relation, a function.
Note that f and g must both satisfy the definition of a function. and if
64 CHAPTER 6. RELATIONS AND FUNCTIONS
Example 14. Determine whether f and g are inverse functions. f = {(x, y)|y =
4x − 8} and g = {(x, y)|y = 41 x + 2}
Also, if we solve g(x) for x and then interchange x for y, we then have the
equation y = 4x − 8, which describes f .
Chapter 7
65