CMSC 250 Fall 2001 Homework 6 solutions
- The truth set for the situations will be:
- Proof (by contradiction):
Assume:
This is a contradiction to the original statement that
.
Since r can't be both
and
, the assumption that
must be false.
This means that it must be true that
.
- Counterexample: Let r be 1 and let s be an irrational number such as
. Then,
which is irrational.
- Want to show that
.
In other words,
for some
.
Proof:
Since
,
for some
.
Since
,
for some
.
Hence,
, so
because
.
- Counterexample: Let
,
. Then,
and
, but
.
- Using div and mod notation,
,
, and
are defined by:
h=num_seconds div 3600
m=(num_seconds div 60) mod 60
s=num_seconds mod 60
- Floor and Ceiling Questions
- Counterexample: Let
.
Then
, and
,
- Counterexample: Let
Then
, and
.
- Proof by contraposition: We show that if
is even, then
is even.
Proof:
Let n=2k, for some
.
Then,
.
And
because of closure over the integers.
This means that
can be written in the
form
for some
, so it is even.
- By the Prime Factorization Theorem,
where
and
and
where
and
and
Multiplying
and
as defined above we get
And
means
ASSUME:
means
means
This means that
.
That
is a contradition to
.
THEREFORE the opposite of the assumption must be true which is that
.
- We want to show that
for some
.
Proof: Since
,
for some
.
Since
,
for some
.
Hence,
, so
. Since
is an integer, by the definition of congruence mod
,
.
- We want to determine all possible values for
.
Since
,
for some
.
Since
,
for some
.
Therefore,
, which means that
.
Hence,
.
Since
is prime, this means that
must be 1 or
.
Since
is prime,
cannot be
, so
.
- Proof by contradiction:
Suppose that
is an irriational number and
is rational.
Then,
for some integers
and
with
.
Hence,
.
Since
and
and
since
,
is a rational number. This is a contradiction, so
is irrational.
- Proof by contradiction:
Suppose that
is rational. Then
for some integers
and
, where
.
Then,
, which means that
.
By the unique factorization theorem,
for some
, where
and
, and
for some
, where
and
.
Hence,
,
and
,
which means that
because there is a unique factorization of the integer on the left and the right into a product of nonnegative powers of primes.
Hence,
, which means that
. This is a contradiction because
is an integer and
is not an integer.
Therefore,
is not a rational number.
This document was generated using the
LaTeX2HTML translator Version 99.1 release (March 30, 1999)
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 -show_section_numbers -split 0 -no_navigation -no_footnode h6ans
The translation was initiated by John Arras on 2001-10-10
John Arras
2001-10-10