Intro to Uni Maths Flashcards

1
Q

Define a natural number

A

non-negative whole number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define a binary operation

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the smallest set where the following holds?:
0 is in the set
and if n ∈ N then n + 1 ∈ N

A

The natural numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Proof by induction:
What is the initial case/step?
What is the inductive step?
What is the inductive hypothesis?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Optional - Prove the principle of induction:

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe the strong form of induction

A
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Describe induction where the intital step uses N, not 0

A
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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Optional - Prove the Strong form of Induction

A
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Every non-empty subset of the natural numbers has a [ ] element

A

minimal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A strictly decreasing sequence pf natural numbers is [ ]

A

finite

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Define addition of natural numbers

A

(i) x + 0 := x for all x ∈ N.

(ii) x + (n + 1) := (x + n) + 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe associativity

A

x + (y + z) = (x + y) + z for all x, y, z ∈ N

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Describe commutativity

A

x + y = y + x for all x, y ∈ N.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the binomial coefficient?

A

(n k) = n!/(k!(n-k)!)

where 0 ≤ k ≤ n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Prove the identity for (x+y)^n

A

pg 12

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does T ⊆ S mean?

A

T is contained in S or
T is a subset of S or
whenever x ∈ T then x ∈ S

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What does ∅ represent?

A

The empty set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Does the order of elements in a set matter?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Define a power set

A

Give a set A its power set, denoted P(A), is the set of all subsets of A.
(Fancy P)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q
Define the following bounded intervals:
(a,b)
(a,b]
[a,b]
(a, ∞)
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}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What does A\B mean in set theory?

A

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’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Define when two sets are disjoint

A

A∩B = ∅

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is the Cartesian product?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What does S^n mean in set theory?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Define the disjoint union of two sets

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

What is the notation of P implies Q? What are other ways of saying this?

A
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

What is the notation of P if and only if Q? What are other ways of saying this?

A

P ⇔ Q

P is necessary and sufficient for Q

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

What does P ∧ Q and P ∨ Q mean?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

What does ¬P mean?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

What is the universal quantifier?

The existential qualifier?

A

Universal: ∀
Existential: ∃

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

What is double inclusion?

A

Let A and B be two subsets of a set S. Then A = B if and

only if A ⊆ B and B ⊆ A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

State the distributive laws (Set and logic)

A
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)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

Prove the distributive laws

A

pg19

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

What is the distributive law for real numbers?

A

a(b + c) = ab + ac

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

Does the order of union and intersections matter?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

What is the contrapositive of P ⇒ Q? Is this equivalent?

A

Yes

¬Q ⇒ ¬P

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

State De Morgan’s laws - finite version

A

¬(P ∧ Q) ⇔ (¬P) ∨ (¬Q);
¬(P ∨ Q) ⇔ (¬P) ∧ (¬Q).

For any number of sets, and same of set theory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

State De Morgan’s laws - Logical version

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

What does vacuously true mean?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

What does “|” mean?

A

meaning “divides” or “is a factor of”, which compares pairs of positive integers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

What are |, ≤, ⊆?

A

Binary relations

42
Q

Define a binary relation

A

A binary relation (or simply relation) R on a set S is a subset of S × S. If
(s, t) ∈ R (where s, t ∈ S) then we write sRt

43
Q

Define:

Reflexive

A

Let S be a set, R a relation on S and s, t, u ∈ S

R is reflexive if sRs for all s in S

44
Q

Define:

Symmetric

A

Let S be a set, R a relation on S and s, t, u ∈ S

R is symmetric if whenever sRt then tRs

45
Q

Define:

Anti-symmetric

A

Let S be a set, R a relation on S and s, t, u ∈ S

R is anti-symmetric if whenever sRt and tRs then s = t

46
Q

Define:

Transitive

A

Let S be a set, R a relation on S and s, t, u ∈ S

R is transitive if whenever sRt and tRu then sRu

47
Q

What is a partial order?

A

Let S be a set and R a relation on S.

We say that R is a partial order on S if R is reflexive, anti-symmetric and transitive

48
Q

What is a total order?

A

Let S be a set and R a relation on S

A partial order is said to be a total order if for every a, b ∈ S then aRb or bRa (or both)

49
Q

What symbol often denotes partial orders?

A

50
Q

Give an example of a partial order on P(S) - where P(S) is the power set of the set S

A

51
Q

What is an equivalence relation?

A

We say that a relation R on a set S is an equivalence relation if R is reflexive,
symmetric and transitive

52
Q

What is an equivalence class?

A
Given an equivalence relation ∼ on a set S with a ∈ S, then the equivalence class
of a, written ¯a or [a] , is the subset
¯a = {x ∈ S : x ∼ a}
53
Q

Let ∼ be an equivalence relation on the set S. What do the equivalence classes of ∼ form?

A

A partition of S

54
Q

Define a partition of S

A

Let S be a set and Λ be an indexing set. We say that a collection of subsets Aλ of S
(where λ ∈ Λ) is a partition of S if
(i) Aλ ≠ ∅ for each λ ∈ Λ;
(ii) ∪
λ∈Λ
Aλ = S;
(iii) if λ ≠ µ then Aλ ∩ Aµ = ∅, or equivalently: if Aλ ∩ Aµ ≠ ∅ then λ = µ

55
Q

Theorem 72

A

pg30

56
Q

A function f : X → Y

What is the domain and codomain of f?

A

Domain: the set X
Codomain: the set Y

57
Q

What is a mapping/map?

A

A function

58
Q

What is the image/range of a function?

A

the set
f(X) = {f(x) : x ∈ X} ⊆ Y

Typically the image f(X) is a proper subset of the codomain Y

59
Q

What does it mean for a function to be well-defined?

A

(a) The assignment needs to be defined for all elements of the domain with the output in the
codomain
Functions need to be carefully defined on sets of equivalence classes

60
Q

Define the image and pre-image of f

A

(a) Given A ⊆ X, then the image of A, denoted f(A), is the subset
f(A) = {f(x) : x ∈ A} ⊆ Y.
(b) Given C ⊆ Y , then the pre-image of C, written f⁻¹(C), is the subset.
f⁻¹(C) = {x : f(x) ∈ C} ⊆ X.

61
Q

Let f : X → Y be a function
For any A ⊆ X
describe f⁻¹(f(A))

A

A ⊆ f⁻¹(f(A))

but do not have equality in general.

62
Q

Let f : X → Y be a function

For any C ⊆ Y describe f(f⁻¹(C))

A

f(f⁻¹(C)) ⊆ C

but do not have equality in general.

63
Q

What is the composition of two functions?

A
Given two functions f : X → Y and g : Y → Z the composition g ◦ f : X → Z is
defined by
(g ◦ f)(x) = g(f(x)) for all x ∈ X
64
Q

Is composition associative?

A

Yes
Let f : W → X, g : X → Y, h: Y → Z be three
functions. Then
f ◦ (g ◦ h) = (f ◦ g) ◦ h

65
Q

Let f : X → Y be a function between two sets

Define Injective

A

We say that f is 1—1 or injective if whenever f(x₁) = f(x₂) for x₁, x₂ ∈ X then x₁ = x₂

66
Q

Let f : X → Y be a function between two sets

Define Surjective

A

We say that f is onto or surjective if for each y ∈ Y there exists x ∈ X such that f(x) = y

67
Q

Let f : X → Y be a function between two sets

Define bijective

A

We say that f is bijective if f is 1—1 and onto

68
Q

If f and g are onto, is g ◦ f onto?

A

Yes

69
Q

If g ◦ f is onto, is g and f onto?

A

g is onto, but f isn’t necessarily

70
Q

If f and g are 1-1, is g ◦ f?

A

Yes

71
Q

If g ◦ f is 1-1, is g and f 1-1?

A

f is 1-1, but g isn’t necessarily

72
Q

Let f : X → Y with A ⊆ X and B ⊆ Y

Describe f⁻¹(f(A)), if f is 1-1

A

f⁻¹(f(A)) = A

73
Q

Let f : X → Y with A ⊆ X and B ⊆ Y

Describe f(f⁻¹(B)), if f is onto

A

f(f⁻¹(B)) = B

74
Q

Let f : X → Y with A ⊆ X and B ⊆ Y

In general f(f⁻¹(B)) = B ∩ (?)

A

f(f⁻¹(B)) = B ∩ f(X)

75
Q

If f⁻¹(f(A)) = A for all A ⊆ X then….

A

f is 1-1

76
Q

If f(f⁻¹(B)) = B for all B ⊆ Y then….

A

then f is onto

77
Q

Define an inverse of a function

A

Let f : X → Y be a function. We say that an inverse for f is a function g : Y → X
such that
g ◦ f = idₓ, f ◦ g = idᵧ

78
Q

Does a function have a unique inverse?

A

Yes

79
Q

Describe the relationship between bijective and invertible

A

A function f : S → T is bijective if and only if it is invertible

80
Q

Let f : R → S be a map between non-empty sets R and S

f is 1—1 if and only if there is a map g : S → R such that ….

A

g ◦ f = idᵣ

81
Q

Let f : R → S be a map between non-empty sets R and S

f is onto if and only if there is a map g : S → R such that…

A

f ◦ g = idₛ

82
Q

Define the cardinality of a set

A

Let n ≥ 1 be a natural number and X be a set. We define the cardinality |X| of
X to be n if there is a bijection from X to the set {1, 2, . . . , n} . The cardinality of the empty set is
defined to be 0.

83
Q

A set X is said to be finite if its cardinality …

A

is some natural number

84
Q

Why is the cardinality of a finite set is well-defined?

A

Let m, n ∈ N with m < n. There is no bijection between {1, 2, . . . , m} and {1, 2, . . . , n}

85
Q

Describe the pigeonhole principle

A

Let m, n ∈ N with m > n ≥ 1 and let f : {1, 2, . . . , m} →
{1, 2, . . . , n} . Then there are distinct 1 ≤ x₁ < x₂ ≤ m with f(x₁) = f(x₂). This means that there
is no 1—1 map from {1, 2, . . . , m} to {1, 2, . . . , n} . (The result gets its name from the analogy that if
there are m letters that need to go into n pigeonholes, then at least one hole contains two or more
letters.)

86
Q

Let S and T be finite sets

When is |S| ≤ |T|?

A

Iff there is a 1-1 map from S to T

87
Q

Let S and T be finite sets

When is |S| ≥ |T|?

A

Iff there is an onto map from S to T

88
Q

How many bijections are there from {1, 2, . . . , n} to {1, 2, . . . , n}?
Given n ≥ 1

A

n!

89
Q

How many subsets are there of the set {1, 2, …, n}?

A

2^n

90
Q

How many subsets are there of the set {1, 2, …, n} with k elements?

A

(n k)

n choose k

91
Q

A and B are two finite sets

What is the cardinality of the disjoint union A ⊔ B?

A

|A| + |B|

92
Q

A and B are two finite sets

What is the cardinality of the Cartesian product A × B?

A

|A| |B|

93
Q

A and B are two finite sets

What is the cardinality of the power set P(A)?

A

2^|A|

94
Q

A and B are two finite sets

How many maps are there from A to B?

A

|B|^|A|

95
Q

|A| = |B| if?

A

there is a bijection from A to B

96
Q

|A| ≥ |B| if?

A

there is surjection from A to B

97
Q

|A| ≤ |B| if?

A

there is a injection from A to B

98
Q

What theorem states that if |A| ≥ |B| and |A| ≤ |B| then |A| = |B|?

A

Cantor-Bernstein-Schröder theorem

99
Q

What proves that there are infinitely many infinities?

A

any set A has more subsets than it does elements. That is 2^|A| > |A| and shows that
there infinitely many different infinities!

100
Q

Let f : R → S and g : S → T be surjective

Is g ◦ f is surjective?

A

Yes

101
Q

Let f : R → S and g : S → T be maps, such that g ◦ f is surjective
is f surjective?

A

Yes