MCS-212 · Block 1 Unit 2

Methods of Proof

Section 2 of 8

Block 1 · Unit 2Methods of Proof16 min · Section 2 of 8

2.2Valid arguments and rules of inference

Covers IGNOU MCS-212 §2.2 (second part), 2.5, 2.6

Some arguments look convincing but are wrong. A truth table gives us a sure test of validity. Certain valid forms are used again and again; they are called rules of inference, and every proof in this unit is built from them.

Testing validity with a truth table

  1. Name the simple statements (pp, qq, …) and write the premises and the conclusion in symbols.
  2. Build one truth table with a column for each premise and for the conclusion.
  3. Find the critical rows: the rows in which all premises are true.
  4. The argument is valid if the conclusion is true in every critical row. One critical row with a false conclusion makes it invalid.

The four main rules of inference

RulePremisesConclusionForm
Modus ponens (law of detachment)p→qp \to q, ppqq[(p→q)∧p]⇒q[(p \to q) \land p] \Rightarrow q
Modus tollens (law of contraposition)p→qp \to q, ¬q\neg q¬p\neg p[(p→q)∧¬q]⇒¬p[(p \to q) \land \neg q] \Rightarrow \neg p
Disjunctive syllogismp∨qp \lor q, ¬p\neg pqq[(p∨q)∧¬p]⇒q[(p \lor q) \land \neg p] \Rightarrow q
Hypothetical syllogismp→qp \to q, q→rq \to rp→rp \to r[(p→q)∧(q→r)]⇒(p→r)[(p \to q) \land (q \to r)] \Rightarrow (p \to r)

“Modus ponens” is Latin for “method of affirming”; “modus tollens” for “method of denying”. Rosen (Section 1.6, Table 1) lists more rules — addition (p⇒p∨qp \Rightarrow p \lor q), simplification (p∧q⇒pp \land q \Rightarrow p) and conjunction (from pp and qq conclude p∧qp \land q) — which you will meet in proofs too.

Valid: modus ponens

p → q, p ∴ q

Fallacy: affirming the conclusion

p → q, q ∴ p

Valid: modus tollens

p → q, ¬q ∴ ¬p

Fallacy: denying the hypothesis

p → q, ¬p ∴ ¬q

Two valid rules and two look-alike fallacies

Key takeaways

  • Valid argument: the conclusion is true in every critical row (all premises true).
  • Modus ponens: p→qp \to q, pp ∴ qq. Modus tollens: p→qp \to q, ¬q\neg q ∴ ¬p\neg p.
  • Disjunctive syllogism: p∨qp \lor q, ¬p\neg p ∴ qq. Hypothetical syllogism: p→qp \to q, q→rq \to r ∴ p→rp \to r.
  • Affirming the conclusion and denying the hypothesis are fallacies.

Practice questions

Answer on paper first, then check. The explanation matters more than the letter you chose.

Question 1 · multiple choice

Which rule of inference is this? “If the password is correct, access is granted. Access was not granted. Therefore, the password was not correct.”

Show answer

Answer: B. Modus tollens

The premises are p→qp \to q and ¬q\neg q, and the conclusion is ¬p\neg p: modus tollens. Modus ponens is tempting, but it needs pp as a premise and concludes qq.

Question 2 · multiple choice

Which argument form is a fallacy (not valid)?

Show answer

Answer: D. p→qp \to q, qq ∴ pp

With pp = F and qq = T both premises are true but the conclusion is false (affirming the conclusion). Options 1–3 are modus ponens and the two syllogisms, which are valid.

Question 3 · multiple choice

“Either the bug is in the frontend or in the backend. It is not in the frontend.” What follows by disjunctive syllogism?

Show answer

Answer: A. The bug is in the backend.

p∨qp \lor q and ¬p\neg p give qq. Option 4 is tempting if you forget the rule, but this form is valid.

Question 4 · multiple choice

Check Your Progress E3: is [(p→q∨¬r)∧(q→p)]⇒(p→r)[(p \to q \lor \neg r) \land (q \to p)] \Rightarrow (p \to r) correct?

Show answer

Answer: C. No; for pp = T, qq = T, rr = F the premises are true and the conclusion is false

In row pp = T, qq = T, rr = F: q∨¬rq \lor \neg r = T so p→(q∨¬r)p \to (q \lor \neg r) = T; q→pq \to p = T; but p→rp \to r = F. Option 4 is wrong: with pp = F, p→rp \to r is T.

Question 5 · multiple choice

From the premises a→ba \to b and b→cb \to c, which conclusion is valid?

Show answer

Answer: C. a→ca \to c

This is the hypothetical syllogism. Option 4 is tempting, but it is the inverse of a→ca \to c, which is not equivalent to it.

Question 6 · short answer

Use a truth table to show that modus tollens, [(p→q)∧¬q]⇒¬p[(p \to q) \land \neg q] \Rightarrow \neg p, is valid.

Show worked answer

Rows (p,q)(p, q) = (T, T), (T, F), (F, T), (F, F). p→qp \to q: T, F, T, T. ¬q\neg q: F, T, F, T. Both premises are true only in row 4 (pp = F, qq = F). In that row ¬p\neg p = T. The conclusion is true in the only critical row, so the argument is valid.

↑ ↓ move↵ openTab switch type