



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Two and a Half Hours
17 January 2017
09:45-12:
Answer ALL EIGHT questions in Section A (40 marks in total). Answer FOUR of the SIX questions in Section B (60 marks in total). If more than FOUR questions from Section B are attempted, then credit will be given for the best FOUR answers.
Electronic calculators may be used, provided that they cannot store text.
Answer ALL of the EIGHT questions
Let p and q be statements.
(a) Write down the truth table for p _ :q.
(b) Write :(p ) q) in terms of p, q, _, ^ and : (you do not have to use all of these symbols).
[4 marks]
A2.
(a) State the contrapositive of
8 x 2 N, 8 y 2 N, xy 15 ) (x 5 or x 3).
(b) Write down the negation to the statement
8 x 2 R, 8 y 2 R n fxg, 9 z 2 Q, (x < z and z < y).
[4 marks]
A3.
(a) Let A and B be sets and let f : A! B be a function. De ne what it means for f to be 1-1.
(b) De ne a function f : Q Q! R R by f (x, y) = (x + y, 2 x) for (x, y) 2 Q Q. Prove that f is 1-1.
[4 marks]
A4.
(a) Let A and B be sets and let f : A! B be a function. De ne what it means for f to be onto.
(b) De ne a function f : Z Z! Z by f (x, y) = x + y for (x, y) 2 Z Z. Prove that f is onto.
[4 marks]
A5. Use induction to show that for all n 2 N,
โ^ n
i=
i(i + 1) =
n(n + 1)(2n + 4).
[6 marks]
Answer FOUR of the SIX questions.
Let be a binary operation on a non-empty set G.
(a) Suppose that G has an identity element e for . State what it means for an element g 2 G to have an inverse with respect to . [2 marks]
(b) De ne what it means for (G, ) to be a group. [3 marks]
(c) Suppose that (G, ) is a group. Show that if g 2 G possesses an inverse h 2 G with respect to , then h is the unique such inverse. [3 marks]
(d) Suppose again that (G, ) is a group. Show that 8 g, h 2 G, (gh)โ^1 = hโ^1 gโ^1. [3 marks]
(e) Suppose that G = fe, a, b, cg and that (G, ) is a group with identity element e. Suppose that 8 x 2 G, x^2 = e. Write down the multiplication table for (G, ). [4 marks]
(a) Let a, b, c, d 2 Z and n 2 N.
(i) De ne what is meant by cjd and by a b mod n. [2 marks] (ii) Suppose that a b mod n and c d mod n. Prove that i. a + c b + d mod n ii. 2ac 2 bd mod n.
[6 marks]
(b) De ne f : Z 61! Z 61 by f (x) = 9 โ x, multiplication modulo 61. Show that f is a bijection and nd f โ^1. [7 marks]
(a) Let A be a set and let n 2 N. De ne what it means for A to have cardinality n. [1 marks] (b) Let A and B be nite sets. Prove that if there is a bijection f : A! B, then jAj = jBj. [You may quote without proof results about composition of bijections.] [3 marks]
(c) Using the cardinality of appropriate sets, de ne the binomial coefficient
n r
where n, r 2 N [ f 0 g. [2 marks] (d) Let n 2 N. Show that โn
r=
n r
= 2n.
[2 marks] (e) Let A and B be sets. Prove that A n (A n B) = A \ B. [3 marks]
(f) Using the above de nition of
n r
, construct an appropriate map and show that it is a bijection to prove that if n, r 2 N [ f 0 g with n r, then ( n r
n n r
[4 marks]
(a) Let A and B be sets. (i) De ne the Cartesian product A B. (ii) Let A = f(n, n) : n 2 Zg and B = f(n, n + 2) : n 2 Zg (both subsets of Z Z). Write down A n B.
[3 marks]
(b) By reducing modulo 7, show that 21x^5 +3y^2 = 11 has no integer solutions x and y. [6 marks]
(c) Let a, n 2 N. Show that there exist q, r 2 Z such that a = qn + r and 0 r n 1. You DO NOT have to show that q and r are unique. [6 marks]