NivaarExam PrepOfficial exam papers ↗

04-BS-16 · December 2014

Question 1 of 12

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

Notes on this paper

National Examination, 04-BS-16 Discrete Mathematics, December 2014. Closed book; approved calculator and one double-sided aid sheet permitted. The exam instructs "answer any 10 of 12 questions, best 10 marks taken"; every question is answered below as a complete study resource.

Reference texts: Rosen, Discrete Mathematics and Its Applications, 7th ed. (Pearson) — used throughout for logic, set theory, induction, combinatorics, probability, functions, recurrence relations, graph theory, and asymptotic (Big-O) notation.

Question 1

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.

Given. Two compound propositions built from primitive statements $p,q,r$ using $\to$, $\land$, $\lor$.

Find. (a) Whether $[p\to(q\to r)]\to[(p\to q)\to(p\to r)]$ is a tautology. (b) Whether $(p\lor q)\to[q\to(p\land q)]$ is a tautology.

Approach. A compound statement in $n$ primitive variables is a tautology exactly when its truth table has "T" in every one of the $2^n$ rows, so build each table directly.

  1. a) Build the truth table for the 3-variable statement. Write $A=[p\to(q\to r)]$ and $B=[(p\to q)\to(p\to r)]$; the statement is $A\to B$.
    Part (a) truth table
    $p$$q$$r$$q\to r$$A=p\to(q\to r)$$p\to q$$p\to r$$B$$A\to B$
    TTTTTTTTT
    TTFFFTFFT
    TFTTTFTTT
    TFFTTFFTT
    FTTTTTTTT
    FTFFTTTTT
    FFTTTTTTT
    FFFTTTTTT
    Every row of the final column is T, so $\boxed{A\to B \text{ is a tautology}}$.
  2. b) Build the truth table for the 2-variable statement. Write $C=p\lor q$ and $D=q\to(p\land q)$; the statement is $C\to D$.
    Part (b) truth table
    $p$$q$$C=p\lor q$$p\land q$$D=q\to(p\land q)$$C\to D$
    TTTTTT
    TFTFTT
    FTTFFF
    FFFFTT
    Row $p=F,q=T$ gives $C\to D = F$, so the statement is $\boxed{\text{not a tautology}}$: with $p$ false and $q$ true, $p\lor q$ is true but $q\to(p\land q)$ is false (since $p\land q$ is false), so the whole conditional is false.
Question 1 results
PartStatementTautology?
a$[p\to(q\to r)]\to[(p\to q)\to(p\to r)]$Yes
b$(p\lor q)\to[q\to(p\land q)]$No — false at $p=F,q=T$
← Paper overview