CMSC 250 Fall 2004 -- Homework 6 Answer
Due Wed., Oct. 13 at the beginning of your discussion section.
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. Either give a complete formal proof that the statement is true or a specific counter example with justification to prove that it is false.
- For any integer
,
ANSWER: False - disproof by counter example:
Let n = 2.
.
.
Since,
, this is a valid counter example.
- For all real numbers
,
.
ANSWER: False: disproof by counter example:
Let
Since
, This is a valid counter example.
- For all real numbers
and
, if
is irrational and
is rational then
is irrational.
ANSWER: True- proof by contrapositive.
Original Statement:
Contrapositive:
by DeMorgan's and def of Impl:
PROOF:
Let x and y be arbitrary in R.
Assume
is rational.
There exists
such that
and
by the definition of rational.
Assume
is rational.
There exists integers
such that
and
by the definition of rational.
by algebra
by associativity and commutativity
by substitution
by algebra
Since
and
are integers by closure of integers
in subtraction and multiplication, and since
because
both b and d are not 0, this implies
is also rational
by the definition of rational.
Closing the conditional worlds in the reverse order of which
they were opened gives us:
Then by generalizing from the Generic Particular we get:
QED
- For all integers
,
and
, if
and
then
.
ANSWER: True - proof by generic particular
Rewrite:
PROOF:
Assume a, b, and c are all arbitrary in Z.
Assume
.
Since
, we know
by definition of devides.
Since
, we know
, where
by the quotient remainder theorem.
Then
by substitution.
where
by algebra
Since
by closure of Z in addition,
.
Closing the Conditional World we get:
.
And Generalizing from the Generic Particular we get:
.
OR (Another Method)
Rewrite:
CONTRAPOSITIVE:
Using DeMorgan's:
Using the Def of Implication:
PROOF:
Let a,b, and c be arbitrary integers.
Assume
Since
,
by definition of divides.
Assume
.
Since
,
by definition of divides.
Since
, we know
by substitution of equals.
by algebra.
by distribution.
Since
by closure of Z in subtraction.
by definition of divides.
Closing the first conditional world we get
.
Closing the second conditional world we get
And, Generalizing from the Generic Particulars we get:
.
is irrational.
ANSWER: True - Use the method of proof by contradiction.
Suppose
is rational.
Then there exists integers
with
such that
by the definition of rational.
Since
is positive by rules of algebra.
Both
and
would have to both be positive or both negative.
If they are both negative, multiply the fraction by
so that both
and
are positive integers.
Then
 |
by algebra |
 |
by substitution |
 |
by raising both sides to the b power. |
Since
are positive integers,
and
can both be prime
factorized (in fact this is their prime factorization).
By the Unique Prime Factorization Theorem, they must be the
same prime factorization.
This is a Contradiction because one factors to a set of 5's and the other to a set of 2's so they can not be the same prime factorization.
- For all integers
, if
then there is a prime number
such that
(hint: consider
).
ANSWER: True - Proof by constructive proof of existance.
PROOF:
Let n be arbitrary in Z.
Consider
.
First notice that if
, then
by substitution of unequals on both sides.
It is either the case that
is prime or it is not.
If
is prime then we are done.
If
is not prime, then it
must have some prime factors. But for any primes
,
mod
since
has prime factor
. Therefore
must have some prime factors that are greater than
(and these prime factors are certainly less than
).
And generalizing from the Generic Particular we get:
.
Kin-Keung Ma
2004-10-15
Web Accessibility