Processing math: 100%

Friday, 15 February 2013

Using group theory to prove Fermat's little theorem

Here is a demonstration of the use of group theory that I thought was quite neat. Fermat's little theorem states that if p is a prime number and a is a natural number that is not divisible by p (i.e. a is not congruent to 0 (mod p)) then
ap11(mod p)   ...(1) 

Now recall from M208 that if p is prime then
(Zp,×p)

is a group of order p-1 (see the Handbook for M208 on page 30). Now we can use Lagrange's Theorem (Handbook page 35) to prove Fermat's little theorem as follows. Let a be a natural number that is not divisible by a prime number p, then a will be congruent to an element of the above group, i.e. to one of the set
{1,2,3,..,(p1)}

Let this element be g so that
ag(mod p)

Now g will generate a cyclic subgroup of order n (Handbook page 28) and by Lagrange's Theorem (page 35) n will divide p-1, the order of the group. Hence
p1=mn

for some natural number m and thus
ap1gp1gmn(gn)m(mod p)

Now by definition
gn1(mod p)

and so
ap11m1(mod p)

Hence (1) is proven.


2 comments:

  1. Duncan
    Really nice proof! Now try to do the same for Wilson's theorem >;-)
    arb
    nellie

    ReplyDelete
    Replies
    1. Wilson's Theorem is the next topic in the book I am reading, so perhaps I will be enlightened shortly. It's nice to keep the old group theory ticking over.

      Delete