Square packing

From testwiki
Jump to navigation Jump to search

Template:Short description Template:CS1 config Square packing is a packing problem where the objective is to determine how many congruent squares can be packed into some larger shape, often a square or circle.

In a square

Square packing in a square is the problem of determining the maximum number of unit squares (squares of side length one) that can be packed inside a larger square of side length a. If a is an integer, the answer is a2, but the precise – or even asymptotic – amount of unfilled space for an arbitrary non-integer a is an open question.[1]

Template:Multiple image The smallest value of a that allows the packing of n unit squares is known when n is a perfect square (in which case it is n), as well as for n=2, 3, 5, 6, 7, 8, 10, 13, 14, 15, 24, 34, 35, 46, 47, and 48. For most of these numbers (with the exceptions only of 5 and 10), the packing is the natural one with axis-aligned squares, and a is ⌈n⌉, where ⌈ ⌉ is the ceiling (round up) function.[2][3] The figure shows the optimal packings for 5 and 10 squares, the two smallest numbers of squares for which the optimal packing involves tilted squares.[4][5]

The smallest unresolved case is n=11. It is known that 11 unit squares cannot be packed in a square of side length less than 2+45≈3.789. By contrast, the tightest known packing of 11 squares is inside a square of side length approximately 3.877084 found by Walter Trump.[4][6]

The smallest case where the best known packing involves squares at three different angles is n=17. It was discovered in 1998 by John Bidwell, an undergraduate student at the University of Hawaiʻi, and has side length a≈4.6756.[4]

A mutilated chessboard, an optimal packing for Template:Math squares

Below are the minimum solutions for values up to n=16; the case n=11 remains unresolved.[7]

Number of unit squares n Minimal side length a of big square
1 1
2, 3, 4 2
5 2+22≈2.707…
6, 7, 8, 9 3
10 3+22≈3.707…
11 3.877... ?
12, ..., 16 4

Some numbers of unit squares are never the optimal number in a packing. In particular, if a square of size a×a allows the packing of n2−2 unit squares, then it must be the case that a≥n and that a packing of n2 unit squares is also possible.[2]

Asymptotic results

Template:Unsolved

For larger values of the side length a, the exact number of unit squares that can pack an a×a square remains unknown. It is always possible to pack a ⌊a⌋×⌊a⌋ grid of axis-aligned unit squares, but this may leave a large area, approximately 2a(a−⌊a⌋), uncovered and wasted.[4] Instead, Paul Erdős and Ronald Graham showed that for a different packing by tilted unit squares, the wasted space could be significantly reduced to O(a7/11)⊆o(a0.637) (the latter written in little o notation).[8] Later, Graham and Fan Chung further reduced the wasted space to O(a0.631),[9] and subsequent work reduced the wasted space to O(a0.625),[10] and then O(a0.6).[11] However, as Klaus Roth and Bob Vaughan proved, all solutions must waste space at least Ω((a⋅|a−round⁡a|)1/2). In particular, when a is a half-integer, the wasted space is at least proportional to its square root.[12] The precise asymptotic growth rate of the wasted space, even for half-integer side lengths, remains an open problem.[1]

In a circle

Square packing in a circle is a related problem of packing n unit squares into a circle with radius as small as possible. For this problem, good solutions are known for n up to 35. Here are the minimum known solutions for up to n=12 (although only the cases n=1,2 and n=4 are known to be optimal):[13]

Number of squares Circle radius
1 2/2≈0.707…
2 5/2≈1.118…
3 517/16≈1.288…
4 2≈1.414…
5 10/2≈1.581…
6 1.688...
7 13/2≈1.802…
8 1.978...
9 1105/16≈2.077…
10 32/2≈2.121…
11 2.214...
12 5≈2.236…

In other shapes

Packing squares into other shapes can have high computational complexity: testing whether a given number of axis-parallel unit squares can fit into a given polygon is NP-complete. It remains NP-complete even for a simple polygon (with no holes) that is orthogonally convex, with axis-parallel sides, and with half-integer vertex coordinates.[14]

See also

References

Template:Reflist

Template:Packing problems