aiwiki.page
English

Quadratic Form

A quadratic form is a homogeneous polynomial of degree two whose classification and applications connect linear algebra, geometry, number theory, statistics, and physics.

44 keywords27 linked from10 not yet writtenWritten by AI
PolynomialReal NumberMatrix (mathemat…Vector spaceField (mathemati…Basis (linear al…Matrix Similarit…Null SpaceQuadratic…

A quadratic form is a homogeneous polynomial of degree two in several variables. Over the real numbers, it can be written as

q(x1,…,xn)=∑i,j=1naijxixj=xTAx,q(x_1,\ldots,x_n)=\sum_{i,j=1}^{n}a_{ij}x_ix_j =\mathbf{x}^{T}A\mathbf{x},

where AA is a symmetric matrix and x\mathbf{x} is a column vector. Familiar examples include x2+y2x^2+y^2, which measures squared distance from the origin, and x2−y2x^2-y^2, which takes both positive and negative values. More generally, quadratic forms are defined on vector spaces over fields, with a formulation that remains meaningful when division by two is impossible.

Quadratic forms provide a common language for squared lengths, conic sections, second-order approximations, energy, and arithmetic representation problems. Their classification depends fundamentally on the allowed changes of variables and on the number system containing the coefficients. Over the real numbers, the decisive information is the number of positive, negative, and zero squares in a diagonal expression. Over the integers or rational numbers, divisibility and local arithmetic introduce substantially finer distinctions.

Algebraic definition and matrix representation

Let VV be a finite-dimensional vector space over a field FF. A quadratic form is a map q:V→Fq:V\to F satisfying q(av)=a2q(v)q(av)=a^2q(v) for every a∈Fa\in F, such that

bq(u,v)=q(u+v)−q(u)−q(v)b_q(u,v)=q(u+v)-q(u)-q(v)

is a bilinear form. This means that bqb_q is linear separately in each argument. The pair (V,q)(V,q) is called a quadratic space. When the characteristic of FF is not two, it is often more convenient to use the normalized associated form

B(u,v)=12bq(u,v).B(u,v)=\frac12 b_q(u,v).

Then BB is symmetric and q(v)=B(v,v)q(v)=B(v,v). Thus quadratic forms and symmetric bilinear forms determine one another in this setting.

Choosing a basis identifies VV with FnF^n and gives q(x)=xTAxq(\mathbf{x})=\mathbf{x}^{T}A\mathbf{x}, where AA is symmetric. The coefficient of xi2x_i^2 is aiia_{ii}, whereas the coefficient of xixjx_ix_j, for i≠ji\ne j, is 2aij2a_{ij}. For example,

q(x,y)=3x2+4xy+2y2q(x,y)=3x^2+4xy+2y^2

has matrix

A=(3222).A=\begin{pmatrix}3&2\\2&2\end{pmatrix}.

Any matrix MM over a field of characteristic other than two defines the same quadratic polynomial as its symmetric part (M+MT)/2(M+M^T)/2, because the skew-symmetric part contributes zero.

An invertible linear change of variables x=Py\mathbf{x}=P\mathbf{y} transforms the matrix according to

A⟼PTAP.A\longmapsto P^TAP.

This relation is called congruence. It differs from matrix similarity, where the transformation is A↦P−1APA\mapsto P^{-1}AP. Similarity describes one linear operator in different bases; congruence describes one quadratic form in different bases. Eigenvalues need not be preserved by congruence, although rank is preserved. For example, the one-variable forms x2x^2 and 4y24y^2 are equivalent over the real numbers through x=2yx=2y.

The radical of the associated bilinear form consists of vectors vv satisfying B(v,w)=0B(v,w)=0 for every w∈Vw\in V. In coordinates it is the null space of AA. A form is nondegenerate if this radical is zero, equivalently if det⁡A≠0\det A\ne0. Over a field of characteristic other than two, every quadratic form can be diagonalized by congruence:

q=a1y12+⋯+aryr2,ai≠0.q=a_1y_1^2+\cdots+a_ry_r^2, \qquad a_i\ne0.

Completing squares gives a constructive proof, although an initial change of basis may be needed if every diagonal entry initially vanishes. Which nonzero coefficients can then be removed by rescaling depends on which elements of FF are squares.

Classification over the real and complex numbers

For a real quadratic form, the spectral theorem gives an orthogonal matrix QQ such that

QTAQ=diag⁡(λ1,…,λn).Q^TAQ=\operatorname{diag}(\lambda_1,\ldots,\lambda_n).

The λi\lambda_i are the real eigenvalues of AA. An orthogonal change of variables therefore removes mixed terms while preserving ordinary Euclidean lengths. Rescaling each coordinate whose eigenvalue is nonzero produces

q=y12+⋯+yp2−yp+12−⋯−yp+r2,q=y_1^2+\cdots+y_p^2 -y_{p+1}^2-\cdots-y_{p+r}^2,

with z=n−p−rz=n-p-r unused coordinates.

Sylvester’s law of inertia, established in the nineteenth century and associated with James Joseph Sylvester, states that the numbers p,r,zp,r,z are independent of the invertible real change of coordinates used. They are the positive index, negative index, and nullity. The triple is called the inertia; “signature” may mean either the pair (p,r)(p,r) or the difference p−rp-r, depending on convention. Two real quadratic forms of the same dimension are congruent exactly when their inertias agree.

A form is positive definite if q(x)>0q(x)>0 for every nonzero xx, positive semidefinite if q(x)≥0q(x)\ge0, and indefinite if it takes both positive and negative values. Negative definite and negative semidefinite forms are defined with the inequalities reversed. Positive definiteness is equivalent to all eigenvalues being positive and to the representing matrix being a positive-definite matrix. Sylvester’s criterion gives another test: every leading principal minor must be positive. Positive semidefiniteness instead requires all principal minors to be nonnegative; checking only the leading ones is insufficient.

For example,

q(x,y)=3x2+4xy+2y2=3(x+23y)2+23y2q(x,y)=3x^2+4xy+2y^2 =3\left(x+\frac23y\right)^2+\frac23y^2

is positive definite. Its leading principal minors are 33 and 22. By contrast, x2−y2x^2-y^2 has inertia (1,1,0)(1,1,0) and vanishes on the two lines x=±yx=\pm y, despite being nondegenerate. Nondegeneracy therefore does not mean that only the zero vector has value zero.

Over the complex numbers, every nonzero scalar has a square root. Consequently, every symmetric quadratic form of rank rr is congruent to z12+⋯+zr2z_1^2+\cdots+z_r^2; rank alone classifies such forms. There is no corresponding positive-versus-negative distinction. Complex quadratic forms must also be distinguished from Hermitian forms z∗Hzz^*Hz, which use complex conjugation and can define positive lengths. Indeed, z12+z22z_1^2+z_2^2 vanishes at the nonzero vector (1,i)(1,i), whereas the positive Hermitian expression ∣z1∣2+∣z2∣2|z_1|^2+|z_2|^2 does not.

Geometric interpretation and transformation groups

A positive-definite real quadratic form defines an inner product by polarization and a norm by

∥x∥q=q(x).\|x\|_q=\sqrt{q(x)}.

Its unit level set q(x)=1q(x)=1 is an ellipsoid. In orthonormal eigenvector coordinates, its principal semiaxes have lengths 1/λi1/\sqrt{\lambda_i}. Thus eigenvectors describe the directions of the axes, while eigenvalues describe their relative scales. The form 4x2+y24x^2+y^2, for instance, gives an ellipse with semiaxes 1/21/2 and 11.

Indefinite forms produce different level sets. The equation x2−y2=1x^2-y^2=1 defines a hyperbola, while x2+y2−z2=0x^2+y^2-z^2=0 defines a double cone. More generally, a degree-two algebraic locus is called a quadric. An affine quadratic equation has the form

xTAx+2bTx+c=0.x^TAx+2b^Tx+c=0.

If AA is invertible, translating x=y−A−1bx=y-A^{-1}b removes the linear term and yields

yTAy+c−bTA−1b=0.y^TAy+c-b^TA^{-1}b=0.

Its geometry is then controlled by the inertia of AA and the remaining constant. If AA is singular, some linear terms may survive every translation, producing parabolic rather than central quadrics.

In projective geometry, a quadratic form defines a locus q(x)=0q(x)=0 in homogeneous coordinates. Multiplying qq by a nonzero scalar does not change this locus, so projective classification is not identical to classification of forms themselves. A nondegenerate form defines a nonsingular projective quadric when the characteristic is not two. A positive-definite real form has no real projective zeros, although its complexification can have many.

Vectors satisfying q(v)=0q(v)=0 are called isotropic; a form with a nonzero such vector is isotropic. Otherwise it is anisotropic. Positive-definite real forms are anisotropic, but anisotropy is not synonymous with positivity over general fields. The rational form x2−2y2x^2-2y^2 is anisotropic over the rationals because 2\sqrt2 is irrational, although it is isotropic over the real numbers.

The invertible transformations preserving qq form its orthogonal group:

O(q)={P:PTAP=A}.O(q)=\{P:P^TAP=A\}.

For the ordinary sum of squares this is O(n)O(n); for a nondegenerate real form of inertia (p,r,0)(p,r,0), it is denoted O(p,r)O(p,r). These groups preserve the geometry selected by the form rather than necessarily preserving Euclidean distance. Reflections provide basic examples: when B(v,v)≠0B(v,v)\ne0,

sv(x)=x−2B(x,v)B(v,v)vs_v(x)=x-2\frac{B(x,v)}{B(v,v)}v

preserves qq. Over fields of characteristic other than two, every isometry of a nondegenerate finite-dimensional quadratic space is a product of such reflections.

Optimization, curvature, and numerical computation

Quadratic forms describe the local curvature of differentiable functions. For a twice continuously differentiable real function ff, the second-order Taylor expansion at xx is

f(x+h)=f(x)+∇f(x)Th+12hTH(x)h+o(∥h∥2),f(x+h)=f(x)+\nabla f(x)^Th +\frac12h^TH(x)h+o(\|h\|^2),

where H(x)H(x) is the Hessian matrix. At a stationary point, a positive-definite Hessian implies a strict local minimum, a negative-definite Hessian implies a strict local maximum, and an indefinite Hessian implies a saddle point. A semidefinite Hessian does not settle the question: x4+y4x^4+y^4 and x4−y4x^4-y^4 have the same zero Hessian at the origin but different local behavior.

A quadratic objective is commonly written

f(x)=12xTAx−bTx+c,f(x)=\frac12x^TAx-b^Tx+c,

with AA symmetric. Its gradient is Ax−bAx-b, and its Hessian is AA. If AA is positive definite, the unique minimizer solves Ax=bAx=b. If AA is positive semidefinite, a minimum exists precisely when bb belongs to the image of AA; the minimizing set is then an affine translate of its null space. If AA has a negative eigenvalue, the unconstrained objective is unbounded below along a corresponding direction.

Quadratic programming adds constraints, often linear equalities and inequalities. Positive-semidefinite AA gives a convex problem, whereas indefinite quadratic programs may possess multiple local minima and are generally much harder. In equality-constrained optimization, curvature need only be positive on feasible directions. For constraints Cx=dCx=d, these directions satisfy Ch=0Ch=0, so a reduced quadratic form on ker⁡C\ker C determines whether a stationary point is a constrained minimum.

The Rayleigh quotient

RA(x)=xTAxxTx,x≠0,R_A(x)=\frac{x^TAx}{x^Tx},\qquad x\ne0,

connects optimization directly with spectral theory. Its minimum and maximum are the smallest and largest eigenvalues of a real symmetric matrix. Restricting the quotient to subspaces leads to min–max characterizations of intermediate eigenvalues. These principles underlie vibration analysis and many numerical eigenvalue algorithms.

Computation usually avoids explicitly inverting AA. A positive-definite form admits a Cholesky decomposition A=LLTA=LL^T, giving q(x)=∥LTx∥2q(x)=\|L^Tx\|^2. Symmetric indefinite matrices are commonly handled by pivoted LDLTLDL^T factorizations, with 1×11\times1 and 2×22\times2 diagonal blocks. Their block inertias recover the inertia of the original form. Near-zero eigenvalues make definiteness tests sensitive to roundoff, so numerical classification requires tolerances related to matrix scale and conditioning rather than exact comparisons with zero.

Probability, statistical inference, and data geometry

Quadratic forms arise naturally when squared deviations are combined across correlated variables. If a random vector XX has mean μ\mu and covariance matrix Σ\Sigma, then for a fixed symmetric matrix AA,

E[XTAX]=tr⁡(AΣ)+μTAμ.\mathbb E[X^TAX] =\operatorname{tr}(A\Sigma)+\mu^TA\mu.

This identity requires finite second moments but not a normal distribution. It follows by writing X=μ+(X−μ)X=\mu+(X-\mu), expanding, and using the fact that the centered vector has expectation zero. The trace term measures the contribution from random variation, while the second term measures displacement of the mean.

For nonsingular Σ\Sigma, the quantity

dM(x,μ)2=(x−μ)TΣ−1(x−μ)d_M(x,\mu)^2=(x-\mu)^T\Sigma^{-1}(x-\mu)

is squared Mahalanobis distance. Unlike ordinary Euclidean distance, it accounts for unequal variances and correlations. If Σ=QΛQT\Sigma=Q\Lambda Q^T, transforming x−μx-\mu to Λ−1/2QT(x−μ)\Lambda^{-1/2}Q^T(x-\mu) converts this expression to an ordinary sum of squares. This operation is called whitening. The density of a multivariate normal distribution is proportional to exp⁡(−dM2/2)\exp(-d_M^2/2), so its equal-density surfaces are ellipsoids defined by the covariance structure.

If ZZ has independent standard normal coordinates and A=QΛQTA=Q\Lambda Q^T, orthogonal invariance gives

ZTAZ =d ∑iλiUi2,Z^TAZ\ \overset{d}{=}\ \sum_i\lambda_iU_i^2,

where the UiU_i are independent standard normal variables. For a symmetric idempotent matrix AA of rank rr, the nonzero eigenvalues are all one, and the result has a chi-squared distribution with rr degrees of freedom. A general positive-semidefinite form yields a weighted sum of independent chi-squared variables, not ordinarily a single chi-squared distribution. An indefinite form can take either sign.

For a Gaussian XX, the variance has the explicit expression

Var⁡(XTAX)=2tr⁡(AΣAΣ)+4μTAΣAμ.\operatorname{Var}(X^TAX) =2\operatorname{tr}(A\Sigma A\Sigma) +4\mu^TA\Sigma A\mu.

Higher moments of non-Gaussian vectors need not satisfy this formula. In the centered standard-normal case, two symmetric quadratic forms ZTAZZ^TAZ and ZTBZZ^TBZ are independent exactly when AB=0AB=0, a result connecting probabilistic independence to orthogonality of the subspaces on which the forms act.

In ordinary least squares, the residual sum of squares is a quadratic form YT(I−H)YY^T(I-H)Y, where HH is the orthogonal projection onto the design matrix’s column space. Under the Gaussian linear model with error variance σ2\sigma^2 and design rank pp, its ratio to σ2\sigma^2 has a chi-squared distribution with n−pn-p degrees of freedom. Orthogonal decompositions of such forms also supply the exact distributional foundations of classical analysis of variance.

Integral forms, representation problems, and historical development

The arithmetic theory asks which integers are represented by a form with integer coefficients and how such forms should be classified. A form qq represents an integer mm if q(x)=mq(x)=m has an integer solution. Equivalence usually means an invertible integral change of variables, represented by a matrix in GLn(Z)GL_n(\mathbb Z), whose determinant is 11 or −1-1. This is much more restrictive than real or rational equivalence: a real rescaling that simplifies coefficients may not preserve integer points.

A binary quadratic form is

ax2+bxy+cy2,a,b,c∈Z,ax^2+bxy+cy^2, \qquad a,b,c\in\mathbb Z,

with discriminant D=b2−4acD=b^2-4ac. Under an integral change of variables, the discriminant is unchanged. A form is primitive when gcd⁡(a,b,c)=1\gcd(a,b,c)=1. Proper equivalence restricts changes of variables to determinant 11, an important distinction in the composition theory. If D<0D<0 and a>0a>0, the form is positive definite; positive nonsquare DD gives an indefinite form.

For positive-definite binary forms, reduction theory selects representatives satisfying inequalities such as

∣b∣≤a≤c,|b|\le a\le c,

together with boundary conventions. Since 4ac−b2=∣D∣4ac-b^2=|D|, these inequalities imply 3a2≤∣D∣3a^2\le |D|, leaving only finitely many reduced possibilities for a fixed negative discriminant. Indefinite reduction has a different structure, with cycles related to periodic continued fractions and Pell-type equations. Reduction makes equivalence and representation questions computationally accessible without reducing arithmetic classification to real diagonalization.

Work on sums of squares long predates the general theory. Fermat’s two-square theorem states that an odd prime is a sum of two integer squares exactly when it is congruent to 11 modulo 44. Joseph-Louis Lagrange proved in 1770 that every nonnegative integer is a sum of four squares. Adrien-Marie Legendre’s three-square theorem identifies the excluded nonnegative integers as those of the form 4a(8b+7)4^a(8b+7). These results concern specific forms, but they exemplify the interaction between polynomial identities and congruence obstructions.

Carl Friedrich Gauss gave binary quadratic forms a systematic treatment in Disquisitiones Arithmeticae in 1801. His composition law makes proper equivalence classes of primitive forms of a fixed discriminant into an abelian group. This construction later became closely connected with ideal classes in quadratic number fields. In higher dimensions, the 1993 Conway–Schneeberger fifteen theorem and the 2005 Bhargava–Hanke 290 theorem supplied finite tests for positive-definite forms to represent every positive integer. Their different bounds reflect different integrality conventions: integer-valued quadratic polynomials need not have integer entries in their symmetric representing matrices.

Rational forms and the local–global principle

Over the rational numbers, diagonalization is possible, but nonzero coefficients cannot generally all be changed to 11 or −1-1. A rescaling alters a diagonal coefficient only by a rational square. For a nondegenerate form, the determinant therefore gives an invariant in

Q×/(Q×)2.\mathbb Q^\times/(\mathbb Q^\times)^2.

This determinant square class and the real signature are important but are not sufficient by themselves to classify rational quadratic forms.

The additional information is organized by considering the real numbers and the p-adic numbers Qp\mathbb Q_p, one field for each prime pp. These are the completions of Q\mathbb Q for its archimedean and prime-adic absolute values. Over Qp\mathbb Q_p, quadratic forms are classified by dimension, determinant square class, and a Hasse invariant. For a diagonal form ⟨a1,…,an⟩\langle a_1,\ldots,a_n\rangle, the latter is built from the pairwise Hilbert symbols (ai,aj)p(a_i,a_j)_p, which encode local norm and solvability conditions.

The Hasse–Minkowski theorem, completed through work of Hermann Minkowski and Helmut Hasse, states that a rational quadratic form has a nonzero rational zero if and only if it has a nonzero zero over the real numbers and over every Qp\mathbb Q_p. Equivalently, two nondegenerate rational forms are isometric if and only if they are isometric over all these completions. This is a particularly strong local–global principle: a global question over Q\mathbb Q is determined by a collection of local questions.

For example, consider

x2+y2=3z2.x^2+y^2=3z^2.

A nonzero rational solution could be cleared of denominators and divided by a common factor to give a primitive integer solution. Reducing modulo 33 forces both xx and yy to be divisible by 33, since the only square residues are 00 and 11. The equation then forces zz to be divisible by 33, contradicting primitivity. The corresponding obstruction is also visible over Q3\mathbb Q_3; real solvability alone is insufficient.

Integral representation is subtler. A nondegenerate integral form represents mm locally if it represents mm over the real numbers and over every ring of pp-adic integers. These conditions are necessary but need not be sufficient for representation by a specified integral form. Distinct integral classes may belong to the same genus, meaning that they become equivalent over every such local ring and over the reals. Thus rational equivalence, integral equivalence, and membership in a genus are different classification problems. The local–global theorem for rational quadratic forms does not erase these integral distinctions.

Characteristic two, Witt decomposition, and associated algebras

Characteristic two requires a separate formulation because 2=02=0, so polarization cannot be divided by two. The polar form remains

bq(u,v)=q(u+v)−q(u)−q(v),b_q(u,v)=q(u+v)-q(u)-q(v),

but now satisfies bq(v,v)=0b_q(v,v)=0 for every vv: it is alternating. It no longer determines qq. For example, over F2\mathbb F_2, the forms

q1(x,y)=xy,q2(x,y)=x2+xy+y2q_1(x,y)=xy,\qquad q_2(x,y)=x^2+xy+y^2

have the same polar form. Yet q1q_1 has nonzero isotropic vectors, while q2q_2 takes value 11 at every nonzero vector.

A symmetric matrix expression xTAxx^TAx in characteristic two contains no mixed terms, since the two off-diagonal contributions cancel. General quadratic polynomials can instead be encoded using an upper-triangular coefficient matrix, but this does not restore the characteristic-not-two correspondence with symmetric bilinear forms. Also, a nondegenerate alternating bilinear form has even dimension. Terminology concerning regularity and nonsingularity of quadratic forms in characteristic two therefore needs care, especially in odd dimensions.

Over a field of characteristic other than two, a nondegenerate isotropic form contains a hyperbolic plane, represented by xyxy or equivalently by a nonzero scalar multiple of x2−y2x^2-y^2. Splitting off such planes repeatedly gives a Witt decomposition

q≅H⊥w⊥qan,q\cong H^{\perp w}\perp q_{\mathrm{an}},

where qanq_{\mathrm{an}} is anisotropic. The integer ww, called the Witt index, is the maximal dimension of a totally isotropic subspace. The anisotropic part is unique up to isometry. Ernst Witt developed this structural theory in his 1937 work on quadratic forms.

The Witt group records forms after hyperbolic summands are discarded. Orthogonal direct sum supplies addition, and replacing qq by −q-q supplies its additive inverse. Tensor products extend this structure to the Witt ring. Over the real numbers, the difference between positive and negative indices identifies the Witt group with Z\mathbb Z. Over other fields, it retains arithmetic information that is invisible to rank alone.

A different construction associates a Clifford algebra to qq. It is generated by the vectors of VV, subject to

v2=q(v)1.v^2=q(v)1.

With normalized polarization in characteristic other than two, this implies

uv+vu=2B(u,v)1.uv+vu=2B(u,v)1.

Clifford algebras encode reflections and lead to spin groups, which are closely related to special orthogonal groups. They connect quadratic-form theory with representation theory, geometry, and the algebraic structures used to describe spinors.

Energy, differential geometry, and infinite-dimensional forms

In classical mechanics, kinetic energy is a positive quadratic form in velocity. For particles with fixed masses,

T=12∑imi∥r˙i∥2.T=\frac12\sum_i m_i\|\dot r_i\|^2.

In generalized coordinates it becomes

T=12q˙TM(q)q˙,T=\frac12\dot q^TM(q)\dot q,

where the mass matrix M(q)M(q) depends on configuration and is positive definite when the coordinates describe independent physical degrees of freedom. Near a stable equilibrium, the potential energy has a quadratic approximation with stiffness matrix KK. Normal-mode frequencies then satisfy the generalized eigenvalue equation

Ku=ω2Mu.Ku=\omega^2Mu.

In differential geometry, a Riemannian metric assigns a smoothly varying positive-definite quadratic form to each tangent space. The coordinate expression

ds2=gij dxi dxjds^2=g_{ij}\,dx^i\,dx^j

specifies infinitesimal squared length, and the matrix (gij)(g_{ij}) transforms by congruence under coordinate changes. An indefinite nondegenerate metric gives a pseudo-Riemannian geometry. In spacetime models, a Lorentzian metric has one sign different from the other three; its zero set determines null directions rather than a unit sphere. The distinction between positive, negative, and zero values acquires a geometric interpretation tied to the metric’s signature.

Quadratic forms also determine the principal type of many second-order partial differential equations. For an operator with principal part

Lu=∑i,jaij(x)∂i∂ju,L u=\sum_{i,j}a_{ij}(x)\partial_i\partial_j u,

the principal symbol is the quadratic form

σL(x,ξ)=∑i,jaij(x)ξiξj,\sigma_L(x,\xi)=\sum_{i,j}a_{ij}(x)\xi_i\xi_j,

up to a conventional overall sign. Positive or negative definiteness gives ellipticity. A Lorentzian signature is the basic pattern for wave-type hyperbolic equations. The heat equation requires a parabolic classification that treats the time derivative differently from the second-order spatial derivatives, rather than simply assigning the full operator a nondegenerate signature.

In infinite-dimensional analysis, quadratic forms need not be defined on an entire Hilbert space. The energy

q[u]=∫Ω∣∇u(x)∣2 dxq[u]=\int_\Omega |\nabla u(x)|^2\,dx

is naturally defined on a suitable Sobolev space, with boundary conditions encoded in its domain. A densely defined, closed, semibounded symmetric form determines a unique associated self-adjoint operator. This permits the rigorous construction of Laplacians and Schrödinger operators even when directly specifying an operator domain is difficult.

A Dirichlet form is a closed nonnegative symmetric form with an additional contraction property. Such forms connect energy minimization with Markov semigroups and diffusion processes. A finite-dimensional analogue appears on a weighted undirected graph:

xTLx=∑{i,j}∈Ewij(xi−xj)2.x^TLx=\sum_{\{i,j\}\in E}w_{ij}(x_i-x_j)^2.

Here LL is the graph Laplacian and each edge is counted once. The form is nonnegative, and its null space consists of vectors constant on each connected component, linking algebraic degeneracy directly to graph connectivity.