Intro to Uni Maths Flashcards
Define a natural number
non-negative whole number
Define a binary operation
A binary operation ∗ on a set S associates an element x ∗ y in S with each ordered
pair (x, y) where x, y are in S
What is the smallest set where the following holds?:
0 is in the set
and if n ∈ N then n + 1 ∈ N
The natural numbers
Proof by induction:
What is the initial case/step?
What is the inductive step?
What is the inductive hypothesis?
Initial case: When n=0, or the first statement to be proved
Inductive step: Showing the (n + 1)th statement follows from the nth statement
Inductive hypothesis: The assumption that the nth statement is true
Optional - Prove the principle of induction:
Let S be the set of natural numbers such that P(n) is true. Then 0 ∈ S as we know P(0) is
true. Further if n ∈ S then P(n) is true, so that P(n + 1) is true or equivalently n + 1 ∈ S.
Thus S has the properties that (i) 0 ∈ S and (ii) if n ∈ S then n + 1 ∈ S. As N is the smallest
such subset with these properties then N is contained in S. Hence S = N.
Describe the strong form of induction
Let P(n) be a family of statements for n ≥ 0. Suppose that • (Initial Step) P(0) is true; • (Inductive Step) for any n ≥ 0, if P(0), P(1), . . . , P(n) are all true then so is P(n + 1). Then P(n) is true for all n ≥ 0
Describe induction where the intital step uses N, not 0
Let N be an integer and let P(n) be a family of statements for n ≥ N. Suppose that • (Initial Step) P(N) is true; • (Inductive Step) for any n ≥ N, if P(n) is true then P(n + 1) is also true. Then P(n) is true for all n ≥ N.
Optional - Prove the Strong form of Induction
For n ≥ 0, let Q(n) be the statement ‘P(k) is true for 0≤k≤n’. The assumptions of the above theorem are equivalent to: (i) Q(0) (which is the same as P(0)) is true and (ii) if Q(n) is true then Q(n + 1) is true. By induction (as stated in Theorem 9) we know that Q(n) is true for all n. As P(n) is a consequence of Q(n), then P(n) is true for all n
Every non-empty subset of the natural numbers has a [ ] element
minimal
A strictly decreasing sequence pf natural numbers is [ ]
finite
Define addition of natural numbers
(i) x + 0 := x for all x ∈ N.
(ii) x + (n + 1) := (x + n) + 1.
Describe associativity
x + (y + z) = (x + y) + z for all x, y, z ∈ N
Describe commutativity
x + y = y + x for all x, y ∈ N.
What is the binomial coefficient?
(n k) = n!/(k!(n-k)!)
where 0 ≤ k ≤ n
Prove the identity for (x+y)^n
pg 12
What does T ⊆ S mean?
T is contained in S or
T is a subset of S or
whenever x ∈ T then x ∈ S
What does ∅ represent?
The empty set
Does the order of elements in a set matter?
No
Define a power set
Give a set A its power set, denoted P(A), is the set of all subsets of A.
(Fancy P)
Define the following bounded intervals: (a,b) (a,b] [a,b] (a, ∞)
(a, b) = {x ∈ R : a < x < b}
(a, b] = {x ∈ R : a < x b}
[a, b] = {x ∈ R : a x b}
(a, ∞) = {x ∈ R : a < x}
What does A\B mean in set theory?
The complement of B in A, written A\B, or sometimes A−B, is the subset consisting of those
elements that are in A and not in B, that is:
A\B = {x ∈ A : x /∈ B} = A ∩ B’
Define when two sets are disjoint
A∩B = ∅
What is the Cartesian product?
Let S and T be sets. Their Cartesian product S × T is the set of all ordered pairs
(s, t) where s ∈ S and t ∈ T. Note that — as the name suggests — order matters in an ordered pair.
So (1, 2) ≠ (2, 1) whilst {1, 2} = {2, 1} as sets
What does S^n mean in set theory?
If n ≥ 1 then we write S^n for all order n-tuples, that is vectors of the form (s₁, s₂, …, s) where sᵢ ∈ S for all i
Define the disjoint union of two sets
Their disjoint union A ⊔ B is defined to be
A × {0} ∪ B × {1}
The set A is now identified with A × {0} and B with B × {1} and any element x that is in both A
and B appears twice in the disjoint union as (x, 0) and (x, 1)
What is the notation of P implies Q? What are other ways of saying this?
P ⇒ Q P is sufficient for Q and the Q is necessary for P if P then Q Q if P P only if Q
What is the notation of P if and only if Q? What are other ways of saying this?
P ⇔ Q
P is necessary and sufficient for Q
What does P ∧ Q and P ∨ Q mean?
Logic:
We write P ∧ Q for the statement “P and Q” which holds when both P and Q are true
We write P ∨ Q for the statement “P or Q” which holds when either P or Q (or both) is
true
What does ¬P mean?
We write ¬P for “not P” or the “negation of P”. This is the statement that is true precisely
when P is false, and vice versa
What is the universal quantifier?
The existential qualifier?
Universal: ∀
Existential: ∃
What is double inclusion?
Let A and B be two subsets of a set S. Then A = B if and
only if A ⊆ B and B ⊆ A
State the distributive laws (Set and logic)
Let A, B, C be subsets of a set S. Then A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C) and A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C) (And equivalent in logic)
Prove the distributive laws
pg19
What is the distributive law for real numbers?
a(b + c) = ab + ac
Does the order of union and intersections matter?
Yes
What is the contrapositive of P ⇒ Q? Is this equivalent?
Yes
¬Q ⇒ ¬P
State De Morgan’s laws - finite version
¬(P ∧ Q) ⇔ (¬P) ∨ (¬Q);
¬(P ∨ Q) ⇔ (¬P) ∧ (¬Q).
For any number of sets, and same of set theory
State De Morgan’s laws - Logical version
Let P(x) be a family of statements,
indexed by the elements x of some set S. Then
¬(∀x ∈ S P(x)) ⇔ ∃x ∈ S ¬P(x);
¬(∃x ∈ S P(x)) ⇔ ∀x ∈ S ¬P(x)
What does vacuously true mean?
Whatever the statement P(x), the statement
∃x ∈ ∅ P(x)
is untrue as no such x exists. This means it’s negation
¬(∃x ∈ ∅ P(x)) ⇔ ∀x ∈ ∅ ¬P(x)
is always true, no matter what P (or its negation) is. We say a statement of the form
∀x ∈ ∅ P(x)
is vacuously true. Essentially as ∅ there is no x for which the statement needs verifying, and so
the statement is true.
What does “|” mean?
meaning “divides” or “is a factor of”, which compares pairs of positive integers