5

In Determinant Tic-Tac-Toe, Player 1 enters a 1 in an empty 3 × 3 matrix. Player 0 counters with a 0 in a vacant position, and play continues in turn until the 3 × 3 matrix is completed with five 1’s and four 0’s. Player 0 wins if the determinant is 0 and player 1 wins otherwise.

(a) If Player 1 goes first and enters a 1 in the middle square, is there a strategy that can give player 2 a guaranteed win?

Note: I have seen a similar question at https://mathoverflow.net/questions/312034/matrix-tic-tac-toe, however this is based on the first number entered in the top left.

Note: I have seen a similar question and solution at http://math.ucr.edu/~muralee/p4sols.pdf but I'm not quite sure how the proof provided extends to Player 1 starting in the middle.

Perhaps the above could be used as a starting point?

A website I have been using to visualise this is http://textbooks.math.gatech.edu/ila/demos/tictactoe/tictactoe.html (default set to 2 x 2 and Player 0 first but this can be changed).

Thanks!

Asaf Karagila
  • 405,794
global05
  • 824

1 Answers1

4

In the first place, it doesn't matter where ONE starts; the nine squares are all equivalent. (Permuting rows and columns can only change the sign of the determinant, not whether its zero or nonzero.) Personally, for neatness, I'd start with a $1$ in a corner, but it's your question so I'll do it your way.

Anyway, the game is a win for player ZERO; he can force not only the determinant but even the permanent of the $3\times3$ matrix to be zero.

Notation. Let me write $a_{i,j}=1$ to mean that player ONE write a $1$ in the $(i,j)$-square of the matix, $a_{i,j}=0$ to mean that player ZERO writes a $0$ in that square.

The game starts with the move $a_{2,2}=1$. I claim that ZERO can win by replying with $a_{1,1}=0$. Now, because of symmetry, there are only four choices for ONE's next move: $a_{2,1}=1,a_{3,1}=1,\ a_{3,2}=1,\ a_{3,3}=1$.

First variation. $a_{2,2}=1,\ a_{1,1}=0,\ a_{2,1}=1,\ a_{1,3}=0,\ a_{1,2}=1,\ a_{3,3}=0$
with a double threat of $a_{2,3}=0$ and $a_{3,1}=0$.

Second variation. $a_{2,2}=1,\ a_{1,1}=0,\ a_{3,1}=1,\ a_{1,3}=0,\ a_{1,2}=1,\ a_{2,3}=0$
threatening $a_{2,1}=0$ and $a_{3,3}=0$.

Third variation. $a_{2,2}=1,\ a_{1,1}=0,\ a_{3,2}=1,\ a_{1,3}=0,\ a_{1,2}=1,\ a_{2,1}=0$
threatening $a_{2,3}=0$ and $a_{3,1}=0$.

Fourth variation. $a_{2,2}=1,\ a_{1,1}=0,\ a_{3,3}=1,\ a_{1,2}=0,\ a_{1,3}=1,\ a_{3,1}=0$
threatening $a_{2,1}=0$ and $a_{3,2}=0$.

bof
  • 82,298
  • 1
    would you mind using this website to take screenshots of each step to help me visualise this? http://textbooks.math.gatech.edu/ila/demos/tictactoe/tictactoe.html (default set to 2 x 2 and Player 0 first but this can be changed). – global05 May 24 '20 at 05:39
  • Because I don't see how the first variation results with a double threat as there is nothing in a3,2 and similarly for the 2nd there is a 1 at 2,2 so there is no threat to 2, 1? – global05 May 24 '20 at 05:42
  • 1
    @global05 Anytime there is a row or column of zeroes, or if there are two rows and columns that are equal, the determinant will be zero. – Fibonacci Cube K May 24 '20 at 05:49
  • @DEATH_CUBE_K Oh ok - two rows and columns or two rows or columns? Thanks – global05 May 24 '20 at 05:52
  • In the first variation, ZERO's next move will be either $a_{2,3}=0$ making a column of $0$'s, or else $a_{3.1}=0$ making a $2\times2$ submatrix of $0$'s. Either way, the $3\times3$ determinant (and the permanent) are guaranteed to be $0$. – bof May 24 '20 at 05:53
  • If an $n\times n$ matrix has an $h\times k$ submatrix of $0$'s where $h+k\ge n+1$ then the determinant (and permanent) will be $0$. – bof May 24 '20 at 05:56
  • After the first 6 moves of your first variation we have After the first 6 moves of your first variation we have Row 1 (0 1 _) Row 2 (1 1 _) Row 3 (0 _ 0) - I don't see any 2 x 2 submatrix threat – global05 May 24 '20 at 05:58
  • Could you use this textbooks.math.gatech.edu/ila/demos/tictactoe/tictactoe.html to show your answer (at least only for the first variation) (screenshot each stage and include this in your answer) – global05 May 24 '20 at 05:59
  • 1
    @DEATH_CUBE_K could you please prove that statement? – global05 May 24 '20 at 06:01
  • I'm using the standard matrix notation, so that $a_{1,1},a_{1,2}a_{1,3}$ is the top rows from left to right. Anyway, there are $0$'s in three of the four corner cells; a zero in the fourth corner will complete a $2\times2$ submatrix of $0$'s. – bof May 24 '20 at 06:08
  • 2
    I believe I've done enough here. This discussion is not interesting and I have other things to do. You don't have to accept my answer, you don't have to upvote it, you can downvote it. – bof May 24 '20 at 06:14
  • 2
    @global05: The main point is that the problem is invariant under permutations of the rows and columns. Thus you can use the visualization in Willie Wong's answer to the MO question you linked to. – joriki May 24 '20 at 06:33