Skip to main content
Logo image

Section 6.3 Direct proof

Recall.

The argument
\begin{equation*} A \lgccond C_1, C_1 \lgccond C_2, \dotsc, C_{m-1} \lgccond C_m, C_m \lgccond B \therefore A \lgccond B \end{equation*}

Worked Example 6.3.2.

Prove: If \(n\) is even, then \(n^2\) even.
Solution.
Let \(P(n)\) represent the predicate “\(n\) is even” and let \(Q(n)\) represent the predicate “\(n^2\) is even”, with domain the integers.
Suppose that \(n\) is an arbitrary (but unspecified) integer such that \(n\) is even. Then there exists an integer \(m\) such that \(n = 2m\text{,}\) and so \(n^2 = 4m^2 = 2(2m)\) is even.

Check your understanding.