Final Exam, Thursday, December 13, 2007.
You may use three sheets of handwritten notes, but no other sources.
The exam lasts three hours.
The exam consists of twelve questions.
Answer at least two of questions 10, 11, and 12;
your score will be the total of your ten best questions.
Each question is worth ten points.
You can work all twelve problems.
You need to work at least ten problems,
including at least two of problems 10, 11, and 12, to score over 90% on the exam.
Please show all work clearly and in reasonable detail.
Answers without appropriate supporting work or requested explanations
may not receive full credit.
No calculators are allowed.
Please ring your section below:
- What is the probability that a five card poker hand contains two pairs
(that is, two of each of two different kinds and a fifth card of a third kind)?
- A directed graph
has 8 vertices and 12 directed edges.
- We are interested in the out-degrees of the vertices.
How many different out-degree sequences are possible?
(Assume the order of the vertices is important, so a sequence (2,1,3,1,0,0,3,2)
is different from a sequence (3,0,1,0,2,2,1,3).
Express your answer in terms of factorials and/or powers of integers.)
- Assume each arrangement is equally likely.
What is the probability that every vertex has at least one outgoing edge?
(Express your answer in terms of factorials and/or powers of integers.)
- Assume 6 distinct integers are chosen from the first 10 positive integers.
Show that there must be a pair of these integers with sum equal to 11.
- A relation
on a set with five elements has zero-one matrix
What is the transitive closure of this relation?
- Let
,
, and
be variables with domains equal to
.
Let
be the statement
.
Let
be the statement
.
Let
be the statement
.
Assume the statements
and
are true.
Show that we must have
.
- A matching on a graph
is a subset of the edges
that do not share any end vertices.
Let
equal the number of matchings on
.
Show that
.
(For an example of a matching, see question 8.)
Assume
and
.
Show that if
is odd then
- Let
denote the set of integers.
Which of these relations on the set of all functions from
to
are equivalence relations?
Determine the properties of an equivalence relation that the others lack.
-
.
-
.
-
.
-
.
- A matching on a graph
is a subset of the edges
that do not share any end vertices.
Consider the graph:
For example, the set
is a matching,
but the set
is not.
Note that the empty set and
the singleton sets consisting of just a single edge,
for example
,
are also matchings.
Let
and
be two subsets of the edges that are matchings.
The relation
is defined as set inclusion,
so
if and only if
.
This defines a partially ordered set.
- Draw the Hasse diagram for this poset.
- Give a maximal element of the poset with two edges
and another maximal element with three edges.
A directed Euler circuit on a directed graph is an Euler circuit that traverses
each edge in the correct direction.
Let
be the following directed graph.
Show how the edges can be partitioned into a collection of directed circuits,
so each edge appears in exactly one of the circuits.
Hence find a directed Euler circuit on the graph.
- Let
be a connected directed graph.
For each vertex
,
the in-degree is the number of edges entering vertex
and the out-degree is the number of edges leaving vertex
.
A directed Euler circuit on a directed graph is an Euler circuit that traverses
each edge in the correct direction.
Prove that
contains a directed Euler circuit
if and only if the in-degree of each vertex is equal to its out-degree.
- Use strong induction to
show that every number greater than or equal to 18 can be written
as a sum of a nonnegative integer multiple of 4 and a nonnegative integer multiple of 7.
(For example,
.)
- Show that a positive integer is divisible by 3 if and only if the sum of its decimal digits
is divisible by 3.
(Hint: a number
is divisible by 3 if and only if
.
You may assume
for any nonnegative integer
.)
John Mitchell
2008-12-01