Chapter 10

Discrete Mathematics with Applications · 27 exercises

Problem 8

Verify Theorem 10.1 using Exercise 2

4 step solution

Problem 9

How many edges does a dominance digraph with \(n\) vertices have?

3 step solution

Problem 14

Let \(A=\left(a_{i j}\right)\) be the adjacency matrix of a digraph with \(n\) vertices. Then \(D\) is a dag if and only if the main diagonal of the boolean matrix \(R=\) \(A \vee A^{|2|} \vee \cdots \vee A^{|n|}\) is zero. Using this fact, determine if the digraphs are dags.

3 step solution

Problem 17

Let \(A=\left(a_{i j}\right)\) be the adjacency matrix of a digraph with \(n\) vertices. Then \(D\) is a dag if and only if the main diagonal of the boolean matrix \(R=\) \(A \vee A^{|2|} \vee \cdots \vee A^{|n|}\) is zero. Using this fact, determine if the digraphs are dags.

3 step solution

Problem 23

A row of the adjacency matrix of a digraph is zero. Prove that the digraph is not strongly connected.

4 step solution

Problem 24

A column of the adjacency matrix of a digraph is zero. Prove that the digraph is not strongly connected.

4 step solution

Problem 25

Construct the de Bruijn sequence for binary couplets.

4 step solution

Problem 31

Is a strongly connected digraph also weakly connected?

4 step solution

Problem 33

Using the adjacency matrix of a weakly connected digraph with vertices 1 through \(n,\) what can you say about each vertex, where \(1 \leq i, j \leq n ?\) Vertex \(i\) if row \(i\) is zero.

3 step solution

Problem 34

Using the adjacency matrix of a weakly connected digraph with vertices 1 through \(n,\) what can you say about each vertex, where \(1 \leq i, j \leq n ?\) Vertex \(j\) if column \(j\) is zero.

4 step solution

Problem 34

Using Dijkstra's algorithm, find a shortest path and its length from vertex \(a\) to the other vertices. $$\left.\begin{array}{c|cccccc} & a & b & c & d & e & f \\ a & \infty & 3 & 5 & \infty & \infty & \infty \\ b & \infty & \infty & \infty & 2 & \infty & \infty \\ c & \infty & \infty & \infty & 3 & \infty & \infty \\ d & 4 & \infty & \infty & \infty & 3 & 6 \\ e & \infty & 5 & \infty & \infty & \infty & \infty \\ f & \infty & \infty & 4 & \infty & \infty & \infty \end{array}\right]$$

5 step solution

Problem 35

Using the adjacency matrix of a weakly connected digraph with vertices 1 through \(n,\) what can you say about each vertex, where \(1 \leq i, j \leq n ?\) Construct the de Bruijn sequence for binary couplets.

5 step solution

Problem 36

Using the adjacency matrix of a weakly connected digraph with vertices 1 through \(n,\) what can you say about each vertex, where \(1 \leq i, j \leq n ?\) Construct the memory wheel for binary couplets.

4 step solution

Problem 37

One of the two distinct de Bruij sequences for binary triplets is 01110100 . Find the other de Bruijn sequence.

3 step solution

Problem 37

One of the two distinct de Bruijn sequences for binary triplets is 01110100. Find the other de Bruijn sequence.

3 step solution

Problem 38

One of the two distinct de Bruij sequences for binary triplets is 01110100 . List the binary triplets resulting from it.

5 step solution

Problem 38

One of the two distinct de Bruijn sequences for binary triplets is 01110100. List the binary triplets resulting from it.

3 step solution

Problem 40

One of the two distinct de Bruij sequences for binary triplets is 01110100 . Construct a de Bruijn sequence for binary quadruplets, (There are 16 different sequences.)

3 step solution

Problem 40

One of the two distinct de Bruijn sequences for binary triplets is 01110100. Construct a de Bruijn sequence for binary quadruplets. (There are 16 different sequences.)

4 step solution

Problem 43

Suppose de Bruijn Hotel has 16 guest rooms. Each guest receives a three bit code to enter his room. Each door has a keypad with two push buttons, one for 0 and the other for \(1 .\) When the correct sequence of the four bits is entered, regardless of what bit was entered earlier, the door will open. Suppose a burglar wishes to enter a room. Find the minimum number of bits he needs to enter to be certain that the door will open.

4 step solution

Problem 46

Prove each. The vertices of a dag can be topologically sorted. (Hint: Use induction.)

5 step solution

Problem 47

In \(1934, \mathrm{M}\) . H. Martin developed an algorithm for constructing a de Bruijn sequence for binary n-tuples. Begin with the \(n\) -bit word consisting of all O's. Successively append the larger of the bits 0 and 1 that does not lead to a duplicate \(n\) -tuple. Using this method, construct a de Bruijn sequence for each. Binary couplets

4 step solution

Problem 47

In \(1934,\) M. H. Martin developed an algorithm for constructing a de Bruijn sequence for binary \(n\) -tuples. Begin with the \(n\) -bit word consisting of all 0's. Successively append the larger of the bits 0 and 1 that does not lead to a duplicate \(n\) -tuple. Using this method, construct a de Bruijn sequence for each. Binary couplets

5 step solution

Problem 48

In \(1934, \mathrm{M}\) . H. Martin developed an algorithm for constructing a de Bruijn sequence for binary n-tuples. Begin with the \(n\) -bit word consisting of all O's. Successively append the larger of the bits 0 and 1 that does not lead to a duplicate \(n\) -tuple. Using this method, construct a de Bruijn sequence for each. Binary triplets

5 step solution

Problem 48

In \(1934,\) M. H. Martin developed an algorithm for constructing a de Bruijn sequence for binary \(n\) -tuples. Begin with the \(n\) -bit word consisting of all 0's. Successively append the larger of the bits 0 and 1 that does not lead to a duplicate \(n\) -tuple. Using this method, construct a de Bruijn sequence for each. Binary triplets

3 step solution

Problem 49

In \(1934, \mathrm{M}\) . H. Martin developed an algorithm for constructing a de Bruijn sequence for binary n-tuples. Begin with the \(n\) -bit word consisting of all O's. Successively append the larger of the bits 0 and 1 that does not lead to a duplicate \(n\) -tuple. Using this method, construct a de Bruijn sequence for each. Binary quadruplets

11 step solution

Problem 49

In \(1934,\) M. H. Martin developed an algorithm for constructing a de Bruijn sequence for binary \(n\) -tuples. Begin with the \(n\) -bit word consisting of all 0's. Successively append the larger of the bits 0 and 1 that does not lead to a duplicate \(n\) -tuple. Using this method, construct a de Bruijn sequence for each. Binary quadruplets

5 step solution

Show/ page