In Euclidean geometry, Ptolemy's inequality relates the six distances determined by four points in the plane or in a higher-dimensional space. It states that, for any four points,,, and, the following inequality holds:
\overline{AB} ⋅ \overline{CD}+\overline{BC} ⋅ \overline{DA}\ge\overline{AC} ⋅ \overline{BD}.
The four points can be ordered in any of three distinct ways (counting reversals as not distinct) to form three different quadrilaterals, for each of which the sum of the products of opposite sides is at least as large as the product of the diagonals. Thus, the three product terms in the inequality can be additively permuted to put any one of them on the right side of the inequality, so the three products of opposite sides or of diagonals of any one of the quadrilaterals must obey the triangle inequality.[1]
As a special case, Ptolemy's theorem states that the inequality becomes an equality when the four points lie in cyclic order on a circle.The other case of equality occurs when the four points are collinear in order. The inequality does not generalize from Euclidean spaces to arbitrary metric spaces. The spaces where it remains valid are called the Ptolemaic spaces; they include the inner product spaces, Hadamard spaces, and shortest path distances on Ptolemaic graphs.
Ptolemy's inequality is often stated for a special case, in which the four points are the vertices of a convex quadrilateral, given in cyclic order.[2] [3] However, the theorem applies more generally to any four points; it is not required that the quadrilateral they form be convex, simple, or even planar.
For points in the plane, Ptolemy's inequality can be derived from the triangle inequality by an inversion centered at one of the four points.[4] [5] Alternatively, it can be derived by interpreting the four points as complex numbers, using the complex number identity:
(A-B)(C-D)+(A-D)(B-C)=(A-C)(B-D)
A proof of the inequality for points in three-dimensional space can be reduced to the planar case, by observing that for any non-planar quadrilateral, it is possible to rotate one of the points around the diagonal until the quadrilateral becomes planar, increasing the other diagonal's length and keeping the other five distances constant. In spaces of higher dimension than three, any four points lie in a three-dimensional subspace, and the same three-dimensional proof can be used.
See main article: Ptolemy's theorem. For four points in order around a circle, Ptolemy's inequality becomes an equality, known as Ptolemy's theorem:
\overline{AB} ⋅ \overline{CD}+\overline{AD} ⋅ \overline{BC}=\overline{AC} ⋅ \overline{BD}.
Four non-coplanar points,,, and in 3D form a tetrahedron. In this case, the strict inequality holds:
\overline{AB} ⋅ \overline{CD}+\overline{BC} ⋅ \overline{DA}>\overline{AC} ⋅ \overline{BD}
Ptolemy's inequality holds more generally in any inner product space,[1] and whenever it is true for a real normed vector space, that space must be an inner product space.[8] [9]
For other types of metric space, the inequality may or may not be valid. A space in which it holds is called Ptolemaic. For instance, consider the four-vertex cycle graph, shown in the figure, with all edge lengths equal to 1. The sum of the products of opposite sides is 2. However, diagonally opposite vertices are at distance 2 from each other, so the product of the diagonals is 4, bigger than the sum of products of sides. Therefore, the shortest path distances in this graph are not Ptolemaic. The graphs in which the distances obey Ptolemy's inequality are called the Ptolemaic graphs and have a restricted structure compared to arbitrary graphs; in particular, they disallow induced cycles of length greater than three, such as the one shown.[10]
The Ptolemaic spaces include all CAT(0) spaces and in particular all Hadamard spaces. If a complete Riemannian manifold is Ptolemaic, it is necessarily a Hadamard space.[11]
See also: Polarization identity.
Suppose that
\| ⋅ \|
X.
\langle ⋅ , ⋅ \rangle
X
\|x\|2=\langlex, x\rangle
x\inX.