Structure: If p, then q
A direct proof should be thought of as a flow of implications, beginning with and ending with .
Always try direct proof first.
Unless you have a good reason not to.
Some examples
The following examples demonstrates proofing using direct proofs.
Try identifying which one is and which one is .
Divisibility is transitive
Definition: Let . If there exists such that , then we say that divides
Theorem: If divides , and divides , then divides .
Proof:
Let . Suppose that divides and divides .
By definition of divisibility, there exists such that
Consequently,
Let . Then (why?) and .
By the definition of divisibility, divides .
Here, we have
- as ” and divides and divides ”, and
- as ” divides “.
Root of polynomials
Definition: A number is called a root of the the polynomial , if .
Theorem: If both are roots of the polynomial , then and .
Proof:
It follows from our assumptions that will factor
If we expand the right hand side we get
Compare the coefficients above with those of to get and
Exerise solutions (from source)
Prove each of the following:
Number 1
If divides and divides , then divides .
We need to prove that there exists such that .
Proof:
Let .
Suppose that divides and divides .
By definition of divisibility, there exists such that and .
Suppose that . Then .
Adding and we obtain:
Therefore, by definition of divisility we find that divides .
Number 2
If is an integer, divisible by , then is the difference of two perfect squares.
Given and there exists such that we need to prove that there exists such that
Let .
Suppose that is divisible by , i.e., there exists such that .
Then for any applies
Number 3
If and are real numbers, then .
Number 4
The sum of two rational numbers is a rational number.
Number 5
If two onto functions can be composed then their composition is onto. (A function is called onto if for every in there is an element in such that . )
Number 6
If are three distinct (no two the same) roots of the polynomial , then .