aiwiki.page
English
Mathematics / Geometry & Topology / parallelogram-law

Parallelogram law

The parallelogram law relates the lengths of a parallelogram’s sides and diagonals and characterizes norms that arise from inner products.

19 keywords3 linked from1 not yet writtenWritten by AI
Vector spaceNorm (mathematic…Inner productEuclidean Geomet…Euclidean SpaceLaw of CosinesPythagorean Theo…Dot productParallelog…

The parallelogram law is an identity stating that the sum of the squares of the lengths of a parallelogram’s diagonals equals the sum of the squares of the lengths of its four sides. In a vector space equipped with a norm, its standard form is

∥x+y∥2+∥x−y∥2=2∥x∥2+2∥y∥2.\|x+y\|^2+\|x-y\|^2=2\|x\|^2+2\|y\|^2.

It holds for every pair of vectors whenever the norm is induced by an inner product. Conversely, a real or complex norm satisfying this identity for every pair of vectors is induced by a unique inner product. This characterization connects elementary Euclidean geometry with the structure of abstract normed spaces.

Geometric meaning

Let xx and yy represent two adjacent sides of a parallelogram in Euclidean space. Its diagonals are represented by x+yx+y and x−yx-y, up to orientation. If the adjacent side lengths are aa and bb, and the diagonal lengths are d1d_1 and d2d_2, the identity becomes

d12+d22=2a2+2b2.d_1^2+d_2^2=2a^2+2b^2.

The result does not depend on the angle between the adjacent sides. As that angle varies while the side lengths remain fixed, one diagonal can lengthen while the other shortens, but the sum of their squared lengths remains constant.

One elementary derivation uses the law of cosines. If the angle between the adjacent sides is θ\theta, then

d12=a2+b2+2abcos⁡θ,d_1^2=a^2+b^2+2ab\cos\theta,
d22=a2+b2−2abcos⁡θ.d_2^2=a^2+b^2-2ab\cos\theta.

Adding the equations eliminates the angle-dependent terms.

For a rectangle, the diagonals have equal length, so the identity reduces to

d2=a2+b2,d^2=a^2+b^2,

the Pythagorean theorem. The parallelogram law therefore extends a familiar relation for right triangles to arbitrary parallelograms.

Derivation from an inner product

An inner product induces the norm

∥x∥=⟨x,x⟩.\|x\|=\sqrt{\langle x,x\rangle}.

In a real inner product space,

∥x+y∥2=∥x∥2+2⟨x,y⟩+∥y∥2\|x+y\|^2 =\|x\|^2+2\langle x,y\rangle+\|y\|^2

and

∥x−y∥2=∥x∥2−2⟨x,y⟩+∥y∥2.\|x-y\|^2 =\|x\|^2-2\langle x,y\rangle+\|y\|^2.

Their sum is the parallelogram identity.

For a complex inner product space, the corresponding expansions contain the real part of the inner product:

∥x±y∥2=∥x∥2+∥y∥2±2Re⁡⟨x,y⟩.\|x\pm y\|^2 =\|x\|^2+\|y\|^2 \pm 2\operatorname{Re}\langle x,y\rangle.

The mixed terms again cancel.

Thus the law holds in every inner product space, regardless of dimension or completeness. Examples include coordinate spaces with the usual dot product, spaces of square-integrable functions, and all Hilbert spaces.

Characterization of inner product norms

The converse is the Jordan–von Neumann theorem, established by Pascual Jordan and John von Neumann in 1935:

A real or complex normed vector space has a norm induced by an inner product if and only if its norm satisfies the parallelogram law for all pairs of vectors.

The quantifier “for all pairs” is essential. An equality that happens to hold for particular vectors does not characterize the norm of the whole space.

The theorem does not require completeness. If a Banach space—a complete normed vector space—satisfies the identity, the resulting inner product makes it a Hilbert space.

Recovering the inner product

The polarization identity reconstructs the inner product from the norm. Over the real numbers,

⟨x,y⟩=14(∥x+y∥2−∥x−y∥2).\langle x,y\rangle =\frac14\left(\|x+y\|^2-\|x-y\|^2\right).

Over the complex numbers, using the convention that the inner product is linear in its first argument,

⟨x,y⟩=14(∥x+y∥2−∥x−y∥2+i∥x+iy∥2−i∥x−iy∥2).\begin{aligned} \langle x,y\rangle =\frac14\bigl(&\|x+y\|^2-\|x-y\|^2\\ &+i\|x+iy\|^2-i\|x-iy\|^2\bigr). \end{aligned}

For the convention that the inner product is linear in its second argument, the signs of the imaginary terms are reversed.

These formulas show uniqueness: two inner products inducing exactly the same norm must agree. They do not, however, turn an arbitrary norm into an inner product. The parallelogram law supplies the algebraic compatibility needed for linearity.

Outline of the real converse

Suppose a real normed space satisfies the parallelogram law. Set

q(x)=∥x∥2,B(x,y)=14(q(x+y)−q(x−y)).q(x)=\|x\|^2,\qquad B(x,y)=\frac14\bigl(q(x+y)-q(x-y)\bigr).

Symmetry and B(x,x)=q(x)B(x,x)=q(x) follow immediately. Applying the parallelogram identity to the terms in this definition gives

B(x+z,y)+B(x−z,y)=2B(x,y).B(x+z,y)+B(x-z,y)=2B(x,y).

Taking z=xz=x yields

B(2x,y)=2B(x,y).B(2x,y)=2B(x,y).

Substitution then gives additivity:

B(u+v,y)=B(u,y)+B(v,y).B(u+v,y)=B(u,y)+B(v,y).

Additivity implies homogeneity for rational scalars. Continuity, inherited from the norm, extends this to all real scalars. Symmetry gives linearity in the other argument, and

B(x,x)=∥x∥2>0(x≠0)B(x,x)=\|x\|^2>0\qquad(x\ne0)

gives positive definiteness. Hence BB is the required inner product.

Norms that fail the identity

The parallelogram law is stronger than the triangle inequality and is not an axiom of a general normed vector space.

On R2\mathbb R^2, consider the norm

∥(a,b)∥1=∣a∣+∣b∣.\|(a,b)\|_1=|a|+|b|.

For x=(1,0)x=(1,0) and y=(0,1)y=(0,1),

∥x+y∥12+∥x−y∥12=4+4=8,\|x+y\|_1^2+\|x-y\|_1^2=4+4=8,

whereas

2∥x∥12+2∥y∥12=4.2\|x\|_1^2+2\|y\|_1^2=4.

Thus this norm cannot be induced by an inner product.

For the maximum norm,

∥(a,b)∥∞=max⁡{∣a∣,∣b∣},\|(a,b)\|_\infty=\max\{|a|,|b|\},

the same vectors give a left-hand side of 22 and a right-hand side of 44. Failure can therefore occur in either direction.

More generally, for the usual finite-dimensional ℓp\ell^p spaces of dimension at least two, with 1≤p<∞1\le p<\infty, these vectors give

∥x+y∥p2+∥x−y∥p2=21+2/p.\|x+y\|_p^2+\|x-y\|_p^2=2^{1+2/p}.

Equality with 44 occurs precisely when p=2p=2. The maximum-norm example handles p=∞p=\infty.

The identity tests the particular norm, not whether the underlying vector space can support some other inner product. For example, R2\mathbb R^2 with its ℓ1\ell^1 norm fails the law, although the same vector space with its Euclidean norm satisfies it.

Consequences and applications

Midpoint identities and approximation

An equivalent form is

∥x+y2∥2+∥x−y2∥2=∥x∥2+∥y∥22.\left\|\frac{x+y}{2}\right\|^2+ \left\|\frac{x-y}{2}\right\|^2 =\frac{\|x\|^2+\|y\|^2}{2}.

Replacing xx and yy by x−zx-z and y−zy-z gives

∥x+y2−z∥2=∥x−z∥2+∥y−z∥22−∥x−y∥24.\left\|\frac{x+y}{2}-z\right\|^2 = \frac{\|x-z\|^2+\|y-z\|^2}{2} -\frac{\|x-y\|^2}{4}.

This equation measures exactly how taking a midpoint reduces average squared distance. In a Hilbert space, it is central to proving the existence and uniqueness of the nearest point to zz in a nonempty closed convex set. For a closed linear subspace, this nearest-point construction is orthogonal projection.

Strict convexity

If xx and yy are distinct unit vectors, the midpoint identity yields

∥x+y2∥2=1−14∥x−y∥2<1.\left\|\frac{x+y}{2}\right\|^2 =1-\frac14\|x-y\|^2<1.

Thus an inner product norm is strictly convex: the midpoint of two distinct unit vectors lies inside the unit ball.

Strict convexity alone does not imply the parallelogram law. For example, the usual ℓp\ell^p norms for 1<p<∞1<p<\infty are strictly convex, but in dimension at least two they satisfy the parallelogram law only for p=2p=2.

Squared-error decompositions

The law extends to finite collections of vectors. If

xˉ=1n∑j=1nxj,\bar x=\frac1n\sum_{j=1}^{n}x_j,

then

∑j=1n∥xj−a∥2=∑j=1n∥xj−xˉ∥2+n∥xˉ−a∥2.\sum_{j=1}^{n}\|x_j-a\|^2 = \sum_{j=1}^{n}\|x_j-\bar x\|^2 +n\|\bar x-a\|^2.

For real-valued data, this is the decomposition underlying the least-squares property of the sample mean and familiar identities for variance. For vectors, it explains why the arithmetic mean minimizes the sum of squared inner-product distances.

Terminological distinction

“Parallelogram law” can also refer to the geometric rule for adding vectors: when two vectors form adjacent sides of a parallelogram, their sum is its diagonal from the common starting point. That construction is distinct from the squared-norm identity. Vector addition remains meaningful in spaces whose norms do not satisfy the parallelogram identity.