1.2 Workshop 2 (Reading)

1.2.1 Preparatory exercises (1 hour)

Complete the following exercises in preparation for the Reading workshop.

Divisors

Definition (Divisor).

Let aa and dd be integers, with d0d\neq 0. We say that dd divides aa, and that dd is a divisor (or factor) of aa, if ad\frac{a}{d} is an integer. We also say that aa is divisible by dd.

We shall write dad\mid a to mean dd divides aa, and dad\nmid a to mean that dd does not divide aa.

Exercise 1.8.

True or false?

(a) 33divides 1212. (b) 312-3\mid 12. (c) 12312\mid 3. (d) 5125\mid 12. (e) 050\mid 5.
Definition (Common divisor).

Let aa and bb be integers. If dad\mid a and dbd\mid b then we say dd is a common divisor of aa and bb.

Definition (Greatest common divisor, gcd\gcd).

Let aa and bb be integers, not both zero. The greatest common divisor of aa and bb, denoted by gcd(a,b)\gcd(a,b), is the largest common divisor of aa and bb.

Exercise 1.9.

Choose two integers aa and bb between 100-100 and 100.

  1. 1.

    Find the common divisors of aa and bb.

  2. 2.

    What is the value of gcd(a,b)\gcd(a,b)?

Definition (Coprime).

Let aa and bb be integers. We say that aa and bb are coprime if gcd(a,b)=1\gcd(a,b)=1.

Exercise 1.10.

Think of an example of two coprime numbers.

Direct Proof

Exercise 1.11.

Read Section 4.2 of the Companion Notes. For the following statement, identify the assumptions (objects that the statement is making a claim about) and conclusion(s) (the claim(s) that the statement is making) and try and identify where they are used in the proof.

Lemma (Linear Combination Lemma).

Let aa and bb be integers with common divisor dd. Then, for any pair of integers mm and nn, the integer ma+nbma+nb is divisible by dd.

Note that the expression ma+nbma+nb above is called a linear combination of aa and bb, hence the name of the lemma.

Proof.

Suppose aa and bb are integers with common divisor dd, and let mm and nn be integers.

By the definition of a divisor, ad\frac{a}{d} and bd\frac{b}{d} are both integers. The product of two integers is an integer, and so n×ad=nadn\times\frac{a}{d}=\frac{na}{d} and m×bd=bmdm\times\frac{b}{d}=\frac{bm}{d} are also integers. The sum of two integers is an integer, and so nad+mbd=na+mbd\frac{na}{d}+\frac{mb}{d}=\frac{na+mb}{d} is also an integer. Hence, by the definition of a divisor, d(ma+nb)d\mid(ma+nb).

Negating statements

Exercise 1.12.

Read Section 3.2.1 of the Companion Notes. Try to find the negation of the following statements:

  1. 1.

    All the peppers in the box are green.

  2. 2.

    If you do your homework, you’ll get dessert.

Proof by Contradiction

Exercise 1.13.

Read Section 4.5 in the Companion Notes. Try to identify the key steps of a proof by contradiction in the following proof. If there are any steps in the proof that you are not entirely convinced by or find confusing, make a note of them to discuss in the Reading workshop.

Theorem.

The number 2\sqrt{2} is not rational.

Proof.

For a contradiction, assume 2\sqrt{2} is rational. Write 2=ab\sqrt{2}=\frac{a}{b}, where aa and bb are integers so that the fraction is in simplest terms (i.e. aa and bb have no common factors).

Squaring both sides of 2=ab\sqrt{2}=\frac{a}{b} tells us that 2b2=a22b^{2}=a^{2}.

Hence a2a^{2} is an even number, and so aa is even.

Let a=2ka=2k for some integer kk. Then 2b2=4k22b^{2}=4k^{2} and so b2b^{2} is even. So bb is even.

Now both aa and bb are even. This contradicts our assumption that 2\sqrt{2} could be written in the form ab\frac{a}{b} with the fraction in simplest terms. Hence this assumption must be false and so 2\sqrt{2} cannot be rational.

1.2.2 B1 Reading Workshop Supplementary Material

Lemma (Bézout’s Lemma (Special Case)).

Let aa and bb be coprime integers. Then there exist integers mm and nn such that ma+nb=1ma+nb=1.

Definition (Prime).

An integer p>1p>1 is prime if its only positive divisors are 11 and pp.

Lemma (Euclid’s lemma).

Let aa and bb be integers, and pp be prime. If pabp\mid ab then pap\mid a or pbp\mid b.

PROOF: (The lines of this proof are numbered to aid your discussion.)

  1. 1.

    Suppose pabp\mid ab and pap\nmid a; we shall show that pp must divide bb.

  2. 2.

    Since pp is prime and pap\nmid a it follows that gcd(a,p)=1\gcd(a,p)=1.

  3. 3.

    Thus, by Bézout’s Lemma (Special Case), there are integers mm and nn such that

    ma+np=1.ma+np=1.
  4. 4.

    Multiplying both sides by bb gives

    mab+npb=b.mab+npb=b.
  5. 5.

    But pabp\mid ab and pnpbp\mid npb, so pp divides the left-hand side of the equation.

  6. 6.

    Therefore it must divide bb, the right-hand side.

  7. 7.

    The same argument can be applied to prove that if pabp\mid ab and pbp\nmid b then pap\mid a.

  8. 8.

    Therefore the proof is complete. \square

Theorem.

The number 2\sqrt{2} is not rational.

PROOF: (The lines of this proof are numbered to aid your discussion.)

  1. 1.

    For a contradiction, assume 2\sqrt{2} is rational.

  2. 2.

    Write 2=ab\sqrt{2}=\frac{a}{b}, where aa and bb are integers so that the fraction is in simplest terms (i.e. aa and bb have no common factors).

  3. 3.

    Squaring both sides of 2=ab\sqrt{2}=\frac{a}{b} tells us that 2b2=a22b^{2}=a^{2}.

  4. 4.

    Hence a2a^{2} is an even number, and so aa is even.

  5. 5.

    Let a=2ka=2k for some integer kk. Then 2b2=4k22b^{2}=4k^{2} and so b2b^{2} is even. So bb is even.

  6. 6.

    Now both aa and bb are even.

  7. 7.

    This contradicts our assumption that 2\sqrt{2} could be written in the form ab\frac{a}{b} with the fraction in simplest terms.

  8. 8.

    Hence this assumption must be false and so 2\sqrt{2} cannot be rational. \square

Theorem (The Fundamental Theorem of Arithmetic).

Let n>1n>1 be an integer. Then there is a list of positive primes p1,p2,,pkp_{1},p_{2},\ldots,p_{k} such that

n=p1p2pk.n=p_{1}p_{2}\cdots p_{k}.

The primes p1,p2,,pkp_{1},p_{2},\ldots,p_{k} are unique up to reordering.

SUBPROOF A (The lines of this proof are numbered to aid your discussion.)

  1. 1.

    First, we prove that nn can be written as a product of primes.

  2. 2.

    For a contradiction, assume that n>1n>1 cannot be written as a product of primes and is the smallest integer with this property.

  3. 3.

    Because such an nn cannot be prime itself, it must have a positive non-prime divisor dd strictly greater than 11 and less than nn.

  4. 4.

    Thus n=dkn=dk for some positive integers dd and kk, both strictly smaller than nn.

  5. 5.

    Because dd and kk are smaller than nn, and because we assumed nn was the smallest integer that could not be written as a product of primes, it must be possible to write dd and kk as a product of primes.

  6. 6.

    But then nn is the product of dd and kk, both of which are a product of primes.

  7. 7.

    Hence nn must also be a product of primes.

  8. 8.

    Contradiction; no such nn can exist.

1.2.3 Workshop tasks

Definition (Divisor).

Let aa and dd be integers, with d0d\neq 0. We say that dd divides aa, and that dd is a divisor (or factor) of aa, if ad\frac{a}{d} is an integer. We also say that aa is divisible by dd.

We shall write dad\mid a to mean dd divides aa, and dad\nmid a to mean that dd does not divide aa.

Task 1.14 (5 min).

  1. (a)

    List the divisors of 0.

  2. (b)

    List the divisors of 11.

  3. (c)

    Let kk be an integer that is not 0 or 11. At least how many distinct divisors does kk have?

Direct Proof

Definition (Common divisor).

Let aa and bb be integers. If dad\mid a and dbd\mid b then we say dd is a common divisor of aa and bb.

Definition (Greatest common divisor, gcd\gcd).

Let aa and bb be integers, not both zero. The greatest common divisor of aa and bb, denoted by gcd(a,b)\gcd(a,b), is the largest common divisor of aa and bb.

Definition (Coprime).

Let aa and bb be integers. We say that aa and bb are coprime if gcd(a,b)=1\gcd(a,b)=1.

Lemma (Bézout’s Lemma (Special Case)).

Let aa and bb be coprime integers. Then there exist integers mm and nn such that ma+nb=1ma+nb=1.

Definition (Prime).

An integer p>1p>1 is prime if its only positive divisors are 11 and pp.

Task 1.15 (15 min).

Read the statement and proof of Euclid’s Lemma and discuss the following:

  1. 1.

    Identify the assumptions and conclusions of the statement. Where do they feature in the proof?

  2. 2.

    Why can Bézout’s Lemma (Special Case) be used in this proof? Are all its assumptions satisfied?

  3. 3.

    One of the results we’ve looked at in this workshop so far is hidden in this proof. What is it and where is it used?

  4. 4.

    EXTENSION: Is this proof valid if pp is NOT prime? If not, where does the proof break down?

  5. 5.

    EXTENSION: If prime pp divides abcabc, can we guarantee that pp divides at least one of aa, bb or cc?

Lemma (Euclid’s lemma).

Let aa and bb be integers, and pp be prime. If pabp\mid ab then pap\mid a or pbp\mid b.

Proof.

(The lines of this proof are numbered to aid your discussion.)

  1. 1.

    Suppose pabp\mid ab and pap\nmid a; we shall show that pp must divide bb.

  2. 2.

    Since pp is prime and pap\nmid a it follows that gcd(a,p)=1\gcd(a,p)=1.

  3. 3.

    Thus, by Bézout’s Lemma (Special Case), there are integers mm and nn such that

    ma+np=1.ma+np=1.
  4. 4.

    Multiplying both sides by bb gives

    mab+npb=b.mab+npb=b.
  5. 5.

    But pabp\mid ab and pnpbp\mid npb, so pp divides the left-hand side of the equation.

  6. 6.

    Therefore it must divide bb, the right-hand side.

  7. 7.

    The same argument can be applied to prove that if pabp\mid ab and pbp\nmid b then pap\mid a.

  8. 8.

    Therefore the proof is complete.

Proof by Contradiction

Task 1.16 (15 min).

In your group, compare your notes on the proof that 2\sqrt{2} is not rational.

  1. 1.

    Do you agree where the key steps of a proof by contradiction are present in this proof? Discuss any points of confusion with your group.

  2. 2.

    Which steps in the argument would not work if we tried to adapt it to prove that 4\sqrt{4} is not rational?

  3. 3.

    EXTENSION: Adapt the proof to prove that 3\sqrt{3} is not rational.

An extra line here

Theorem.

The number 2\sqrt{2} is not rational.

Proof.

(The lines of this proof are numbered to aid your discussion.)

  1. 1.

    For a contradiction, assume 2\sqrt{2} is rational.

  2. 2.

    Write 2=ab\sqrt{2}=\frac{a}{b}, where aa and bb are integers so that the fraction is in simplest terms (i.e. aa and bb have no common factors).

  3. 3.

    Squaring both sides of 2=ab\sqrt{2}=\frac{a}{b} tells us that 2b2=a22b^{2}=a^{2}.

  4. 4.

    Hence a2a^{2} is an even number, and so aa is even.

  5. 5.

    Let a=2ka=2k for some integer kk. Then 2b2=4k22b^{2}=4k^{2} and so b2b^{2} is even. So bb is even.

  6. 6.

    Now both aa and bb are even.

  7. 7.

    This contradicts our assumption that 2\sqrt{2} could be written in the form ab\frac{a}{b} with the fraction in simplest terms.

  8. 8.

    Hence this assumption must be false and so 2\sqrt{2} cannot be rational.

Theorem (The Fundamental Theorem of Arithmetic).

Let n>1n>1 be an integer. Then there is a list of positive primes p1,p2,,pkp_{1},p_{2},\ldots,p_{k} such that

n=p1p2pk.n=p_{1}p_{2}\cdots p_{k}.

The primes p1,p2,,pkp_{1},p_{2},\ldots,p_{k} are unique up to reordering.

Task 1.17 (10 min).

Negations

  1. 1.

    Share your negations from the preparatory tasks with your group. Do you all agree? Which are correct?

  2. 2.

    If n>1n>1 is an integer and p1,p2,,pkp_{1},p_{2},\ldots,p_{k} are prime numbers such that

    n=p1p2pk,n=p_{1}p_{2}\cdots p_{k},

    we call this expression for nn a prime decomposition or prime factorisation of nn.

    What is the negation of the statement “Every integer n>1n>1 has a unique prime decomposition.”?

  3. 3.

    EXTENSION: How would you set up a proof by contradiction for the Fundamental Theorem of Arithmetic?

Task 1.18 (15 min).

The Fundamental Theorem of Arithmetic is an important result about the role of primes. This proof contains two subproofs by contradiction - one for existence and one for uniqueness. Read subproof AA and discuss the following with your group:

  1. 1.

    Identify the key components of a proof by contradiction in this subproof.

  2. 2.

    In line 3, why can nn not be prime itself?

  3. 3.

    Where is the definition of a divisor used in the proof? Why does it look different?

  4. 4.

    In line 3, if nn is not prime, why must it have a positive non-prime divisor dd strictly between 1 and nn?

  5. 5.

    EXTENSION: Why can we assume there exists a smallest integer n>1n>1 that cannot be written as a product of primes?

Theorem (The Fundamental Theorem of Arithmetic).

Let n>1n>1 be an integer. Then there is a list of positive primes p1,p2,,pkp_{1},p_{2},\ldots,p_{k} such that

n=p1p2pk.n=p_{1}p_{2}\cdots p_{k}.

The primes p1,p2,,pkp_{1},p_{2},\ldots,p_{k} are unique up to reordering.

SUBPROOF A

  1. 1.

    First, we prove that nn can be written as a product of primes.

  2. 2.

    For a contradiction, assume that n>1n>1 cannot be written as a product of primes and is the smallest integer with this property.

  3. 3.

    Because such an nn cannot be prime itself, it must have a positive non-prime divisor dd strictly greater than 11 and less than nn.

  4. 4.

    Thus n=dkn=dk for some positive integers dd and kk, both strictly smaller than nn.

  5. 5.

    Because dd and kk are smaller than nn, and because we assumed nn was the smallest integer that could not be written as a product of primes, it must be possible to write dd and kk as a product of primes.

  6. 6.

    But then nn is the product of dd and kk, both of which are a product of primes.

  7. 7.

    Hence nn must also be a product of primes.

  8. 8.

    Contradiction; no such nn can exist.                                                              \square