Let R and S be binary relations. Their composition S∘R is the relation defined by
(x,z)∈S∘R⟺∃y:(x,y)∈R∧(y,z)∈S.
(That is, R is applied first, then S.)
4. Transitivity — (2 marks)
(a) A binary relation R⊆X×X is transitive if for all x,y,z∈X:
((x,y)∈R∧(y,z)∈R)⇒(x,z)∈R.
(b) Example on A={a,b,c,d,e}: the empty relation R=∅ is transitive; or, for a non-trivial one,
R={(a,b),(b,c),(a,c)}.
Check: the only "chained" pair is (a,b),(b,c), and indeed (a,c)∈R. (The identity relation {(a,a),(b,b),(c,c),(d,d),(e,e)} also works.)
5. Equivalence relation — (2 marks)
(a) A binary relation ∼ on a set is an equivalence relation if it is reflexive, symmetric and transitive.
(b) Example: X=Z and a∼b⟺a−b is even (i.e. congruence mod 2). This is reflexive, symmetric and transitive.
(Simpler finite example: X={1,2,3} with ∼ = equality, ∼={(1,1),(2,2),(3,3)}.)
6. Surjective function — (2 marks)
(a) A function f:X→Y is surjective (onto) if every element of Y is the image of at least one element of X:
∀y∈Y∃x∈X:f(x)=y.
(b) Example f:{a,b,c,d}→{1,2,3} hitting all of {1,2,3}:
f(a)=1,f(b)=2,f(c)=3,f(d)=3.
7. Complex numbers — (2 marks)
(a) Any four (definitions excluded), e.g.:
z=z
z+w=z+w
z⋅w=z⋅w
z⋅z=∣z∣2
∣z∣=∣z∣
∣z⋅w∣=∣z∣⋅∣w∣
z+z=2Re(z)
(b) For z=−3−2i:
∣z∣=(−3)2+(−2)2=9+4=13,z=−3+2i.
8. Permutations with repetition (statement) — (1 mark)
The number of permutations with repetition of m different kinds of objects, with repetition numbers k1,k2,…,km (i.e. ki copies of the i-th kind), is
k1!k2!⋯km!n!,where n=k1+k2+⋯+km is the total number of objects.
9. Binomial theorem — (2 marks)
(a) For any real numbers x,y and any n∈N:
(x+y)n=k=0∑n(kn)xkyn−k,
where (kn) is the binomial coefficient "n choose k".
10. Two properties of binomial coefficients — (1 mark)
Any two of:
Symmetry:(kn)=(n−kn)
Pascal's identity:(k+1n+1)=(kn)+(k+1n)
k=0∑n(kn)=2n
11. Pigeonhole principle — (1 mark)
If n+1 items are put into n containers, then there is at least one container that contains at least two items.
12. Definition of an undirected graph — (1 mark)
A triple G=(φ,E,V) is an (undirected) graph if E and V are sets with V=∅, V∩E=∅, and
φ:E→{{v,v′}∣v,v′∈V}.
Here V is the set of vertices, E the set of edges, and φ the incidence function, which assigns to each edge an unordered pair of vertices.
Part 2 — Proof questions (16 marks)
Scoring: statement 1 mark, proof 3 marks. For two/three statements the marks split evenly.
P1. Three properties of set union, with proofs — (4 marks)
I prove idempotence, associativity and the empty-set property. Each set proof reduces the statement to the corresponding logical law via the definition of ∪.
(1) definition of composition; (2) reordering and regrouping the existential quantifiers and conjunctions (the order of the independent "intermediate" elements u,v does not matter, and ∧ is associative/commutative). Since the two relations contain exactly the same pairs, T∘(S∘R)=(T∘S)∘R. ■
P3. Formula for the nth roots of a complex number — (4 marks)
Statement. Let z=∣z∣(cosφ+isinφ) be a complex number given in polar form and n∈N+. The nth roots of z (the numbers w with wn=z) are exactly
Proof. Write a candidate root in polar form as w=∣w∣(cosψ+isinψ). By De Moivre's formula,
wn=∣w∣n(cosnψ+isinnψ).
Hence wn=z is equivalent to
∣w∣n(cosnψ+isinnψ)=∣z∣(cosφ+isinφ).
Two complex numbers in polar form are equal iff their absolute values are equal and their arguments differ by an integer multiple of 2π. Therefore this holds iff
∣w∣n=∣z∣⇔∣w∣=n∣z∣,andnψ=φ+2kπ for some k∈Z⇔ψ=nφ+n2kπ.
The values k=0,1,…,n−1 give n distinct arguments (they differ by less than 2π), and any other integer k reproduces one of these (since the arguments repeat with period 2π in ψ). Thus there are exactly the n roots w0,…,wn−1 given above. ■
P4. Number of combinations with repetition — (4 marks)
Statement. Let n∈N+ and k∈N. The number of k-combinations with repetition of an n-element set (selections of k elements, repetition allowed, order irrelevant) is
(kn+k−1).
Proof. Let A={a1,a2,…,an}. Any k-combination with repetition is determined solely by how many times each element is chosen, so we may encode it as a 0–1 sequence:
number of a1’s1,1,…,1,0,number of a2’s1,…,1,0,…,0,number of an’s1,…,1.
The block of 1's before the first 0 tells how many a1's were chosen, the next block how many a2's, and so on. This sequence contains exactly k ones (one per chosen element) and n−1 zeros (the separators between the n groups), so it has length n−1+k. Conversely, every such sequence corresponds to exactly one combination with repetition.
The number of such sequences equals the number of ways to choose the k positions for the 1's among the n+k−1 positions, which is (kn+k−1). Hence the number of k-combinations with repetition of A is (kn+k−1). ■
Mark check
Part 1: 18 marks available — all answered (need ≥ 9 to pass).
Part 2: 16 marks available — all four proofs answered (need ≥ 7 to pass).