Announcement: Office hours Monday, May 17 and Monday, May 24 will be 11:00-12:00.
Problems due Friday, May 21:
To do but not hand in:
p. 133, Ex. 10;
p. 203, Ex. 3;
p. 206, Ex. 1;
H-1, H-3, H-4, H-5.
To hand in:
p. 200-1, Exs. 9, 15;
p. 206, Ex. 1;
I-1, I-2, H-6, H-7.
Problem
I-1. As discussed in class, the 4-element field
has characteristic 2 and elements
.
Addition takes place in the obvious way (except that any element
plus itself equals 0), while multiplication is calculated using
.
To construct this field we used matrices
,
,
,
. Then
we could call the first three
respectively and notice that the
fourth is
. Then we could forget about where
came from.
(a) Recall from lecture the fact that in a finite field there is always a
generator for the units (the nonzero elements). Decide which elements of
are generators of the units. (Show your work.)
(b) Decide whether
is isomorphic as a ring to
.
(Why?)
If your answer is yes, then you need to give a one-to-one
correspondence between elements of
and elements of
that is compatible with addition and multiplication.
If your answer is no, then it is enough to give some property
true in one and false in the other, not tied to names of
elements--for example, do both have the same number of
solutions to ? (Well, yes in this case, but maybe no for
something else?) In spite of the statement about names of
elements not mattering, for any isomorphism 0 and 1 do have to correspond,
since 0 can be uniquely described as the additive identity
and 1 can be uniquely described as the multiplicative identity.
(c) When you construct
starting with
, you are essentially
taking a real polynomial that didn't have a root, namely
,
and then making a larger field in which it does have a root. The
same was true in going from
to
.
In starting from
(
) and making
,
you are also taking a polynomial with coefficients in
that didn't have a root and adding a root. Which polynomial?
(Notice that for
,
does have a root in
,
namely 1, since
.)
(d) Just as
can be regarded as a two-dimensional vector space
over the field
, with a basis consisting
and
,
can be considered as a vector space over
.
What would be a good choice of basis? (You want every element of
to be a unique linear combination using this basis, with coefficients
from
.)
Problem
I-2. In this problem, elements of
are always listed in
the order
. So if we make a table with rows
and columns indexed by these elements, the table is
and we might refer to the entry in ``row
, column
'',
which is in the position we would ordinarily call (3,4).
For each of
, let
mean the
table whose (
)-th entry is
,
where
. For example,
is just the addition
table for
.
(a) Write out the three tables.
(b) As you see, each of the tables has the property that each row has four
different elements (out of 4) and each column has four different elements. Such a
table is called a Latin square. Show that in fact the
construction gives a Latin square when carried out in any finite field,
not just
.
(c) Two Latin squares of the same size are said to be
orthogonal if, when you lay one on top of the other, you get
every possible pair of elements. For example, if you had two
Latin squares and one had entries
and
the other had entries
, then
would occur
against
in exactly one position,
would occur against
in exactly one position, etc. To put it another way, the
pairs of entries you have matched up are all distinct. For
example, Problem G-1 was really asking for two orthogonal
Latin squares, where the indices were card suits and card numbers.
Show that each two of the Latin squares
are orthogonal. In fact, show that
using any finite field the
construction gives Latin
squares so that for
,
and
are
orthogonal.
So using
you can construct not just two orthogonal
Latin squares but three, each two of which are orthogonal. And using a
field with 9 elements you could construct eight pairwise orthogonal Latin
squares, etc. Moreover, Problem G-1 can be solved by taking two of the
three
Latin squares and relabeling field entries
as card suits and numbers.
Problem
I-3. (Diffie-Hellman key exchange) Let
,
which is prime, and let
, which is a generator of
the units of
.
(a) If you know someone in the class, do a key exchange with him/her as follows; if you don't know someone then do it with me. Suppose you are person A and your friend is Person B.
The goal is for you both to arrange a secret number by email--a number that you can both compute, but which can't be guessed by someone else who is secretly reading your email.
Step 1. Choose some number at random (just a messy number),
which you will keep private, even from B.
Step 2. Using the calculator on the Math 117 home page, calculate
and send the result in email to B. (For the calculator,
leave out the commas in
.)
Meanwhile, B should do the same, choosing a number at random
and sending you
in email.
Step 3. When you get B's email with
, use the calculator
to take that number to the
power
.
B should do the corresponding calculation, taking your number
to the
power
.
Since
, you and B now know a
secret number in common, namely
, even though you never
sent it in email.
(b) As a demo, send B a one-word message by choosing an English word of three or four letters, encoding it with 2 digits per letter, adding the six or or eight digits to your secret key, and sending the sum to B. B can then decode it by subtracting the secret key. Meanwhile, B should send you a message the same way. You can use the encoding in this table:
01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 |
A | B | C | D | E | F | G | H | I | J | K | L | M |
14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
Notes: