Why can't I reach every cell in a 3x3 square?

In summary, the conversation discusses a game where a line is drawn through every cell in a 3x3 or 5x5 square, but certain starting positions create problem cells that cannot be reached. The pattern of problem cells is identified, and it is suggested that in an NxN square where N is odd, there will always be (N^2-1)/2 problem cells. Additionally, the conversation references the Hamiltonian path problem and the Seven Bridges of Königsberg problem.
  • #1
musicgold
304
19
Hi,

I was playing this game in which you start from any cells of a 3x3 or 5x5 square and draw a line that loops through every cell in the box. The line can go only through a vertical or horizontal side (not diagonally). When you start from certain cells (problem cells), you can't reach at least one cell. In the attached file, I have shown such paths. The cells that can't be reached are shown with a question mark.

I am trying to find out how to express mathematically a.) why a particular cell can't reach every cell in a box, and 2) how many problem cells will be in a nxn matrix, where n is an odd number.

This is what I have noticed so far:
1. With even numbered squares such as 2x2 and 4x4, have no problem cells.
2. The 3x3 square has 4 problem cells and the 5x5 square has 12 problem cells.
3. Corner cells and the center cell (in the case of 3x3 and 5x5) are never problem cells.
4. The problem situation occurs when the line enters a T junction with empty cells on either sides.


How should I approach this problem?

Thanks.
 

Attachments

  • squares.pdf
    248.4 KB · Views: 311
Mathematics news on Phys.org
  • #3
Attached Files

When I click on it. a new page opens up - blank!
 
  • #4
bigfooted said:
and it is difficult
In this special case: It always works if at least one of the side lengths is even because they have a Hamilton cycle and you can just follow that no matter where you start. Otherwise there are some starting positions that don't work.
 
  • #5
mathman said:
When I click on it. a new page opens up - blank!

That means it downloads the file in the default download folder of your browser.
 
  • #6
I have done some more progress on this problem.
5. If I name each cell of the box using the Row x column convention, I can see a pattern. The top left cell is named as (1,1) , the next cell on the right as (1,2) , the first cell in the second row as (2,1) and so on. The cells whose row and column numbers add to an odd number are problem cells.

6. Based on that, I think, in a NxN square, where N is an odd number, there will be
## (N^2 -1 )/2 ##. I am not sure how to prove this though.

 
  • #7
You are showing particular paths that can not be completed. But it's not clear to me that there are any such problem and starting point where there is no solution even if one is free to pick the right path. Do you have an example like that?

EDIT: I take it back. I do not see any solution to your 3x3 example. I think I have trouble with all of the odd x odd examples.
 
  • #9
musicgold said:
I have done some more progress on this problem.
5. If I name each cell of the box using the Row x column convention, I can see a pattern. The top left cell is named as (1,1) , the next cell on the right as (1,2) , the first cell in the second row as (2,1) and so on. The cells whose row and column numbers add to an odd number are problem cells.

6. Based on that, I think, in a NxN square, where N is an odd number, there will be
## (N^2 -1 )/2 ##. I am not sure how to prove this though.
Color the field with a checkerboard pattern. Every connection goes from black to white or vice versa. Now consider how many fields of each color there are.
 
  • Like
Likes WWGD and jbriggs444

1. Why is it impossible to reach every cell in a 3x3 square?

The main reason is because of the physical limitations of our bodies. We cannot contort ourselves to reach every cell in a 3x3 square without assistance.

2. Can technology help us reach every cell in a 3x3 square?

Yes, with the help of advanced technology such as microscopes and robots, we can reach and manipulate individual cells in a 3x3 square.

3. Is there a specific reason why we need to reach every cell in a 3x3 square?

It depends on the context. In some scientific experiments, it may be important to reach every cell in a 3x3 square to ensure accurate results. However, in everyday life, it is not necessary to reach every single cell in a 3x3 square.

4. Are there any exceptions where we can reach every cell in a 3x3 square?

Yes, in certain cases, such as in a petri dish or under a microscope, we can physically reach and manipulate every cell in a 3x3 square. However, this is not possible in larger and more complex systems like the human body.

5. Can we simulate reaching every cell in a 3x3 square?

Yes, with computer modeling and simulations, we can create a virtual 3x3 square and manipulate the cells. This allows us to study and understand the behavior of cells in a 3x3 square without physically reaching every cell.

Similar threads

Replies
68
Views
9K
  • Atomic and Condensed Matter
Replies
4
Views
2K
  • Introductory Physics Homework Help
Replies
6
Views
1K
  • Introductory Physics Homework Help
Replies
10
Views
1K
Replies
2
Views
622
  • General Discussion
Replies
1
Views
1K
  • General Math
Replies
16
Views
2K
  • Programming and Computer Science
Replies
1
Views
1K
  • General Math
Replies
22
Views
2K
  • Calculus and Beyond Homework Help
Replies
29
Views
1K
Back
Top