ArticleslgStudy

mathematics

King's graph

King's graph is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand King's graph rather than just read about it. In short: In graph theory, a king's graph is a graph that represents all legal moves of the king chess piece on a chessboard where each vertex represents a square on a chessboard and each edge is a legal move. More specifically, an n×m king's graph is a king's graph of an n×m chessboard.

King's graph — main illustration
King's graph — illustration

Key takeaways

  • King's graph belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect King's graph to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of King's graph from memory before moving on to harder problems.

Reference excerpt

In graph theory, a king's graph is a graph that represents all legal moves of the king chess piece on a chessboard where each vertex represents a square on a chessboard and each edge is a legal move. More specifically, an n×m king's graph is a king's graph of an n×m chessboard. It is the map graph formed from the squares of a chessboard by making a vertex for each square and an edge for each two squares that share an edge or a corner. It can also be constructed as the strong product of two path graphs. For an n×m king's graph the total number of vertices is nm and the number of edges is 4nm−3(n+m)+2. For a square n×n king's graph this simplifies so that the total number of vertices is n2 and the total number of edges is (2n−2)(2n−1). The neighbourhood of a vertex in the king's graph corresponds to the Moore neighborhood for cellular automata. A generalization of the king's graph, called a kinggraph, is formed from a squaregraph (a planar graph in which each bounded face is a quadrilateral and each interior vertex has at least four neighbors) by adding the two diagonals of every quadrilateral face of the squaregraph. In the drawing of a king's graph obtained from an n×m chessboard, there are (n−1)(m−1) crossings, but it is possible to obtain a drawing with fewer crossings by connecting the two nearest neighbors of each corner square by a curve outside the chessboard instead of by a diagonal line segment. In this way, (n−1)(m−1)−4 crossings are always possible. For the king's graph of small chessboards, other drawings lead to even fewer crossings; in particular every 2×n king's graph is a planar graph. However, when both n and m are at least four, and they are not both equal to four, (n−1)(m−1)−4 is the optimal number of crossings.

See also Knight's graph Queen's graph Rook's graph Bishop's graph Lattice graph Chess portal

References

Illustrations

King's graph illustration

Worked examples

Example 1 — a first encounter with King's graph

Start with the simplest possible case. Write down what King's graph claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to King's graph before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about King's graph ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of King's graph

In research
King's graph appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses King's graph in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
King's graph is common in secondary-school and first-year university syllabi. It links to neighbouring topics Mathematical chess problems, Parametric families of graphs, so understanding it makes those chapters shorter.
In everyday life
Look for King's graph outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “King's graph” →

How to study King's graph in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what King's graph means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain King's graph out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is King's graph in simple terms?

In graph theory, a king's graph is a graph that represents all legal moves of the king chess piece on a chessboard where each vertex represents a square on a chessboard and each edge is a legal move. More specifically, an n×m king's graph is a king's graph of an n×m chessboard.

Why does King's graph matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study King's graph?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on King's graph.

Tags

  • Mathematical chess problems
  • Parametric families of graphs

Keep exploring