CMSC250, Spring 2004 Homework 5 Answers
You must write the solutions to the problems single-sided on your own lined paper, with all sheets stapled together, and with all answers written in sequential order or you will lose points.
Prove each of the following statements true or false. Remember, a counterexample may only be used to prove that a ``for all'' statement is false, and all counterexamples must include specific values and enough algebra/justification to show that they are truly counterexamples.
Assume
is even.
Then
.
Then
by substitution and algebra.
Since
by closure of the integers under multiplication and addition,
by definition of divides.
However, this is a contradiction since
is a prime greater than 2.
So we know
is not even, and therefore,
is odd.
Then
.
Then
by substitution and algebra.
by closing conditional world and generalizing from the generic particular.
Case 1: assume
.
So
by substitution.
Then
by substitution and algebra.
Since
, then we know
by substitution.
Then
by algebra.
We know that
by closure of the integers under multiplication, addition, and positive exponentiation,
however,
. Contradiction.
Case 2: assume
.
So
by substitution.
Then
by substitution and algebra.
Since
, then we know
by substitution.
Then
by algebra.
We know that
by closure of the integers under multiplication, addition, and positive exponentiation,
however,
. Contradiction.
Case 3: assume
.
So
by substitution.
Then
by substitution and algebra.
Since
, then we know
by substitution.
Then
by algebra.
We know that
by closure of the integers under multiplication, addition, and positive exponentiation,
however,
. Contradiction.
Case 3: assume
.
So
by substitution.
Then
by substitution and algebra.
Since
, then we know
by substitution.
Then
by algebra.
We know that
by closure of the integers under multiplication, addition, and positive exponentiation,
however,
. Contradiction.
So all four cases lead to contradictions. However, one of the cases must be true by the quotient-remainder theorem, which is in itself another contradiction, which means our original assumption must be false.
So
.
by generalizing from the generic particular.
Case 1: assume
.
Then
by definition of divides, which is a contradiction. So case 1 can never occur.
Case 2: assume
.
Since
is an integer,
is either odd or even.
Assume that
is even.
Then
by definition of even.
Then
by algebra and substitution.
However, we claimed that
was even, which means
.
Then
by substitution.
by algebra, which is a contradiction since
by closure of the integers under multiplication and subtraction,
but
.
So
cannot be even, and therefore
is odd (by disjunctive syllogism).
Then
by definition of odd.
Then
by algebra and substitution.
by substitution and algebra.
Since
by closure of the integers under multiplication, addition, and positive exponentiation,
by definition of divides.
Case 3: assume
.
Since
is an integer,
is either odd or even.
Assume that
is odd.
Then
by definition of odd.
Then
by algebra and substitution.
However, we claimed that
was even, which means
.
Then
by substitution.
by algebra, which is a contradiction since
by closure of the integers under multiplication and subtraction,
but
.
So
cannot be odd, and therefore
is even (by disjunctive syllogism).
Then
by definition of even.
Then
by algebra and substitution.
by substitution and algebra.
Since
by closure of the integers under multiplication, addition, and positive exponentiation,
by definition of divides.
Since case 1 never occurs, and cases 2 and 3 both lead to
, we can conclude that
.
by closing the conditional world and generalizing from the generic particular.
Note: This problem could also be done by invoking the quotient-remainder theorem using 6 as the divisor instead of 3. There would be six cases, but four of them would lead to contradiction (like case 1 did here).
Let
an arbitrary integer, and assume
is greater than 1. (We want to show that no matter what integer we pick,
will not be prime).
By algebra,
.
Since
, both
and
are greater than 1.
Therefore
cannot be prime because a prime number has only two factors: itself and 1.
by closing the conditional world and generalizing from the generic particular.
This document was generated using the LaTeX2HTML translator Version 2002 (1.62)
Copyright © 1993, 1994, 1995, 1996,
Nikos Drakos,
Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999,
Ross Moore,
Mathematics Department, Macquarie University, Sydney.
The command line arguments were:
latex2html -split 0 -nonavigation -antialias -antialias_text hw5ans
The translation was initiated by Phillip Kirlin on 2004-03-03