Square
Template:Short description Template:CS1 config Template:AboutTemplate:Infobox polygon In geometry, a square is a 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 sides. As with all rectangles, a square's angles are right angles (90 degrees, or [[Pi|Template:Pi]]/2 radians), making adjacent sides perpendicular. The area of a square is the side length multiplied by itself, and so in algebra, multiplying a number by itself is called squaring.
Equal squares can tile the plane edge-to-edge in the square tiling. Square tilings are ubiquitous in tiled floors and walls, graph paper, image pixels, and game boards. Square shapes are also often seen in building floor plans, origami paper, food servings, in graphic design and heraldry, and in instant photos and fine art.
The formula for the area of a square forms the basis of the calculation of area and motivates the search for methods for squaring the circle by compass and straightedge, now known to be impossible. Squares can be inscribed in any smooth or convex curve such as a circle or triangle, but it remains unsolved whether a square can be inscribed in every simple closed curve. Several problems of squaring the square involve subdividing squares into unequal squares. Mathematicians have also studied packing squares as tightly as possible into other shapes.
Squares can be constructed by straightedge and compass, through their Cartesian coordinates, or by repeated multiplication by <math>i</math> in the complex plane. They form the metric balls for taxicab geometry and Chebyshev distance, two forms of non-Euclidean geometry. Although spherical geometry and hyperbolic geometry both lack polygons with four equal sides and right angles, they have square-like regular polygons with four sides and other angles, or with right angles and different numbers of sides.
Definitions and characterizationsEdit
Squares can be defined or characterized in many equivalent ways. If a polygon in the Euclidean plane satisfies any one of the following criteria, it satisfies all of them:
- A square is a polygon with four equal sides and four right angles; that is, it is a quadrilateral that is both a rhombus and a rectangle<ref name=zalgri/>
- A square is a rectangle with four equal sides.<ref name=zalgri>Template:Cite book</ref>
- A square is a rhombus with a right angle between a pair of adjacent sides.<ref name=zalgri/>
- A square is a rhombus with all angles equal.<ref name=zalgri/>
- A square is a parallelogram with one right angle and two adjacent equal sides.<ref name=zalgri/>
- A square is a quadrilateral where the diagonals are equal, and are the perpendicular bisectors of each other. That is, it is a rhombus with equal diagonals.<ref>{{#invoke:citation/CS1|citation
|CitationClass=web }}</ref>
- A square is a quadrilateral with successive sides <math>a</math>, <math>b</math>, <math>c</math>, <math>d</math> whose area is<ref>Template:Cite book</ref> <math display=block>A=\frac14(a^2+b^2+c^2+d^2).</math>
Squares are the only regular polygons whose internal angle, central angle, and external angle are all equal (they are all right angles).<ref name=rich/>
PropertiesEdit
A square is a special case of a rhombus (equal sides, opposite equal angles), a kite (two pairs of adjacent equal sides), a trapezoid (one pair of opposite sides parallel), a parallelogram (all opposite sides parallel), a quadrilateral or tetragon (four-sided polygon), and a rectangle (opposite sides equal, right-angles),<ref name=zalgri/> and therefore has all the properties of all these shapes, namely:
- All four internal angles of a square are equal (each being 90°, a right angle).<ref name=rich/><ref name=godsid>Template:Cite book</ref>
- The central angle of a square is equal to 90°.<ref name=rich>Template:Cite book</ref>
- The external angle of a square is equal to 90°.<ref name=rich/>
- The diagonals of a square are equal and bisect each other, meeting at 90°.<ref name=godsid/>
- The diagonals of a square bisect its internal angles, forming adjacent angles of 45°.<ref>Template:Cite book</ref>
- All four sides of a square are equal.Template:Sfnp
- Opposite sides of a square are parallel.Template:Sfnp
All squares are similar to each other, meaning they have the same shape.<ref>Template:Cite book Workbook accompanying Project Mathematics! Ep. 1: "Similarity" (Video).</ref> One parameter (typically the length of a side or diagonal)<ref>Template:Cite book</ref> suffices to specify a square's size. Squares of the same size are congruent.<ref>Template:Cite book</ref>
MeasurementEdit
A square whose four sides have length <math>\ell </math> has perimeterTemplate:Sfnp <math>P=4\ell</math> and diagonal length <math>d=\sqrt2\ell</math>.Template:Sfnp The square root of 2, appearing in this formula, is irrational, meaning that it is not the ratio of any two integers. It is approximately equal to 1.414,<ref>Template:Cite book</ref> and its approximate value was already known in Babylonian mathematics.<ref>Template:Cite journal</ref> A square's area isTemplate:Sfnp <math display="block">A=\ell^2=\tfrac12 d^2.</math> This formula for the area of a square as the second power of its side length led to the use of the term squaring to mean raising any number to the second power.<ref>Template:Cite book</ref> Reversing this relation, the side length of a square of a given area is the square root of the area. Squaring an integer, or taking the area of a square with integer sides, results in a square number; these are figurate numbers representing the numbers of points that can be arranged into a square grid.Template:Sfnp
Since four squared equals sixteen, a four by four square has an area equal to its perimeter. That is, it is an equable shape. The only other equable integer rectangle is a three by six rectangle.<ref>Template:Cite book</ref>
Because it is a regular polygon, a square is the quadrilateral of least perimeter enclosing a given area. Dually, a square is the quadrilateral containing the largest area within a given perimeter.<ref>Page 147 of Template:Cite book</ref> Indeed, if A and P are the area and perimeter enclosed by a quadrilateral, then the following isoperimetric inequality holds: <math display="block">16A\le P^2</math> with equality if and only if the quadrilateral is a square.<ref>Template:Cite journal</ref>Template:Sfnp
SymmetryEdit
{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}} The square is the most symmetrical of the quadrilaterals.<ref name=berger/> Eight rigid transformations of the plane take the square to itself:<ref name=miller>Template:Cite journal</ref>
For an axis-parallel square centered at the origin, each symmetry acts by a combination of negating and swapping the Cartesian coordinates of points.<ref name=ers>Template:Cite conference</ref> The symmetries permute the eight isosceles triangles between the half-edges and the square's center (which stays in place); any of these triangles can be taken as the fundamental region of the transformations.<ref>Template:Cite book</ref> Each two vertices, each two edges, and each two half-edges are mapped one to the other by at least one symmetry (exactly one for half-edges).<ref name=berger>Template:Cite book</ref> All regular polygons also have these properties,<ref>Template:Cite book</ref> which are expressed by saying that symmetries of a square and, more generally, a regular polygon act transitively on vertices and edges, and simply transitively on half-edges.<ref>Template:Cite book</ref>
Combining any two of these transformations by performing one after the other continues to take the square to itself, and therefore produces another symmetry. Repeated rotation produces another rotation with the summed rotation angle. Two reflections with the same axis return to the identity transformation, while two reflections with different axes rotate the square. A rotation followed by a reflection, or vice versa, produces a different reflection. This composition operation gives the eight symmetries of a square the mathematical structure of a group, called the group of the square or the dihedral group of order eight.<ref name=miller/> Other quadrilaterals, like the rectangle and rhombus, have only a subgroup of these symmetries.<ref>Template:Cite book</ref><ref>Template:Cite journal</ref>
The shape of a square, but not its size, is preserved by similarities of the plane.<ref>Template:Cite journal</ref> Other kinds of transformations of the plane can take squares to other kinds of quadrilateral. An affine transformation can take a square to any parallelogram, or vice versa;<ref>Template:Cite journal</ref> a projective transformation can take a square to any convex quadrilateral, or vice versa.<ref>Template:Cite book Reprinted, Dover Books, 2008, Template:Isbn</ref> This implies that, when viewed in perspective, a square can look like any convex quadrilateral, or vice versa.<ref>Template:Cite book</ref> A Möbius transformation can take the vertices of a square (but not its edges) to the vertices of a harmonic quadrilateral.<ref>Template:Cite book</ref>
The wallpaper groups are symmetry groups of two-dimensional repeating patterns. For many of these groups the basic unit of repetition (the unit cell of its period lattice) can be a square, and for three of these groups, p4, p4m, and p4g, it must be a square.<ref>Template:Cite journal</ref> Template:Bi
Inscribed and circumscribed circlesEdit
The inscribed circle of a square is the largest circle that can fit inside that square. Its center is the center point of the square, and its radius (the inradius of the square) is <math>r=\ell/2</math>. Because this circle touches all four sides of the square (at their midpoints), the square is a tangential quadrilateral. The circumscribed circle of a square passes through all four vertices, making the square a cyclic quadrilateral. Its radius, the circumradius, is <math>R=\ell/\sqrt2</math>.Template:Sfnp If the inscribed circle of a square <math>ABCD</math> has tangency points <math>E</math> on <math>AB</math>, <math>F</math> on <math>BC</math>, <math>G</math> on <math>CD</math>, and <math>H</math> on <math>DA</math>, then for any point <math>P</math> on the inscribed circle,<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><math display=block> 2(PH^2-PE^2) = PD^2-PB^2.</math> If <math>d_i</math> is the distance from an arbitrary point in the plane to the Template:Nowrap vertex of a square and <math>R</math> is the circumradius of the square, then<ref>Template:Cite journal</ref><math display=block>\frac{d_1^4+d_2^4+d_3^4+d_4^4}{4} + 3R^4 = \left(\frac{d_1^2+d_2^2+d_3^2+d_4^2}{4} + R^2\right)^2.</math> If <math>L</math> and <math>d_i</math> are the distances from an arbitrary point in the plane to the centroid of the square and its four vertices respectively, then <math display=block>d_1^2 + d_3^2 = d_2^2 + d_4^2 = 2(R^2+L^2)</math> and <math display=block> d_1^2d_3^2 + d_2^2d_4^2 = 2(R^4+L^4), </math> where <math>R</math> is the circumradius of the square.<ref name=Mamuka >Template:Cite journal</ref>
ApplicationsEdit
Template:Multiple image Squares are so well-established as the shape of tiles that the Latin word tessera, for a small tile as used in mosaics, comes from an ancient Greek word for the number four, referring to the four corners of a square tile.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Graph paper, preprinted with a square tiling, is widely used for data visualization using Cartesian coordinates.<ref>Template:Cite journal</ref> The pixels of bitmap images, as recorded by image scanners and digital cameras or displayed on electronic visual displays, conventionally lie at the intersections of a square grid, and are often considered as small squares, arranged in a square tiling.<ref>Template:Cite book</ref><ref>Template:Cite tech report</ref> Standard techniques for image compression and video compression, including the JPEG format, are based on the subdivision of images into larger square blocks of pixels.<ref>Template:Cite book</ref> The quadtree data structure used in data compression and computational geometry is based on the recursive subdivision of squares into smaller squares.<ref>Template:Cite book</ref>
Architectural structures from both ancient and modern cultures have featured a square floor plan, base, or footprint. Ancient examples include the Egyptian pyramids,<ref>Template:Cite journal</ref> Mesoamerican pyramids such as those at Teotihuacan,<ref>Template:Cite journal</ref> the Chogha Zanbil ziggurat in Iran,<ref>Template:Cite journal</ref> the four-fold design of Persian walled gardens, said to model the four rivers of Paradise, and later structures inspired by their design such as the Taj Mahal in India,<ref>Template:Cite journal</ref> the square bases of Buddhist stupas,<ref>Template:Cite journal</ref> and East Asian pagodas, buildings that symbolically face to the four points of the compass and reach to the heavens.<ref>Template:Cite journal</ref> Norman keeps such as the Tower of London often take the form of a low square tower.<ref>Template:Cite journal See p. 213.</ref> In modern architecture, a majority of skyscrapers feature a square plan for pragmatic rather than aesthetic or symbolic reasons.<ref>Template:Cite thesis See in particular pp. 88–90</ref>
Template:Multiple image The stylized nested squares of a Tibetan mandala, like the design of a stupa, function as a miniature model of the cosmos.<ref>Template:Cite journal</ref> Some formats for film photography use a square aspect ratio, notably Polaroid cameras, medium format cameras, and Instamatic cameras.<ref>Template:Cite journal</ref><ref>Template:Cite book</ref> Painters known for their frequent use of square frames and forms include Josef Albers,<ref>Template:Cite conference</ref> Kazimir Malevich<ref>Template:Cite journal</ref> and Piet Mondrian.<ref>Template:Cite journal</ref>
Baseball diamonds<ref>Template:Cite journal See p. 339.</ref> and boxing rings are square despite being named for other shapes.<ref>Template:Cite book</ref> In the quadrille and square dance, four couples form the sides of a square.<ref>Template:Cite journal</ref> In Samuel Beckett's minimalist television play Quad, four actors walk along the sides and diagonals of a square.<ref>Template:Cite book</ref>
Template:Multiple image The square go board is said to represent the earth, with the 361 crossings of its lines representing days of the year.<ref>Template:Cite book See page 472.</ref> The chessboard inherited its square shape from a pachisi-like Indian race game and in turn passed it on to checkers.<ref>Template:Cite journal</ref> In two ancient games from Mesopotamia and Ancient Egypt, the Royal Game of Ur and Senet, the game board itself is not square, but rectangular, subdivided into a grid of squares.<ref>Template:Cite book</ref> The ancient Greek Ostomachion puzzle (according to some interpretations) involves rearranging the pieces of a square cut into smaller polygons, as does the Chinese tangram.<ref>Template:Cite journal</ref> Another set of puzzle pieces, the polyominos, are formed from squares glued edge-to-edge.<ref>Template:Cite book</ref> Medieval and Renaissance horoscopes were arranged in a square format, across Europe, the Middle East, and China.<ref>Template:Cite book</ref> Other recreational uses of squares include the shape of origami paper,<ref>Template:Cite journal</ref> and a common style of quilting involving the use of square quilt blocks.<ref>Template:Cite journal</ref>
Template:Multiple image Squares are a common element of graphic design, used to give a sense of stability, symmetry, and order.<ref>Template:Cite book</ref> In heraldry, a canton (a design element in the top left of a shield) is normally square, and a square flag is called a banner.<ref>Template:Cite book</ref> The flag of Switzerland is square, as are the flags of the Swiss cantons.<ref>Template:Cite book</ref> QR codes are square and feature prominent nested square alignment marks in three corners.<ref>Template:Cite book See especially Section 2.1, Appearance, pp. 341–342.</ref> Robertson screws have a square drive socket.<ref>Template:Cite book</ref> Crackers and sliced cheese are often square,<ref>Template:Cite book</ref> as are waffles.<ref>Template:Cite book</ref><ref>Template:Cite book</ref> Square foods named for their square shapes include caramel squares, date squares, lemon squares,<ref>Template:Cite book Caramel squares and date squares, p. 134; lemon squares, p. 104.</ref> square sausage,<ref>Template:Cite book</ref> and Carré de l'Est cheese.<ref>Template:Cite book</ref>
ConstructionsEdit
Coordinates and equationsEdit
A unit square is a square of side length one. Often it is represented in Cartesian coordinates as the square enclosing the points <math>(x,y)</math> that have <math>0\le x\le 1</math> and <math>0\le y\le 1</math>. Its vertices are the four points that have 0 or 1 in each of their coordinates.<ref>Template:Cite book</ref>
An axis-parallel square with its center at the point <math>(x_c,y_c)</math> and sides of length <math>2r</math> (where <math>r</math> is the inradius, half the side length) has vertices at the four points <math>(x_c\pm r,y_c\pm r)</math>. Its interior consists of the points <math>(x,y)</math> with <math>\max(|x-x_c|,|y-y_c|) < r</math>, and its boundary consists of the points with <math>\max(|x-x_c|,|y-y_c|)=r</math>.<ref name=iobst>Template:Cite journal</ref>
A diagonal square with its center at the point <math>(x_c,y_c)</math> and diagonal of length <math>2R</math> (where <math>R</math> is the circumradius, half the diagonal) has vertices at the four points <math>(x_c\pm R,y_c)</math> and <math>(x_c,y_c\pm R)</math>. Its interior consists of the points <math>(x,y)</math> with <math>|x-x_c|+|y-y_c|<R</math>, and its boundary consists of the points with <math>|x-x_c|+|y-y_c|=R</math>.<ref name=iobst/> For instance the illustration shows a diagonal square centered at the origin <math>(0,0)</math> with circumradius 2, given by the equation <math>|x|+|y|=2</math>.
In the plane of complex numbers, multiplication by the imaginary unit <math>i</math> rotates the other term in the product by 90° around the origin (the number zero). Therefore, if any nonzero complex number <math>p</math> is repeatedly multiplied by <math>i</math>, giving the four numbers <math>p</math>, <math>ip</math>, <math>-p</math>, and <math>-ip</math>, these numbers will form the vertices of a square centered at the origin.<ref>Template:Citation</ref> If one interprets the real part and imaginary part of these four complex numbers as Cartesian coordinates, with <math>p=x+iy</math>, then these four numbers have the coordinates <math>(x,y)</math>, <math>(-y,x)</math>, <math>(-x,-y)</math>, and <math>(-y,-x)</math>.<ref>Template:Cite book</ref> This square can be translated to have any other complex number <math>c</math> is center, using the fact that the translation from the origin to <math>c</math> is represented in complex number arithmetic as addition with <math>c</math>.<ref name=numberverse/> The Gaussian integers, complex numbers with integer real and imaginary parts, form a square lattice in the complex plane.<ref name=numberverse>Template:Cite book</ref>
Compass and straightedgeEdit
The construction of a square with a given side, using a compass and straightedge, is given in Euclid's Elements I.46.<ref>Euclid's Elements, Book I, Proposition 46. Online English version by David E. Joyce.</ref> The existence of this construction means that squares are constructible polygons. A regular Template:Nowrap is constructible exactly when the odd prime factors of <math>n</math> are distinct Fermat primes,<ref>Template:Cite book</ref> and in the case of a square <math>n=4</math> has no odd prime factors so this condition is vacuously true.
Elements IV.6–7 also give constructions for a square inscribed in a circle and circumscribed about a circle, respectively.<ref>Euclid's Elements, Book IV, Proposition 6, Proposition 7. Online English version by David E. Joyce.</ref>
- Straight Square Inscribed in a Circle 240px.gif
Square with a given circumcircle
- 01-Quadrat-Seite-gegeben.gif
Square with a given side length, using Thales' theorem
- 01-Quadrat-Diagonale-gegeben.gif
Square with a given diagonal
Related topicsEdit
Template:Multiple image The Schläfli symbol of a square is {4}.<ref>Template:Cite book</ref> A truncated square is an octagon.Template:Sfnp The square belongs to a family of regular polytopes that includes the cube in three dimensions and the hypercubes in higher dimensions,Template:Sfnp and to another family that includes the regular octahedron in three dimensions and the cross-polytopes in higher dimensions.Template:Sfnp The cube and hypercubes can be given vertex coordinates that are all <math>\pm 1</math>, giving an axis-parallel square in two dimensions, while the octahedron and cross-polytopes have one coordinate <math>\pm 1</math> and the rest zero, giving a diagonal square in two dimensions.Template:Sfnp As with squares, the symmetries of these shapes can be obtained by applying a signed permutation to their coordinates.<ref name=ers/>
The Sierpiński carpet is a square fractal, with square holes.<ref>Template:Cite book</ref> Space-filling curves including the Hilbert curve, Peano curve, and Sierpiński curve cover a square as the continuous image of a line segment.<ref>Template:Cite book For the Hilbert curve, see p. 10; for the Peano curve, see p. 35; for the Sierpiński curve, see p. 51.</ref> The Z-order curve is analogous but not continuous.<ref>Template:Cite journal</ref> Other mathematical functions associated with squares include Arnold's cat map and the baker's map, which generate chaotic dynamical systems on a square,<ref>Template:Cite book </ref> and the lemniscate elliptic functions, complex functions periodic on a square grid.<ref>Template:Cite book</ref>
Inscribed squaresEdit
{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}} A square is inscribed in a curve when all four vertices of the square lie on the curve. The unsolved inscribed square problem asks whether every simple closed curve has an inscribed square. It is true for every smooth curve,<ref>Template:Cite journal</ref> and for any closed convex curve. The only other regular polygon that can always be inscribed in every closed convex curve is the equilateral triangle, as there exists a convex curve on which no other regular polygon can be inscribed.<ref>Template:Cite journal</ref>
For an inscribed square in a triangle, at least one side of the square lies on a side of the triangle. Every acute triangle has three inscribed squares, one for each of its three sides. A right triangle has two inscribed squares, one touching its right angle and the other lying on its hypotenuse. An obtuse triangle has only one inscribed square, on its longest. A square inscribed in a triangle can cover at most half the triangle's area.<ref name=gardner>Template:Cite journal</ref>
Area and quadrature Edit
Conventionally, since ancient times, most units of area have been defined in terms of various squares, typically a square with a standard unit of length as its side, for example a square meter or square inch.<ref name=Treese>Template:Cite book</ref> The area of an arbitrary rectangle can then be simply computed as the product of its length and its width, and more complicated shapes can be measured by conceptually breaking them up into unit squares or into arbitrary triangles.Template:R
In ancient Greek deductive geometry, the area of a planar shape was measured and compared by constructing a square with the same area by using only a finite number of steps with compass and straightedge, a process called quadrature or squaring. Euclid's Elements shows how to do this for rectangles, parallelograms, triangles, and then more generally for simple polygons by breaking them into triangular pieces.<ref>Euclid's Elements, Book II, Proposition 14. Online English version by David E. Joyce.</ref> Some shapes with curved sides could also be squared, such as the lune of Hippocrates<ref>Template:Cite journal</ref> and the parabola.<ref>Template:Cite journal</ref>
This use of a square as the defining shape for area measurement also occurs in the Greek formulation of the Pythagorean theorem: squares constructed on the two sides of a right triangle have equal total area to a square constructed on the hypotenuse.<ref>Euclid's Elements, Book I, Proposition 47. Online English version by David E. Joyce.</ref> Stated in this form, the theorem would be equally valid for other shapes on the sides of the triangle, such as equilateral triangles or semicircles,<ref>Euclid's Elements, Book VI, Proposition 31. Online English version by David E. Joyce.</ref> but the Greeks used squares. In modern mathematics, this formulation of the theorem using areas of squares has been replaced by an algebraic formulation involving squaring numbers: the lengths of the sides and hypotenuse of the right triangle obey the equation <math>a^2+b^2=c^2</math>.<ref>Template:Cite book</ref>
Because of this focus on quadrature as a measure of area, the Greeks and later mathematicians sought unsuccessfully to square the circle, constructing a square with the same area as a given circle, again using finitely many steps with a compass and straightedge. In 1882, the task was proven to be impossible as a consequence of the Lindemann–Weierstrass theorem. This theorem proves that pi (Template:Pi) is a transcendental number rather than an algebraic irrational number; that is, it is not the root of any polynomial with rational coefficients. A construction for squaring the circle could be translated into a polynomial formula for Template:Pi, which does not exist.<ref>Template:Cite journal</ref>
Tiling and packingEdit
{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}} Template:Multiple image The square tiling, familiar from flooring and game boards, is one of three regular tilings of the plane. The other two use the equilateral triangle and the regular hexagon.<ref>Template:Cite book</ref> The vertices of a square tiling form a square lattice.Template:Sfnp Squares of more than one size can also tile the plane,Template:Sfnp<ref>Template:Cite book</ref> for instance in the Pythagorean tiling, named for its connection to proofs of the Pythagorean theorem.<ref>Template:Cite journal</ref>
Square packing problems seek the smallest square or circle into which a given number of unit squares can fit. A chessboard optimally packs a square number of unit squares into a larger square, but beyond a few special cases such as this, the optimal solutions to these problems remain unsolved;<ref name=friedman>Template:Cite journal</ref><ref>Template:Cite journal</ref><ref>Template:Cite journal</ref> the same is true for circle packing in a square.<ref>Template:Cite book</ref> Packing squares into other shapes can have high computational complexity: testing whether a given number of unit squares can fit into an orthogonally convex rectilinear polygon with half-integer vertex coordinates is NP-complete.<ref>Template:Cite conference</ref>
Squaring the square involves subdividing a given square into smaller squares, all having integer side lengths. A subdivision with distinct smaller squares is called a perfect squared square.<ref>Template:Cite journal</ref> Another variant of squaring the square called "Mrs. Perkins's quilt" allows repetitions, but uses as few smaller squares as possible in order to make the greatest common divisor of the side lengths be 1.<ref>Template:Cite journal</ref> The entire plane can be tiled by squares, with exactly one square of each integer side length.<ref>Template:Cite journal</ref>
Template:Multiple image In higher dimensions, other surfaces than the plane can be tiled by equal squares, meeting edge-to-edge. One of these surfaces is the Clifford torus, the four-dimensional Cartesian product of two congruent circles; it has the same intrinsic geometry as a single square with each pair of opposite edges glued together.<ref>Template:Cite book</ref> Another square-tiled surface, a regular skew apeirohedron in three dimensions, has six squares meeting at each vertex.<ref>Template:Cite journal Reprinted in The Beauty of Geometry: Twelve Essays, Dover Publications, 1999, pp. 75–105.</ref> The paper bag problem seeks the maximum volume that can be enclosed by a surface tiled with two squares glued edge to edge; its exact answer is unknown.<ref>Template:Cite journal</ref> Gluing two squares in a different pattern, with the vertex of each square attached to the midpoint of an edge of the other square (or alternatively subdividing these two squares into eight squares glued edge-to-edge) produces a pincushion shape called a biscornu.<ref>Template:Cite journal</ref>
CountingEdit
{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}
A common mathematical puzzle involves counting the squares of all sizes in a square grid of <math>n\times n</math> squares. For instance, a square grid of nine squares has 14 squares: the nine squares that form the grid, four more <math>2\times 2</math> squares, and one <math>3\times 3</math> square. The answer to the puzzle is <math>n(n+1)(2n+1)/6</math>, a square pyramidal number.<ref>Template:Cite journal</ref> For <math>n=1,2,3,\dots</math> these numbers are:<ref>Template:Cite OEIS</ref>
A variant of the same puzzle asks for the number of squares formed by a grid of <math>n\times n</math> points, allowing squares that are not axis-parallel. For instance, a grid of nine points has five axis-parallel squares as described above, but it also contains one more diagonal square for a total of six.<ref>Template:Cite journal</ref> In this case, the answer is given by the 4-dimensional pyramidal numbers <math>n^2(n^2-1)/12</math>. For <math>n=1,2,3,\dots</math> these numbers are:<ref>Template:Cite OEIS</ref>
Another counting problem involving squares asks for the number of different shapes of rectangle that can be used when dividing a square into similar rectangles.<ref>Template:Cite news</ref> A square can be divided into two similar rectangles only in one way, by bisecting it, but when dividing a square into three similar rectangles there are three possible aspect ratios of the rectangles, 3:1, 3:2, and the square of the plastic ratio. The number of proportions that are possible when dividing into <math>n</math> rectangles is known for small values of <math>n</math>, but not as a general formula. For <math>n=1,2,3,\dots</math> these numbers are:<ref>Template:Cite OEIS</ref>
Other geometriesEdit
Template:Multiple image Template:Multiple image
In the familiar Euclidean geometry, space is flat, and every convex quadrilateral has internal angles summing to 360°, so a square (a regular quadrilateral) has four equal sides and four right angles (each 90°). By contrast, in spherical geometry and hyperbolic geometry, space is curved and the internal angles of a convex quadrilateral never sum to 360°, so quadrilaterals with four right angles do not exist. Both of these geometries have regular quadrilaterals, with four equal sides and four equal angles, often called squares,<ref name=maraner/> but some authors avoid that name because they lack right angles. These geometries also have regular polygons with right angles, but with numbers of sides different from four.<ref name=singer/>
In spherical geometry, space has uniform positive curvature, and every convex quadrilateral (a polygon with four great-circle arc edges) has angles whose sum exceeds 360° by an amount called the angular excess, proportional to its surface area. Small spherical squares are approximately Euclidean, and larger squares' angles increase with area.<ref name=maraner>Template:Cite journal See paragraph about spherical squares, p. 48.</ref> One special case is the face of a spherical cube with four 120° angles, covering one sixth of the sphere's surface.<ref>Template:Cite book</ref> Another is a hemisphere, the face of a spherical square dihedron, with four straight angles; the Peirce quincuncial projection for world maps conformally maps two such faces to Euclidean squares.<ref>Template:Cite journal</ref> An octant of a sphere is a regular spherical triangle, with three equal sides and three right angles; eight of them tile the sphere, with four meeting at each vertex, to form a spherical octahedron.<ref>Template:Cite book</ref> A spherical lune is a regular digon, with two semicircular sides and two equal angles at antipodal vertices; a right-angled lune covers one quarter of the sphere, one face of a four-lune hosohedron.<ref>Template:Cite journal</ref>
In hyperbolic geometry, space has uniform negative curvature, and every convex quadrilateral has angles whose sum falls short of 360° by an amount called the angular defect, proportional to its surface area. Small hyperbolic squares are approximately Euclidean, and larger squares' angles decrease with increasing area. Special cases include the squares with angles of Template:Math for every value of Template:Mvar larger than Template:Math, each of which can tile the hyperbolic plane.<ref name=singer/> In the infinite limit, an ideal square has four sides of infinite length and four vertices at ideal points outside the hyperbolic plane, with Template:Math internal angles;<ref>Template:Cite book</ref> an ideal square, like every ideal quadrilateral, has finite area proportional to its angular defect of Template:Math.<ref>Template:Cite journal</ref> It is also possible to make a regular hyperbolic polygon with right angles at every vertex and any number of sides greater than four; such polygons can uniformly tile the hyperbolic plane, dual to the tiling with Template:Mvar squares about each vertex.<ref name=singer>Template:Cite book</ref>
The Euclidean plane can be defined in terms of the real coordinate plane by adoption of the Euclidean distance function, according to which the distance between any two points <math>(x_1,y_1)</math> and <math>(x_2,y_2)</math> is <math>\textstyle \sqrt{(x_1-x_2)^2+(y_1-y_2)^2}</math>. Other metric geometries are formed when a different distance function is adopted instead, and in some of these geometries shapes that would be Euclidean squares become the "circles" (set of points of equal distance from a center point). Squares tilted at 45° to the coordinate axes are the circles in taxicab geometry, based on the <math>L_1</math> distance <math>|x_1-x_2|+|y_1-y_2|</math>. The points with taxicab distance <math>d</math> from any given point form a diagonal square, centered at the given point, with diagonal length <math>2d</math>. In the same way, axis-parallel squares are the circles for the <math>L_{\infty}</math> or Chebyshev distance, <math>\max(|x_1-x_2|,|y_1-y_2|)</math>. In this metric, the points with distance <math>d</math> from some point form an axis-parallel square, centered at the given point, with side length <math>2d</math>.<ref>Template:Cite journal</ref><ref>Template:Cite journal</ref><ref>Template:Cite book</ref>
See alsoEdit
- Finsler–Hadwiger theorem on a square derived from two squares sharing a vertex
- Midsquare quadrilateral, a polygon whose edge midpoints form a square
- Monsky's theorem, on subdividing a square into an odd number of equal-area triangles
- Square planar molecular geometry, chemical structure with atoms at the corners of a square
- Square trisection, a problem of cutting and reassembling one square into three squares
- Squircle, a shape intermediate between a square and a circle
- Tarski's circle-squaring problem, dividing a disk into sets that can be rearranged into a square
- Van Aubel's theorem and Thébault's theorem, on squares placed on the sides of a quadrilateral
ReferencesEdit
Template:Sister project Template:Polytopes {{#invoke:Navbox|navbox}}