Professional Documents
Culture Documents
Direction: Provide a clean and complete proof (if possible) for each of the fol-
lowing statements. Make sure that your solutions are your own and that you did
not solely depend on the answers available online.This not recorded.
COUNTEREXAMPLE:
This statement is false. There exist a positive integer n such that n2 + n + 1 is
not a composite. Take n = 1, then
n2 + n + 1 = (1)2 + 1 + 1 = 3, 3 is not a composite number
2. If n and m are two consecutive integers, then n2 − m2 is an odd integer.
DIRECT PROOF:
DIRECT PROOF:
1
Proof. Let n be an odd integer and m be an even integer, that is, n = 2k + 1
and m = 2j, for some k, j ∈ Z. Then taking the difference n − m,
n − m = (2k + 1) − 2j = 2k − 2j + 1 = (2k − 2j) + 1 = 2(k − j) + 1
Take note that k − j = k + (−j) is an integer by the closure property of the
usual addition under integers. Hence, n − m is an odd by the definition of odd
numbers.
POSSIBLE PROOFS
INDIRECT PROOF:
2
PROOF BY CONTRADICTION (2)
Proof. Let n be an even integer and m be an odd integer, that is, n = 2k and
m = 2j + 1, for some k, j ∈ Z. Taking the product,
n · m = (2k)(2j + 1) = 4kj + 2k = 2(2kj + k)
Take note that 2kj + k is an integer by the closure property of usual addition
and usual multiplication under integers. Hence, n · m is even by the definition
of even integers.
PROOF BY CONTRADICTION:
Proof. Suppose that the product of an even integer and an odd integer is an
odd integer, that is, let n = 2k and m = 2j + 1, for some k, j ∈ Z, then
n · m = (2k)(2j + 1) = 4kj + 2k = 2(2kj + k)
Take note that 2kj + k is an integer by the closure property of usual addition
and usual multiplication under integers. This implies that n · m is even by the
definition of even integers which is a contradiction from our assumption that
that product is odd. Hence, it must be that case that n · m is even.
Prepared by: