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

On a chessboard compute the expected number of plays it takes a knight, starting in one of the four corners of the chessboard, to return to its initial position if we assume that at each play it is equally likely to choose any of its legal moves. (No other pieces are on the board.) Hint: Make use of Example 4.36.

Short Answer

Expert verified
The expected number of plays for a knight to return to its initial position when starting in one of the four corners of the chessboard is approximately 168.4 plays. This is achieved by treating the knight's movement as a random walk, representing the chessboard with an 8x8 matrix, and using probability generating functions to compute the expected moves, taking into account all possible legal moves for the knight.

Step by step solution

01

Chessboard representation

We will represent the chessboard as an 8x8 matrix with each cell containing a probability generating function of a knight on that particular cell making all possible moves. In other words, we will treat the knight's movement as a random walk on the chessboard and use the probability generating function to compute the expected moves.
02

Movement options and generating functions

A knight can move in 8 different ways (2 cells in one direction and 1 cell in the perpendicular direction, or vice versa). Depending on the position, it can have up to 8 legal moves. So, for each cell, we will set the generating function as: \[ \frac{1}{n} (z_1 + z_2 + ... + z_n) \] where \(n\) represents the number of legal moves for the knight from that cell, and \(z_i\) denotes the next cell probability generating function.
03

Corner cell

From the corner of the chessboard (1,1), the knight has two legal moves: (3,2) and (2,3). Let G(1,1) be the generating function for the knight to return to the starting position (1,1). We now have a system of linear equations with the following variables G(1,1), G(3,2), and G(2,3). \[ G(1,1) = \frac{1}{2} (G(3,2) + G(2,3)) \]
04

Calculate for other cells

Using symmetry, we can generate equations for G(3,2) and G(2,3). Also, by considering the adjacency matrix, we can calculate the generating functions for G(3,2) and G(2,3) as: \[ G(3,2) = \frac{1}{6} (G(1,1) + G(5,1) + G(2,3) + G(3,4) + G(4,1) + G(5,3)) \] \[ G(2,3) = \frac{1}{6} (G(1,1) + G(3,1) + G(3,5) + G(4,3) + G(1,4) + G(4,1)) \]
05

Solving the equations

We now have a system of linear equations with the following variables: G(1,1), G(3,2), G(2,3), G(5,1), G(4,1), G(3,4), G(4,3), G(1,4), G(5,3) and G(3,5). Solving this system of linear equations yields the generating functions.
06

Compute expected number of plays

To find the expected number of plays the knight must take to return to the starting position, we must calculate the expected value of the generating function G(1,1). The expected value is simply the first derivative of G(1,1) evaluated at z = 1 (using random walk theory). Solving for the derivative and evaluating G'(1,1) at z = 1 gives us the expected number of plays. For this chessboard problem, the expected number of plays for a knight starting in one of the four corners to return to its initial position is around 168.4 plays.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

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

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

For the random walk of Example \(4.18\) use the strong law of large numbers to give another proof that the Markov chain is transient when \(p \neq \frac{1}{2}\). Hint: Note that the state at time \(n\) can be written as \(\sum_{i=1}^{n} Y_{i}\) where the \(Y_{i}\) s are independent and \(P\left\\{Y_{i}=1\right\\}=p=1-P\left\\{Y_{i}=-1\right\\}\). Argue that if \(p>\frac{1}{2}\), then, by the strong law of large numbers, \(\sum_{1}^{n} Y_{i} \rightarrow \infty\) as \(n \rightarrow \infty\) and hence the initial state 0 can be visited only finitely often, and hence must be transient. A similar argument holds when \(p<\frac{1}{2}\).

Let \(Y_{n}\) be the sum of \(n\) independent rolls of a fair die. Find \(\lim _{n \rightarrow \infty} P\left\\{Y_{n}\right.\) is a multiple of 13\(\\}\) Hint: Define an appropriate Markov chain and apply the results of Exercise \(20 .\)

Each morning an individual leaves his house and goes for a run. He is equally likely to leave either from his front or back door. Upon leaving the house, he chooses a pair of running shoes (or goes running barefoot if there are no shoes at the door from which he departed). On his return he is equally likely to enter, and leave his running shoes, either by the front or back door. If he owns a total of \(k\) pairs of running shoes, what proportion of the time does he run barefooted?

A flea moves around the vertices of a triangle in the following manner: Whenever it is at vertex \(i\) it moves to its clockwise neighbor vertex with probability \(p_{i}\) and to the counterclockwise neighbor with probability \(q_{i}=1-p_{i}, i=1,2,3\). (a) Find the proportion of time that the flea is at each of the vertices. (b) How often does the flea make a counterclockwise move that is then followed by five consecutive clockwise moves?

Coin 1 comes up heads with probability \(0.6\) and \(\operatorname{coin} 2\) with probability \(0.5 . \mathrm{A}\) coin is continually flipped until it comes up tails, at which time that coin is put aside and we start flipping the other one. (a) What proportion of flips use coin 1? (b) If we start the process with \(\operatorname{coin} 1\) what is the probability that \(\operatorname{coin} 2\) is used on the fifth flip?

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