Homework
Please prepare
to explain your answers in class.
Sets
Appendix A1: Exercises 1, 3, 5, 7, 9,
11(d),(e), 17.
Relations
- Can a relation R in a set A be both symmetric and
antisymmetric?
- Let A = {1, 2, 3}. Give an example of a
relation R in A such that
R is neither symmetric nor antisymmetric.
- Show that the relation Q on the set A = { (a,
b) | a,
b are integers and b is not 0} is an
equivalence relation where
Q is defined as (a,b)Q(c,d) if
and only if ad = bc.
- Prove that any integer that is a square must have one of
the following
for its units digit: 0, 1, 4, 5, 6, 9.
- Prove that any fourth power must have one of 0, 1, 5, 6
for its units digit.
- Determine whether or not the 328th
day and the 104th
day of the year fall on the same day of the week.
- Show that if R is
an antisymmetric relation, so is R-1.
- Show that if R is a
symmetric relation, then R intersection R-1 =
R.
- Show that if R and
S are an antisymmetric relations, then so is R intersection
S. What
about R union S?
Functions
- Let X = { 1, 2, 3, 4,
5, 6, 7, 8, 9 }, Y = { true, false
}.
- How many surjective functions are there from X to Y?
- How many surjective functions are there from Y to X?
- How many surjective functions are there from Y to Y?
- If f
is a surjective function from X
to Y, what can we say about
|X| relative to |Y|?
- Let X = { 1, 2, 3 },
Y = { A, B, C, D }.
- How many injective functions are there from X to Y?
- How many injective functions are there from Y to X?
- How many injective functions are there from X to X?
- If f
is an injective function from X
to Y, what can we say about
|X| relative to |Y|?
- If f
is an bijective function from X
to Y, what can we say about
|X| relative to |Y|?
- Let X be a finite
set. How many bijective
functions are there from
X to X ?
- How many unary
operators are there for true-false
logic? That is,
how many functions are there from { true, false } to { true, false }
?
List them.
Propositional logic
- How many binary operators are there for true-false logic?
- Is the following a tautology: ( ( (p or q) implies r] and
(~p) ) implies
(q implies r)? Use a truth table as a proof.
- Consider the propositions:
- p: David is playing pool.
- q: David is inside.
- r: David is doing his homework.
- s: David is listening to music.
- Translate
the following sentences into symbolic notation using p, q,
r, s, ~, or, and, and parentheses only.
- Either David is playing pool or he is inside.
- Neither is David playing pool, nor is he doing his
homework.
- David is playing pool and not doing his homework.
- David is inside doing his homework, not playing pool.
- David is inside doing his homework while listening to
music, and he is
not playing pool.
- David is not listening to music, nor is he playing
pool, neither is he
doing his homework.
- If David is playing pool and listening to music, then
he is not doing his
homework.
- Using
the specifications of p, q, r,
and s
above, translate the following propositions into acceptable English:
- (~p) and (~q).
- p or (q and r).
- ~((~p) and r).
- ((~p) or q) and
(~r or s).
- ((~p) and q) or
((~r and s).
- Restate the following as implications "If ..., then ..."
- A necessary condition that a given quadrelateral ABCD
be a rectangle
is that it be a parallelogram.
- A sufficient condition that ABCD be
a rectangle is that it be a
square.
- A necessary condition that a given integer n
be divisible by 9 is
that it is divisible by 3.
- A sufficient condition that a given integer n
be divisibile by 9
is that it be divisible by 18.
- A sufficient condition for n to be
divisible by 9 is that the sum
of the digits be divisible by 9.
- State the converse, opposite, and contrapositive to the
following:
- If triangle ABC is a right
triangle, then |AB|2
+ |BC|2 = |AC|2.
- Determine whether each of the following inferences is
valid or faulty.
If the inference is valid, produce some evidence that confirms its
validity.
If the inference is faulty, produce a combination of truth values that
confirms or indicates a fallacy.
The governor will call a
special session only if the
Senate cannot reach
a compromise.
If a majority of
the
Cabinet
are in agreement, then the governor will call a special session.
The Senate can reach a compromise.
Hence, a majority of the
Cabinet are in agreement.
The
governor will call a special session only if the
Senate
cannot reach
a compromise.
If a majority of the Cabinet
are in agreement, then the governor will call a special session.
The Senate can reach a compromise.
Hence, a majority of the
Cabinet are not in agreement.
The
governor will call a special session only if the
Senate
cannot reach
a compromise.
If a majority of the Cabinet
are in agreement, then the governor will call a special session.
The Senate can reach a compromise.
Hence, the governor will
not call a special session.
The
new people in the neighborhood have a nice dog.
They also have a nice
car.
Hence, they must be nice
people.
- Determine whether each of the folllowing inference
patterns is valid or
invalid. If the inference is valid, produce some
evidence that
confirms its validity. If the inference is invalid, indicate
a combination
of truth values that produces a counterexample.
r
implies s
~ s
Therefore, ~r.
(p and q) implies ~t
w or r
w implies p
r implies q
Therefore, (w or r) implies ~t.
~r implies (s implies ~t)
~r or w
~p implies s
~w
Therefore, t implies p.
~p
p implies q
q implies r
Therefore, ~r.
- Are the following arguments valid? Give
evidence for your answer.
If
Joe or Abe needs a vacation, then Ted deserves an
assistant.
Hence, if Joe needs a vacation,
then Ted deserves an assistant.
If Joe is a mathematician, then he is ambitious.
If Joe is an early riser, then
he does not like oatmeal.
If Joe is ambitious, then
he is an early riser.
Hence,
if Joe is a mathematician, then he does not like oatmeal.
If Clifton does not live in France, then he does not speak French.
Clifton does not drive a Nissan.
If Clifton lives in France,
then he rides a bicycle.
Either Clifton speaks French
or he drives a Nissan.
Hence, Clifton rides a bicycle.
Pigeon-Hole Principle
Appendix A.4, exercises 2 - 6, 8.
Mathematical Induction
- Appendix 2, exercises 1 (Can you also give a geometric proof?), 2, 7, 9, 12, 23, 24, 25.
- Prove by mathematical induction that 11n+2 + 122n+1
is divisible by 133.
-
Let S be a set with n elements. Using mathematical induction,
show that |P(S)| = 2n.
Two Basic Counting Principles
Section 5.1
- 14: Max
- 20: Hans
- 25: Mike
- 30: Kian
- 34: Tim W.
- 40: Tim R.
- 45: Ryan
- 46: Nick
- 49: Matthew
Simple Arrangements & Selections
Section 5.2
- 10: Kian
- 14: Nick
- 20: Mike
- 24: Tim W.
- 30: Max
- 34: Ryan
- 40: Hans
- 44: Tim R.
- 60: Matthew (A Hamilton path visits each vertex once.)
Arrangements & Selections with Repetitions
Section 5.3
- 7: Tim W.
- 8: Matt
- 10: Tim R.
- 16: Max
- 20: Hans
- 25: ( 0! = 1): Ryan
- 29: Nick
- 33 (The induction is on m, the number of types of objects): Mike
Distributions
Section 5.4
- 12: Hans
- 27: Ryan
- 28: Nick
- 29: Max
- 30: Tim W:
- 43: Tim R.
- 50: Matt
Binomial Identities
Section 5.5
- 3: Hans
- 5: Nick
- 11: Max
- 14 (a), (b), (c): Ryan
- 19: Mike (Hint: Use the Binomial Theorem)
- 33: Tim R.
- 34, 35: Tim W. (Hint: exercise 35 uses the equation in exercise 34)
Generating Function Models
Section 6.1
- 8: Nick
- 10: Max
- 14: Hans
- 17: Ryan
- 18: Tim W.
- 23: Tim R.
- 25: Mike
- 29: Matt
Calculating Coefficients of Generating Functions
- 7, 8: Nick
- 11(a) - (d): Max
- 12, 14: Ryan
- 15: Hans
- 20: Mike
- 26: Tim R.
- 31: Tim W.
- 32: Matt
Recurrence Relation Models
- 10: Nick
- 11: Ryan
- 12: Max
- 20: Mike
- 21: Tim W.
- 25: Hans
- 29: Tim R.
- 30: Matt