Home page for accesible maths B Exercises

Style control - access keys in brackets

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

Week 1

Workshop exercises

Exercise 1.1

For A={1,2,3,4,5}A=\{1,2,3,4,5\} and B={2,4,6,8,10}B=\{2,4,6,8,10\}, find ABA\cap B, ABA\cup B, ABA\setminus B and BAB\setminus A.

Exercise 1.2

Find the truth table for the compound statement ‘‘(p&q)(¬p)(p\ \&\ q)\Rightarrow(\neg p)’’, where pp and qq are statement variables.

Exercise 1.3

For A={1,2,3,,10}A=\{1,2,3,\dots,10\}, list the members of each of the following three sets:

  1. (i)

    B={n:3n+1A}B=\{n\in\mathbb{Z}:3n+1\in A\};

  2. (ii)

    C={3n+1:nA}C=\{3n+1:n\in A\};

  3. (iii)

    D={nA:3n+1}D=\{n\in A:3n+1\in\mathbb{Z}\}.

Exercise 1.4
  1. (i)

    Express the statement

    ‘‘there exists an integer mm such that, for every integer nn,

    the sum m+nm+n is a natural number’’

    symbolically. (In this context, ‘‘symbolically’’ means using negation, the five connectives and the two quantifiers introduced in Sections 2.32.4.)

  2. (ii)

    Negate the symbolic statement found in (i). (You should always convert the negation into a positive statement as we did in Examples 2.4.102.4.11 in the notes.)

  3. (iii)

    Determine whether the statement in (i) is true or false, and justify your answer briefly.

Exercise 1.5
  1. (i)

    Read the first three sections C.1C.3 of Appendix C, about the Self-Explanation strategy for understanding proofs.

  2. (ii)

    Apply the strategy to the two practice proofs in Sections C.4C.5.

    [You might prefer to try the explanation strategy with a friend, either in the workshop or at another time. That can also be very helpful but try to be (constructively) critical of yourself or your friend: keep going until you are sure you understand every step, line by line. Feel free to try the strategy with other proofs from the course, or other courses, too.]

Exercise 1.6

Show that the two compound statements ‘‘p&(qorr)p\ \&\ (q\ \text{or}\ r)’’ and ‘‘(p&q)(p\ \&\ q) or (p&r)(p\ \&\ r)’’ are logically equivalent.

Remark. This result can be rephrased as saying that the connective ‘‘&\&’’ is distributive over ‘‘or’’ because it resembles the usual distributive law from arithmetic: a(b+c)=(ab)+(ac)a\cdot(b+c)=(a\cdot b)+(a\cdot c) for numbers aa, bb and cc.

Further exercises

Exercise 1.7
  1. (a)

    Express each of the following statements symbolically.

    1. (i)

      ‘‘There is an integer nn such that n3=18n^{3}=18.’’

    2. (ii)

      ‘‘For each rational number rr, there are integers mm and nn such that nn is non-zero and r=m/nr=m/n.’’

    3. (iii)

      ‘‘The equation 3x2-2x+9=03x^{2}-2x+9=0 has a real solution.’’

  2. (b)

    Negate each of the three statements in (a).

  3. (c)

    For each of the three statements in (a), decide whether it is true or false and justify your answer briefly.

Exercise 1.8

Use truth tables to show that, for any statement variables pp and qq, the compound statements ‘‘pqp\Rightarrow q’’ and ‘‘(¬p)(\neg p) or qq’’ are logically equivalent.

Exercise 1.9

Find the parity table for the expression (x)×y(\sim\!x)\times y, where x,yx,y\in\mathbb{Z}.

Exercise 1.10

For

C={-1,12,22,e,π,log32}  and  D={13,12,12,2π3,e},C=\biggl\{-1,\frac{1}{2},\frac{\sqrt{2}}{2},e,\pi,\log 32\biggr\}\qquad\text{% and}\qquad D=\biggl\{\frac{1}{3},\frac{1}{2},\frac{1}{\sqrt{2}},\frac{2\pi}{3}% ,e\biggr\},

find CDC\cap D, CDC\cup D, CDC\setminus D and DCD\setminus C.

Exercise 1.11

Find the truth table for the compound statement ‘‘(p&(¬q))r\bigl(p\ \&\ (\neg q)\bigr)\Rightarrow r’’, where pp, qq and rr are statement variables.

Exercise 1.12

Use truth tables to show that the logical connective ‘‘or’’ is distributive over ‘‘&\&’’; that is, show that the two compound statements ‘‘por(q&r)p\ {\hbox{or}}\ (q\ \&\ r)’’ and ‘‘(porq)&(porr)(p\ {\hbox{or}}\ q)\ \&\ (p\ {\hbox{or}}\ r)’’ are logically equivalent, where pp, qq and rr are statement variables.

Exercise 1.13
  1. (i)

    Use truth tables to show that the two compound statements

    ‘‘¬(p&q)’’  and  ‘‘(¬p)or(¬q)’’\text{``}\neg(p\ \&\ q)\text{''\qquad and\qquad``}(\neg p)\ \text{or}\ (\neg q% )\text{''}

    are logically equivalent, where pp and qq are statement variables.

  2. (ii)

    As in Remark 2.3.3, construct an example that shows that this result agrees with our everyday usage of ‘‘negation’’, ‘‘and’’ and ‘‘or’’.

Exercise 1.14

Express each of the following statements and its negation symbolically.

  1. (i)

    ‘‘For all integers aa and bb, the equation ax=bax=b has a rational solution.’’

  2. (ii)

    ‘‘For each integer nn greater than 99, the square root of nn is greater than 33.’’

  3. (iii)

    ‘‘-27=n3-27=n^{3} for some integer nn.’’

  4. (iv)

    ‘‘For each natural number nn, there is a real number xx such that n=x4n=x^{4}.’’

Exercise 1.15

Negate the following three statements:

  1. (i)

    ‘‘some triangles are isosceles’’;

  2. (ii)

    ‘‘all triangles are similar’’;

  3. (iii)

    ‘‘(p{2})(n)((p4n+1)&(p4n-1))\bigl(\exists\,p\in\mathbb{P}\setminus\{2\}\bigr)(\forall n\in\mathbb{N})\bigl% ((p\neq 4n+1)\ \&\ (p\neq 4n-1)\bigr)’’
    (where \mathbb{P} is the set of prime numbers).

Tutor-assessed exercises

The answers to the following two exercises must be handed in in your tutor’s pigeonhole (B Floor, Fylde College) no later than 17.00, Wednesday 19th19^{\text{th}} October.

Exercise 1.16

(4 points) Use truth tables to decide whether the two statements

¬((pq)(qr))  and  q&(¬r)\neg\bigl((p\Rightarrow q)\Rightarrow(q\Rightarrow r)\bigr)\qquad\text{and}% \qquad q\ \&\ (\neg r)

are logically equivalent for all statement variables pp, qq and rr.

Exercise 1.17
  1. (a)

    (3 points) Express the statement

    ‘‘for each non-zero integer mm between -3-3 and 33 (both inclusive),

    there is a positive rational number qq such that 1m=q-32\frac{1}{m}=q-\frac{3}{2}’’

    symbolically.

  2. (b)

    (1 point) Negate the statement in (a). (Recall from Exercise 1.4(ii) that this includes converting the negation into positive form.)

  3. (c)

    (2 points) Decide whether the statement in (a) is true or false, and justify your answer.

Online-assessed exercises

The answers to the exercises below must be submitted online no later than 23.59, Wednesday 19th19^{\text{th}} October.

Exercise 1.18

(Truth table) Find the truth table for the compound statement

s:(p(qor(¬r)))&(¬q),s:\quad\Bigl(p\Rightarrow\bigl(q\ \text{or}\ (\neg r)\bigr)\Bigr)\quad\&\quad(% \neg q),

where pp, qq and rr are statement variables, and hence decide which one of the five columns (A)–(E) below gives the correct truth table for ss.

pp qq rr (A) (B) (C) (D) (E)
TT TT TT FF FF FF FF FF
TT TT FF FF FF FF FF FF
TT FF TT TT FF FF TT FF
TT FF FF FF TT TT TT TT
FF TT TT TT FF FF FF FF
FF TT FF FF FF FF FF FF
FF FF TT TT FF TT TT TT
FF FF FF TT FF FF FF TT
Exercise 1.19

(Parity table) Find the parity table for the expression x×((y)+z)x\times\bigl((\sim y)+z\bigr), where x,y,zx,y,z\in\mathbb{Z}, and hence decide which one of the five columns (A)–(E) below gives the correct parity table for this expression.

xx yy zz (A) (B) (C) (D) (E)
DD DD DD DD DD DD DD DD
DD DD EE EE DD EE DD EE
DD EE DD DD EE EE DD DD
DD EE EE DD DD DD DD DD
EE DD DD EE EE EE DD DD
EE DD EE EE EE EE EE EE
EE EE DD EE EE EE EE EE
EE EE EE EE EE EE DD DD
Exercise 1.20

(Finding the sets MM and NN) For L={-1,0,1,2}L=\{-1,0,1,2\}, find

M={n:3n-1L}  and  N={2n+1:nL},M=\{n\in\mathbb{Z}:3n-1\in L\}\qquad\text{and}\qquad N=\{2n+1:n\in L\},

and hence decide which one of the following five statements is true:

  1. (A)

    M={-4,-1,2,5}M=\{-4,-1,2,5\} and N={-1,0}N=\{-1,0\};

  2. (B)

    M={-4,-1,2,5}M=\{-4,-1,2,5\} and N={-1,1,3,5}N=\{-1,1,3,5\};

  3. (C)

    M={0,1}M=\{0,1\} and N={-1,0}N=\{-1,0\};

  4. (D)

    M={0,1}M=\{0,1\} and N={-1,1,3,5}N=\{-1,1,3,5\};

  5. (E)

    none of the above.

Exercise 1.21

(Translating text into symbols) Decide which one of the five symbolic statements (A)–(E) below corresponds to the sentence ‘‘for each pair of real numbers xx and yy, there is a natural number which is greater than the sum of the squares of xx and yy’’.

  1. (A)

    (n)(x)(y)(n>x2+y2)(\exists\,n\in\mathbb{N})(\forall x\in\mathbb{R})(\forall y\in\mathbb{R})(n>x^% {2}+y^{2})

  2. (B)

    (n)(x)(y)(n>x2+y2)(\exists\,n\in\mathbb{N})(\forall x\in\mathbb{R})(\exists\,y\in\mathbb{R})(n>x% ^{2}+y^{2})

  3. (C)

    (n)(x)(y)(n>x2+y2)(\forall n\in\mathbb{N})(\exists\,x\in\mathbb{R})(\exists\,y\in\mathbb{R})(n>x% ^{2}+y^{2})

  4. (D)

    (x)(y)(n)(n>x2+y2)(\forall x\in\mathbb{R})(\forall y\in\mathbb{R})(\exists\,n\in\mathbb{N})(n>x^% {2}+y^{2})

  5. (E)

    (x)(y)(n)(n>x2+y2)(\forall x\in\mathbb{R})(\forall y\in\mathbb{R})(\forall n\in\mathbb{N})(n>x^{% 2}+y^{2})

Exercise 1.22

(Symbolic negation) Decide which one of the five symbolic statements (A)–(E) below is the correct negation of the statement

(x)(y)(z)((z>x)(z>y)).(\forall x\in\mathbb{R})(\exists\,y\in\mathbb{Q})(\forall z\in\mathbb{R})\bigl% ((z>x)\Rightarrow(z>y)\bigr).
  1. (A)

    (x)(y)(z)((z>x)&(zy))(\exists\,x\in\mathbb{R})(\forall y\in\mathbb{Q})(\exists\,z\in\mathbb{R})% \bigl((z>x)\ \&\ (z\leqslant y)\bigr)

  2. (B)

    (x)(y)(z)((z>x)(zy))(\exists\,x\in\mathbb{R})(\forall y\in\mathbb{Q})(\exists\,z\in\mathbb{R})% \bigl((z>x)\Rightarrow(z\leqslant y)\bigr)

  3. (C)

    (x)(y)(z)((zx)&(z>y))(\exists\,x\in\mathbb{R})(\forall y\in\mathbb{Q})(\exists\,z\in\mathbb{R})% \bigl((z\leqslant x)\ \&\ (z>y)\bigr)

  4. (D)

    (x)(y)(z)((z>x)or(zy))(\exists\,x\in\mathbb{R})(\forall y\in\mathbb{Q})(\exists\,z\in\mathbb{R})% \bigl((z>x)\ \text{or}\ (z\leqslant y)\bigr)

  5. (E)

    (x)(y)(z)((zx)or(z>y))(\exists\,x\in\mathbb{R})(\forall y\in\mathbb{Q})(\exists\,z\in\mathbb{R})% \bigl((z\leqslant x)\ \text{or}\ (z>y)\bigr)

Bonus exercises

These exercises are harder than the tutor-assessed exercises above and are not compulsory. If, however, you solve either or both of them, any points gained here will be added to the score of your tutor-assessed exercises up to a maximum of 1010 points.

Exercise 1.23

(2 points) Show that the connective ‘‘\Rightarrow’’ can be expressed in terms of the connective ‘‘&’’ and the negation.

Exercise 1.24

(2 points) Express the statement

‘‘the polynomial 2x3+x2-4x+42x^{3}+x^{2}-4x+4 has at least two distinct real roots’’

symbolically, and decide (with full justification) whether it is true or false.