• Home
  • Textbooks
  • Discrete Mathematics and Its Applications
  • Trees.

Discrete Mathematics and Its Applications

Kenneth H. Rosen

Chapter 10

Trees. - all with Video Answers

Educators


Section 1

Introduction to Trees.

01:54

Problem 1

Which of these graphs are trees?
a) GRAPH CAN'T COPY.
b) GRAPH CAN'T COPY.
c) GRAPH CAN'T COPY.
d) GRAPH CAN'T COPY.
e) GRAPH CAN'T COPY.
f) GRAPH CAN'T COPY.

Victoria Dollar
Victoria Dollar
Numerade Educator
01:54

Problem 2

Which of these graphs are trees?
a) GRAPH CAN'T COPY.
b) GRAPH CAN'T COPY.
c) GRAPH CAN'T COPY.
d) GRAPH CAN'T COPY.
e) GRAPH CAN'T COPY.
f) GRAPH CAN'T COPY.

Victoria Dollar
Victoria Dollar
Numerade Educator
04:12

Problem 3

Answer these questions about the rooted tree illustrated.
GRAPH CAN'T COPY.
a) Which vertex is the root?
b) Which vertices are internal?
c) Which vertices are leaves?
d) Which vertices are children of $j$ ?
e) Which vertex is the parent of $h$ ?
f) Which vertices are siblings of $o$ ?
g) Which vertices are ancestors of $m$ ?
h) Which vertices are descendants of $b$ ?

SR
Sandra Roman
Numerade Educator
03:21

Problem 4

Answer the same questions as listed in Exercise 3 for the rooted tree illustrated.
GRAPH CAN'T COPY.

Victoria Dollar
Victoria Dollar
Numerade Educator
02:07

Problem 5

Is the rooted tree in Exercise 3 a full $m$-ary tree for some positive integer $m$ ?

Victoria Dollar
Victoria Dollar
Numerade Educator
02:37

Problem 6

Is the rooted tree in Exercise 4 a full $m$-ary tree for some positive integer $m$ ?

Nick Johnson
Nick Johnson
Numerade Educator
00:57

Problem 7

What is the level of each vertex of the rooted tree in Exercise 3?

Victoria Dollar
Victoria Dollar
Numerade Educator
00:46

Problem 8

What is the level of each vertex of the rooted tree in Exercise 4 ?

Victoria Dollar
Victoria Dollar
Numerade Educator
01:04

Problem 9

Draw the subtree of the tree in Exercise 3 that is rooted at
a) $a$.
b) c.
c) $e$.

Victoria Dollar
Victoria Dollar
Numerade Educator
01:04

Problem 10

Draw the subtree of the tree in Exercise 4 that is rooted at
a) $a$.
b) $c$.
c) $e$.

Victoria Dollar
Victoria Dollar
Numerade Educator
02:00

Problem 11

a) How many nonisomorphic unrooted trees are there with three vertices?
b) How many nonisomorphic rooted trees are there with three vertices (using isomorphism for directed graphs)?

Nick Johnson
Nick Johnson
Numerade Educator
04:41

Problem 12

a) How many nonisomorphic unrooted trees are there with four vertices?
b) How many nonisomorphic rooted trees are there with four vertices (using isomorphism for directed graphs)?

Victoria Dollar
Victoria Dollar
Numerade Educator
01:06

Problem 13

a) How many nonisomorphic unrooted trees are there with five vertices?
b) How many nonisomorphic rooted trees are there with five vertices (using isomorphism for directed graphs)?

Norman Atentar
Norman Atentar
Numerade Educator
03:56

Problem 14

Show that a simple graph is a tree if and only if it is connected, but the deletion of any of its edges produces a graph that is not connected.

Victoria Dollar
Victoria Dollar
Numerade Educator
10:46

Problem 15

Let $G$ be a simple graph with $n$ vertices. Show that $G$ is a tree if and only if $G$ is connected and has $n-1$ edges.

Victoria Dollar
Victoria Dollar
Numerade Educator
01:34

Problem 16

Which complete bipartite graphs $K_{m, n}$, where $m$ and $n$ are positive integers, are trees?

Victoria Dollar
Victoria Dollar
Numerade Educator
00:31

Problem 17

How many edges does a tree with 10,000 vertices have?

Victoria Dollar
Victoria Dollar
Numerade Educator
05:25

Problem 18

How many vertices does a full 5 -ary tree with 100 internal vertices have?

Brendon Davis
Brendon Davis
Numerade Educator
01:23

Problem 19

How many edges does a full binary tree with 1000 internal vertices have?

Nick Johnson
Nick Johnson
Numerade Educator
04:38

Problem 20

How many leaves does a full 3 -ary tree with 100 vertices have?

FE
Fabio Espinoza
Numerade Educator
01:41

Problem 21

Suppose 1000 people enter a chess tournament. Use a rooted tree model of the tournament to determine how many games must be played to determine a champion, if a player is eliminated after one loss and games are played until only one entrant has not lost. (Assume there are no ties.)

Nick Johnson
Nick Johnson
Numerade Educator
01:51

Problem 22

A chain letter starts when a person sends a letter to five others. Each person who receives the letter either sends it to five other people who have never received it or does not send it to anyone. Suppose that 10,000 people send out the letter before the chain ends and that no one receives more than one letter. How many people receive the letter, and how many do not send it out?

Victoria Dollar
Victoria Dollar
Numerade Educator
01:54

Problem 23

A chain letter starts with a person sending a letter out to 10 others. Each person is asked to send the letter out to 10 others, and each letter contains a list of the previous six people in the chain. Unless there are fewer than six names in the list, each person sends one dollar to the first person in this list, removes the name of this person from the list, moves up each of the other five names one position, and inserts his or her name at the end of this list. If no person breaks the chain and no one receives more than one letter, how much money will a person in the chain ultimately receive?

Victoria Dollar
Victoria Dollar
Numerade Educator
10:22

Problem 24

Either draw a full $m$-ary tree with 76 leaves and height 3 , where $m$ is a positive integer, or show that no such tree exists.

Elizabeth Wiggins
Elizabeth Wiggins
Numerade Educator
04:01

Problem 25

Either draw a full $m$-ary tree with 84 leaves and height 3 , where $m$ is a positive integer, or show that no such tree exists.

Victoria Dollar
Victoria Dollar
Numerade Educator
05:20

Problem 26

A full $m$-ary tree $T$ has 81 leaves and height 4 .
a) Give the upper and lower bounds for $m$.
b) What is $m$ if $T$ is also balanced?

Victoria Dollar
Victoria Dollar
Numerade Educator
03:10

Problem 27

A complete $m$-ary tree is a full $m$-ary tree, where every leaf is at the same level.
Construct a complete binary tree of height 4 and a complete 3 -ary tree of height 3 .

Victoria Dollar
Victoria Dollar
Numerade Educator
01:59

Problem 28

How many vertices and how many leaves does a complete $m$-ary tree of height $h$ have?

Nick Johnson
Nick Johnson
Numerade Educator
01:18

Problem 29

Prove
a) part (ii) of Theorem 4.
b) part (iii) of Theorem 4 .

Carson Merrill
Carson Merrill
Numerade Educator
02:31

Problem 30

Show that a full $m$-ary balanced tree of height $h$ has more than $m^{h-1}$ leaves.

Victoria Dollar
Victoria Dollar
Numerade Educator
01:55

Problem 31

How many edges are there in a forest of $t$ trees containing a total of $n$ vertices?

Victoria Dollar
Victoria Dollar
Numerade Educator
01:09

Problem 32

Explain how a tree can be used to represent the table of contents of a book organized into chapters, where each chapter is organized into sections, and each section is organized into subsections.

Victoria Dollar
Victoria Dollar
Numerade Educator
03:53

Problem 33

How many different isomers do these saturated hydrocarbons have?
a) $\mathrm{C}_3 \mathrm{H}_8$
b) $\mathrm{C}_5 \mathrm{H}_{12}$
c) $\mathrm{C}_6 \mathrm{H}_{14}$

Victoria Dollar
Victoria Dollar
Numerade Educator
01:17

Problem 34

What does each of these represent in an organizational tree?
a) the parent of a vertex
b) a child of a vertex
c) a sibling of a vertex
d) the ancestors of a vertex
e) the descendants of a vertex
f) the level of a vertex
g) the height of the tree

Victoria Dollar
Victoria Dollar
Numerade Educator
01:09

Problem 35

Answer the same questions as those given in Exercise 34 for a rooted tree representing a computer file system.

Victoria Dollar
Victoria Dollar
Numerade Educator
05:19

Problem 36

a) Draw the complete binary tree with 15 vertices that represents a tree-connected network of 15 processors.
b) Show how 16 numbers can be added using the 15 processors in part (a) using four steps.

Victoria Dollar
Victoria Dollar
Numerade Educator
05:19

Problem 37

Let $n$ be a power of 2 . Show that $n$ numbers can be added in $\log n$ steps using a tree-connected network of $n-1$ processors.

Victoria Dollar
Victoria Dollar
Numerade Educator
02:59

Problem 38

A labeled tree is a tree where each vertex is assigned a label. Two labeled trees are considered isomorphic when there is an isomorphism between them that preserves the labels of vertices. How many nonisomorphic trees are there with three vertices labeled with different integers from the set $(1,2,3)$ ? How many nonisomorphic trees are there with four vertices labeled with different integers from the set $(1,2,3,4\}$ ?

Victoria Dollar
Victoria Dollar
Numerade Educator
04:21

Problem 39

The eccentricity of a vertex in an unrooted tree is the length of the longest simple path beginning at this vertex. A vertex is called a center if no vertex in the tree has smaller eccentricity than this vertex. In Exercises 39-41 Find every vertex that is a center in the given tree.
GRAPH CAN'T COPY.

Victoria Dollar
Victoria Dollar
Numerade Educator
04:21

Problem 40

The eccentricity of a vertex in an unrooted tree is the length of the longest simple path beginning at this vertex. A vertex is called a center if no vertex in the tree has smaller eccentricity than this vertex. In Exercises 39-41 Find every vertex that is a center in the given tree.
GRAPH CAN'T COPY.

Victoria Dollar
Victoria Dollar
Numerade Educator
04:21

Problem 41

The eccentricity of a vertex in an unrooted tree is the length of the longest simple path beginning at this vertex. A vertex is called a center if no vertex in the tree has smaller eccentricity than this vertex. In Exercises 39-41 Find every vertex that is a center in the given tree.
GRAPH CAN'T COPY.

Victoria Dollar
Victoria Dollar
Numerade Educator
01:11

Problem 42

Show that a center should be chosen as the root to produce a rooted tree of minimal height from an unrooted tree.

Victoria Dollar
Victoria Dollar
Numerade Educator

Problem 43

Show that a tree has either one center or two centers that are adjacent.

Check back soon!
04:26

Problem 44

Show that every tree can be colored using two colors.
The rooted Fibonacci trees $T_n$ are defined recursively in the following way. $T_1$ and $T_2$ are both the rooted tree consisting of a single vertex, and for $n=3,4, \ldots$. the rooted tree $T_n$ is constructed from a root with $T_{n-1}$ as its left subtree and $T_{n-2}$ as its right subtree.

Victoria Dollar
Victoria Dollar
Numerade Educator
04:26

Problem 45

Draw the first seven rooted Fibonacci trees.

Victoria Dollar
Victoria Dollar
Numerade Educator
06:39

Problem 46

How many vertices, leaves, and internal vertices does the rooted Fibonacci tree $T_n$ have, where $n$ is a positive integer? What is its height?

Victoria Dollar
Victoria Dollar
Numerade Educator
01:13

Problem 47

What is wrong with the following "proof" using mathematical induction of the statement that every tree with $n$ vertices has a path of length $n-1$. Basis step: Every tree with one vertex clearly has a path of length 0 . Inductive step: Assume that a tree with $n$ vertices has a path of length $n-1$, which has $u$ as its terminal vertex. Add a vertex $v$ and the edge from $u$ to $v$. The resulting tree has $n+1$ vertices and has a path of length $n$. This completes the induction step.

Victoria Dollar
Victoria Dollar
Numerade Educator

Problem 48

Show that the average depth of a leaf in a binary tree with $n$ vertices is $\Omega(\log n)$.

Check back soon!