6 - Direct proofs

Terminology

Trivial Proofs

Screen Shot 2023-09-15 at 11.46.56 AM.png

Screen Shot 2023-09-15 at 11.50.56 AM.png

A proof is trivially true when the premise of the implication is irrelevant. A square box indicates the proof is over.

Sometimes “trivial” proofs are not easy and take some work to prove.

It is always a good idea to understand the premise and conclusion of an implication separately before trying to prove the implication.

Vacuous proofs

Screen Shot 2023-09-15 at 11.54.16 AM.png

If the premise is impossible, the implication is vacuously true.

Trivial, the Q is true. Vacuous, the premise is bogus.

Trivial and vacuous proofs should come from implications

Outline of a direct proof

Given a statement xS,P(x)Q(x), we can prove it directly by assuming the premise P(x) holds and then, using that information, we show that Q(x) must also hold true.

Example:

Proposition. For each xZ, if x is even, then 5x+3 is odd.

Proof. Let xZ be arbitrary. We will work directly. Assume x is even. This means

x=2k for some kZ. Thus
5x+3=5(2k)+3=10k+3=2(5k+1)+1.

Since 5k+1Z, this means that 5x+3 is odd.

Basic outline:

Given xS, if P(x) is true, then Q(x) is true.

Proof outline.
Let x ∈ S.
We work directly.
Assume P(x).
Do some work (to be filled in). Thus, Q(x) holds.

Write the conclusion before filling in the middle.

In class practice

Proposition.
Let xR. If x2<73, then 0<1.
Proof.
The inequality 0<1 is always true, so the proposition is trivially true.

Proposition.
Let aZ. If a is odd, then 2a is even.
Proof.
Since 2a is always even for all integers, the proposition is trivially true.

Proposition.
Let xR. If x<5, then x22x1.
Proof.
The inequality is equivalent to (x1)20 which is true for all xR, therefore, the result is trivially true.

Proposition: For each xZ, if x is even, then 5x+3 is odd.

Proof:
Let xZ.
We work directly.
Assume that xEVEN. Thus x=2k for some kZ.

We find

5x+3=5(2k)+3=(10k+2)+1=2(5k+1)+1

Since 5k+1 is an integer, 5x+3 is odd.

Proposition: If n is an odd integer, then n22n+3 is even.

Proof: Let nZ. We work directly. Assume that n is odd. Thus n=2k+1 for some kZ. Hence
We find

n22n+3=(2k+1)22(2k+1)+3=4k2+4k+14k2+3=4k2+2=2(2k2+1).

Since 2k2+1 is an integer, n22n+3 is even.



HW 6

Ben Finch

E 6.1
Proposition. Let xR. If x3, then x22x+30

Proof.
The equation x22x+3 is the same as (x1)2+2
Since (x1)2 is always non-negative for the domain xR, (x1)2+2 is always positive. This claim is trivially true since the implication is true for all real numbers .

Thus x22x+30.

E 6.2
Proposition. Let nN. If 2<n<3, then 7n+3 is odd.

Proof.
Since n is a natural number, there are no values for n that satisfy the condition of the proposition. Thus, the claim is vacuously true.

E 6.3
Proposition. If x is an odd integer, then x2 is odd.

Proof.
Let xZ.
We work directly.
Assume x is odd. Thus x=2k+1 for some kZ.
We find

x2=(2k+1)2=4k2+4k+1=2(2k2+2k)+1

2k2+2k represents an integer, for example n, so we can rewrite this expression for x2 as 2n+1, which is the definition of an odd number.

Thus, if x is an odd integer, then x2 is odd.

E 6.4
Proposition. If x is an even integer, then 7x5 is odd.

Proof.
Let xZ.
We work directly.
Assume x is even. Thus x=2k for some kZ.
We find

7x5=7(2k)5=14k5=2(7k2)1

Since 7k2 represents an integer, for example n, we can write the expression for 7x5 as 2n1 which satisfies the definition of an odd number.

Thus, if x is an even integer, then 7x5 is odd.

E 6.5
Proposition. Let a,b,cZ. If a and c are odd, then ab+bc is even.

Proof.
Let a,b,cZ.
We work directly.
Assume a and c are odd. Thus a,c=2k+1 for some kZ.
We find

ab+bc=(2k+1)b+b(2k+1)=2kb+b+2kb+b=4kb+2b=2(2kb+b)

Since both k and b are integers, 2kb+b is also an integer, so we can rewrite the expression as 2n, where n represents some integer, which satisfies the definition of an even number.

Thus, If a and c are odd integers, then ab+bc is even.

E 6.6
Proposition. Let nZ. Prove that if |n|<1, then 3n2 is an even integer.

Proof.
Let nZ.
We work directly.
Assume |n|<1. Thus n=0.
We find that 3(0)2=2, which is an even integer.

Thus if |n|<1, then 3n2 is an even integer.

E 6.7
Proposition. Every odd integer is a difference of two squares of integers.

Proof.
We can rewrite the proposition as an implication:
If x is and odd integer, then x=a2b2 where a is an even integer and b is an odd integer.
Let xZ.
We work directly.
Assume xODD. Thus x=2k+1 for some kZ.
We find that

a2+b2=(2k)2(2k+1)2=(k²+2k+1)k²=2k+1

Thus, If x is and odd integer, then x=a2b2 where a is an even integer and b is an odd integer.