Basic Concepts of Math
Class Description
Textbook: The Tools of Mathematical Reasoning
Real Numbers, Rational Numbers, and Integers
= “for all”, “for each” = “for some”, “there exists” = Set of all Real Numbers
Properties of the Real Numbers
Associative Commutative such that- For any nonzero real number x,
such that - The sum or product of any two real numbers is also a real number.
Proposition 1
Proposition
Let
Proof
By property 3,
Multiply both sides by x to get
Property 4
Proposition 2
Proposition
Let
Proof
Either
If
By property 8 there is a real number
Hence
Set of Integers
is closed under addition and multiplication- If
, and , then and
Abbreviations
In
Set of Rational Numbers
is a subset of
Question
- Suppose
. Is it true that ?
Answer
Since
-
and , so by Prop 2, . -
, so by closure. -
and , so by closure. -
and , so by closure. -
One more use of closure shows that
-
Hence
is the ratio of two integers, with non-zero denominator. -
Thus
. QED -
Let
. Is it true that ? Answer: Yes.
6.1: Division Algorithm and Well Ordering Principle
Let
Well Ordering Principle
Every nonempty subset of sequence of non-negative integers has a least element. Example:
Division Algorithm
Statement
Let
There is a unique pair of integers
q is the quotient and r is the remainder
Proof
Existence
First we need to prove that
Define a set,
In order to use the Well Ordering Principle (WOP), we need to show that
There is at least one integer less than
Since
Now we need to prove that
Let
Since
Now we just need to prove the second part of the inequality,
If
Thus
Uniqueness
Prove that
Define
Our goal is to show that
This means that
Also since
Since
Using the Division Algorithm
The Division Algorithm can reduce proofs about integers to finitely many cases.
We say that
Example
Prove that the square of any integer can be expressed in one of the following forms:
Case r = 0
Case r = 1
Case r = 2
Case r = 3
Thus since
1.1: Language of Proofs
Proposition
- Proposition: Sentence which has exactly one truth value
- Not a proposition:
(no verb in sentence) (The truth of falsity depends on the value of )
- Not a proposition:
- Predicate: A sentence whose truth value depends on values assigned to free variables
- Propositions can be combined with logical operators like AND, OR, NOT, IF, THEN, IFF
Implication
-
P implies Q
-
If P then Q
-
P is sufficient for Q
-
P only if Q
-
Q when P
-
Q if P
-
P is called the hypothesis of the implication
-
Q is called the conclusion
-
Converse:
-
Contrapositive:
- Has the same truth table as the regular
- Has the same truth table as the regular
-
Example
-
Theorem:
-
Contrapositive of Theorem:
-
Converse:
-
DeMorgan’s Laws & Formulas
Let
is logically equivalent to is logically equivalent to
Proof of 1.
Quantifiers
- Universal Quantifier:
= “for any”, “for all”, or “for each” - Existential Quantifier:
= “there exists”, “for some” = “there is a unique” or “there is exactly one”
- Examples
- Some positive integers are both perfect squares and perfect cubes
Negating Quantifiers
Example
The negation of the above would be
Use Demorgan’s laws
Since
1.2: Direct Proofs
We can assume
2.1: More on Direct Proofs
Basic Properties of Real Numbers
For all real numbers
- Closure under addition and multiplication:
- Associative Properties:
and - Commutative Properties:
and - Distributive Properties:
- Identities:
- Additive Inverses:
- Subtraction:
is defined to equal - Multiplicative Inverses:
- Division:
Additional Axioms for Real Numbers
exactly one of , , or is true (Transitive)
Counterexamples
The negation of
To disprove
Prime Numbers
Definition:
Double Implications
- To prove
, you need to prove both and
Uniqueness
To prove a property is unique for a certain object, assume that there are two objects with this property
Example
Prove the following statement:
We will prove that this additive property is unique to just one number.
- Let
be such that - Let
be such that
by line 1 by line 2- Thus we can conclude that
and that only one unique number has the additive property we were interested in
2.2: Indirect Proofs
Note:
Proof by Contradiction
To prove statement
Proof by Contrapositive
2.3: Two Important Theorems
Theorem: is irrational
Let
Suppose BWOC (By way of contradiction),
If we cancel common factors so no integer divides both
Thus
Greatest Common Divisor (GCD)
Let
If
So
Define GCD as the following:
If
Bézout’s Lemma
Lemma: Let
Proof
Case 1
Case 2
Case 3
- Same as Case 2
Case 4
-
By the Well Ordering Principle (WOP), the set
has a minimum element. -
Now we show that
-
If
, then and , so that -
But
, so this would contradict that , since . Hence must be true and . Similarly -
We’ve shown that
. Now we show that is the greatest of the common divisors of and . Let be another common divisor of and
-
Since
, this means since is a divisor of . So is the greatest common divisor of and
Euclid’s Lemma
Let
Proof
If
If
By Bézout’s Theorem,
2.4: Statements Including Mixed Quantifiers
To prove a statement of the form
Example
Let
Prove that
Proof
Let
Choose
So that
To prove a statement of the form
Example
Prove that
Proof
Put
Changing the order of mixed quantifiers changes the meaning of the statement.
Epsilon Delta Definition of Limit
We say
Triangle Inequality
Proposition
Suppose
Proof
We want
Since
Since
Let
3.1: Mathematical Induction
Weak Induction Law
Suppose
Then
Proof
Let
Suppose BWOC, that
By 1.
By 2.
So we must have that
Example 1
-
Prove that the following is true:
-
Base Case:
so the result is true when n = 1
-
Inductive Hypothesis: Suppose that
for some- We will prove that
- So by induction
- We will prove that
Example 2
-
Prove that for all integers
with , we have -
We proceed by induction
-
Base Case:
-
Inductive Hypothesis: Suppose that
for some integer . -
We show that
-
So by induction,
for all integers
Strong Induction Law
Let
Then
Proof
Let
(If
Now if
So by 2.
But then
So
The difference between Weak Induction and Strong Induction is that Weak Induction only assumes
Proposition
Let
Proof
-
Base Case:
is prime, so is its own prime factorization. -
Inductive Hypothesis: Suppose the numbers
are all products of primes. We must show that is also a product of primes. -
Since
either is prime or is composite. -
If
is prime, it is its own prime factorization. -
Else
is composite.
-
By IH (Inductive Hypothesis),
and where each and is prime.
This is an example of where strong induction is useful and not weak.
4.1: The Language of Sets
- A Set is a collection of objects
- Order doesn’t matter
- No duplicate elements
means is an element of is the cardinality (# of elements)
Set Builder Notation
Subset
If
If we want to prove
Let
Then check that
Hence
Example
-
Let
so that
Let
Prove
Let . Then , and so that .
By the division algorithm, we can write
If , then , so leaves remainder on division by
If , then , so leaves remainder on division by
If , then , so leaves remainder on division by
If , then , so leaves remainder on division byIn each case
. Thus , and it follows that -
Let
so that
Let
ProveConsider
, so , and we see that
, and , so , and- Let
and be sets. , if
Equivalent to
Let
Let
Prove
x \in \mathbb{Z},
\exists x = 2q + 1 x = 4t + 1 \lor x = 4+3 x x x$ is supposed to be odd.Prove the converse:
- Let
- Let
. Then and - If
, then , for some is still odd- If
and , for some , is still odd. In both cases,
Proposition
Let
Suppose
What Sets Can’t Be
Let
Call
Let
Is
Midterm 1 Review
Problem 2
Prove that
Inductive Hypothesis
Strong Induction
Assume that for
Weak Induction
Assume that for some
Show that
Problem 3
Show by induction that
Base Case
Inductive Hypothesis
Weak Induction
Suppose that for some
We will prove that
4.2: Set Operations
Let
Union
Commutative since or is commutative
Intersection
Commutative since and is commutative
Relative Complement or Set Difference
Not commutative
Example
Let
Let
a.
b.
c.
Universal Set
Proposition
Proof of 8
Cardinality
If
Cartesian Product
The Cartesian product
Power Set
If
Example
Proposition
Let
Proof:
Prove
Prove the converse
DeMorgan’s Laws
Proof of 1
Converse
4.3: Arbitrary Unions and Intersections
so we can just write
Definitions
Let
Proposition
Let
Proof of 2
Base Case:
Inductive Hypothesis:
Suppose that for some
Let
5.3: Injective and Surjective Functions
Definition
Let
-
is one-to-one (1-1) or injective if
the contrapositive of the above is also true -
is onto or surjective if
-
is bijective is both injective and bijective.
Theorem 5.3.10
Let
- If
and are both 1-1, then is also 1-1 - If
and are both onto, then is also onto - If
and are both bijections, then is also a bijection - If
is 1-1, then is 1-1, but is not necessarily 1-1 - If
is onto, then is onto, but is not necessarily onto
5.4: Invertible Functions
Definition
Let
Proposition 5.4.3
Let
Theorem 5.4.7
Let
is invertible iff is a bijection- If
is invertible, then its inverse function is unique
7.1: Relations
Definitions
Let
7.2: Equivalence Relations
Definition
Let
is reflexive if is symmetric if is transitive if is an equivalence relation if is reflexive, symmetric, and transitive
8.1: Introduction to Finite and Infinite Sets
Definition 8.1.2
-
is equinumerous with , denoted , if there exists a bijection -
is finite if or there exists such that . In other words there exists a bijection -
If
, then the cardinality of is , denoted as . We define -
We say
is infinite if is not finite.
Example
Show
First, define
Show
Define
If both are even, then
If both
One can’t be odd and one even.
Show
Suppose
If
8.2: Finite Sets
Recall: Let
-
We say
is finite if or (bijection)
-
Every subset of a finite set is finite.
-
If
and are finite sets, and , then
Pigeonhole Principle
If
Example 1
Choose 5 points interior to a 2m by 2m square. Prove that among these 5 there is a pair such that the distance between the two points in the pair is
Answer: Divide square into four
Example 2
Show there is a multiple of
Consider
2 numbers on this list must leave the same remainder upon division by
Say there are
Then
Thus the
More on Finite Sets
-
Suppose
are pairwise disjoint sets ( )
Then -
Let
and be finite sets. Then
8.3: Infinite Sets
Definitions
- The set
is denumerable or enumerable or countably infinite if there is a bijection and is onto and 1-1.
- The set
is countable if is finite or denumerable. - The set
is uncountable if is not countable, if is infinite and not denumerable
Theorem
Let
Proof
Either
If
We must construct a bijection from
Put
Suppose inductively, that we have defined
Define
Then
Then
So
We have defined an injective function
Let
Proposition
Let
Proof
Note:
If
If
Proposition
Let
Proof
If
Define the following:
Let
If
If
In either case,
By the previous theorem,
Corollary
If
Proposition
Fundamental Theorem of Arithmetic
Let
Proof (Existence)
We can use induction to prove the existence of a prime factorization.
See this proof
Proof (Uniqueness)
Lemma: Let
Now suppose
Assume without loss of generality (WLOG),
By Euclid’s Lemma
But
We can use the same technique to show that
After
Now we need to show that
We assumed
But
This is a impossible since
Proof that is countable
Proposition
Proof
Define
Example:
Uniqueness of prime factorization guarantees there’s only one way to write
Continuing Proof
Now let
Put
So
Example
Is it true that if
If
Since
We will use the fact that
h is surjective:
So
Now since
Proposition
Let
Proof
If
Since
Fix
Let
Then
Corollary
Let
If
Theorem (Cantor): is uncountable.
Proof
Suppose BWOC, that
In this case, there would exist a surjection
Super scripts are not exponents, 0.abcd denotes decimal expansion of a numer
Consider the following number
since
So
Hence
Corollary
Proof
Groups
Definitions
Let
An operation,
where
We say that
Addition is closed
Multiplication is closed
Division is not closed
Identity
where
Property of a Group
Let
We say that
- Commutative:
- Identity Element:
- Inverse:
- (If
, then the group is an abellian group)
Examples of a Group
, where is only -vector space
Is the Identity Element Unique?
Suppose that
Thus the identity is unique.
Is the Inverse Unique
Suppose
Notation
We often just write “let
Examples of Finite Groups
Fix
forms a group
is the identity is the inverse of
Example of Non-Abelian Groups
Example of Non-Abelian Groups
Let
Let
means
means
If
More generally, if
is the symmetric group with composition of functions as its operation.
More Definitions
- If
is a group and is nonempty, we say that is a subgroup of if the restriction of to makes into a group itself. - Equivalently, if
is a group and is nonempty, then is a subgroup if
Homomorphisms and Isomorphisms
Let
If