CMSC 250 Fall 2004 -- Homework #5
Due Friday, Oct. 8 at the beginning of your LECTURE 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 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.
Your proofs must be complete as discussed in class -including things like a sequence of statements that are known to be true and the reason you know that the statement you wrote is true.
- There is an integer
such that
is prime.
Answer:
True.
Constructive Proof of Existence:
when
,
which is prime.
- For all integers
, if
is prime then
.
Answer:
False.
Disproof by Counterexample:
when
, n is prime but
.
- For all integers
,
is one less than a perfect square.
Answer:
True.
Proof:
Let n be an arbitrary integer.
by algebra.
by factoring the polynomial.
Since
by closure of Z in multiplication and addition,
must be a perfect square by definition of perfect square.
Since
, then
by subtracting 1 from both sides.
This means,
is one less than a perfect square.
Since n was defined as arbitrary above we can generalize from the generic particular,
where
is one less than x.
note:
means the subset of Z that are perfect squares.
- Given any two rational numbers
and
with
, there is another rational
number between
and
. (Hint: consider
.)
Answer:
Translated to Formal Notation:
where
True.
Let
and
be arbitrary rational numbers in Q such that
.
We then want to consider the value
.
- We need to first prove that
is indeed rational:
Since
and
are rational by their definition above,
where
such that
and
by the definition of rational.
by substitution of equalities and by algebra of finding a common denominator.
Since
and
are integers by the closure of integers in addition and multiplication
and since
because the only way to get a 0 as the product if to have one of the multipliers equal to 0,
is rational by the definition of rational.
Let's call this rational value m.
- Then we also need to prove that
:
by multiplying r by
by substitution of unequals.
by substitution.
by multiplying s by
by substitution of unequals.
by substitution.
by conjuctive addition of the two equalities above.
Therefore, (
) is both rational and between
and
by conjunctive addition of these two parts.
So
is the value we needed to prove the statement true, and this is the value previously named m.
Therefore,
where
by generalizing from the generic particulars r and s.
- The sum of any two even numbers is a multiple of 4.
Answer:
False.
Disproof by Counterexample:
but
.
- For all integers
and
, if
then
.
Answer:
True.
Translation of the statement to formal notation:
Proof:
Let a and b be arbitrary members of Z.
Assume
.
Since
,
for some
by definition of divides.
by squaring both sides, which means
by multiplying out the square.
Since
is an integer by the closure of integers in multiplication,
by definition of divisible.
Therefore
by closing the conditional world.
by generalizing from the generic particular.
- If
is an odd integer, then
.
Answer:
True.
Translation to formal notation:
Proof:
Let n by arbitrary in the integers.
Assume
.
Since
is odd,
by the definition of ``odd''.
by substitution and algebra.
Then
by distribution,
and
by subtracting 1 from both sides.
Since
by closure of Z in addition and multiplication,
by definition of divides.
This means that
by definition of equivalence in a mod.
In closing the conditional world, we get the implication that
Since n was defined above as arbitrary, we can generalize from the
Generic Particular to get
.
Kin-Keung Ma
2004-10-08
Web Accessibility