Square | |
---|---|
![]() | |
Type | |
Edges and vertices | 4 |
Symmetry group | order-8 dihedral |
Area | side2 |
Internal angle (degrees) | π/2 (90°) |
Perimeter | 4 · side |
In geometry, a square is a regular quadrilateral, which means that 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 π/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 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.
Squares can be defined in many equivalent ways. If a quadrilateral (a four-sided polygon in the Euclidean plane) satisfies any one of the following definitions, it satisfies all of them:
Squares are the only regular polygons whose internal angle, central angle, and external angle are all equal (they are all right angles). [4]
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), [1] and therefore has all the properties of all these shapes, namely:
All squares are similar to each-other, meaning they have the same shape, [9] and one parameter (typically the length of a side or diagonal) [10] suffices to specify a square's size; squares of the same size are congruent. [11]
A square whose four sides have length has perimeter [12] and diagonal length . [13] (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. [14] ) A square's area is [13] 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. [15] 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. [16]
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 integer rectangle with such a property is a three by six rectangle. [17]
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. [18] Indeed, if A and P are the area and perimeter enclosed by a quadrilateral, then the following isoperimetric inequality holds: with equality if and only if the quadrilateral is a square. [19] [20]
The square is the most symmetrical of the quadrilaterals. Like all regular polygons, it is an isogonal figure, meaning that it has symmetries taking every vertex to every other vertex, and an isotoxal figure, meaning that it has symmetries taking every edge to every other edge. More strongly, the symmetries of the square and of any other regular polygon act transitively on the flags of the polygon, pairs of a vertex and edge that touch each other. This means that there is a symmetry taking each of the eight flags of the square to each other flag. [22]
There are eight congruence transformations of the plane that take the square to itself: [23]
Combining any two of these transformations by performing one after the other produces another symmetry. This operation on pairs of symmetries gives the eight symmetries of a square the mathematical structure of a point group, the dihedral group of order eight. [23]
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. [24]
The inscribed circle of a square is the largest circle that can fit inside that square. Its center is at the center point of the square, and its radius (the inradius of the square) has length . The inscribed circle touches the sides of the square at their midpoints; because it touches all four sides, the square is a tangential quadrilateral. The circumscribed circle of a square is the circle passing through the four vertices, making the square a cyclic quadrilateral. Its radius, known as the circumradius, has length . [25] If the inscribed circle of a square has tangency points on , on , on , and on , then for any point on the inscribed circle, [26] If is the distance from an arbitrary point in the plane to the th vertex of a square and is the circumradius of the square, then [27] If and are the distances from an arbitrary point in the plane to the centroid of the square and its four vertices respectively, then and where is the circumradius of the square. [28]
Squares are so well-established as the shape of tiles that the Latin word tessera, for a small tile as used in mosaics, takes its derivation from a variant of the ancient Greek word for the number four, referring to the four corners of a square tile. [29] Graph paper, preprinted with a square tiling, has been widely used for data visualization using Cartesian coordinates [30] since its invention in 1794. [31] 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. [32] [33] Many 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. [34] The quadtree data structure used in data compression and computational geometry is based on the recursive subdivision of squares into smaller squares. [35]
Many architectural structures from both ancient and modern cultures have featured a square floor plan, base, or footprint. Ancient examples include the Egyptian pyramids, [36] Mesoamerican pyramids such as those at Teotihuacan, [37] the Chogha Zanbil ziggurat in what is now Iran, [38] 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, [39] the square bases of many Buddhist stupas, [40] and East Asian pagodas, buildings that symbolically face to the four points of the compass and reach to the heavens. [41] Norman keeps such as the Tower of London often take the form of a low square tower. [42] In modern architecture, a majority of skyscrapers feature a square plan for pragmatic rather than aesthetic or symbolic reasons. [43]
On a smaller scale, the stylized nested squares of a Tibetan mandala, like the design of a stupa, function as a miniature model of the cosmos. [44] Some formats for film photography use a square aspect ratio, notably many Polaroid cameras, medium format cameras, and Kodak Instamatic cameras. [45] [46] Artists whose works have used square frames and forms include Josef Albers, [47] Kazimir Malevich [48] and Piet Mondrian. [49]
Baseball diamonds [50] and modern boxing rings are square despite being named for other shapes. [51] The square go board is said to represent the earth, with the 361 crossings of its lines representing days of the year. [52] The chessboard inherited its square shape from a pachisi-like Indian race game and in turn passed it on to checkers. [53] 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. [54] 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. [55] Another set of puzzle pieces, the polyominos, are formed from squares glued edge-to-edge. [56] Medieval and Renaissance horoscopes were often arranged in a square format, across Europe, the Middle East, and China. [57] Other recreational uses of squares include the shape of origami paper, [58] and a common style of quilting involving the use of square quilt blocks. [59]
Squares are a common element of graphic design, often used to give a sense of stability, symmetry, and order. [60] 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. [61] The flag of Switzerland is square, as are the flags of the Swiss cantons. [62] QR codes are square and feature prominent nested square alignment marks in three corners. [63] Robertson screws have a square drive socket. [64] Crackers and sliced cheese are often square, [65] as are waffles. [66] [67] Square foods named for their square shapes include caramel squares, date squares, lemon squares, [68] square sausage, [69] and Carré de l'Est cheese. [70]
A unit square is a square of side length one. Often it is represented in Cartesian coordinates as the square enclosing the points that have and . [71]
An axis-parallel square with its center at the point and sides of length (where is the inradius, half the side length) has vertices at the four points . Its interior consists of the points with , and its boundary consists of the points with . [72]
A diagonal square with its center at the point and diagonal of length (where is the circumradius, half the diagonal) has vertices at the four points and . Its interior consists of the points with , and its boundary consists of the points with . [72] For instance the illustration shows a diagonal square centered at the origin with circumradius 2, given by the equation .
In the plane of complex numbers, multiplication by the imaginary unit rotates the other term in the product by 90° around the origin (the number zero). Therefore, if any nonzero complex number is repeatedly multiplied by , giving the four numbers , , , and , these numbers will form the vertices of a square centered at the origin. [73] If one interprets the real part and imaginary part of these four complex numbers as Cartesian coordinates, with , then these four numbers have the coordinates , , , and . [74] Addition of complex numbers corresponds to translation of the complex plane, [75] so this origin-centered square can be translated to have any other center by adding the complex number to each of its four vertices. Alternately, taking the origin and the complex number as two of its vertices, a square can be formed of the vertices .[ original research? ][ citation needed ]
The Gaussian integers, complex numbers with integer real and imaginary parts, form a square lattice in the complex plane. [75] If a square's vertices are all Gaussian integers, they can be written as , in terms of the center and half-diagonal , which will either both be Gaussian integers or both be Gaussian integers offset by (that is, complex numbers of the form , for integers and ). Alternately, the vertices can be written as , in terms of a Gaussian integer representing the position of one vertex and another Gaussian integer representing a side.[ original research? ][ citation needed ]
The construction of a square with a given side, using a compass and straightedge, is given in Euclid's Elements I.46. [76] The existence of this construction means that squares are constructible polygons. A regular -gon is constructible exactly when the odd prime factors of are distinct Fermat primes, [77] and in the case of a square 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. [78]
Because a square is a convex regular polygon with four sides, its Schläfli symbol is {4}. [79] A truncated square is an octagon. [80] The square is part of two infinite families of regular polytopes, one family which includes the cube in three dimensions and the hypercubes in higher dimensions, [81] and another which includes the regular octahedron in three dimensions and the cross polytopes in higher dimensions. [82] The cube and hypercubes can be given vertex coordinates that are all , while the octahedron and cross polytopes can be given vertex coordinates that are in a single dimension and zero in all other dimensions. In two dimensions, the first system of coordinates produces an axis-parallel square, while the second system of coordinates produces a diagonal square. [83]
The Sierpiński carpet is a square fractal, with square holes. [84] Space-filling curves including the Hilbert curve, Peano curve, and Sierpiński curve cover a square as the continuous image of a line segment. [85] The Z-order curve is analogous but not continuous. [86] Other mathematical functions associated with squares include Arnold's cat map and the baker's map, which generate chaotic dynamical systems on a square, [87] and the lemniscate elliptic functions, complex functions periodic on a square grid. [88]
A square is said to be inscribed in a curve whenever all four vertices of the square lie on the curve. It is an unsolved problem in mathematics, the inscribed square problem, whether every simple closed curve has an inscribed square. Some cases of this problem are known to be true; for instance, it is true for every smooth curve. [90] For instance, a square can be inscribed on any circle, which becomes its circumscribed circle. As another special case of the inscribed square problem, a square can be inscribed on the boundary of any convex set. The only other regular polygon with this property is the equilateral triangle. More strongly, there exists a convex set on which no other regular polygon can be inscribed. [91]
For an inscribed square in a triangle, at least one of the square's sides lies on a side of the triangle. Every acute triangle has three inscribed squares, one lying on each of its three sides. In a right triangle there are two inscribed squares, one touching the right angle of the triangle and the other lying on the opposite side. An obtuse triangle has only one inscribed square, with a side coinciding with part of the triangle's longest side. An inscribed square can cover at most half the area of the triangle it is inscribed into. [92]
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. [93] 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. [93]
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. [94] Some shapes with curved sides could also be squared, such as the lune of Hippocrates [95] and the parabola. [96]
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. [97] 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, [98] 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 . [99]
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 (π) 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 π, which does not exist. [100]
The square tiling, familiar from flooring and game boards, is one of three regular tilings of the plane. The others are the tilings made from the equilateral triangle and the regular hexagon. [101] The vertices of the square tiling form a square lattice. [102] Squares of more than one size can also tile the plane, [103] [104] for instance in the Pythagorean tiling, named for its connection to proofs of the Pythagorean theorem. [105]
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; [106] [107] [108] the same is true for circle packing in a square. [109] 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. [110]
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. [111] 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. [112] The entire plane can be tiled by squares, with exactly one square of each integer side length. [113]
A common mathematical puzzle involves counting the squares of all sizes in a square grid of squares. For instance, a square grid of nine squares has 14 squares: the nine squares that form the grid, four more squares, and one square. The answer to the puzzle is , a square pyramidal number. [114] For these numbers are: [115]
A variant of the same puzzle asks for the number of squares formed by a grid of 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. [116] In this case, the answer is given by the 4-dimensional pyramidal numbers. For these numbers are: [117]
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. [118] 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 rectangles is known for small values of , but not as a general formula. For these numbers are: [119]
Squares tilted at 45° to the coordinate axes are the metric balls for taxicab geometry, the distance metric in the real coordinate plane. According to this metric, the distance between any two points and is instead of the Euclidean distance . The points with taxicab distance from any given point form a diagonal square, centered at the given point, with diagonal length . In the same way, axis-parallel squares form the metric balls for the distance metric (called the Chebyshev distance), for which the distance is given by the formula . In this metric, the points with distance from some point form an axis-parallel square, centered at the given point, with side length . [120] [121] [122]
Other forms of non-Euclidean geometry, including spherical geometry and hyperbolic geometry, also have polygons with four equal sides and equal angles. These are often called squares, [123] but some authors avoid calling them that, instead calling them regular quadrilaterals, because unlike Euclidean squares they cannot have right angles. These geometries also have regular polygons with right angles, but with numbers of sides different from four. [124]
In spherical geometry, a square is a polygon whose edges are great-circle arcs of equal length, which meet at equal angles. Unlike the square of Euclidean geometry, spherical squares have obtuse angles, larger than a right angle. Larger spherical squares have larger angles. [123] An octant of a sphere is a regular spherical triangle consisting of three straight sides and three right angles. The sphere can be tiled by eight such octants to make a spherical octahedron, with four octants meeting at each vertex. [125]
In hyperbolic geometry, squares with right angles do not exist. Rather, squares in hyperbolic geometry have acute angles, less than right angles. Larger hyperbolic squares have smaller angles. 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. [124]
The decision to go oxymoron with a squared "ring" had taken place by the late 1830s ... Despite the geometric shift, the language was set.