Professional Documents
Culture Documents
Discrete Mathematics For Computer Science - Proof - Wikiversity
Discrete Mathematics For Computer Science - Proof - Wikiversity
Discrete
Mathematics for
Computer
Science/Proof
< Discrete Mathematics for Computer Science
Propositions
Definition: A statement that is either true or false.
Which bird did the cat kill? William's wife's name is Wherefore art thou, G
Roland's daughter is His tomb says "Trail Roland won many awards. Te
Rolanda. Blazer." WRONG! Try again. C
WRONG! Try again. WRONG! Try again.
A. 2 + 3 = 5 B. 4 / 9 C. 1 + 1 = 3 D
Read the question again! WRONG! Try again. Read the question again! C
The four-color theorem: Every map can be colored with four colors so that no two
adjacent countries are assigned the same color.
This theorem is true, but many incorrect proofs were accepted for long periods of
time. (This theorem can be false, though, if a country is not contiguous (it has
exclaves) but must all be colored uniformly, but this is a complicated case.)
The Goldbach Conjecture: Every even integer greater than 2 is the sum of two primes.
No one knows if this conjecture is true or false!
The axiomatic method is the method of forming proofs based on axioms and previously-
proven statements.
Axiom: a proposition that is simply accepted as true.
Euclid pioneered the axiomatic method in his geometric proofs. Euclid's proofs were
based on five fundamental axioms, such as the axiom that one and only straight line
segment can be drawn between each pair of points. See this page for a more
specifically geometric concept of proofs.
Corollary: An afterthought, a proposition that follows in just a few short steps from a
theorem.
And again, the general term for proof (which you now understand somewhat better):
A sequence of logical deductions from axioms and previously-proven statements,
which concludes with the proposition in question.
Proving an Implication
Many claims in mathematics are formulated as: "P implies Q." These are called implications.
This section will teach you the format of writing a proof, and walk you through some
example proofs. There are a few standard methods for proving an implication, and a couple
of points that apply to all proofs.
You'll often need to do some scratchwork while you're trying to figure out the logical
steps of a proof. Your scratchwork can be as disorganized as you like--full of dead ends,
strange diagrams, obscene words, whatever. But keep your scratchwork separate from
your final proof, which should be clear and concise.
Proofs typically begin with the word "Proof," and end with some sort of indication like
Q.E.D. This clarifies when the proofs begin and end.
So far, so good. But we still have to replace all those "seems like" phrases with solid, logical
arguments. We can get a better handle on the -x3 + 4x part by factoring it, without too much
difficulty, into x(2 - x)(2 + x).
Aha! For x between 0 and 2, all terms on the right side are nonnegative. And a product of
nonnegative terms is also nonnegative. We can organize these observations into a clean
proof.
-x3 + 4x + 1 > 0
as claimed.
An implication "P implies Q" is logically equivalent to its contrapositive, "~Q implies ~P."
Often, proving the contrapositive is easier than proving the original statement. In order to
prove the contrapositive, one must write "We prove the contrapositive," state the
contrapositive, and then proceed.
Example: Prove that if r is irrational, then √(r) is also irrational.
Solution: Recall that, unlike irrational numbers, rational numbers are equal to a ratio of
integers. We would need to show that if r is not a ratio of integers, then √(r) is also not a
ratio of integers. It is simpler to prove the contrapositive: If √(r) is rational, then r is also
rational.
Assume that √(r) is rational. Then there exist integers a and b such that:
√(r) = a / b
r = a² / b²
Many mathematical theorems assert that two statements are logically equivalent--that is,
one holds if and only if the other does.
Retrieved from
"https://en.wikiversity.org/w/index.php?
title=Discrete_Mathematics_for_Computer_Sci
ence/Proof&oldid=756320"
Wikiversity