What is the greatest number of balls of diameter 1 that can be placed in a 1 0 × 1 0 × 1 box?
Note : The answer isn't 100.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Good solution. I could get to 105, but not the last one.
How did you find out that c= square root of 3?
Log in to reply
"c" is twice the distance between the two lines joining the centers of discs of adjacent rows, in the hexagonal configuration. Why twice ? Because this is the smallest translation that leaves the hexagonal structure unchanged, which is the definition of the unit height.
It is therefore also twice the height of an equilateral triangle of unit side. Therefore, using Pythagore's theorem:
( 2 c ) ² + ( 2 1 ) ² = 1 ²
c = 3
Outstanding!!! I've reached 105. This approach was outstanding!!!
( link try to do this problem please
The pattern will contain p rows of 10 balls and q rows of 9 balls. Normally each row takes up 1 unit of vertical length, but wherever two rows of different length touch each other, we save 1 − 2 1 3 units of length.
An optimal pattern will have p ≥ q . For if p < q , we could replace all rows of 9 balls by rows of 10, and vice versa; this will increase the total number of balls without changing the length needed.
Also, in an optimal pattern every row of 9 balls is directly located between two rows of 10 balls, because this maximizes the number of alternations, and therefore the amount of length saved. The only possible exception is if q = p , in which case one row of 9 is at the end of the pattern. It is not difficult to see that we can make 2 q alternations between the different kinds of rows if p > q , and 2 q − 1 if p = q .
We have the following mathematical model: N = 1 0 p + 9 q = 1 9 q + 1 0 ( p − q ) (number of balls) ℓ = p + q − ( 1 − 2 1 3 ) ⋅ 2 q = 3 q + ( p − q ) (vertical length) . (But if p = q , we must increase ℓ by 1 − 2 1 3 .)
We want to optimize N under the condition ℓ ≤ 1 0 and p − q ≥ 0 . The following graph shows the situation: We must stay above the blue line to keep p − q ≥ 0 ; and below the red line to keep ℓ ≤ 1 0 . The green lines show where N = 1 0 0 , 1 0 5 , 1 1 0 respectively; the arrow indicates the direction in which the optimal point is to be found.
The basic solution is found on the intersection of the two conditions: the intersection of the blue and red lines, with p = q = 1 0 / 3 ≈ 5 . 7 7 4 and N ≈ 1 0 9 . 7 0 . However, p and q must be integers.
In the graph the nearest grid point is ( q , p ) = ( 5 , 6 ) . This would give ℓ = 1 + 5 3 ≈ 9 . 6 6 and N = 1 0 5 . However, there is a better alternative: ( q , p ) = ( 4 , 7 ) . This gives ℓ = 3 + 4 3 ≈ 9 . 9 3 , thus utilizing the vertical length better; and N = 1 0 6 .
How did you know the configuration will contain only rows of 10 and 9 balls?? Any proof?? @Arjen Vreugdenhil @Chew-Seong Cheong @Calvin Lin @Pi Han Goh
Log in to reply
Rows of 11 don't fit. If you have a row of 8, you can always fit an additional ball.
The most serious assumption I made is that the balls are actually arranged in rows.
Hexagonal packing of 11 rows as below:
2*(10+9+10+9+10)+10 =106
Answer=106
I followed the same reasoning as Mat, but had something rattling around in my head about random packing.
The following link confirms 106 but throws up some interesting patterns for other square sizes.
Problem Loading...
Note Loading...
Set Loading...
Disclaimer: this is a qualitative solution (not a formal proof). It still led me to guess the correct solution.
We know the answer shall be between 100 (density: 4 π = 0 , 7 8 5 ) and 115 (most dense packing of discs, with density: 2 3 π = 0 , 9 0 7 ). Let us try to narrow the interval to find the answer.
If we try to pave a 10X10 grid in an hexagonal way, we can manage to put 105 discs (6 rows of 10, and 5 rows of 9):
This paving seems very satisfactory in the "bottom" of the grid, but there is quite some spare at the top, as the height of the packing is: H = 5 c + 1 = 9 , 6 6 , where c = 3 is the height of the hexagonal packing unit.
This idea is to improve the top of the packing by taking advantage of the vertical spare space, using a square paving for the top of the packing (last two rows):
The square paving, while it is less vertically efficient, allows to put more discs in the horizontal axis (10 for every row, instead of 10 every other row). We can put one more disc this way.
Now the height is H = 4 c + 3 = 9 , 9 3 : if we try to arrange one more row in a square pakcing, the height would be: H = 3 , 5 c + 4 = 1 0 , 0 6 , which shows that this is the best we can do with this method.
From this heuristic approach, we conclude that the answer should be 1 0 6