Math 184A Midterm 1 Solutions, Exams of Mathematics

The solutions to the first midterm exam for math 184a, a college-level mathematics course. The exam covers topics such as combinations, simple graphs, oriented simple graphs, and binary rooted trees. Students are expected to understand concepts related to counting combinations of cards, identifying cut vertices and walks in graphs, and calculating the number of oriented simple graphs and leaves in binary rooted trees.

Typology: Exams

Pre 2010

Uploaded on 03/28/2010

koofers-user-jl3
koofers-user-jl3 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Math 184A First Midterm OPEN BOOK 2/3/99
Each problem is worth 12 points. Please start each problem on a new page.
1. (a) How many four card hands are there where no cards are in the same suit and no
cards are the same kind? (“Kind” means A, 2, 3, ..., 10, J, Q, K.)
(b) How many 6 card hands contain two 3-of-a-kinds; that is, two sets of cards where
each set consists of 3 cards of the same kind?
2. (a) Give an example of a SIMPLE graph with a cut vertex and indicate the cut vertex.
(b) For the graph in (a), indicate a walk which is NOT a path.
(c) Give an example of a SIMPLE graph with 3 vertices and 12 edges.
3. An oriented simple graph is a simple graph which has been converted to a digraph by
assigning an orientation to each edge.
(a) Prove that the number of n-vertex oriented simple graphs is 3(n
2).
(b) State and prove a formula for the number of n-vertex oriented simple graphs that
have exactly qedges.
Hint: You can construct an oriented simple graph by choosing a simple graph
and then orienting each of its edges.
4. The depth of a rooted tree is the number of edges in the longest path from the root
to a leaf. A binary rooted tree is a rooted tree in which each vertex either is a leaf or
has exactly two children. Some examples are on the blackboard.
(a) Let Lnbe the maximum number of leaves in a binary rooted tree of depth n.
Prove that
L0= 1 and Ln=2L
n1for n>0.
Hint: What happens when the root is removed?
(b) Using (a), prove that Ln=2
nfor n0.
(c) Let lnbe the minimum number of leaves in a binary rooted tree of depth n. Prove
that ln=n+1.

Partial preview of the text

Download Math 184A Midterm 1 Solutions and more Exams Mathematics in PDF only on Docsity!

Math 184A First Midterm OPEN BOOK 2/3/

Each problem is worth 12 points. Please start each problem on a new page.

  1. (a) How many four card hands are there where no cards are in the same suit and no cards are the same kind? (“Kind” means A, 2, 3,.. ., 10, J, Q, K.) (b) How many 6 card hands contain two 3-of-a-kinds; that is, two sets of cards where each set consists of 3 cards of the same kind?
  2. (a) Give an example of a SIMPLE graph with a cut vertex and indicate the cut vertex. (b) For the graph in (a), indicate a walk which is NOT a path. (c) Give an example of a SIMPLE graph with 3 vertices and 12 edges.
  3. An oriented simple graph is a simple graph which has been converted to a digraph by assigning an orientation to each edge. (a) Prove that the number of n-vertex oriented simple graphs is 3(

n 2 ). (b) State and prove a formula for the number of n-vertex oriented simple graphs that have exactly q edges. Hint: You can construct an oriented simple graph by choosing a simple graph and then orienting each of its edges.

  1. The depth of a rooted tree is the number of edges in the longest path from the root to a leaf. A binary rooted tree is a rooted tree in which each vertex either is a leaf or has exactly two children. Some examples are on the blackboard. (a) Let Ln be the maximum number of leaves in a binary rooted tree of depth n. Prove that L 0 = 1 and Ln = 2Ln− 1 for n > 0.

Hint: What happens when the root is removed? (b) Using (a), prove that Ln = 2n^ for n ≥ 0. (c) Let ln be the minimum number of leaves in a binary rooted tree of depth n. Prove that ln = n + 1.