Square packing is a
packing problem
Packing problems are a class of optimization problems in mathematics that involve attempting to pack objects together into containers. The goal is to either pack a single container as densely as possible or pack all objects using as few conta ...
where the objective is to determine how many congruent
square
In geometry, a square is a regular polygon, regular quadrilateral. It has four straight sides of equal length and four equal angles. Squares are special cases of rectangles, which have four equal angles, and of rhombuses, which have four equal si ...
s 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 square
In mathematics, a unit square is a square whose sides have length . Often, ''the'' unit square refers specifically to the square in the Cartesian plane with corners at the four points ), , , and .
Cartesian coordinates
In a Cartesian coordinat ...
s (squares of side length one) that can be packed inside a larger square of side length
. If
is an
integer
An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
, the answer is
but the precise – or even
asymptotic
In analytic geometry, an asymptote () of a curve is a line such that the distance between the curve and the line approaches zero as one or both of the ''x'' or ''y'' coordinates Limit of a function#Limits at infinity, tends to infinity. In pro ...
– amount of unfilled space for an arbitrary non-integer
is an open question.
The smallest value of
that allows the packing of
unit squares is known when
is a perfect square (in which case it is
), as well as for
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
is
, where
is the
ceiling
A ceiling is an overhead interior roof that covers the upper limits of a room. It is not generally considered a structural element, but a finished surface concealing the underside of the roof structure or the floor of a story above. Ceilings can ...
(round up) function.
[
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.]
The smallest unresolved case is . It is known that 11 unit squares cannot be packed in a square of side length less than . By contrast, the tightest known packing of 11 squares is inside a square of side length approximately 3.877084 found by Walter Trump.
The smallest case where the best known packing involves squares at three different angles is . It was discovered in 1998 by John Bidwell, an undergraduate student at the University of Hawaiʻi
The University of Hawaiʻi System is a public college and university system in Hawaii. The system confers associate, bachelor's, master's, and doctoral degrees through three universities, seven community colleges, an employment training center, ...
, and has side length .
Below are the minimum solutions for values up to ; the case remains unresolved:
Asymptotic results
For larger values of the side length , the exact number of unit squares that can pack an square remains unknown.
It is always possible to pack a grid of axis-aligned unit squares,
but this may leave a large area, approximately , uncovered and wasted.
Instead, Paul Erdős
Paul Erdős ( ; 26March 191320September 1996) was a Hungarian mathematician. He was one of the most prolific mathematicians and producers of mathematical conjectures of the 20th century. pursued and proposed problems in discrete mathematics, g ...
and Ronald Graham
Ronald Lewis Graham (October 31, 1935July 6, 2020) was an American mathematician credited by the American Mathematical Society as "one of the principal architects of the rapid development worldwide of discrete mathematics in recent years". He ...
showed that for a different packing by tilted unit squares, the wasted space could be significantly reduced to (here written in little o notation).
Later, Graham and Fan Chung further reduced the wasted space to .
However, as Klaus Roth
Klaus Friedrich Roth (29 October 1925 – 10 November 2015) was a German-born British mathematician who won the Fields Medal for proving Roth's theorem on the Diophantine approximation of algebraic numbers. He was also a winner of the De ...
and Bob Vaughan
Robert Charles "Bob" Vaughan FRS (born 24 March 1945) is a British mathematician, working in the field of analytic number theory.
Life
Vaughan was born 24 March 1945. He read mathematics at University College London, earning a bachelor's degre ...
proved, all solutions must waste space at least . In particular, when is a half-integer
In mathematics, a half-integer is a number of the form
n + \tfrac,
where n is an integer. For example,
4\tfrac12,\quad 7/2,\quad -\tfrac,\quad 8.5
are all ''half-integers''. The name "half-integer" is perhaps misleading, as each integer n is its ...
, the wasted space is at least proportional to its square root
In mathematics, a square root of a number is a number such that y^2 = x; in other words, a number whose ''square'' (the result of multiplying the number by itself, or y \cdot y) is . For example, 4 and −4 are square roots of 16 because 4 ...
. The precise asymptotic growth rate of the wasted space, even for half-integer side lengths, remains an open problem
In science and mathematics, an open problem or an open question is a known problem which can be accurately stated, and which is assumed to have an objective and verifiable solution, but which has not yet been solved (i.e., no solution for it is kno ...
.[
Some numbers of unit squares are never the optimal number in a packing. In particular,
if a square of size allows the packing of unit squares, then it must be the case that
and that a packing of unit squares is also possible.]
In a circle
Square packing in a circle is a related problem of packing ''n'' unit squares into a circle
A circle is a shape consisting of all point (geometry), points in a plane (mathematics), plane that are at a given distance from a given point, the Centre (geometry), centre. The distance between any point of the circle and the centre is cal ...
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 (although only the cases and are known to be optimal):
In other shapes
Packing squares into other shapes can have high computational complexity
In computer science, the computational complexity or simply complexity of an algorithm is the amount of resources required to run it. Particular focus is given to computation time (generally measured by the number of needed elementary operations ...
: testing whether a given number of axis-parallel unit squares can fit into a given polygon
In geometry, a polygon () is a plane figure made up of line segments connected to form a closed polygonal chain.
The segments of a closed polygonal chain are called its '' edges'' or ''sides''. The points where two edges meet are the polygon ...
is NP-complete
In computational complexity theory, NP-complete problems are the hardest of the problems to which ''solutions'' can be verified ''quickly''.
Somewhat more precisely, a problem is NP-complete when:
# It is a decision problem, meaning that for any ...
. It remains NP-complete even for a simple polygon
In geometry, a simple polygon is a polygon that does not Intersection (Euclidean geometry), intersect itself and has no holes. That is, it is a Piecewise linear curve, piecewise-linear Jordan curve consisting of finitely many line segments. The ...
(with no holes) that is orthogonally convex, with axis-parallel sides, and with half-integer
In mathematics, a half-integer is a number of the form
n + \tfrac,
where n is an integer. For example,
4\tfrac12,\quad 7/2,\quad -\tfrac,\quad 8.5
are all ''half-integers''. The name "half-integer" is perhaps misleading, as each integer n is its ...
vertex coordinates.
See also
* Circle packing in a square
*Squaring the square
Squaring the square is the problem of tessellation, tiling an integral square using only other integral squares. (An integral square is a square (geometry), square whose sides have integer length.) The name was coined in a humorous analogy with sq ...
* Rectangle packing
* Moving sofa problem
References
External links
*
{{Packing_problems
Packing problems
Unsolved problems in geometry