Implications (CSCI 2824, Spring 2015)In the previous lectures, we studied implications. This lecture will focus on implications and start chapter 2 on proof techniques.
Implications: Contrapositive and ConverseIn simple terms, if is an implication then
This is a very common source of confusion. Examples:
Claim: Any implication is logically equivalent to its contra-positive. Proof: We are asked to prove in effect that is logically equivalent to . We write down the truth table to verify this fact. QED. The Converse TrapProving the converse of a statement is often a trap that even experienced researchers can fall into. Note that proving the converse of an implication in no way convinces us of the truth of the implication. Let us take examples from real life to see how silly it could be:
Does the converse ring true? Primer on Proofs and Mathematical WritingThis lecture, we will warm up by practicing some proofs and the right way to express those proofs. A proof is meant to convince people that some mathematical fact is true. It is meant to be read and judged by ones peers. Therefore writing proofs out well is an important skill for discrete mathematics. Example # 0Let us prove the following statement. Claim: If is even then is even. In Logical notation: . Dear reader letter
Dear reader, You have expressed criticism to my theorem in the annals of CSCI 2824 that can be written as If you were kind enough to provide me with any number that we will call , then there are two cases:
Thus, in no case, can you produce a number that satisfies the antecedent but violates the consequent (). I remain your faithful prover of claims. A fond adieu to you, and you and you, Note to class: Never, ever, write a dear reader letter Write the proof in more sensible language. Proof
Proof: Let be any given number. If is odd, then the statement holds true vacuously. Otherwise, for some number . Therefore, . We see that is divisible by . Therefore is even. QED. Example# 1Claim: For , If is even is prime. I.e, . Proof Attempt 1
Proof Attempt 1: Let us test for , we have is 5. Works. It also works for since is prime and since is prime. Therefore, is prime if is prime. Let us attempt one more proof of this: Proof Attempt 2
Proof-2: Assume is prime. We will prove that must be even.
Are there any flaws in either of these proofs? Do they convince you of the truth of our “claim”? Example #2Claim If two numbers and are odd, then is even. Write this down in logical notation? Let us look at a proof: Proof
Proof Here are our reasoning steps:
Is there anything wrong with the proof above? Now let us look at a related claim: Claim If two numbers and are odd, then . Exercise: Write this statement down in Predicate Logic. Is this a true statement? Proof
Proof Here are our reasoning steps:
Can you correct the demonstrations above? What went wrong? More Complicated ProofClaim If is natural number then is a composite number. Before we dive further, what is a composite number? Definition: Composite Number
A natural number is composite if it can be written as with . The provision that is very important. Or else any number can trivially be written as , with and . Now, back to our claim. Claim If is natural number then is a composite number. Proof
Proof: Let be a natural number.
Have we really proved the claim above? |