Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

A simple graph can be used to determine the minimum number of queens on a chessboard that control the entire chessboard. An\({\rm{n}} \times {\rm{n}}\) chessboard has \({{\rm{n}}^2}\) squares in an \({\rm{n}} \times {\rm{n}}\) configuration. A queen in a given position controls all squares in the same row, the same column, and on the two diagonals containing this square, as illustrated. The appropriate simple graph has \({{\rm{n}}^2}\) vertices, one for each square, and two vertices are adjacent if a queen in the square represented by one of the vertices controls the square represented by the other vertex.

Construct the simple graph representing the\({\rm{n}} \times {\rm{n}}\)chessboard with edges representing the control of squares by queens for

a)\({\rm{n}} = 3\).b)\({\rm{n}} = 4\).

Short Answer

Expert verified

(a) The figure for \({\rm{n}} = 3\) isgiven below.


(b) The figure for \({\rm{n}} = 4\) is given below.


Step by step solution

Achieve better grades quicker with Premium

  • Unlimited AI interaction
  • Study offline
  • Say goodbye to ads
  • Export flashcards

Over 22 million students worldwide already upgrade their learning with Vaia!

01

Identification of the given data

The given data can be listed as follows:

  • The configuration of the chessboard is\({\rm{n}} \times {\rm{n}}\).
  • The number of squares on the chessboard is\({{\rm{n}}^2}\).
02

Concept/Significance of the graph theory

Points and lines are subjects of the graph theory. It is concerned with a manner in which vertices (groups of points) can be joined by edges (lines or arcs).

03

(a) Construction of a simple graph of a chessboard with \(3 \times 3\) edges

The graph for \(3 \times 3\) edges is constructed as given below.

Thus, here, the control of the queen is shown by edges.

04

Step 4:(b) Construction of a simple graph of a chessboard with \(4 \times 4\) edges

The graph for \(4 \times 4\)edges is constructed as given below.

Thus, here, the control of the queen is shown by edges.

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

a) Define a simple graph, a multigraph, a pseudograph, a directed graph, and a directed multigraph.

b) Use an example to show how each of the types of the graph in part (a) can be used in modeling. For example, explain how to model different aspects of a computer network or airline routes.

Show that the coloring produced by this algorithm may use more colors than are necessary to color a graph.

In Exercises \({\rm{3 - 5}}\)determine whether two given graphs are isomorphic.

Suppose that to generate a random simple graph with n vertices we first choose a real number p with\({\bf{0}} \le {\bf{p}} \le {\bf{1}}\). For each of the\({\bf{C}}\left( {{\bf{n,2}}} \right)\)pairs of distinct vertices we generate a random number x between 0 and 1.

If\({\bf{0}} \le {\bf{x}} \le {\bf{p}}\), we connect these two vertices with an edge; otherwise these vertices are not connected.```

a) What is the probability that a graph with m edges where\({\bf{0}} \le {\bf{m}} \le {\bf{C}}\left( {{\bf{n,2}}} \right)\)is generated?

b) What is the expected number of edges in a randomly generated graph with n vertices if each edge is included with probability p?

c) Show that if\({\bf{p = }}\frac{{\bf{1}}}{{\bf{2}}}\)then every simple graph with n vertices is equally likely to be generated.

A property retained whenever additional edges are added to a simple graph (without adding vertices) is called monotone increasing, and a property that is retained whenever edges are removed from a simple graph (without removing vertices) is called monotone decreasing.

Prove that \({w_4}\) is chromatically 3-critical .

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free