Home page for accesible maths E Solutions

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

E.2 Workshop exercises from week 2

Exercise 2.1.

(i) q=4q=4 and r=10r=10; (ii) q=-4q=-4 and r=5r=5;
(iii) q=7q=7 and r=0r=0; (iv) q=0q=0 and r=9r=9.

Exercise 2.2.

  1. (i)


    90=66+246=24-1866=2⋅24+18=24-(66-2⋅24)24=18+6=3⋅24-6618=3⋅6+0=3⁢(90-66)-66=3⋅90-4⋅66.\begin{array}[]{rlrl}90&\!\!\!=66+24&6=&24-18\\ 66&\!\!\!=2\cdot 24+18&=&24-(66-2\cdot 24)\\ 24&\!\!\!=18+6&=&3\cdot 24-66\\ 18&\!\!\!=3\cdot 6+0&=&3(90-66)-66\\ &&=&3\cdot 90-4\cdot 66.\end{array}

    Thus hcf⁢(90,66)=6=3⋅90-4⋅66\mathrm{hcf}(90,66)=6=3\cdot 90-4\cdot 66.

  2. (ii)

    Proposition 4.4.2 states that an integer nn can be written as an integral linear combination of 9090 and 6666 if and only if hcf⁢(90,66)\mathrm{hcf}(90,66) is a factor of nn. Since hcf⁢(90,66)=6\mathrm{hcf}(90,66)=6 and 6|546|54 and 6| 566\!\!\!\!\;\not\!\!\!\;|\!\;56, we conclude that 5454 can be written as an integral linear combination of 9090 and 6666, whereas 5656 cannot. We have

    54=9⋅6=9⁢(3⋅90-4⋅66)=27⋅90-36⋅66.54=9\cdot 6=9(3\cdot 90-4\cdot 66)=27\cdot 90-36\cdot 66.

Exercise 2.4.

  1. (i)

    Suppose that mm and nn are both even, so that m=2⁢am=2a and n=2⁢bn=2b for some integers aa and bb; then m2+n2=(2⁢a)2+(2⁢b)2=4⁢a2+4⁢b2=2⁢(2⁢a2+2⁢b2)m^{2}+n^{2}=(2a)^{2}+(2b)^{2}=4a^{2}+4b^{2}=2(2a^{2}+2b^{2}), so m2+n2m^{2}+n^{2} is even.

  2. (ii)

    The contrapositive of the statement ‘‘(m⁢nmn is even) ⇒\Rightarrow (mm or nn is even)’’ is ‘‘(mm and nn are odd) ⇒\Rightarrow (m⁢nmn is odd)’’ which is true. Indeed, let m=2⁢a+1m=2a+1 and n=2⁢b+1n=2b+1 for some integers aa and bb; then m⁢n=2⁢(2⁢a⁢b+a+b)+1mn=2(2ab+a+b)+1 is odd.
    Alternatively, this can be proved by separate consideration of cases.

Exercise 2.5. Suppose that c|abc|ab. Then there exists q∈ℤq\in{\mathbb{Z}} such that a⁢b=q⁢cab=qc. Theorem 4.2.17 implies that hcf⁢(a,c)=r⁢a+s⁢c\mathrm{hcf}(a,c)=ra+sc for some r,s∈ℤr,s\in{\mathbb{Z}}, and hence we have

hcf⁢(a,c)⋅b=(r⁢a+s⁢c)⁢b=r⁢a⁢b+s⁢c⁢b=r⁢q⁢c+s⁢b⁢c=(r⁢q+s⁢b)⁢c,\mathrm{hcf}(a,c)\cdot b=(ra+sc)b=rab+scb=rqc+sbc=(rq+sb)c,

so that c|hcf(a,c)⋅bc|\mathrm{hcf}(a,c)\cdot b.

Exercise 2.6. Assume that the result is false; that is, there exists a real number xx such that 2+x\sqrt{2}+x and 2-x\sqrt{2}-x are both rational. Then 2⁢2=(2+x)+(2-x)2\sqrt{2}=(\sqrt{2}+x)+(\sqrt{2}-x) is the sum of two rational numbers, hence is rational, and therefore 2=12⁢(2⁢2)\sqrt{2}=\frac{1}{2}(2\sqrt{2}) is also rational. This, however, contradicts Example 3.4.2, so one of 2+x\sqrt{2}+x and 2-x\sqrt{2}-x is irrational.

Exercise 2.7.

  1. (i)

    The set of factors of 3636 is

    S={±1,±2,±3,±4,±6,±9,±12±18,±36},S=\{\pm 1,\pm 2,\pm 3,\pm 4,\pm 6,\pm 9,\pm 12\pm 18,\pm 36\},

    while the set of factors of 4848 is

    T={±1,±2,±3,±4,±6,±8,±12,±16,±24,±48}.T=\{\pm 1,\pm 2,\pm 3,\pm 4,\pm 6,\pm 8,\pm 12,\pm 16,\pm 24,\pm 48\}.
  2. (ii)

    By (i), the set of common factors of 3636 and 4848 is

    S∩T={±1,±2,±3,±4,±6,±12},S\cap T=\{\pm 1,\pm 2,\pm 3,\pm 4,\pm 6,\pm 12\},

    and thus hcf⁢(36,48)=12\mathrm{hcf}(36,48)=12.

  3. (iii)

    We have 12|(-28)12\!\!\!\!\;\not\!\!\!\;|\!\;(-28), 12|(-24)12|(-24), 12|27612|276 and 12| 28412\!\!\!\!\;\not\!\!\!\;|\!\;284, so Proposition 4.4.2 implies that -24-24 and 276276 can be written as integral linear combinations of 3636 and 4848, whereas -28-28 and 284284 cannot.

Exercise 2.8.

266=1⋅190+7638=190-2⋅76190=2⋅76+38=190-2⁢(266-190)76=2⋅38+0=3⋅190-2⋅266.\begin{array}[]{rlrl}266&\!\!\!=1\cdot 190+76&38=&190-2\cdot 76\\ 190&\!\!\!=2\cdot 76+38&=&190-2(266-190)\\ 76&\!\!\!=2\cdot 38+0&=&3\cdot 190-2\cdot 266.\end{array}

Thus hcf⁢(190,266)=38=3⋅190-2⋅266\mathrm{hcf}(190,266)=38=3\cdot 190-2\cdot 266.

Exercise 2.9. If at least one of mm and nn is even, then m2⁢nm^{2}n and m⁢n2mn^{2} are both even by Example 3.2.4, and so m2⁢n+m⁢n2m^{2}n+mn^{2} is even as well. Otherwise mm and nn are both odd; then m2⁢nm^{2}n and m⁢n2mn^{2} are both odd, and so m2⁢n+m⁢n2m^{2}n+mn^{2} is even.

Exercise 2.10. Statement (i) is true: for each m∈ℤm\in\mathbb{Z}, we can find n∈ℤn\in\mathbb{Z} such that m-n=5m-n=5; simply take n=m-5n=m-5.

On the other hand, statement (ii) is false: there is no m∈ℤm\in\mathbb{Z} that will work for all n∈ℤn\in\mathbb{Z}; indeed, if mm were an integer such that m-n=5m-n=5 for all n∈ℤn\in\mathbb{Z}, then in particular by taking n=mn=m, we would get 5=m-n=m-m=05=m-n=m-m=0 which is clearly absurd. Hence the statement is false.

Exercise 2.12. By Theorem 4.2.17 we can find p,q,r,s∈ℤp,q,r,s\in\mathbb{Z} such that p⁢a+q⁢c=1pa+qc=1 and r⁢b+s⁢c=1rb+sc=1. Then

1=(p⁢a+q⁢c)⁢(r⁢b+s⁢c)=(p⁢r)⁢a⁢b+(p⁢a⁢s+q⁢r⁢b+q⁢s⁢c)⁢c,1=(pa+qc)(rb+sc)=(pr)ab+(pas+qrb+qsc)c,

and so hcf⁢(a⁢b,c)=1\mathrm{hcf}(ab,c)=1 by Corollary 4.2.19.

Exercise 2.13. Suppose that hcf⁢(a,b)=1\mathrm{hcf}(a,b)=1 and c|ac|a. Then there are r,s,t∈ℤr,s,t\in{\mathbb{Z}} such that r⁢a+s⁢b=1ra+sb=1 (by Theorem 4.2.17) and a=t⁢ca=tc. Thus we have

1=r⁢a+s⁢b=r⁢(t⁢c)+s⁢b=(r⁢t)⁢c+s⁢b,1=ra+sb=r(tc)+sb=(rt)c+sb,

so Corollary 4.2.19 implies that hcf⁢(c,b)=1\mathrm{hcf}(c,b)=1.

Exercise 2.14. The set of factors of 7272 is

S={±1,±2,±3,±4,±6,±8,±9,±12,±18,±24,±36,±72}.S=\{\pm 1,\pm 2,\pm 3,\pm 4,\pm 6,\pm 8,\pm 9,\pm 12,\pm 18,\pm 24,\pm 36,\pm 7% 2\}.

The set of factors of 175175 is

T={±1,±5,±7,±25,±35,±175}.T=\{\pm 1,\pm 5,\pm 7,\pm 25,\pm 35,\pm 175\}.

Thus the set of common factors of 7272 and 175175 is S∩T={±1}S\cap T=\{\pm 1\}, and hcf⁢(72,175)=1\mathrm{hcf}(72,175)=1.

Exercise 2.15.⇐\Leftarrow. Suppose that mm and nn are both even. Then m2m^{2}, m⁢nmn and n2n^{2} are all even by Example 3.2.4, and therefore m2+m⁢n+n2m^{2}+mn+n^{2} is also even.

⇒\Rightarrow. We prove this implication by contraposition. The contrapositive of the statement ‘‘(m2+m⁢n+n2m^{2}+mn+n^{2} is even) ⇒\Rightarrow (mm and nn are even)’’ is ‘‘(mm or nn is odd) ⇒\Rightarrow (m2+m⁢n+n2m^{2}+mn+n^{2} is odd)’’. We consider the possible cases for mm and nn:

  • •

    If mm is odd and nn is even, then m2m^{2} is odd whereas m⁢nmn and n2n^{2} are even, so m2+m⁢n+n2m^{2}+mn+n^{2} is odd.

  • •

    Similarly, if mm is even and nn is odd, then m2+m⁢n+n2m^{2}+mn+n^{2} is odd.

  • •

    Finally, if mm and nn are both odd, then m2,m⁢nm^{2},mn and n2n^{2} are all odd, so m2+m⁢n+n2m^{2}+mn+n^{2} is odd.

Thus m2+m⁢n+n2m^{2}+mn+n^{2} is odd in all three cases.

The following parity table summarizes this argument.

mm nn m2m^{2} m⁢nmn n2n^{2} m2+m⁢n+n2m^{2}+mn+n^{2}
EE EE EE EE EE EE
EE DD EE EE DD DD
DD EE DD EE EE DD
DD DD DD DD DD DD