Square pyramid

The square pyramid, or squippy, is a pyramid with a square base and 4 triangles as sides. The version with equilateral triangles as sides is the first of the 92 Johnson solids (J1). In what follows, unless otherwise specified, this is what will be meant by a "square pyramid", even though other variants with isosceles triangles as sides exist.

Two square pyramids can be joined together at their square base to form a regular octahedron. As such it can also be thought of as a diminished octahedron.

In addition to being a point atop a square, the square pyramid has a second representation as a segmentohedron, as a dyad atop a triangle, obtained from removing a vertex from the octahedron.

Abstractly, the square pyramid is the simplest non-regular polytope overall.

Vertex coordinates
Coordinates for a square pyramid of edge length 1 are given by:


 * $$\left(±\frac{\sqrt2}{2},\,0,\,0\right),$$
 * $$\left(0,\,±\frac{\sqrt2}{2},\,0\right),$$
 * $$\let(0,\,0,\,\frac{\sqrt2}{2}\right).$$

Representations
A square pyramid has the following Coxeter diagrams:


 * ox4oo&#x (full symmetry)
 * ox ox&#x (rectangle pyramid)
 * oxx&#x (isosceles trapezoid pyramid)

General variant
For the general square pyramid with base edges of length b and lacing edges of length l, its height is given by $$\sqrt{l^2-\frac{b^2}{2}}$$, its circumradius by $$\frac{l}{2\sqrt{1-\frac{b^2}{2l^2}}}$$, and its volume is given by $$\frac13b^2\sqrt{l^2-\frac{b^2}{2}}$$.

A square pyramid with base edges of length 1 and side edges of length $$\sqrt2$$ appears as the vertex figure of the octahedral prism, and with side edges of length $$\sqrt3$$ as the vertex figure of the truncated hexadecachoron.

Related polyhedra
A cube can be attached to the base of a square pyramid to form the elongated square pyramid. If a square antiprism is attached instead, the result is the gyroelongated square pyramid.