









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!










A3 Find a solution in integers to
9131 x + 8648y = 69.
So the gcd (9131, 8648) = 23 and since 23|69 our equation has solutions.
23 = 437 โ 9 ร 46 = 437 โ 9 ร (483 โ 437) = 10 ร 437 โ 9 ร 483 = 10 ร (8648 โ 17 ร 483) โ 9 ร 483 = 10 ร 8648 โ 179 ร 483 = 10 ร 8648 โ 179 ร (9131 โ 8648) = 189 ร 8648 โ 179 ร 9131.
Multiply by 3 to see that a solution is x = โ 537 , y = 567. Example as found in notes and on Example Sheet [ 6 marks]
You should have checked your answers!
Wrong answers which the student had not checked and told me they had done so, could only obtain at most 2 marks, for getting the correct greatest common divisor of 23.
You should tell me your answer, in the form x = โ 537 , y = 567 or (x, y) = (โ 537 , 567). Donโt leave your answer in the form 567ร 8648 โ 537 ร9131 = 69 and expect me to search out your answer. I donโt have enough time.
You were not asked to find the general solution, but other correct solu- tions that I saw in the scripts included
(x, y) = (โ 161 , 170) (x, y) = (215, โ227) (x, y) = (591, โ624).
A5 Prove that 7 does not divide 2 + a + a^2 + a^3 for any integer a.
0 mod 7, and thus we need only consider a mod 7.
a a mod 7 a^2 mod 7 a^3 mod 7 2 + a + a^2 + a^3 mod 7 0 0 0 0 2 1 1 1 1 5 2 2 4 1 2 3 3 2 โ 1 โ 1 4 โ 3 2 1 2 5 โ 2 4 โ 1 3 6 โ 1 1 โ 1 1
Since there is no zero in the last column we see that 2 + a + a^2 + a^3 is never divisible by 0. Example as found on Example Sheet [ 6 marks]
B8 i) a) Let A be a set with |A| = n. Define what is meant by Pr (A) and the Binomial number
(n r
b) Assume A 6 = ฯ and choose a โ A. Construct a map from Pr (A) to Prโ 1 (A \ {a}) โช Pr (A \ {a}), checking that the image of this map lies in the union.
c) Assuming that the map given in part b is a bijection deduce that for n โฅ (^1) ( n r
n โ 1 r
n โ 1 r โ 1
for 1 โค r โค n.
ii) Use Pascalโs triangle to a) expand (x + y)^7 for real x, y โ R, b) show that n^7 โ (n โ 1)^7 โก 1 mod 7 for all n โ Z.
iii) State a formula for
(n r
in terms of factorials and use this to show that
( 3 n 3
n 1
n 1
n 2
n 3
for all n โฅ 1.
and (^) ( n r
= |Pr (A)|.
Definitions [ 2 marks] b)
Pr (A) โ Prโ 1 (A \ {a}) โช Pr (A \ {a})
C if a /โ C, C \ {a} if a โ C.
If a /โ C then C โ A{a} so C โ Pr (A \ {a}). If a โ C then |C \ {a}| = rโ 1 so C \ {a} โ Prโ 1 (A \ {a}). Proof in notes [ 4 marks]
i) a) I was generous and accepted
(n r
= n!/r! (n โ r)! even though this is not the definition of the binomial number in MATH10101.
c) I needed to see the words bijection, so the sets are of the same car- dinality and disjoint, so the cardinality of the union equals the sum of the cardinalities of each set.
Note also that the question tells you to use the map found in part b). Some students tried to use
(n r
= n!/r! (n โ r)! to prove
(n r
(nโ 1 rโ 1
(nโ 1 r
but, if you look in the notes you will find that
(n r
(nโ 1 rโ 1
(nโ 1 r
was used to
prove
(n r
= n!/r! (n โ r)! Thus I did not allow the use of
(n r
= n!/r! (n โ r)!.
Always follow the question!
ii) Most students gave the following argument
n^7 โ (n โ 1)^7 = n^7 โ
n^7 โ 7 n^6 + 21n^5 โ 35 n^4 + 35n^3 โ 21 n^2 + 7n โ 1
= 7 n^6 โ 21 n^5 + 35n^4 โ 35 n^3 + 21n^2 โ 7 n + 1 = 7
n^6 โ 3 n^5 + 5n^4 โ 5 n^3 + 3n^2 โ n
โก 1 mod 7.
And other students gave a table
n n^7 (n โ 1)^7 n^7 โ (n โ 1)^7 mod 7 0 0 โ 1 1 1 1 1 0 1 1 2 128 1 127 1 3 2187 128 2059 1 4 16384 2187 14197 1 5 78125 16384 61741 1 6 279936 78125 201811 1
iii) In more detail, using the factorial form for the binomial number, which the question tells us we can here, ( 3 n 3
(3n)! 3! (3n โ 3)!
3 n (3n โ 1) (3n โ 2) (3n โ 3)! 3! (3n โ 3)!
3 n (3n โ 1) (3n โ 2) 6
n (3n โ 1) (3n โ 2) 2
On the other hand
n 1
n 1
n 2
n 3
= n^3 + 3 ร 2 ร n ร
n (n โ 1) 2
n (n โ 1) (n โ 2) 3!
= n^3 + 3n^2 (n โ 1) +
n (n โ 1) (n โ 2) 2
=
2 n^3 + 6n^3 โ 6 n^2 + n^3 โ 3 n^2 + 2n
9 n^3 โ 9 n^2 + 2n 2
n (3n โ 1) (3n โ 2) 2
Many students had problems cancelling the factorials as in
(3n)! (3n โ 3)!
= 3n (3n โ 1) (3n โ 2).
Note that each side of the result you are asked to prove represents a way of counting the number of subsets of cardinality 3 from a union of three sets of cardinality n.
iii) Fermatโs Little Theorem states that for prime p, and integer a with gcd (p, a) = 1 then apโ^1 โก 1 mod p. Seen in lectures [ 1 mark] Since 820 โก 4 mod 17, 549 โก 5 mod 17, 550 โก 6 mod 16 and 279 โก 7 mod 16 then
820550 โก 4550 =
46 โก 46 = 4096 โก 16 mod 7.
Next 549279 โก 5279 =
57 โก 57 = 78125 โก 10 mod 7.
Hence 820550549279 โก 16 ร 10 โก 7 mod 17. Similarly 550 โก 6 mod 17, 279 โก 7 mod 17, 820 โก 4 mod 16 and 549 โก 5 mod 16. Then
550820 โก 6820 =
64 โก 64 = 1296 โก 4 mod 17.
Also 279549 โก 7549 =
75 โก 75 = 16807 โก 11 mod 17.
Therefore 550820279549 โก 4 ร 11 โก 10 mod 17. Because 7 + 10 โก 0 mod 17 the required result follows. Example as found in Problem Sheet [ 4 marks]
i) N = p 1 p 2 ...pn + 1 with the first n primes is not necessarily prime, though it is sometimes. For example 2 ร 3 ร 5 + 1 = 31 is prime while 2 ร 3 ร 5 ร 7 ร 11 ร 13 + 1 = 30031 = 59 ร 509 is not prime. But in both cases we have found primes not in the original list, namely 31 in the first example and 59 and 509 in the second.
ii) a) You are asked to prove
โif a โ Z and p is prime with p - a then gcd (p, a) = 1โ,
which is of the form P โ Q with propositions P = โa โ Z and p is prime with p - aโ and Q = โ gcd (p, a) = 1โ. To use proof by contradiction you need to negate the required result, and by using truth tables it is seen that the negation of P โ Q is โP and not Qโ. So the proof starts assuming
โa โ Z and p is prime with p - a and gcd (p, a) 6 = 1โ.
Many students started incorrectly by assuming
โa โ Z and p is prime with p|a and gcd (p, a) = 1.โ
An alternative proof not using contradiction can be given. Recall
gcd (p, a) = max (D (p) โฉ D (a)).
Since p is prime we have D (p) = {โp, โ 1 , 1 , p}, so
D (p) โฉ D (a) โ D (p) = {โp, โ 1 , 1 , p}.
But p - a so p, โp /โ D (p) โฉ D (a) and thus D (p) โฉ D (a) โ {โ 1 , 1 }. Trivially 1 , โ 1 |a and so D (p) โฉ D (a) = {โ 1 , 1 }. Hence
gcd (p, a) = max (D (p) โฉ D (a)) = max ({โ 1 , 1 }) = 1.
ii) b) Some students attempted to give a proof of โif a, b โ Z, p is prime and p|ab then either p|a or p|bโ by contradiction. This is possible.
Again the result is of the form P โ Q, this time with propositions P = โa, b โ Z, p is prime and p|abโ and Q = โeither p|a or p|bโ. So a proof by contradiction starts with assuming the negation of P โ Q namely โP and not Qโ. But what is โnot Qโ?
B10 i) Suppose that โ is a binary operation on a non-empty set G. Explain what is meant by
โ is associative โ is commutative e โ G is an identity of G.
ii) Explain what is meant by saying that (G, โ) is a group. Prove that in a group (G, โ) a) the identity is unique b) the inverse of each element is unique c) โx, y โ G : (x โ y)โ^1 = yโ^1 โ xโ^1.
iii) Let S = {[3] 21 , [6] 21 , [9] 21 , [12] 21 , [15] 21 , [18] 21 }. a) By trial and error find an [x] 21 โ S for which [3] 21 [x] 21 = [3] 21. b) Show that the [x] 21 found in part a is the identity element on S, not forgetting to show your workings.
c) Write down two multiplication tables, one for {[6] 21 , [15] 21 } and one for {[9] 21 , [15] 21 , [18] 21 }.
d) Find the inverses of all elements in S. (It will not be necessary to write the whole multiplication table for S.)
โ is associative iff โx, y, z โ G : x โ (y โ z) = (x โ y) โ z โ is commutative iff โx, y โ G : x โ y = y โ z e โ G is an identity of G iff โx โ G : x โ e = e โ x = x. Definitions in course [ 2 marks] ii) (G, โ) is a group iff โ is a closed binary operation on G which is as- sociative, has an identity and for which every x โ G has an identity, i.e. โxโ^1 โ G : x โ xโ^1 = xโ^1 โ x = e. Definition in course [ 1 mark]
a) If e and eโฒ^ โ G are identities on (G, โ) then
e = e โ eโฒ^ since eโฒ^ is an identity = eโฒ^ since e is an identity.
Thus e = eโฒ^ and the identity is unique. Proof in lecture [ 2 marks]
b) If h, hโฒ^ โ G are inverses of an element g โ G then
h = h โ e where e is the identity, = h โ (g โ hโฒ) since g โ hโฒ^ = e because hโฒ^ is an inverse of g, = (h โ g) โ hโฒ^ by associativity, = e โ hโฒ^ since h is an inverse of g, = hโฒ^ since e is an identity.
Thus h = hโฒ^ and the inverse is unique. Proof in lecture [ 3 marks]
c) By definition (x โ y)โ^1 is an inverse of x โ y. But consider yโ^1 โ xโ^1 :
(x โ y) โ
yโ^1 โ xโ^1
(x โ y) โ yโ^1
โ xโ^1 associativity =
x โ
y โ yโ^1
โ xโ^1 associativity = (x โ e) โ xโ^1 = x โ xโ^1 = e.
Similarly (yโ^1 โ xโ^1 ) โ (x โ y) = e, thus yโ^1 โ xโ^1 is also an inverse of x โ y. Yet the inverse is unique so (x โ y)โ^1 = yโ^1 โ xโ^1. Proof in lecture [ 2 marks]
iii) a) 3ร15 = 45 โก 3 mod 21 so [3] 21 [15] 21 = [3] 21 and thus [x] 21 = [15] 21. [ 1 mark] b)
15 ร 6 = 90 โก 6 mod 21 so [15] 21 [6] 21 = [6] 21 15 ร 9 = 135 โก 9 mod 21 so [15] 21 [9] 21 = [9] 21 15 ร 12 = 180 โก 21 mod 21 so [15] 21 [12] 21 = [12] 21 15 ร 15 = 225 โก 15 mod 21 so [15] 21 [15] 21 = [15] 21 15 ร 18 = 270 โก 18 mod 21 so [15] 21 [18] 21 = [18] 21
[ 1 mark]
i) So many students forgot the quantifiers such as โโx, y, z โ Gโ that I had to be generous and not mark down solutions which omitted the quantifiers.
Many students got the definitions of associative and commutative con- fused.
For the identity e we have to demand both e โ x = x and x โ e = x because โ need not be commutative.
ii) a) Many students gave a proof of the uniqueness of the identity of this form: Let a โ G and let e, f โ G be identities. Then
a = a โ e since e is an identity, a = a โ f since f is an identity.
Equating we get a โ e = a โ f. Multiply both sides by the inverse of a (i.e. aโ^1 : aโ^1 โ a = e). Then
aโ^1 โ (a โ e) = aโ^1 โ (a โ f ) ( aโ^1 โ a
โ e =
aโ^1 โ a
โ f by associativity, e โ e = e โ f e = f since e is an identity.
I allowed this proof but note that the proof given in the answers makes no use of an element a, or the fact that it has an inverse.
c) The proof of (x โ y)โ^1 = yโ^1 โ xโ^1 given above depends completely on the word unique and I needed to see it in the answer.
There are alternative proofs such as starting from the definition of (x โ y)โ^1 as (x โ y) โ (x โ y)โ^1 = e.
Then
yโ^1 โ xโ^1 =
yโ^1 โ xโ^1
yโ^1 โ xโ^1
(x โ y) โ (x โ y)โ^1
yโ^1 โ xโ^1
โ (x โ y)
yโ^1 โ xโ^1
โ x
โ y
yโ^1 โ
xโ^1 โ x
โ y
yโ^1 โ e
โ y
yโ^1 โ y
โ (x โ y)โ^1 = e โ (x โ y)โ^1 = (x โ y)โ^1.
But notice how often associativity has been used in this, and you should always tell me when associativity has been used.
Interestingly you can check that [8] 21 [a] 21 = [a] 21 for all [a] 21 โ S. But [8] 21 is not the identity since [8] 21 โ S/.