Interesting Article Ref: Sudoku and Linear Algebraic aspects

Click For Summary

Discussion Overview

The discussion revolves around the mathematical and linear algebraic aspects of Sudoku puzzles, particularly focusing on concepts such as orthogonality, determinants, and methods for solving Sudoku using linear programming. Participants explore theoretical implications and practical approaches related to these topics.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants express confusion regarding the field of mathematics being applied in the article, particularly concerning the orthogonality of Sudoku matrices.
  • One participant argues that if an inner product is defined, the squared Frobenius norm of any Sudoku matrix is too large for it to be orthogonal, citing the minimum entry value and column constraints.
  • Another participant speculates that the author may be working within certain mathematical frameworks, questioning whether Sudoku matrices can be considered a subspace.
  • Several participants mention using linear programming as a preferred method for solving Sudoku puzzles, noting that sufficiently constrained puzzles can be solved using real numbers instead of integers.
  • Concerns are raised about Theorem 12 in the article, highlighting issues with constraints in certain types of Sudoku that could affect the trace.
  • One participant wonders if a classifier method could help understand traits of solvable versus non-solvable Sudoku puzzles, prompting a discussion about the nature of solvability.
  • Another participant reflects on the potential impact of computational insights on the enjoyment of solving Sudoku puzzles.
  • A later reply discusses the determinant of Sudoku matrices, noting that it is a multiple of 405, and questions the implications for invertibility.

Areas of Agreement / Disagreement

Participants express differing views on the applicability of linear algebra concepts to Sudoku, particularly regarding orthogonality and the mathematical frameworks involved. There is no consensus on the implications of these concepts or the validity of the claims made in the article.

Contextual Notes

Participants highlight various assumptions and limitations in the discussion, including the definitions of orthogonality, the nature of Sudoku matrices, and the constraints involved in different Sudoku types. Some mathematical steps and definitions remain unresolved.

WWGD
Science Advisor
Homework Helper
Messages
7,806
Reaction score
13,120
Hi,
This looked interesting. Determinant and Linear-Algebraic aspects of Sudoku puzzles:
http://www.student.montefiore.ulg.ac.be/~merciadri/docs/papers/sudoku.pdf
 
Physics news on Phys.org
I didn't understand the field being used here.

In particular part 9 "Orthgonality Discussion", which says “ The answer to this question is not known yet" -- i.e. whether a sudoku matrix can be orthgonal.

If we have an inner product, then it is very easy to show that the squared frobenius norm of any Sudoku matrix is far to large for it to be orthgonal. (Why? its minimum entry value is 1 and there is a 1 in every column -- all columns also have some number bigger than 1...).

If we don't have an inner product or anything "close" then I really cringe when people use a term like "orthogonal".
 
StoneTemplePython said:
I didn't understand the field being used here.

In particular part 9 "Orthgonality Discussion", which says “ The answer to this question is not known yet" -- i.e. whether a sudoku matrix can be orthgonal.

If we have an inner product, then it is very easy to show that the squared frobenius norm of any Sudoku matrix is far to large for it to be orthgonal. (Why? its minimum entry value is 1 and there is a 1 in every column -- all columns also have some number bigger than 1...).

If we don't have an inner product or anything "close" then I really cringe when people use a term like "orthogonal".
I think he may be working within ##l(\mathbb Z) ## or ## l(\mathbb Z^{*} )## (working mod45 , IIRC, since ##45= \frac {n(n+1)}{2} ## ), though, I am not even sure Sudoku matrices are a subspace; origin not likely included. I was kind of lazy to just drop this here without checking the details before :(. Altho, given the fact that all entries are positive, there are no orthogonal elements in whichever subspace he chooses, by most defs. of inner product I can think of.
 
Yea, as it happens my preferred way to solve sudokus is to use linear programming.

An observation I've had but kind of forgotten about, is everything that is sufficiently constrained to have one answer (i.e. the puzzles that make it to the general public), can be solved with the relaxation of using reals in your LP, as opposed to the integer domain it seems to require. I was poking around for something about totally unimodular submatrices or whatever.

- - - -

btw Theorem 12 has an issue --- in some forms of super sudoku there are constraints along the diagonal (and anti-diagonal) which would necessarily make the trace constant.
 
  • Like
Likes   Reactions: WWGD
StoneTemplePython said:
Yea, as it happens my preferred way to solve sudokus is to use linear programming.

An observation I've had but kind of forgotten about, is everything that is sufficiently constrained to have one answer (i.e. the puzzles that make it to the general public), can be solved with the relaxation of using reals in your LP, as opposed to the integer domain it seems to require. I was poking around for something about totally unimodular submatrices or whatever.

- - - -

btw Theorem 12 has an issue --- in some forms of super sudoku there are constraints along the diagonal (and anti-diagonal) which would necessarily make the trace constant.
Just curious: I have found I can solve ( "paper and pencil", no strategy or explicit method) certain Sudokus well, but not so others. Do you think a classifier method may help me understand some traits in each group; the solvable and the non-solvable?
 
To be clear, do you mean "solvable" by you, or actually valid problems with feasible solutions? If the former, I guess it could be kinda fun to pass it to a classifier. Typically the way I think about problems and "machines think" about problems ends up being a bit different though. (I think it would be kinda fun to overfit some massive deep net on a few sample puzzles and publish a bunch of nonsense about it afterward though.)

I guess it comes to how much Sudoku you do, and whether computational insights will take too much of the mystery out of it.
 
StoneTemplePython said:
To be clear, do you mean "solvable" by you, or actually valid problems with feasible solutions? If the former, I guess it could be kinda fun to pass it to a classifier. Typically the way I think about problems and "machines think" about problems ends up being a bit different though. (I think it would be kinda fun to overfit some massive deep net on a few sample puzzles and publish a bunch of nonsense about it afterward though.)

I guess it comes to how much Sudoku you do, and whether computational insights will take too much of the mystery out of it.
No, I mean solvable by me. And, while classifying may take away some of the fun/mistery away, I am interested more in learning ML methodology. I guess I would enter them as a 2D array.
 
Kind of weird: Sudoku puzzles seen as matrices have a determinant that is a multiple of 405. This means the inverse of a Sudoku/Matrix , with a determinant of 1/405, does not represent a Sudoku. EDIT: Nonsense on my part: Only Integer matrices that are invertible are those with determinant
## \pm 1 ##
 

Similar threads

  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 44 ·
2
Replies
44
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
5K