2081 1

CSC165 · 2081 · 10 marks

List any four rules of inference. Using direct and indirect proof show that, for any real number x, if x3 - 7x2 + x - 7 = 0, then x = 7

List any four rules of inference. Using direct and indirect proof show that, for any real number $x$, if $x^3 - 7x^2 + x - 7 = 0$, then $x = 7$ [10]

Discrete StructuresChapter 3: Logic and Proof MethodsRules of Inferences

Quick answer

Therefore, if x³ - 7x² + x - 7 = 0, then x = 7. [Direct Proof Complete] ∎

Rules of Inference and Proof Techniques

Part 1: Four Rules of Inference

Rule of InferenceFormName
1p, p→q ∴ qModus Ponens
2¬q, p→q ∴ ¬pModus Tollens
3p→q, q→r ∴ p→rHypothetical Syllogism
4p∨q, ¬p ∴ qDisjunctive Syllogism

Part 2: Proof of the Statement

Theorem: For any real number x, if x³ - 7x² + x - 7 = 0, then x = 7.

Note: The converse of this statement is NOT true in general (x = 7 gives 343 - 343 + 7 - 7 = 0 ✓, but x = i and x = -i also satisfy the equation). The correct interpretation for this exam is to prove: if x is a real number satisfying x³ - 7x² + x - 7 = 0, then x = 7 (since the other roots i and -i are not real).

Let:

  • p: x³ - 7x² + x - 7 = 0
  • q: x = 7

Method 1: Direct Proof (Proving p → q)

Assume p is true, i.e., assume:

$$x^3 - 7x^2 + x - 7 = 0$$

Step 1: Factor the left-hand side by grouping:

$$x^3 - 7x^2 + x - 7 = 0$$

$$x^2(x - 7) + 1(x - 7) = 0$$

Step 2: Factor out the common term (x - 7):

$$(x^2 + 1)(x - 7) = 0$$

Step 3: Apply the Zero Product Property. Either:

$$x^2 + 1 = 0 \quad \text{or} \quad x - 7 = 0$$

Step 4: Analyze each case:

  • From x² + 1 = 0: x² = -1, which has no real solution (since x² ≥ 0 for all real x).
  • From x - 7 = 0: x = 7 ✓

Step 5: Since x is a real number, the only valid solution is x = 7.


Method 2: Indirect Proof (Proof by Contradiction, Proving p → q)

In indirect proof, we assume p is true and q is false, and derive a contradiction.

Assume:

  • p is true: x³ - 7x² + x - 7 = 0
  • q is false: x ≠ 7 (i.e., x is a real number and x ≠ 7)

Step 1: Factor the equation as before:

$$x^3 - 7x^2 + x - 7 = 0$$

$$x^2(x - 7) + 1(x - 7) = 0$$

$$(x^2 + 1)(x - 7) = 0$$

Step 2: Since we assumed x ≠ 7, we have (x - 7) ≠ 0.

Therefore, for the product to equal zero, we must have:

$$x^2 + 1 = 0$$

$$x^2 = -1$$

Step 3: But x is a real number, so x² ≥ 0 for all real x.

This means x² = -1 is impossible for any real number x.

Step 4: This is a contradiction -- we assumed x is real but arrived at x² = -1, which has no real solution.

Step 5: Therefore, our assumption that x ≠ 7 must be false.

Hence, x = 7 must be true.

[Indirect Proof Complete] ∎


Summary

MethodApproachConclusion
Direct ProofAssume p, derive q through factoringx = 7 follows directly
Indirect ProofAssume p and ¬q, derive contradiction¬q leads to x² = -1, impossible for real x

Both methods confirm: For any real number x, if x³ - 7x² + x - 7 = 0, then x = 7.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.