Square

DOWNLOAD Mathematica Notebook EXPLORE THIS TOPIC IN the MathWorld Classroom Square

The term "square" can be used to mean either a square number ("x^2 is the square of x") or a geometric figure consisting of a convex quadrilateral with sides of equal length that are positioned at right angles to each other as illustrated above. In other words, a square is a regular polygon with four sides.

When used as a symbol,  square ABCD denotes a square geometric figure with given vertices, while G_1 square G_2 is sometimes used to denote a graph product (Clark and Suen 2000).

A square is a special case of a isosceles trapezoid, kite, parallelogram, quadrilateral, rectangle, rhombus, and trapezoid.

SquareDiagonals

The diagonals of a square bisect one another and are perpendicular (illustrated in red in the figure above). In addition, they bisect each pair of opposite angles (illustrated in blue).

The perimeter of a square with side length a is

 L=4a
(1)

and the area is

 A=a^2.
(2)

The inradius r, circumradius R, and area A can be computed directly from the formulas for a general regular polygon with side length a and n=4 sides,

r=1/2acot(pi/4)=1/2a
(3)
R=1/2acsc(pi/4)=1/2sqrt(2)a
(4)
A=1/4na^2cot(pi/4)=a^2.
(5)

The length of the polygon diagonal of the unit square is sqrt(2), sometimes known as Pythagoras's constant.

SquareEquation

The equation

 |x|+|y|=1
(6)

gives a square of circumradius 1, while

 max(|x|,|y|)=1
(7)

gives a square of circumradius sqrt(2).

SquareDissection

The area of a square constructed inside a unit square as shown in the above diagram can be found as follows. Label x and y as shown, then

 x^2+y^2=r^2
(8)
 (sqrt(1+r^2)-x)^2+y^2=1.
(9)

Plugging (8) into (9) gives

 (sqrt(1+r^2)-x)^2+(r^2-x^2)=1.
(10)

Expanding

 x^2-2xsqrt(1+r^2)+1+r^2+r^2-x^2=1
(11)

and solving for x gives

 x=(r^2)/(sqrt(1+r^2)).
(12)

Plugging in for y yields

 y=sqrt(r^2-x^2)=r/(sqrt(1+r^2)).
(13)

The area of the shaded square is then

 A=(sqrt(1+r^2)-x-y)^2=((1-r)^2)/(1+r^2)
(14)

(Detemple and Harold 1996).

SquareConstruction

The straightedge and compass construction of the square is simple. Draw the line P_O^'OP_0 and construct a circle having OP_0 as a radius. Then construct the perpendicular OB through O. Bisect P_0OB and P_0^'OB to locate P_1 and P_2, where P_0^' is opposite P_0. Similarly, construct P_3 and P_4 on the other semicircle. Connecting P_1P_2P_3P_4 then gives a square.

An infinity of points in the interior of a square are known whose distances from three of the corners of a square are rational numbers. Calling the distances a, b, and c where s is the side length of the square, these solutions satisfy

 (s^2+b^2-a^2)^2+(s^2+b^2-c^2)^2=(2bs)^2
(15)

(Guy 1994). In this problem, one of a, b, c, and s is divisible by 3, one by 4, and one by 5. It is not known if there are points having distances from all four corners rational, but such a solution requires the additional condition

 a^2+c^2=b^2+d^2.
(16)

In this problem, s is divisible by 4 and a, b, c, and d are odd. If s is not divisible by 3 (5), then two of a, b, c, and d are divisible by 3 (5) (Guy 1994).

ParallelogramSquares

The centers of four squares erected either internally or externally on the sides of a parallelograms are the vertices of a square (Yaglom 1962, pp. 96-97; Coxeter and Greitzer 1967, p. 84).

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.