Nivaar Exam Prep

04-BS-16 Discrete Mathematics · December 2013

Question 1 of 12: Logic — Quantified Statements and Predicates

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer) · Last updated

Notes on this paper

Reference texts: Rosen, Discrete Mathematics and Its Applications, 7th ed. (logic Ch.1, sets Ch.2, induction & pigeonhole Ch.5-6, relations Ch.9, counting Ch.6, discrete probability Ch.7, graphs Ch.10-11); Epp, Discrete Mathematics with Applications.

Question 1: Logic — Quantified Statements and Predicates (10 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Approach. Part (a) reads each quantified formula left-to-right, translating the logical connectives into ordinary English; part (b) is the reverse process — build the formula from the English statement using the four given predicates plus $M$ for the product.

  1. (a-i) $\exists x(P(x)\land E(x))$. "There exists an integer $x$" that is BOTH prime AND even: $\boxed{\text{There is an even prime number}}$ (true — witnessed by $x=2$).
  2. (a-ii) $\forall x\forall y(P(x)\land P(y)\land L(x,y)\to\neg E(y))$. For every pair of integers $x,y$: if $x$ and $y$ are both prime and $x<y$, then $y$ is not even: $\boxed{\text{For any two primes, the larger one is odd}}$ (equivalently: if a prime is less than another prime, the larger is not even).
  3. (a-iii) $\forall x\exists y(L(x,y)\land P(y))$. For every integer $x$ there exists an integer $y$ such that $x<y$ and $y$ is prime: $\boxed{\text{For every integer, there is a larger prime}}$ (there is no largest prime — infinitude of primes).
  4. (b-a) "The product of two primes is not prime." For all integers $x,y,z$: if $x,y$ are prime and their product is $z$, then $z$ is not prime: $$\boxed{\forall x\,\forall y\,\forall z\big(P(x)\land P(y)\land M(x,y,z)\to\neg P(z)\big)}$$
  5. (b-b) "Every positive integer has a prime factor." For every positive integer $x$, there exists a prime $y$ and an integer $z$ such that $y\cdot z=x$ (i.e. $M(y,z,x)$): $$\boxed{\forall x\big(x>0\to\exists y\,\exists z\,(P(y)\land M(y,z,x))\big)}$$
Final results — Question 1
PartResult
(a-i)There is an even prime number
(a-ii)For any two primes with $x<y$, $y$ is not even
(a-iii)Every integer has a larger prime
(b-a)$\forall x\forall y\forall z(P(x)\land P(y)\land M(x,y,z)\to\neg P(z))$
(b-b)$\forall x(x>0\to\exists y\exists z(P(y)\land M(y,z,x)))$
← Paper overview