Skip to content

Bordered Matrix Test

Theorem

Let Q(x)=x⊤AxQ(\boldsymbol{x})=\boldsymbol{x}^{\top} \boldsymbol{A}\boldsymbol{x} with A∈Rn×n\boldsymbol{A}\in\mathbb{R}^{n\times n} symmetric, and let the independent linear constraint set be Bx=0\boldsymbol{B}\boldsymbol{x}=0 with B∈Rm×n\boldsymbol{B}\in\mathbb{R}^{m\times n} and rank⁡(B)=m\operatorname{rank}(\boldsymbol{B})=m. The bordered matrix is

H=(0mBB⊤A).\boldsymbol{H}= \begin{pmatrix} \boldsymbol{0}_m & \boldsymbol{B}\\ \boldsymbol{B}^{\top} & \boldsymbol{A} \end{pmatrix}.

Ignore the first 2m2m leading principal minors. For k=2m+1,…,m+nk=2m+1,\ldots,m+n:

  • If (−1)mdet⁡(Hk)>0(-1)^m\det(\boldsymbol{H}_k)>0 for all relevant kk, then QQ is positive definite on the constraint set.
  • If (−1)k−mdet⁡(Hk)>0(-1)^{k-m}\det(\boldsymbol{H}_k)>0 for all relevant kk, then QQ is negative definite on the constraint set.

Interpretation

The bordered matrix test checks the sign of a quadratic form only along the directions that linear constraints leave free (definiteness on the constraint set). It is the constrained version of Sylvester's criterion, again read from determinant signs.

Block matrix H with a grey zero block, red border blocks B and B transpose, and the blue matrix A of the quadratic form.

The figure shows the blocks of H\boldsymbol{H}: an m×mm\times m zero block (grey), the constraint matrix B\boldsymbol{B} and its transpose as a border (red), and the matrix A\boldsymbol{A} of the form (blue). Hk\boldsymbol{H}_k is the top-left k×kk\times k submatrix. The first 2m2m leading minors do not depend on A\boldsymbol{A}, which is why they are ignored; the remaining n−mn-m are as many as the dimension of the constraint set {x ⁣:Bx=0}\{\boldsymbol{x}\colon\boldsymbol{B}\boldsymbol{x}=\boldsymbol{0}\}.

With one constraint in two variables, the sign of det⁡(H3)\det(\boldsymbol{H}_3) decides definiteness on the constraint set, matching the sign of the form along the highlighted line TT.

For x12−x22x_1^2-x_2^2 on the line x1=2x2x_1=2x_2 from the Examples, B=(1−2)\boldsymbol{B}=\begin{pmatrix}1&-2\end{pmatrix} and A=diag⁡(1,−1)\boldsymbol{A}=\operatorname{diag}(1,-1), so det⁡H=−3\det\boldsymbol{H}=-3 and (−1)1det⁡H>0(-1)^1\det\boldsymbol{H}>0; indeed Q(2t,t)=3t2>0Q(2t,t)=3t^2>0 for t≠0t\neq0.

The rank condition says that the mm constraints are independent, so they remove exactly mm directions. Without it the test breaks down: if the rows of B\boldsymbol{B} are dependent, some w≠0\boldsymbol{w}\neq\boldsymbol{0} has B⊤w=0\boldsymbol{B}^{\top}\boldsymbol{w}=\boldsymbol{0}, then H\boldsymbol{H} sends (w,0)(\boldsymbol{w},\boldsymbol{0}) to 0\boldsymbol{0}, and det⁡H=0\det\boldsymbol{H}=0 whatever A\boldsymbol{A} is.

A common slip is to expect positive determinants for a positive definite form. With one constraint, positive definiteness on the constraint set shows up as negative minors, as in the example; the factor (−1)m(-1)^m tells which sign to look for. The test returns later in the course, with a Lagrangian's Hessian as A\boldsymbol{A}, as the bordered Hessian.


Key Results

  • Definiteness on the whole space can change after restricting to a constraint set.
  • For positive definiteness, all relevant signs match (−1)m(-1)^m.
  • For negative definiteness, relevant signs alternate and the full determinant has sign (−1)n(-1)^n.

Examples

  • The form x12−x22x_1^2-x_2^2 is indefinite on R2\mathbb{R}^2 but positive on the line x1=2x2x_1=2x_2.
  • When n=2n=2 and m=1m=1, there is just one relevant minor: det⁡H<0\det \boldsymbol{H}<0 gives positive definiteness of QQ on the constraint line.
  • When n=3n=3 and m=1m=1, inspect det⁡(H3)\det(\boldsymbol{H}_3) and det⁡(H4)\det(\boldsymbol{H}_4) after ignoring the first two leading minors.

Prerequisites

Sources

Keywords: bordered matrix, bordered determinant test, constrained definiteness test, quadratic form under constraints Symbols: element of, real numbers

Last updated: 20 October 2026 03:02