Discrete Mathematics for Computer Science/Proof

< Discrete Mathematics for Computer Science
Resource type: this resource is a lesson.

A proof is a sequence of logical deductions, based on accepted assumptions and previously proven statements and verifying that a statement is true. What constitutes a proof may vary, depending on the field.

In mathematics, a formal proof of a proposition is a chain of logical deductions leading to the proposition from a base set of axioms. We'll be discussing propositions, logical deductions and axioms.

Propositions

Which statement is a proposition?

Which statement is not a proposition?

Which statement is a proposition?

Propositions: True or false?

One must be cautious in assuming that propositions which apply to an infinite set of elements can be checked using a finite subset. For example:

The Axiomatic Method

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.

Now we will go over some of the basic methods of proving an implication.

1. Write: "Assume P." Show that Q logically follows.

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.

x(2 - x)(2 + x) + 1 > 0

Multiplying on the left side proves that:

-x3 + 4x + 1 > 0

as claimed.

2. Prove the contrapositive.

Assume that √(r) is rational. Then there exist integers a and b such that:

√(r) = a / b

Squaring both sides gives:

r = a² / b²

Since a² and b² are both integers, r is also rational.

Proving an "If and Only If" Statement

Many mathematical theorems assert that two statements are logically equivalent--that is, one holds if and only if the other does.

This article is issued from Wikiversity - version of the Sunday, July 03, 2011. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.