LECTURE # 5 - Discrete Maths
LECTURE # 5 - Discrete Maths
LECTURE # 5 - Discrete Maths
METHODS OF PROOF
METHODS OF PROOF
INTRODUCTION:
1. To understand written mathematics, one must understand what makes up a correct mathematical argument, that is, a
proof.
2. This requires an under standing of the techniques used to build proofs. .
3. Many theorems in mathematics are implications, p → q. The techniques of proving implications give rise to different
methods of proofs.
Terminologies
Theorem
A mathematical assertion that can be shown to be true.
Lemma
A theorem used to prove other theorems
Conjecture a mathematical assertion proposed to be true, but that has not been proved
a statement that is assumed to be true and that can be used as a basis for
Axiom
proving theorems
Understanding How Theorems Are Stated
Example
Many theorems assert that a property holds for all elements in a domain. However, the universal
quantifier is often not explicitly stated.
The statement:
“If x > y, where x and y are positive real numbers, then x2 > y 2 .”
really means
“For all positive real numbers x and y, if x > y then x2 > y 2 .”
That is, in formal logic under the domain of positive real numbers this is the same as
∀x∀y((x > y) → (x2 > y2 )).
DIRECT PROOF:
A direct proof of p →q is logical valid argument in which we start with the assumption that “P” is true and then using “P”
as well as other AXIOMS show directly that “Q” is true.
The implication p →q can be proved by showing that if p is true, on the basis of p , q must also be true.
OR
A formal direct proof of a conditional statement p → q works as follows: assume p is true, build steps using inference rules,
with the final step showing the q is true.
E:G
EXAMPLE # 1
For all real numbers a and b, if a < b then a^2 < b^2
SOLUTION:
A proof by contraposition is based on the logical equivalence between a statement and its contrapositive.
Therefore, the implication p→ q can be proved by showing that its contrapositive ~ q → ~ p is true.
The contrapositive is usually proved directly.
PROOF:
(p → q) ≡ (¬q → ¬p).
Suppose
P = n^2 is an odd integer
Q= n is odd,
This shows that n^2 is even, which is a contrapositive to our supposition is TRUE.
Hence the given statement is true And result hold its property (¬q → ¬p). .
PROOF BY CONTRDICTION:
A proof by contradiction is based on the fact that either a statement is true or it is false but not both. Hence the supposition,
that the statement to be proved is false, leads logically to a contradiction,
Thus to prove an implication p → q by contradiction method, we suppose that the condition p and the negation of the
conclusion q, i.e., (p ∧ ~q) is true and ultimately arrive at a contradiction.
p → q = (p ∧ ~q) FORMULA
P = 3n + 2 is odd
Q= n is odd
(p → q) ≡ (P → ¬Q).
3n + 2 = 3(2k) + 2
= 6k + 2
= 2(3k + 1)
where k’ = 3k + 1, 2(K)
which means 3n + 2 is an even number. This is the negation of the hypothesis of the theorem
(¬q), which concludes our proof by contradiction.