Introduction To Advanced Math Student
Introduction To Advanced Math Student
Introduction to Advanced
Mathematics
B. J. Baker
LaTeXed by Alys Rodriguez
Lamar University
Contents
To the Student iv
1 INTRODUCTION TO LOGIC 1
1.1 STATEMENTS . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 DENIALS . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 TRUTH TABLES . . . . . . . . . . . . . . . . . . . . . . . 3
1.4 COMPOUND STATEMENTS JOINED BY AND/OR . . . 3
1.5 LOGICALLY EQUIVALENT STATEMENTS, TAUTOLO-
GIES, & CONTRADICTIONS . . . . . . . . . . . . . . . . 4
1.6 DENIALS OF COMPOUND STATEMENTS . . . . . . . . 5
1.7 CONDITIONAL STATEMENTS . . . . . . . . . . . . . . . 7
1.7.1 DENIALS OF CONDITIONAL STATEMENTS . . 7
1.7.2 UNIVERSAL AND EXISTENTIAL QUANTIFIERS 8
1.7.3 DENIALS OF STATEMENTS WITH UNIVERSAL
AND EXISTENTIAL QUANTIFIERS . . . . . . . 11
1.7.4 RELATED CONDITIONAL STATEMENTS . . . . 14
1.7.5 BICONDITIONAL STATEMENTS . . . . . . . . . 15
2 METHODS OF PROOF 17
2.1 PRELIMINARIES . . . . . . . . . . . . . . . . . . . . . . 17
2.2 DIRECT PROOFS . . . . . . . . . . . . . . . . . . . . . . 18
2.3 PROOF BY THE CONTRAPOSITIVE . . . . . . . . . . . 19
2.4 INDIRECT PROOFS . . . . . . . . . . . . . . . . . . . . . 19
ii
CONTENTS iii
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
To the Student
The object of this course is for you to learn the basics of proving theorems.
There are three sayings which you may or may not have heard of, but which
we suggest that you consider seriously with regards to this course.
The first one is “Mathematics is not a spectator sport.” You don’t learn
mathematics by watching someone else do it. That’s particularly true when
it comes to learning how to prove theorems. You need to learn how by prov-
ing theorems yourself, because it takes a different way of thinking than that
which you are used to using in applying formulas to problems.
The second one is “The devil’s in the details.” The first and last steps in
a proof are usually relatively easy. The hard part is figuring out all the in-
between steps to take - the details.
The third one is “Stick with the nitty-gritty.” That means to stay with the
basics. Make your statements as clear, concise, precise, and uncomplicated
as possible. Try not to make the problem harder than it is. Mathematics
can get complicated enough all by itself; you don’t need to help it. Learn
the definitions (i.e., memorize them) and use them just about the way they
are stated when applying them in a proof. The definitions are usually stated
as precisely as possible. At the level of this course, you don’t want to skip
steps. Most often, that’s where the errors occur: in the skipped steps.
These notes as we have written them were not intended to be used as a self
study course. At the level of this course, the beginning level, you need an in-
structor, someone who understands how to do proofs, to give you feedback
about what you have done, but not someone who just tells you the answers
to your questions or just tells you what you should have done. You need to
figure out as much as possible on your own. The material here presents you
with ample opportunity to do just that.
iv
Chapter 1
INTRODUCTION TO LOGIC
1.1 STATEMENTS
1
INTRODUCTION TO LOGIC 2
Exercise 1.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
INTRODUCTION TO LOGIC 3
1.2 DENIALS
The table below illustrates all of the possible truth values of a statement and
its denial and is called a truth table.
p ¬p
T F
F T
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
INTRODUCTION TO LOGIC 4
p q p∧q p∨q
T T T T
T F F T
F T F T
F F F F
EXAMPLE:
Two statements p and q are logically equivalent provided that they have
exactly the same truth values in all possible cases; i.e., their truth table
columns are identical. Symbolically, for the statement that p and q are logi-
cally equivalent, we write p ⇐⇒ q.
A statement is a tautology provided that its truth value in all possible cases
is True; i.e., in a truth table a tautology would have a column of all T’s.
In table 1.3, which statements, if any, are equivalent, and how do you
know?
Which, if any, are tautologies, and how do you know?
Which, if any, are contradictions, and how do you know?
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
INTRODUCTION TO LOGIC 5
p q ¬p ¬q p ∨ ¬p p ∧ ¬p p∨q ¬(p ∨ q) ¬p ∨ ¬q ¬p ∧ ¬q
T T
T F
F T
F F
Table 1.3: Truth Table Showing a Tautology, a Contradiction, and Equivalent Statements
By Table 1.3, we see that the statements ¬(p ∨ q) and ¬p ∧ ¬q are logically
equivalent.
The statement ¬(p ∨ q) is read “It is not the case that p or q,” while the
statement ¬p ∧ ¬q is read “Not p, and not q.”
The statement “It is not the case that p or q” is a denial of the statement “p
or q,” but it is not a very useful statement. The statement “Not p, and not q”
is a much more useful statement, so since the two statements are logically
equivalent, when we want to write a useful denial of “p or q”, we will write
“Not p, and not q.”
Not only is “Not p and not q” the useful denial of “p or q”, but now we also
see by Table 1.4 that “Not p or not q” is the useful denial of “p and q.” The
statements that ¬(p ∨ q) ⇐⇒ ¬p ∧ ¬q and that ¬(p ∧ q) ⇐⇒ ¬p ∨ ¬q are
known as DeMorgan’s Laws.
EXAMPLES:
Statement 1: My math book has a blue cover, and it contains more than
100 pages.
Denial:
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
INTRODUCTION TO LOGIC 6
p q ¬p ¬q p∧q ¬(p ∧ q) ¬p ∧ ¬q ¬p ∨ ¬q
T T
T F
F T
F F
Exercise 2.
For each of the following pairs of statements, form the conjunction, write its
denial, form the disjunction, and write its denial, labeling each statement
as to what it is. Then classify the resulting 4 statements as true or false.
1. Venus is the planet closest to the Sun; Mercury is the planet farthest
from the Sun.
2. Pete owns a Ford F150 (assume true); Mary owns a Mercedes (assume
false).
3. Shakespeare wrote A Tale of Two Cities; Tolstoy wrote War and Peace.
4. Orion is not a sign of the Zodiac; Capricorn is a sign of the Zodiac.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
INTRODUCTION TO LOGIC 7
p q p→q ¬p ¬p ∨ q
T T T F T
T F F F F
F T T T T
F F T T T
Table 1.5 on the preceding page shows that the only time that the conditional
statement p → q is false is when the hypothesis p is true and the conclusion
is false. The table also shows that p → q ⇐⇒ ¬p ∨ q.
EXAMPLE:
“If a polygon is a triangle, then the sum of the measures of its angles is
180◦ .” is a conditional statement. The hypothesis is “a polygon is a trian-
gle,” and the conclusion is “the sum of the measures of its angles is 180◦ .”
This conditional statement is true because when the hypothesis is true, then
the conclusion is also true. A logically equivalent statement to the given
conditional statement is “either a polygon is not a triangle or the sum of its
angles is 180◦ .” In mathematics, most axioms and theorems are stated in the
“if, then” form rather than in the “either, or” form.
By the table below we see that the useful denial of p → q is p ∧ ¬q. Since
p → q is logically equivalent to ¬p ∨ q, its useful denial is the same as for
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
INTRODUCTION TO LOGIC 8
¬p ∨ q.
p q p→q ¬(p → q) ¬q p ∧ ¬q
T T T F F F
T F F T T T
F T T F F F
F F T F T F
EXAMPLES:
Statement 1: If Toronto is the capital of New York, then Boston is the
capital of Texas.
Denial:
Statement 2: If the Great Salt Lake is in Utah, then Lake Okeechobee
is in Oklahoma.
Denial:
Exercise 3.
Write the denial of each of the following conditional statements. What is
the truth value of each statement and its denial (if you know it)?
“If the city of Austin is the capital of Texas, then it has a population of more
than 100,000” and “If a city is the capital of a state, then it has a popula-
tion of more than 100,000” are both conditional statements, but there is a
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
INTRODUCTION TO LOGIC 9
In general, when we want to assert that every element of some set has a cer-
tain property, we let the set of all things to be considered be called a uni-
versal set, denoted by U . In the case of a quantified conditional statement.
we are going to consider only those things which satisfy the hypothesis (i.
e., make the hypothesis true) since anything which makes the hypothesis
false renders the conditional true, regardless of the truth value of the con-
clusion. So in the case of the second conditional above, our U is the set
consisting of the 50 state capitals.
So the statement “If a city is the capital of a state, then it has a population
of more than 100,000” is equivalent in meaning to the statement “For every
city x that is the capital of a state, x has a population of more than 100,000.”
It is also equivalent to the statement “Every state capital has a population
of more than 100,000. The latter two statements are still considered condi-
tional statements even though they are not in the “If, then” form. For each
of these statements, x represents an element of the set U containing the 50
state capitals, and P(x) is “ x has a population of more than 100,000.”
Now the set of all elements x in U for which P(x) is a true statement is
called the solution set S for P. The solution set S may be U , it may be a
proper subset of U , or it may be empty.
For example, let’s suppose there is a box of chocolates on the desk, U rep-
resents the set of all chocolates in that box, the variable x represents a piece
of candy in U , and P(x) represents the sentence “x has a caramel center.”
In the case that the solution set S is U , we can say, “If x is a piece of choco-
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
INTRODUCTION TO LOGIC 10
late in the box, then x has a caramel center,” or we can say, “For every piece
x of chocolate in the box, x has a caramel center,” or we can say “Every
piece of chocolate in the box has a caramel center.” All 3 statements mean
the same thing, and all are true about the chocolates in the box. In this case
where S is U , the statement (∀x)(P(x)) is true.
In the case that the solution set S is a proper subset of U , we can say, “For
some piece x of chocolate in the box, x has a caramel center,” or we can say
“There is a piece x of chocolate in the box such that x has a caramel center,”
or we can say, “Some piece of chocolate in the box has a caramel center.”
Again all 3 of these statements mean the exactly same thing, and all are true
about the chocolates in the box. In this case where S is a proper subset of
U , the general statement is denoted by (∃x)(P(x)), which is read “There
exists an x such that P(x),” and that statement is true for this case.
In the case that the solution set S is empty, we can say, “There is no piece x
of chocolate in the box which has a caramel center,” or we can simply say
“No piece of chocolate in the box has a caramel center.” If we change our
property P(x), which is “x has a caramel center,” to ¬P(x), which is “x does
not have a caramel center,” then the solution set S for ¬P would be U . In
that case we can say, “For every piece x of chocolate in the box, x does not
have a caramel center,” or we can say, “If x is a piece of chocolate in the
box, then x does not have a caramel center,”or we can say, “Every piece of
chocolate in the box does not have a caramel center.” All of these statements
are true in this case and mean the same thing. In this situation where the so-
lution set for ¬P is U , the general statement is denoted by (∀x)(¬P(x)),
which is read “For every x, not P(x).”
In the diagram on the left, the statement “every piece of chocolate in the box
has a caramel center” is true. Also true is the the statement “some piece of
chocolate in the box has a caramel center.” In the diagram in the middle,
the statement “some piece of chocolate (A) in the box has a caramel center”
is true. Also true is the statement “some piece of chocolate (B) in the box
does not have a caramel center.” In the diagram on the right, the statement
“no piece of chocolate in the box has a caramel center” is true, and so is the
equivalent statement “every piece of chocolate in the box does not have a
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
INTRODUCTION TO LOGIC 11
Figure 1.1: Euler Diagrams.
caramel center.”
Words like “every,” “all,” “any,” and “no” are called universal quantifiers,
and the word “some,” which means “one or more,” is called an existential
quantifier. The word “a” is NOT considered to be a quantifier of either
kind; it is not specific enough. In the statement “a spider has 8 legs,” one
usually considers the “a” to mean “every.” However, in the statement “a
spider is crawling up the wall behind you,” the “a” (hopefully) only means
“some.”
In order for the statement (∀x)(P(x)) to be false, the solution set S can not
be U . Hence there must be at least one element in U that is not in S; that is,
there is an element x in U for which P(x) is false and ¬P(x) is true. A de-
nial of the statement (∀x)(P(x)) is therefore the statement (∃x)(¬P(x)).
For example, the statement “There is a piece x of chocolate in the box such
that x does not have a caramel center.” is a denial of the statement “For
every piece x of chocolate in the box, x has a caramel center” and of the
statement “If x is a piece of chocolate in the box, then x has a caramel cen-
ter.” For a denial of the statement “Every piece of chocolate in the box has a
caramel center,” we could use the same statement but would more likely use
the statement “Some piece of chocolate in the box does not have a caramel
center.” It also follows that a denial of the statement (∃x)(¬P(x)) is the
statement (∀x)(P(x)).
Likewise, for the statement (∀x)(¬P(x)) to be false, the solution set S can
not be U . Hence there must be at least one element in U that is not in S;
that is, there is an element x in U for which ¬P(x) is false and P(x) is true.
A denial of the statement (∀x)(¬P(x)) is the statement (∃x)(P(x)). For
example, the denial of the statement “For every piece x of chocolate in the
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
INTRODUCTION TO LOGIC 12
box, x does not have a caramel center” is the statement “There is a piece x
of chocolate in the box such that x has a caramel center.” It is also correct to
write “For some piece x of chocolate in the box, x does not have a caramel
center.” For a denial of the statement “Every piece of chocolate in the box
does not have a caramel center,” we would use the statement “Some piece
of chocolate in the box has a caramel center.”
For the statement (∃x)(P(x)) to be true, the solution set S can be either U
or a nonempty subset of U . So (∃x)(P(x)) is false when the solution set
S is empty. Hence a denial of the statement (∃x)(P(x)) is the statement
(∀x)(¬P(x)). Mathematically, this form is preferred over a statement such
as “No x in U has property P(x) ,” or “There is no x in U for which property
P(x) is true.” So mathematically speaking, we prefer the denial of “Some
piece of chocolate in this box has a caramel center.” to be given as “Every
piece of chocolate in this box does not have a caramel center.” rather than
“No piece of chocolate in this box has a caramel center,” or “There is no
piece of chocolate in the box which has a caramel center.” Basically, we
want the negative as close to the end of the sentence as possible, and in
many cases, the negative can be avoided altogether.
EXAMPLES:
Exercise 4.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
INTRODUCTION TO LOGIC 13
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
INTRODUCTION TO LOGIC 14
There are three other conditional statements related to the conditional “If
p, then q.” These are the converse - “If q, then p,” the inverse - “If not p,
then not q,” and the contrapositive - “If not q, then not p.” In writing the
converse of a given conditional statement, you don’t just switch the hypoth-
esis and the conclusion word for word. In the hypothesis of any conditional
statement, the “object or objects under discussion” need to be identified. In
the conclusion, that “object” or those “objects” may then be referred to by a
pronoun. The resulting statement needs to be grammatically correct.
EXAMPLE
Note that in each of the statements above, the object mentioned is a “per-
son,” and this is stated in the hypothesis in every case. Then in the conclu-
sion the person under discussion is referred to by the generic pronoun “he.”
Table 1.7 shows that the given conditional and its contrapositive have iden-
tical truth values and are therefore equivalent, while the converse and the
inverse also have identical truth values and are likewise equivalent.
p q ¬p ¬q p→q q→ p ¬p → ¬q ¬q → ¬p
T T F F T T T T
T F F T F T T F
F T T F T F F T
F F T T T T T T
EXAMPLE:
Conditional: If two integers are both even, then their sum is even.
Converse: .
Inverse: .
Contrapositive: .
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
INTRODUCTION TO LOGIC 15
In this exanple the “object or objects under discussion” are “two integers”
or “the sum of two integers,” and the appropriate pronoun is either “they”
or “their.”
Exercise 5.
For the following conditional statements, write the converse, the inverse,
and the contrapositive. Give each statement’s truth value. Which of the 4
statements (the given conditional, the converse, the inverse, and the contra-
positive) always have the same truth values?
p q p↔q p→q q→ p (p → q) ∧ (q → p)
T T T T T T
T F F F T F
F T F T F F
F F T T T T
The truth table in Table 1.8 shows that the biconditional p ↔ q is logically
equivalent to (p → q) ∧ (q → p).
EXAMPLES:
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
INTRODUCTION TO LOGIC 16
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
Chapter 2
METHODS OF PROOF
2.1 PRELIMINARIES
In every mathematical system, there two types of terms: defined and un-
defined. Examples of undefined terms are set, element, in, number, point,
between, and line. Then there are terms which are defined in terms of the
undefined terms, such as subset, even integer, ray, angle.
Also, there are three types of statements:
Any set of axioms (or postulates) is kept to a minimum. Why do you think
that is? Theorems are usually conditional statements, such as p → r. The
hypothesis p contains what is known as the “given information,” that is, the
information we have to start out with.
p q p→q p ∧ (p → q) (p ∧ (p → q)) → q
T T T T T
T F F F T
F T T F T
F F T F T
17
METHODS OF PROOF 18
Proof:
Let m and n both be even integers. (given)
Then there is an integer k such that m = 2k. ( )
and (definition of even integer)
So then m + n = (equal #’s added to equal #’s)
and m + n = 2·( ) (distributive property)
But is an integer, ( )
so m + n is an even integer. ( )
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
METHODS OF PROOF 19
theorem. Find 3 examples of even integers, and show why they are (using
the definition, of course). Find 3 examples of integers which are not even.
Illustrate the theorem with 3 examples. How many pairs of even integers
are there? Could 3 examples prove the theorem is true?
A proof by the contrapositive is actually a direct proof also, just not of the
given statement. Instead it is a proof of the equivalent conditional statement
called its contrapositive.
Theorem: p → r
In this type of proof, one doesn’t usually know beforehand exactly what
statement is going to be contradicted. But there will be a contradiction, and
it will be to either the given information or to some definition, axiom, or
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
METHODS OF PROOF 20
Assume also that we know that an integer is either even or odd, but not both.
Proof:
Let m and n be integers such that m · n is even. (given)
Suppose it is not true that one of m and n is an even integer.(Supposition: ¬q)
Then . (useful denial of q
by the assumption
above)
Then .
So .
So .
But this contradicts . Therefore, , so .
The tautologies in the next exercise will be especially useful when proving
the theorems concerning sets in the next chapter.
Exercise 6.
In part A, show that the given statements are tautologies. Then use the tau-
tologies to answer the corresponding questions in part B.
A: 1. (p ∧ q) → p
2. (p ∧ q) → (p ∨ q)
3. p → (p ∨ q)
4. p ∨ (q ∨ r) ↔ (p ∨ q) ∨ r
5. p ∧ (q ∧ r) ↔ (p ∧ q) ∧ r
6. p ∧ (q ∨ r) ↔ (p ∧ q) ∨ (p ∧ r)
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
METHODS OF PROOF 21
7. p ∨ (q ∧ r) ↔ (p ∨ q) ∧ (p ∨ r)
8. (p ∨ q) → r ↔ (p → r) ∧ (q → r)
9. (¬r → (w ∧ ¬w)) → r (This is the basis for the indirect proof.)
B: 1. If you know “ John is here and Judy is here,” then you know “ .”
2. If you know “ John is here and Judy is here,” then you know “ .”
3. If you know “ John is here,” then you know “ .”
4. “Billy has gone home or Terry is still here, or Joe has not yet arrived.”
is logically equivalent to the statement “
.”
5. “Billy has gone home, and Terry is still here and Joe has not yet ar-
rived.” is logically equivalent to the statement “
.”
6. “Susie is 5 or Josie is 9, and Susie is 5 or Maggie is 7.” is logically
equivalent to the statement “
.”
7. “Bill is 5 ft. 7 in. tall, and Mary is 4 ft. 10 in. tall or Gordon is 4 ft. 10
in. tall.” is logically equivalent to the statement “
.”
8. “If either two integers are both odd or they are both even, then their
sum is even.” is logically equivalent to the statement “
.”
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
Chapter 3
We denote sets by capital letters and their elements by lower case letters.
A set may be defined by words, such as N is the set of all natural numbers.
“The set S of all the people in China who ate rice on January 1, 2007” de-
fines a set, but “the set of all good books” does not define a set. Why, or
why not?
A set may be defined by a list (the roster method), such as, A = {1, 2, 3, 4, 5, 6},
or a set may be defined by the set builder notation, such as
B = {x|x is a prime number}, read either as “the set of all x such that x is a
prime number” or as “the set to which x belongs if and only if x is a prime
number.”
In defining a set using the roster method or the set builder notation, braces
are always used to denote sets just as parentheses are always used to denote
ordered pairs of numbers. We think of the set as being separate from its
elements. If a is an object in set A (or an object which belongs to set A), we
write “a ∈ A,” which is read “a is an element of set A.” If b is not an object
in set A (or b doesn’t belong to A), we write “b ∈/ A,” which is read “b is not
an element of set A.” Also, since the set A is separate from its elements, we
write symbolically “A ∈ / A.”
22
SETS AND SET OPERATIONS 23
3.2 AN AXIOM
3.3 DEFINITIONS
In a given problem we may assume that all of the sets we are discussing
are subsets of some universal set U . Using a universal set also allows us to
draw pictures that represent sets and how they might behave. Such pictures
are referred to as Venn Diagrams. Below are Venn diagrams illustrating A
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
SETS AND SET OPERATIONS 24
Figure 3.1: A ⊆ B, A ∪ B, and A ∩ B
Definition 8. If A and B are sets, then A and B are said to be disjoint if and
only if A ∩ B = 0.
/
/ B\A, and AC
Figure 3.2: A ∩ B = 0,
a. AC b. A ∪ B c. A ∩ B
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
SETS AND SET OPERATIONS 25
2. Shade in each of the following sets in a Venn Diagram, and show your
work.
a. (A ∪ B)C b. (A ∩ B)C c. AC ∪ BC
d. AC ∩ BC e. A ∪ (B ∩C) f. A ∩ (B ∪C)
g. (A ∪ B) ∩ (A ∪C) h. (A ∩ B) ∪ (A ∩C)
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
SETS AND SET OPERATIONS 26
so x ∈
/ A ∪ B if and only if .
so x ∈
/ A ∩ B if and only if .
so A 6= B if and only if .
so x ∈
/ B\A if and only if .
3.6 THEOREMS
1. A ⊆ A
2. A ∪ A = A
3. A ∩ A = A
4. (AC )C = A
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
SETS AND SET OPERATIONS 27
1. 0/ ⊆ A
2. A ∪ 0/ = A
3. A ∩ 0/ = 0/
1. A ∪ AC = U
2. A ∩ AC = 0/
1. A ∪ U = U
2. A ∩ U = A
*Theorem 6.
1. 0/ C = U
2. U C = 0/
1. A ∪ B = B ∪ A
2. A ∩ B = B ∩ A
1. A ∩ B ⊆ A
2. A ⊆ A ∪ B
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
SETS AND SET OPERATIONS 28
Theorem 13. If A, B,C and D are sets such that A ⊆ B and C ⊆ D, then
A ∪C ⊆ B ∪ D and A ∩C ⊆ B ∩ D.
1. A ∪ (B ∪C) = (A ∪ B) ∪C
2. A ∩ (B ∩C) = (A ∩ B) ∩C
1. A ∪ (B ∩C) = (A ∪ B) ∩ (A ∪C)
2. A ∩ (B ∪C) = (A ∩ B) ∪ (A ∩C)
Theorem 18. If A and B are sets, then A ⊆ B if and only if P(A) ⊆ P(B).
Theorem 19. If A, B and C are sets, then A\B ⊆ C if and only if A\C ⊆ B.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
SETS AND SET OPERATIONS 29
“Proof 1:” Let A = {1, 3, 5, 7}, B = {1, 3, 5, 7, 9, 11} and C = {5, 7, 9, 11}.
Then A ⊆ B since every element in A is also in B; but B * C since 1 is in
B, but 1 is not in C. Then we also see that since 1 is in A and not in C, A * C.
“Proof 3:” As can be seen by the Venn Diagram on the next page, since
A ⊆ B and B * C, then A * C.
Figure 3.4: ”Proof 3.”
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
SETS AND SET OPERATIONS 30
“Proof:” Let A and B be sets. Let {x} ∈ P(A\B). Then {x} ⊆ A\B. So
x ∈ A\B. Hence x ∈ A but x ∈ / B. Then {x} ⊆ A, but {x} * B. So {x} ∈
P(A), but {x} ∈/ P(B). Thus, {x} ∈ P(A)\P(B). Therefore, P(A\B) ⊆
P(A)\P(B).
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
Chapter 4
Definition 12. The Cartesian product of two nonempty sets A and B, de-
noted by A × B, is {(a, b)|a ∈ A and b ∈ B}; a is called the first component
of (a, b), and b is called the second component of (a, b).
Notation.
The set of all real numbers is denoted by R, the set R\{0} of non-
zero real numbers is denoted by R∗ , and the Cartesian product R × R
is denoted by R2 . The set of all positive real numbers is denoted by R+ .
31
RELATIONS AND EQUIVALENCE RELATIONS 32
The set of all natural numbers is denoted by N. This is the same set
as the set Z+ .
The set of all complex numbers is denoted by C, and the set of all
non-zero complex numbers is denoted by C∗ .
Exercise 8.
1. {(1, 2), (3, 4), (5, 6), (7, 8), (9, 10)} 2. {(−1, (p, q)), (−2, (r, s)), (−3, (t, u))}
3. R×Z 4. Q × N
5. {(x, y) ∈ R2 |x, y ∈ [0, 1] and x > y} 6. {(x, y) ∈ R2 |y = 5x + 2}
7. {(x, y) ∈ R2 |y = √ |x|} 8. {(x, y) ∈ R2 |x2 + y2 = 1}
9. 2
{(x, y) ∈ R |y ≤ x, x ≥ 0} 10. {((a, b), a + b)|a, b ∈ Z}
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
RELATIONS AND EQUIVALENCE RELATIONS 33
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
RELATIONS AND EQUIVALENCE RELATIONS 34
Exercise 9.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
RELATIONS AND EQUIVALENCE RELATIONS 35
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
Chapter 5
Definition 20. The set A is called the domain of f , and the set B is called
the co-domain of f . The range of f (or image of A under f ) is the set
f (A) = {b ∈ B|b = f (a) for some a in A}.
EXAMPLES
a. Let f : R → R be defined by f (x) = 2x2 − 5x − 1 for all x in R. Then
36
MAPPINGS AND BIJECTIONS 37
what is
i. the image of 5?
ii. a pre-image of 5?
iii. the fiber of f over 5?
iv. the range of f ?
v. f (C) where C = (−1, 1)?
vi. f −1 ([−1, 1])?
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
MAPPINGS AND BIJECTIONS 38
Definition 29. Two sets A and B have the same cardinality if and only if
there is a bijection from A to B. Sets which have the same cardinality are
often referred to as being equally numerous.
5.2 DENIALS
, so x = or x = .
But .
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
MAPPINGS AND BIJECTIONS 39
Therefore α onto.
5 − 2x
2. Let β : R → R where β (x) = for all x in R.
3
1 - 1: Let β (x1 ) = β (x2 ). Then
so ,
and , then .
Therefore β one-to-one.
, so x = .
Now is in R because ,
and β ( )= .
Therefore β onto.
Exercise 10.
For each of the mappings given in problems 1) through 23), be able to show
the following: 3 things in the domain of the mapping, 3 things not in the
domain of the mapping, and 3 ordered pairs that belong to the mapping.
Then determine if the mapping is one-to-one, onto, both, or neither.
2x
10. η : R \ {2} → R \ {2} where η(x) = for all x in R \ {2}.
x−2
3x − 5
11. ν : R \ { −7 3
2 } → R \ { 2 } where ν(x) = for all x in R \ { −7
2 }.
2x + 7
5
12. σ : R \ {−2} → R∗ where σ (x) = for all x in R \ {−2}.
x+2
m
13. γ : Z × Z∗ → Q where γ(m, n) = for all (m, n) in Z × Z∗ .
n
14. λ : Z × Z → Z where λ (m, n) = 3m + 2n for all (m, n) in Z × Z.
15. µ : Z × Z → Z where µ(m, n) = 4m + 2n for all (m, n) in Z × Z.
16. δ : R → R2 where δ (x) = (x + 1, x − 1) for all x in R.
x+y
17. σ : R2 → R where σ (x, y) = for all (x, y) in R2 .
2
18. κ : Z × Z → Z × Z where κ(m.n) = (2m, n − m) for all (m, n) in Z × Z.
2 − x if x ≤ 1
19. β : R → R where, for all x in R, β (x) = 1 .
if x > 1
x
6x + 1 if x 6= 1
20. λ : R → R where, for all x in R, λ (x) = 3x − 3 .
2 if x = 1
(
n + 1 if n is even
21. η : Z → Z, where for all n in Z, η(n) = .
n − 1 if n is odd
(
2x if x is rational
22. φ : R → R, where for all x in R, φ (x) = .
x if x is irrational
(
2x if x is an integer
23. ψ : R → R, where for all x in R, ψ(x) = .
3x otherwise
24. Let A and B be non-empty sets and f : A → B be an onto map. Prove
that the relation ∼ defined by a ∼ b iff f (a) = f (b) is an equivalence
relation on A. Can you describe some of the equivalence classes?
25. Let F (R) = f | f : R → R and let f ∼ g in F (R) if and only if
f (0) = g(0). Prove that the relation ∼ just defined is an equivalence
relation on F (R). Can you describe some of the equivalence classes?
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
MAPPINGS AND BIJECTIONS 41
1. (h ◦ g) ◦ f = h ◦ (g ◦ f ),
2. if f and g are one-to-one, then g ◦ f is one-to-one,
3. if f and g are onto, then g ◦ f is onto,
4. if f and g are bijections, then g ◦ f is a bijection, and
5. if f is a bijection and f −1 : B → A defined by f −1 (b) = a where (a, b)
is an element of f , then f −1 is also a bijection.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
MAPPINGS AND BIJECTIONS 42
Exercise 11.
Do the following definitions for ∗ yield binary operations on the given sets?
1. on N, a ∗ b = a − b.
2. on Q, a ∗ b = a/b.
3. on R+ , a ∗ b = ab.
4. on R+ , a ∗ b = a ln b.
5. on Z, a ∗ b = a − b.
6. on R, a ∗ b = a + b + ab.
a+b
7. on Q, a ∗ b = .
2
8. on N2 , (a, b) ∗ (c, d) = (ac + bd, ad + bc).
9. on Z × Z∗ , (a, b) ∗ (c, d) = (ad + bc, bd).
10. on R∗ × R, (a, b) ∗ (c, d) = (ac, bc + d).
11. on R3 , (a, b, c) ∗ (d, e, f ) = (b f − ce, cd − a f , ae − bd).
/ A, B, U }, where A = {a}, B = {b}, U = {a, b}, and C ∗D =
12. on G = {0,
C ∪ D.
/ A, B, U }, where A = {a}, B = {b}, U = {a, b}, and C ∗D =
13. on G = {0,
C ∩ DC .
14. on M(2, Z) of 2 × 2 matrices with integer entries and A ∗ B = A + B
(i.e., matrix addition).
15. on M(2, Z) of 2 × 2 matrices with integer entries and A ∗ B = A · B (i.e.,
matrix multiplication).
16. on B, f ∗ g = f ◦ g, where B denotes the collection of all bijections
from S to S, and S = {1, 2, 3, 4, 5}.
17. on S, the set of equivalence classes modulo 7, [a] ∗ [b] = [a + b]. ( See
exercise 9, problem 10.)
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
Chapter 6
Axiom R-I. Let R be a set whose elements will be called real numbers. The
relation = is an equivalence relation on R, and there are 2 binary operations,
+ and ·, on R such that
Note that if given the equation x = b, with the reflexive property of equal-
ity we can say x + a = x + a, and then using the principle of substitution,
we can get x + a = b + a. But instead of doing both, we will go directly
from x = b to x + a = b + a, and just list substitution as the reason, but at
43
THE SYSTEM R OF REAL NUMBERS 44
the same time not forgetting that the reflexive property of = was also needed.
Likewise we will go from x = b directly to ax = ab, and just give the reason
as being substitution.
6.2 THEOREMS
Theorem 4. − 0 = 0
Theorem 6. If each of a and b is real number, there is a one and only one
real number x such that x + a = b.
Theorem 12. If each of a and b is a real number such that a 6= 0, then there
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 45
1) − (a + b) =− a +− b.
2) (− a)b = a(− b) =− (ab).
3) (− a)(− b) = ab.
b 1 1
Definition 1. If a is a not zero, we define = b · = · b. In particular,
a a a
then a
a = a · 1a = 1.
Definition 2. We define a − b = a +− b.
Axiom R-II. There is a subset P of the set R of real numbers such that
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 46
2. if x is a real number, one and only one of the following three statements
is true:
a. x is in P.
b. −x is in P.
c. x = 0.
Theorem 20. If each of a and b is a real number, then just one of the fol-
lowing is true: a = b, a < b, or b < a.
Theorem 22. If a, b, and c are real numbers such that a < b and b < c, then
a < c.
Theorem 23. If a, b, and c are real numbers such that a < b, then
a + c < b + c.
Theorem 24. If a, b, and c are real numbers such that a < b and c > 0, then
ac < bc.
Theorem 25. If a, b, and c are real numbers such that a < b and c < 0, then
bc < ac. (or ac > bc.)
Now after Theorem 25, do not use the definition of “ <” anymore. Instead
use Theorems 19 through 25 as needed, assuming that you know that the
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 47
hypothesis of the theorem being used is true in the theorem being proved.
Also, after this point, it won’t be necessary to show every step you make
using parts of Axiom I or Theorems 1 - 18. Just use the term “simplifying”
as the reason instead of specifying which parts of Axiom I or which of those
theorems you actually used.
Theorem 26. If a, b, c, and d are real numbers such that a < b and c < d,
then a + c < b + d.
Theorem 27. If a and b are real numbers such that a < b, then − b <− a; if
a < 0, then − a > 0; and if a > 0, then − a < 0. In particular, then − 1 < 0.
Corollary 28.1. If x and y are real numbers such that x > 0 and y > 0, or
x < 0 and y < 0, then xy > 0.
Corollary 28.2. If x and y are real numbers such that x > 0 and y < 0, or
x < 0 and y > 0, then xy < 0.
Corollary 28.3. If x is a real number not 0, then xx > 0 (i.e., x2 > 0).
1
Theorem 29. If a is a positive number, then a + ≥ 2.
a
1
Theorem 30. If a is a real number, then if a > 0, then > 0, and if a < 0,
a
1
then < 0.
a
Theorem 31. If x and y are real numbers such that xy > 0, then either x > 0
and y > 0, or x < 0 and y < 0.
Theorem 32. If x and y are real numbers such that xy < 0, then either x < 0
and y > 0, or x > 0 and y < 0.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 48
Theorem 33. If a, b, and c are real numbers such that ac < bc and c > 0,
then a < b.
Theorem 34. If a, b, and c are real numbers such that ac < bc and c < 0,
then a > b.
Definition 5. If a and b are real numbers such that a < b, then c is between
a and b if and only if a < c and c < b. This is also denoted by a < c < b.
Theorem 35. If a and b are real numbers such that a < b, then
a+b
a< < b.
2
1 1
Theorem 36. If a and b are real numbers such that 0 < a < b, then > .
a b
Theorem 37. If a, b, and c are real numbers such that a > 0 and b ≥ 1, then
a
c − ≥ c − a.
b
1. 1 is an element of N.
2. if n is an element of N, then n + 1 is an element of N, and if n is greater
than 1, then n − 1 is also an element of N.
3. if m and n are elements of N, then m + n ∈ N and mn ∈ N.
4. if n is an element of N, then n ≥ 1.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 49
EXAMPLES:
1 is not a prime because .
2 is a prime because .
9 is not a prime because .
12 is not a prime because .
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 50
Exercise 12.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 51
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 52
“Proof:” Let S = {n ∈ N| for every set A of n people, all the people in set A
are the same height}.
Let n = 1. Let A be a set containing 1 person. Then all the people in set A
are the same height.
Now let k be an element of set S. Then for every set of k people, all the
people in the set are the same height.
Now let A be a set containing k + 1 people. Let p be a person in set A.
Now the set A\{p} is a set containing k people.
Since k is in S, all the people in the set A\{p} are the same height.
Now let q be a person in set A different from p. The set A\{q} is
a set of k people and all of the people in this set are the same height.
The set A\{p} and the set A\{q} have k − 1 people in common
and they are all the same height as both p and q. So p and q are the same
height. Therefore all the people in set A are the same height.
Hence k + 1 is in S, and therefore S = N ,
Therefore for any n, a set of n people are all the same height.
i.) m is in S, and
ii.) if k ≥ m and k ∈ S, then k + 1 ∈ S,
Exercise 13.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 53
i.) 1 is in S, and
ii.) if for every k in N such that {1, 2, 3, . . . , k} ⊆ S, then k + 1 is in S
then S = N.
i.) m is in S, and
ii.) if for every k in N such that k ≥ m and {m, m + 1, m + 2, m + 3, . . . , k} ⊆
S, then k + 1 is in S,
Definition 12. The real number a is a rational number if and only if there
p
are integers p and q with q 6= 0 such that a = .
q
Definition 13. If a and b are integers, the greatest common devisor of a
and b is a positive integer d such that
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 54
m
Definition 14. If m and n are integers, and gcd(m, n) = 1, then is said to
n
be in lowest terms.
2
√ If x is a positive real number such that x = n, then x will be
Definition 16.
denoted by n.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 55
√
So now we know√ that 2 is not a rational number. But is there really a num-
ber which is 2? Well, by the Pythagorean Theorem, we know that a right √
triangle both of whose legs have length 1 has a hypotenuse with length 2,
so we do want such a number to exist and be “real”. However, the problem
is that the set Q of rational numbers also satisfies all three of the axioms
for real numbers that we have so far. This means that we need another ax-
iom which will help us fill in the “holes” in the real number line. There are
a couple of ways to do this, but the one most often used is known as the
Completeness Axiom. Another way is to use the Dedekind Cut Axiom. If
one assumes one of these two axioms, then the other one can be proved as a
theorem.
Note that every element in {an } is smaller than every element in {bn }. Also
1
note that an − bn = n−1 . Is there a rational number between all the ele-
10
ments of {an } and all the elements of {bn }? Any number at all?
Definition 18. The real number L is a least upper bound of a nonempty set
S of real numbers if and only if
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 56
Exercise 14.
Define each of the following.
1. The real number M is NOT an upper bound of a nonempty set S of
real numbers means that .
.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 57
6.11 THEOREMS
Exercise 15.
Prove each of the following statements.
n2 − 2
1. If S = x ∈ R|x = for some natural number n , then S has no
n
upper bound.
n2 − 3
2. If S = x ∈ R|x = for some natural number n , then S has no
n
upper bound.
n2 − 4
3. If S = x ∈ R|x = for some natural number n , then S has no
2n
upper bound.
n2 − 9
4. If S = x ∈ R|x = for some natural number n , then S has no
4n
upper bound.
n2 − 10
5. If S = x ∈ R|x = for some natural number n , then S has no
3n
upper bound.
2n2 − 7
6. If S = x ∈ R|x = for some natural number n , then S has no
3n
upper bound.
3n2 − 9
7. If S = x ∈ R|x = for some natural number n , then S has no
5n
upper bound.
7n2 − 1
8. If S = x ∈ R|x = for some natural number n , then S has no
3n
upper bound.
5n2 − 3
9. If S = x ∈ R|x = for some natural number n , then S has no
2n
upper bound.
5n2 − 7
10. If S = x ∈ R|x = for some natural number n , then S has no
10n
upper bound.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 58
Theorem 48. If a > 0, then there is a natural number n such that an > 1.
Theorem 49. If 0 < a < b, then there is a natural number n such that an > b.
1
Theorem 50. If ε > 0, then there is a natural number n such that < ε.
n
Theorem 51. If each of B and L is a least upper bound of the nonempty set
S of real numbers, then B = L.
Lemma 52. If B is the least upper bound of the nonempty set S of real num-
bers and ε > 0, then B − ε is not an upper bound of S.
Theorem 53. If the real number B is an upper bound of the nonempty set S
of real numbers, then B is the least upper bound of S if and only if for every
positive number ε there is an x in S such that x > B − ε.
Exercise 16.
2n − 9
1. If S = x ∈ R|x = for some natural number n , then 1 is the
2n
least upper bound of S.
2n
2. If S = x ∈ R|x = for some natural number n , then 2 is the
n+1
least upper bound of S.
n 1
3. If S = x ∈ R|x = for some natural number n , then is the
2n + 1 2
least upper bound of S.
n−1
4. If S = x ∈ R|x = for some natural number n , then 1 is the
n+8
least upper bound of S.
5n − 1 5
5. If S = x ∈ R|x = for some natural number n , then is the
2n 2
least upper bound of S.
n 1
6. If S = x ∈ R|x = for some natural number n , then is the
3n + 1 3
least upper bound of S.
2n 1
7. If S = x ∈ R|x = for some natural number n , then is the
4n + 2 2
least upper bound of S.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 59
4n 4
8. If S = x ∈ R|x = for some natural number n , then is the
3n + 5 3
least upper bound of S.
3n − 5 3
9. If S = x ∈ R|x = for some natural number n , then is the
2n + 1 2
least upper bound of S.
7n − 4
10. If S = x ∈ R|x = for some natural number n , then 7 is the
n+2
least upper bound of S.
Lemma 54. If L is a positive real number such that L2 > 2, then there is a
1
natural number n such that 2 < (L − )2 < L2 .
n
Lemma 55. If L is a positive real number such that L ≥ 1 and L2 < 2, then
1
there is a natural number n such that L2 < (L + )2 < 2.
n
Theorem 56. There is a real number x such that x2 = 2.
√
2
Theorem 57. If ε > 0, then there is a natural number n such that < ε.
n
Theorem 58. If 0 < a < b and b − a > 1, then there is a natural number n
such that a < n < b.
Theorem 59. If 0 < a < b and ε > 0 such that b − a > ε, there is a natural
number m such that a < mε < b.
Theorem 60. If 0 < a < b, then there is a rational number between a and b.
Theorem 63. If S1 and S2 are two nonempty disjoint sets of real numbers
such that
i.) S1 ∪ S2 = R,
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 60
Definition 22. The set I is called a closed interval if and only if there
are 2 distinct real numbers a and b such that I = {x ∈ R|x = a, x = b, or
a < x < b}. I is also denoted by [a, b], and a and b are called the endpoints
of I.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 61
Exercise 17.
Write each of the following conditional statements in the “if p, then q” form;
then underline the hypothesis once and the conclusion twice.
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez
THE SYSTEM R OF REAL NUMBERS 62
B. J. Baker www.jiblm.org
LaTeXed by Alys Rodriguez