22.5  Affine and Euclidean Quadrics

Chapter 14 classified quadratic forms up to congruence, and the answer over R was the inertia. A curve like 5x2+4xy+5y2−14x−14y−7=0 is not a quadratic form, though: it has linear terms and a constant, and its zero set does not pass through the origin. This section asks what the inertia classification becomes once the origin is given up, which is exactly the question affine geometry was built for. Two answers come out, one for affine changes of coordinates and one for the rigid motions of Definition 22.4.1, and the difference between them is the difference between “it is an ellipse” and “its semi-axes are 7 and 3”.

22.5.1. Where characteristic two bites

Everything in this section needs a field in which 2≠0, and it is worth seeing why before any definition is written down.

A degree-two polynomial in x1,…,xn has a homogeneous quadratic part, and we want to write that part as x⊤Ax with A symmetric, so that Chapter 14 applies to it. For a symmetric A the coefficient of xixj with i≠j is aij+aji=2aij. Recovering aij from the polynomial means halving, which is the division by 1+1 that Theorem 14.3.5 performs, and on which the uniqueness of the symmetric matrix attached to a quadratic form (Definition 14.3.2) depends.

Over F2 the halving is not merely inconvenient; the target is not there. Every symmetric A∈Mn(F2) gives x⊤Ax=∑iaiixi2+2∑i<jaijxixj=∑iaiixi2, and since a2=a for a∈F2 and squaring is additive there, this is (∑iaiixi)2, the square of a linear form. So over F2 no expression x⊤Ax with A symmetric ever has an xy term, the polynomial xy is not of that shape at all, and the ones that are have already collapsed to squares of linear forms. There is nothing left to classify.

So: throughout this section F is a field with charF≠2 (Definition 0.7.2), and from the affine classification onward F=R. The hypothesis will be invoked by name at each of the three places where it does work: writing the linear part as 2b⊤x, reading off a symmetric A, and solving for a center.

22.5.2. The equation of a quadric

Fix an origin O and a basis of the direction space, which by Proposition 22.1.3 identifies the affine space A of dimension n with Fn. Every polynomial of degree 2 in the resulting coordinates can then be written in one standard shape.

A quadric is what you get when a quadratic form is allowed to forget where the origin is.

Definition 22.5.1 (Quadric)

Let charF≠2 and let A be an affine space of dimension n over F, identified with Fn by a choice of origin and basis (Proposition 22.1.3). A quadric polynomial on A is a function Q(x)=x⊤Ax+2b⊤x+c with A∈Mn(F) symmetric and nonzero, b∈Fn and c∈F. Its quadratic part is the quadratic form q(x)=x⊤Ax. The quadric defined by Q is its zero set {x∈Fn:Q(x)=0}. For n=2 a quadric is called a conic.

Read the clauses. “Symmetric” is a normalization, not a restriction: x⊤Ax=x⊤A⊤x because a 1×1 matrix equals its transpose, so A may always be replaced by 12(A+A⊤), and once symmetric it is determined by q (Theorem 14.3.5). “Nonzero” excludes A=O, where Q would be affine and its zero set a flat (Definition 22.2.1) already handled in Section 2; it is the clause that makes the object genuinely quadratic. The factor 2 in 2b⊤x is a convention we may adopt because 2 is invertible: a linear part β1x1+⋯+βnxn is 2b⊤x with bi=βi/2. It pays for itself in every formula below.

The data are recoverable from the function. Definition 22.5.1 calls Q a function, so before speaking of “its” quadratic part or “its” constant we must check that A, b and c are determined by Q. They are, over any field of characteristic ≠2. First Q(0)=c. Next Q(x)−Q(−x)=4b⊤xfor every x∈Fn, and 4=2⋅2≠0, so taking x=ei recovers bi for each i. Finally x⊤Ax=Q(x)−2b⊤x−c is then determined as a function of x, and a symmetric A is determined by that quadratic form (Theorem 14.3.5). So the triple (A,b,c) is unique.

Examples. Over R with n=2:

  • x2+y2−1, with A=I2, b=0, c=−1: the unit circle.
  • x2−y, with A=diag(1,0), b=(0,−12), c=0: a parabola. Here the halving convention is visible, and A is singular.
  • x2+y2: the zero set is the single point 0, although the polynomial has degree 2.
  • x2: the zero set is the line x=0, traced “twice” in the sense that A=diag(1,0) has rank 1 and the polynomial is a square. This is the degenerate case, and it matters because the classification must find room for it.
  • x2+y2+1: the zero set is empty. Over R a quadric may have no points at all, and the classification below has two different normal forms whose zero sets are both empty.

Nonexample by minimal change. Replace x2+y2−1 by x4+y2−1: the quadratic part is no longer a quadratic form, and there is no A. Replace it instead by 2x+3y−1: now A=O, the clause “nonzero” fails, and the zero set is a line, not a quadric.

Warning. A quadric is classified through its polynomial, not through its point set. Over R the polynomials x2+y2+1 and x2+1 both have empty zero set, and no coordinate change can be expected to tell empty from empty; yet the two polynomials will land in different classes below, and rightly so, because their behavior over C and their intersections with lines differ. Everything in the affine classification below is a statement about the polynomial Q up to an invertible affine substitution and a nonzero scalar factor. When the zero set determines Q up to a scalar it will be said explicitly.

22.5.3. The matrix of a quadric

The whole point of writing the linear part as 2b⊤x is that Q then becomes a single quadratic form in one extra variable. Write x~=(x1)∈Fn+1,A~=(Abb⊤c)∈Mn+1(F), so that A~ is symmetric and x~⊤A~x~=x⊤Ax+x⊤b+b⊤x+c=Q(x), the two middle terms being equal because each is a 1×1 matrix and one is the transpose of the other. We call A~ the big matrix of Q and A its small matrix. The extra coordinate is the same trick that turned an affine map into an (n+1)×(n+1) block matrix in Proposition 22.1.7, and the two devices fit together exactly.

Proposition 22.5.1 (Affine Substitution Is Congruence of the Big Matrix)

Let Q have big matrix A~, let M∈Mn(F) be invertible, let t∈Fn, and let g(y)=My+t be the corresponding invertible affine map (Definition 22.1.3), with block matrix (Proposition 22.1.7) g^=(Mt0⊤1). Then Q∘g is again a quadric polynomial, its big matrix is g^⊤A~g^, and its small matrix, linear vector, and constant are A′=M⊤AM,b′=M⊤(At+b),c′=Q(t).

Proof. By Proposition 22.1.7, g^y~=(My+t,1)=g(y)~. Hence Q(g(y))=g(y)~⊤A~g(y)~=y~⊤(g^⊤A~g^)y~, and g^⊤A~g^ is symmetric, being a congruence of a symmetric matrix (Proposition 14.2.4). Multiplying the blocks out, (M⊤0t⊤1)(Abb⊤c)(Mt0⊤1)=(M⊤AM⊤bt⊤A+b⊤t⊤b+c)(Mt0⊤1)=(M⊤AMM⊤(At+b)(At+b)⊤Mt⊤At+2b⊤t+c), where the bottom-left block was transposed using A⊤=A. Reading off the blocks gives A′, b′ and c′=t⊤At+2b⊤t+c=Q(t). Finally A′=M⊤AM is nonzero, since M is invertible and congruence preserves rank (Theorem 14.2.3), so Q∘g is a quadric polynomial. This proves the proposition.

Three consequences are worth naming at once. The new constant is Q evaluated at the new origin — obvious in hindsight, since y=0 means x=t. The new small matrix is a congruence of the old one, so the rank of A is an affine invariant of Q by Theorem 14.2.3, and over R so is its inertia by Corollary 14.5.2 (b) — the latter only up to the simultaneous exchange of n+ with n− that a negative scalar factor forces, as Step 4 of the classification theorem below records. And A~ itself only undergoes congruences by matrices whose last row is (0⊤,1), which is a strictly smaller set than all congruences: that restriction is exactly why the affine classification is finer than Chapter 14’s.

Replacing Q by λQ with λ≠0 does not change the zero set and replaces A~ by λA~, so a scalar factor costs nothing geometrically and is worth allowing alongside the substitution.

Definition 22.5.2 (Affine Equivalence of Quadric Polynomials)

Two quadric polynomials Q1,Q2 on Fn are affinely equivalent when Q2=λ(Q1∘g) for some invertible affine map g (Definition 22.1.3) and some λ∈F with λ≠0.

This is an equivalence relation, because the invertible affine maps form a group and the nonzero scalars do too.

22.5.4. Centers

A circle has a center and a parabola does not, and the difference is visible in the equation before any picture is drawn.

A center is a point about which the equation is symmetric.

Definition 22.5.3 (Center of a Quadric)

Let Q be a quadric polynomial on Fn. A point p∈Fn is a center of Q if Q(p+v)=Q(p−v)for every v∈Fn. Q is central if it has at least one center, and centerless otherwise.

In words: reflecting in p, the map p+v↦p−v, carries the quadric to itself, and more than that, leaves the whole polynomial unchanged. The next proposition turns this into a linear system.

Proposition 22.5.2 (When a Center Exists)

Let charF≠2 and let Q(x)=x⊤Ax+2b⊤x+c be a quadric polynomial on Fn. Then:

  • (a) p is a center of Q if and only if Ap+b=0;
  • (b) Q is central if and only if b∈col(A); in particular Q is central whenever A is invertible, and the center is then the unique point −A−1b;
  • (c) if p is a center then Q(p+v)=Q(p)+v⊤Av for every v, and the value Q(p) is the same at every center.

Idea. Expand Q(p±v) and subtract. Everything even in v cancels and what is left is 4v⊤(Ap+b), a linear functional of v. A linear functional vanishes identically exactly when its vector vanishes, so the condition on p is one linear equation per coordinate. The 4 is where charF≠2 is spent.

Proof.

  • (a) Expanding and using A⊤=A, so that p⊤Av=v⊤Ap, Q(p±v)=p⊤Ap±2v⊤Ap+v⊤Av+2b⊤p±2b⊤v+c. Subtracting the two,

    Q(p+v)−Q(p−v)=4v⊤Ap+4b⊤v=4v⊤(Ap+b).
    (22.5.1)

    Since charF≠2, the element 4=2⋅2 is nonzero. So p is a center exactly when v⊤(Ap+b)=0 for every v. Taking v=ei shows that this forces every entry of Ap+b to vanish; conversely Ap+b=0 makes Eq. 22.5.1 zero for every v. Hence (a).

  • (b) By (a), a center is a solution of Ap=−b, and such a solution exists exactly when −b, equivalently b, lies in col(A) (Theorem 0.9.3). If A is invertible then col(A)=Fn and p=−A−1b is the only solution.

  • (c) With Ap+b=0, the expansion above with the sign + reads Q(p+v)=(p⊤Ap+2b⊤p+c)+2v⊤(Ap+b)+v⊤Av=Q(p)+v⊤Av. If p′ is a second center then A(p′−p)=(−b)−(−b)=0, so putting v=p′−p in the last identity gives Q(p′)=Q(p)+v⊤Av=Q(p)+v⊤0=Q(p). This proves the proposition.

Part (c) is the useful half. Translating the origin to a center — that is, applying Proposition 22.5.1 with M=I and t=p — gives b′=Ap+b=0, so the equation becomes v⊤Av+Q(p)=0 with no linear term at all, and Chapter 14 applies verbatim. That single move is the engine of the classification.

Example (The parabola is centerless)

Show that Q(x,y)=x2−y over R has no center, and find all centers of Q1(x,y)=x2−1.

Solution. For Q, A=diag(1,0) and b=(0,−12). Then col(A)=span(e1) and b∉col(A) because its second entry is nonzero, so by Proposition 22.5.2 (b) there is no center. Concretely, Q(p+v)−Q(p−v)=4v⊤(Ap+b)=4(v1p1−12v2), which is −2≠0 at v=e2 whatever p is.

For Q1, A=diag(1,0) and b=0∈col(A), so the centers are the solutions of Ap=0, namely the whole y-axis. That is right: Q1 defines the pair of lines x=±1, and reflecting in any point of the y-axis swaps them. And Q1(p)=−1 at every one of those centers, as Proposition 22.5.2 (c) promises.

Quick check. A quadric polynomial on Fn with rankA=n has exactly one center, and one with rankA=n−1 has either none or a whole line of them. Which is it for x2+y2−2x on R2, and which for x2+2y?

Solution. For x2+y2−2x we have A=I2 of rank 2 and b=(−1,0), so the unique center is −A−1b=(1,0); indeed the curve is the circle (x−1)2+y2=1. For x2+2y we have A=diag(1,0) of rank 1 and b=(0,1)∉col(A)=span(e1), so there is no center at all: it is a parabola. The line of centers occurs instead for x2−1, where b=0 does lie in col(A).

22.5.5. The affine classification over the reals

Now the theorem. Over R we may diagonalize the small matrix by Sylvester (Corollary 14.5.2), translate to kill as much of the linear part as a center allows, and then scale. What survives is a short list.

Theorem 22.5.3 (Affine Classification of Real Quadrics)

Let Q(x)=x⊤Ax+2b⊤x+c be a quadric polynomial on Rn and let r=rankA, which is ≥1 because A≠O (Definition 22.5.1). Then Q is affinely equivalent to exactly one polynomial from the following list, for one value of p in the range shown, where σr,p(y)=y12+⋯+yp2−yp+12−⋯−yr2:

  • (I) σr,p(y)−1, with 0≤p≤r;
  • (II) σr,p(y), with r≤2p≤2r;
  • (III) σr,p(y)−yr+1, with r<n and r≤2p≤2r.

Case (III) occurs exactly when Q is centerless. The parameter p that occurs is n+(A) or n−(A), the two being interchanged by a negative scalar factor (Definition 14.5.1).

Idea. Three moves, in this order, and each is a result already proved.

① Diagonalize the quadratic part. Sylvester’s law (Corollary 14.5.2) produces coordinates in which the quadratic part is σr,p; by Proposition 22.5.1 this changes b and c but nothing else.

② Complete the square in the first r variables. A translation kills the linear coefficients b1,…,br, because those are exactly the coordinates in which A is invertible. This is Proposition 22.5.2 read one coordinate at a time.

③ Deal with what is left, a polynomial σr,p+2∑i>rbiyi+c in which the yi with i>r appear only linearly. If they do not appear at all, scaling clears the constant to 0 or −1, giving (II) or (I). If one of them does appear, it can be used as a new coordinate that swallows the constant too, giving (III).

That the list has no repetitions is a separate, purely computational matter: the pair (inertia of A, inertia of A~) is an affine invariant by Proposition 22.5.1, and reading it off the three families separates them.

Proof. Step 1: diagonalize. Write (p,r−p,n−r) for the inertia of A (Definition 14.5.1); this p is the one carried through Steps 1 to 3. By Corollary 14.5.2 (a) there is an invertible M1 with M1⊤AM1=D, where D=diag(ϵ1,…,ϵn) has ϵi=1 for i≤p, ϵi=−1 for p<i≤r, and ϵi=0 for i>r. Substituting x=M1y and applying Proposition 22.5.1 with t=0, the polynomial becomes Q1(y)=σr,p(y)+2b1⊤y+c,b1=M1⊤b.

Step 2: complete the square. Let t have entries ti=−ϵib1,i for i≤r and ti=0 for i>r, and substitute y=z+t. By Proposition 22.5.1 with M=I, the new linear vector is b2=Dt+b1, whose i-th entry for i≤r is ϵiti+b1,i=−ϵi2b1,i+b1,i=0, since ϵi2=1 there; for i>r it is b1,i, unchanged. The new constant is c2=Q1(t). So Q2(z)=σr,p(z)+2∑i>rb1,izi+c2.

Step 3, Case A: b1,i=0 for every i>r. Then Q2=σr,p+c2.

If c2=0, this is σr,p. If r≤2p we are in case (II). Otherwise multiply by λ=−1 and reverse the order of the first r coordinates, which turns σr,p into σr,r−p with r≤2(r−p); again case (II).

If c2≠0, substitute zi=|c2|1/2wi for i≤r and zi=wi otherwise, an invertible linear change, and then multiply by λ=1/|c2|. The result is σr,p(w)+sgn(c2). If sgn(c2)=−1 this is case (I) with parameter p. If sgn(c2)=+1, multiply by −1 and reverse the order of the first r coordinates to get σr,r−p−1, case (I) with parameter r−p.

Step 3, Case B: b1,i≠0 for some i>r. Here r<n. Put c=(b1,r+1,…,b1,n)≠0 in Rn−r. Extend 2c to a basis of Rn−r (Theorem 1.6.5) and let N∈Mn−r(R) be the invertible matrix whose first row is 2c⊤ and whose remaining rows complete it to an invertible matrix; such rows exist because a basis of Rn−r written as rows forms an invertible matrix. Define new coordinates by ui=zi (i≤r),(ur+1,…,un)⊤=N(zr+1,…,zn)⊤+c2e1, an invertible affine substitution, under which ur+1=2c⊤(zr+1,…,zn)+c2. Hence Q2=σr,p(u)+ur+1. Replacing ur+1 by −yr+1 and keeping the other coordinates gives σr,p(y)−yr+1. If r>2p, multiply by −1, reverse the order of the first r coordinates and replace yr+1 by −yr+1; the result is σr,r−p(y)−yr+1 with r≤2(r−p). Either way we reach case (III).

Step 4: the list has no repetitions. By Proposition 22.5.1 an affine equivalence replaces A by λM⊤AM and A~ by λg^⊤A~g^, with M and g^ invertible. A congruence preserves inertia (Corollary 14.5.2 (b)), and multiplying a real symmetric matrix by λ leaves the inertia alone if λ>0 and exchanges n+ with n− if λ<0. Hence the invariant pair (InA, InA~),taken up to exchanging n+ with n−in both entries simultaneously, in which In is the inertia triple of Definition 17.10.1, is an invariant of the affine equivalence class. Write Dr,p=diag(ϵ1,…,ϵn) for the small matrix shared by all three families. In family (I) the linear vector is 0 and the constant is −1, so A~=Dr,p⊕(−1); in family (II) the constant is 0, so A~=Dr,p⊕0. In family (III) the linear vector is −12er+1 and the constant is 0, so A~ is diagonal except in the four positions indexed by r+1 and n+1, where it carries the block (0−12−120), whose eigenvalues are 12 and −12; the remaining diagonal entries are ϵ1,…,ϵr and n−r−1 zeros. So (I):InA=(p,r−p,n−r),InA~=(p,r−p+1,n−r);(II):InA=(p,r−p,n−r),InA~=(p,r−p,n−r+1);(III):InA=(p,r−p,n−r),InA~=(p+1,r−p+1,n−r−1). Therefore rankA=r in all three, while rankA~ is r+1, r and r+2 respectively. Ranks are unaffected by the exchange of n+ and n−, so the pair (rankA,rankA~) already determines both the family and r.

It remains to separate two members of one family with the same r. If the invariants agree without the exchange, then InA gives p=p′ at once. Suppose instead they agree after the exchange, so that p′=r−p.

Family (I). The exchanged InA~ of the p-member is (r−p+1,p,n−r), while the p′-member has (p′,r−p′+1,n−r)=(r−p,p+1,n−r). Comparing first entries gives r−p+1=r−p, which is false. So family (I) has no repetitions.

Families (II) and (III). Here both members satisfy r≤2p and r≤2p′=2(r−p), that is 2p≤r. Hence 2p=r=2p′ and p=p′.

So distinct entries of the list are affinely inequivalent, and Step 3 showed every Q meets one. The normal form reached has small matrix Dr,p, of inertia (p,r−p,n−r); since InA is preserved by affine equivalence up to the exchange of n+ with n−, that p is n+(A) or n−(A), as claimed. Finally, Q is centerless exactly in case (III): by Proposition 22.5.2 (b) centrality is the condition b∈col(A), which is preserved by affine equivalence because centers are (if p is a center of Q and g is invertible affine, then g−1(p) is a center of λQ∘g, since v↦Mv is a bijection of Rn); and 0 is a center in cases (I) and (II), while in case (III) the small matrix is Dr,p and the linear vector is −12er+1∉col(Dr,p)=span(e1,…,er). This proves the theorem.

The nine real conics

For n=2 the parameters run over r∈{1,2} and 0≤p≤r, and the list has nine entries. Here they are, with the zero set of each. The last column records the classical names, and so does the paragraph on n=3 below; those names are not defined anywhere in this book, and each set-theoretic reading is a one-line check from the normal form — for instance x2+y2=−1 has no real solution because a sum of squares is nonnegative, and x2−y2=0 is the pair of lines y=±x, by factoring.

Normal form (r,p) Family InA InA~ Zero set
x2+y2=1 (2,2) I (2,0,0) (2,1,0) ellipse
x2−y2=1 (2,1) I (1,1,0) (1,2,0) hyperbola
x2+y2=−1 (2,0) I (2,0,0) (3,0,0) empty
x2+y2=0 (2,2) II (2,0,0) (2,0,1) one point
x2−y2=0 (2,1) II (1,1,0) (1,1,1) two crossing lines
x2=1 (1,1) I (1,0,1) (1,1,1) two parallel lines
x2=−1 (1,0) I (1,0,1) (2,0,1) empty
x2=0 (1,1) II (1,0,1) (1,0,2) one line
x2=y (1,1) III (1,0,1) (2,1,0) parabola

Two rows of the table are written with the parameter p of the negated polynomial: x2+y2=−1 means −x2−y2−1=0, which is σ2,0−1 after multiplying by −1, and likewise for x2=−1. Reading the two inertia columns up to a simultaneous exchange of the first two entries confirms that no two rows agree: rows 1, 3, 4 have InA=(2,0,0) and differ in InA~; rows 2 and 5 differ in InA~; and rows 6, 7, 8, 9 have InA=(1,0,1) with four different InA~. In each of those two groups the exchange changes InA, so it cannot rescue a match. The one group where InA survives the exchange is rows 2 and 5, with InA=(1,1,0); there InA~ is (1,2,0) against (1,1,1), and the exchanged forms (2,1,0) and (1,1,1) still disagree.

Rows 3 and 7 are the honest surprise: both zero sets are empty, and both are needed, because the polynomials are not affinely equivalent. Over C they are quite different objects. Row 7 is x2+1=(x−i)(x+i), a pair of distinct lines, while row 3 has an invertible small matrix. Exercise (C2: Over another field) (a) below classifies affine quadrics over C, where rank alone is the invariant and the two rows stay apart: row 3 has rankA=2 and rankA~=3, row 7 has 1 and 2. Read projectively, Section 10’s rank criterion makes row 3 a smooth conic.

For n=3 the same count gives 4+7+6=17 normal forms. The new shapes are the ellipsoid x2+y2+z2=1, the hyperboloids of one and two sheets x2+y2−z2=±1, the cone x2+y2−z2=0, the elliptic and hyperbolic paraboloids x2±y2=z, and the three cylinders x2+y2=1, x2−y2=1, x2=y, which are the conics of the table dragged along the missing coordinate. The rest are a pair of intersecting planes, a pair of parallel planes, a double plane, a line, a point, and three empty sets.

Warning. The rank of A~ does not classify; the inertia does. The ellipse x2+y2−1, the hyperbola x2−y2−1, and the empty conic x2+y2+1 all have rankA=2 and rankA~=3. Their small matrices already differ in inertia in the hyperbola’s case, and the ellipse and the empty conic are told apart only by InA~=(2,1,0) against (3,0,0). A count of nonzero eigenvalues cannot distinguish a curve from nothing at all.

22.5.6. Euclidean quadrics and principal axes

Affine equivalence forgets shape: every ellipse is affinely a circle. To keep shape, restrict the allowed substitutions to the Euclidean motions of Rn, which by Theorem 22.4.1 are exactly the maps x=Uy+t with U∈O(n); that theorem gives one direction, and the other is that such a map preserves distances, since U preserves norms (Theorem 11.7.3). Call two quadric polynomials Euclidean equivalent when one is Q∘g for such a g. Note that no scalar factor is allowed now, and that is deliberate: a scalar factor would rescale the lengths we are trying to measure.

The gain is immediate. Under x=Uy+t the small matrix becomes U⊤AU, which is both a congruence and a similarity, since U⊤=U−1. So the eigenvalues of A, not merely their signs, are Euclidean invariants. This is the observation Chapter 12 made in Theorem 12.5.5, and the classification below is that theorem with the origin allowed to move.

Theorem 22.5.4 (Euclidean Classification of Real Quadrics)

Let Q(x)=x⊤Ax+2b⊤x+c be a quadric polynomial on Rn, let r=rankA, and let λ1,…,λr be the nonzero eigenvalues of A, listed with multiplicity. Then there is a Euclidean motion x=Uy+t, with U∈O(n), after which Q becomes exactly one of

  • (a) λ1y12+⋯+λryr2+c0, when Q is central, where c0=Q(p) at any center p;
  • (b) λ1y12+⋯+λryr2+2μyr+1, when Q is centerless, where μ=‖b−Pcol(A)b‖>0.

The columns of U are an orthonormal basis of eigenvectors of A, the first r of them for λ1,…,λr; these are the principal axes of Q. The multiset {λ1,…,λr} and the number c0, respectively μ, are unchanged by every Euclidean motion, so the normal form is unique up to the order of its terms.

Idea. The spectral theorem replaces Step 1 of Theorem 22.5.3, and it is the only change: instead of scaling the eigenvalues away to ±1 we keep them, because an orthogonal matrix is not allowed to rescale. Steps 2 and 3 then go through with one adjustment. In Step 3 we may no longer stretch a coordinate to absorb c; instead we rotate the last n−r coordinates so that c points along one of them, which is legitimate because those coordinates carry the eigenvalue 0 and a rotation among them leaves the quadratic part untouched.

Proof. Step 1. By Corollary 12.5.2 there is U1∈O(n) with U1⊤AU1=D=diag(λ1,…,λn), the eigenvalues of A with multiplicity, and we order the basis so that λ1,…,λr are the nonzero ones; the count is right because D is similar to A, so rankD=rankA=r, and a diagonal matrix has rank equal to its number of nonzero entries. Substituting x=U1y and using Proposition 22.5.1 with t=0 gives Q1(y)=∑i=1rλiyi2+2b1⊤y+c,b1=U1⊤b.

Step 2. Translate by t1 with entries −b1,i/λi for i≤r and 0 otherwise, which is legitimate because those λi are nonzero. As in Theorem 22.5.3, Step 2, the new linear vector has i-th entry λit1,i+b1,i=0 for i≤r and b1,i for i>r. Write c=(b1,r+1,…,b1,n) and c′ for the new constant, so Q2(z)=∑i=1rλizi2+2c⊤(zr+1,…,zn)+c′.

Claim: c=0 if and only if Q is central, and in general ‖c‖=‖b−Pcol(A)b‖. The last n−r columns qr+1,…,qn of U1 are an orthonormal basis of the eigenspace of A for 0, that is of nul(A), and the entries of c are qi⊤b=⟨b,qi⟩. By Theorem 11.6.5 (b) applied to the self-adjoint operator x↦Ax, we have col(A)=nul(A)⊥, so by Theorem 11.3.2 the component of b in nul(A) is b−Pcol(A)b, and by Theorem 11.2.1 its norm is ‖c‖. Hence c=0 exactly when b∈col(A), which is centrality by Proposition 22.5.2 (b). This proves the claim.

Step 3, central case. Here c=0, so Q2=∑i≤rλizi2+c′, which is form (a). The new origin p satisfies Ap+b=0 by Proposition 22.5.2 (a), because the linear part has vanished, so p is a center and c′=Q(p)=c0 by Proposition 22.5.1; Proposition 22.5.2 (c) says the value does not depend on which center.

Step 3, centerless case. Here c≠0. By Corollary 11.2.3 the unit vector c/‖c‖ extends to an orthonormal basis of Rn−r; let R∈O(n−r) have that basis as its columns, so Re1=c/‖c‖ and therefore R⊤c=‖c‖e1. Put U2=Ir⊕R, which lies in O(n). Substituting z=U2w leaves the quadratic part alone, since U2⊤(diag(λ1,…,λr)⊕O)U2=diag(λ1,…,λr)⊕R⊤OR=diag(λ1,…,λr)⊕O, and turns the linear part into 2c⊤R(wr+1,…,wn)⊤=2‖c‖wr+1. Finally translate wr+1 by −c′/(2‖c‖), which changes no quadratic term because the coefficient of wr+12 is λr+1=0. The result is form (b) with μ=‖c‖>0.

Step 4: invariance. Let g(y)=Uy+t with U∈O(n). By Proposition 22.5.1, Q∘g has small matrix U⊤AU, which is similar to A and so has the same eigenvalues with multiplicity (Theorem 7.10.3). Its linear vector is b′=U⊤(At+b). For the central case, g−1(p) is a center of Q∘g whenever p is a center of Q, as noted at the end of Theorem 22.5.3, and the value there is (Q∘g)(g−1(p))=Q(p); so c0 is unchanged. For the centerless case, nul(U⊤AU)=U⊤nul(A), and At∈col(A)=nul(A)⊥, so the component of b′ in nul(U⊤AU) is U⊤ applied to the component of b in nul(A); an orthogonal matrix preserves norms (Theorem 11.7.3), so μ is unchanged. This proves the theorem.

When A is invertible and c0≠0, dividing form (a) by −c0 puts it as y12a12+⋯+yn2an2=1with1ai2=λi−c0, whenever all the ratios λi/(−c0) are positive, which is the ellipsoid case. The semi-axes ai=−c0/λi lie along the eigenvectors, and a large eigenvalue gives a short axis, exactly as in Example (Finding the axes of a conic).

Remark. That last sentence is the Rayleigh quotient in disguise. For a centered ellipsoid x⊤Ax=1 with A positive definite, any point x on it has RA(x)=x⊤Ax/‖x‖2=1/‖x‖2. By Proposition 17.1.1 the quotient attains its maximum λmax at a top eigenvector, and since RA is unchanged by scaling while every nonzero vector scales to a point of the ellipsoid, the maximum over the ellipsoid is that same λmax, attained at the scaled top eigenvector; so ‖x‖ attains its minimum 1/λmax there: the shortest semi-axis points along the eigenvector of the largest eigenvalue. The longest does the same with the smallest eigenvalue. Chapter 24 uses the same picture for a vibrating chain whose masses are all equal, where the eigenvalues are squared frequencies and the principal axes are the shapes in which the chain vibrates.

Example (One conic, two classifications)

Over R, consider Q(x,y)=5x2+4xy+5y2−14x−14y−7. Classify its zero set affinely, and then find its center, principal axes, and semi-axes.

Solution. The small and big matrices are A=(5225),A~=(52−725−7−7−7−7), the off-diagonal 2 being half of 4 and the −7 in the last column being half of −14.

Center. detA=21≠0, so by Proposition 22.5.2 (b) there is exactly one center, the solution of Ap=−b=(7,7), namely p=(1,1). Then c0=Q(1,1)=5+4+5−14−14−7=−21.

Affine route. By Proposition 22.5.2 (c), translating to p gives 5X2+4XY+5Y2−21 with X=x−1, Y=y−1. Completing the square, 5X2+4XY+5Y2=5(X+25Y)2+215Y2, since 5−45=215. So with s=X+25Y and t=Y the equation is 5s2+215t2=21, and the further scaling w1=5/21s, w2=t/5 gives w12+w22=1. The inertia of A is (2,0,0) and that of A~ is (2,1,0), since detA~=(detA)c0=−441<0 forces one negative eigenvalue and A supplies two positive ones. Row 1 of the table: an ellipse.

Euclidean route. The characteristic polynomial of A is x2−10x+21=(x−3)(x−7), so the eigenvalues are 3 and 7 with unit eigenvectors q1=12(1,−1),q2=12(1,1), as A(1,−1)=(3,−3) and A(1,1)=(7,7). By Theorem 22.5.4 the motion x=Uy+p with U=(q1 q2) turns Q into 3y12+7y22−21, that is y127+y223=1. So the ellipse is centered at (1,1), with semi-axis 7 along q1 and semi-axis 3 along q2. Check the longer one: the point (1,1)+7q1=(1+7/2,1−7/2) has X=−Y=7/2, and 5X2+4XY+5Y2=(5−4+5)⋅72=21, as required.

What each route saw. Both say “ellipse”. Only the Euclidean one says which ellipse: the affine route ended at a circle of radius 1, having first sheared the plane by s=X+25Y and then stretched it by the unequal factors 5/21 and 1/5 to get there.

Diagram. Labels: x, y, (1,1), sqrt 7\,cvec q_1, sqrt 3\,cvec q_2, 5x^2+4xy+5y^2-14x-14y-7=0: center (1,1),\\ axes along the eigenvectors of begin psmallmatrix5&2\\2&5end psmallmatrix

The two classifications answer two different questions, and it is worth being blunt about which is which. The affine one asks what the quadric is made of — a curve, a pair of lines, a point, nothing — and its invariants are two inertias. The Euclidean one asks what the quadric looks like, and its invariants are the eigenvalues themselves. Section 10 asks a third question, the projective one, and the answer there is shorter than both.

22.5.7. Exercises

A. Check your understanding

Exercise (A1)
  • (a) State Definition 22.5.1, including every clause on A, and say what goes wrong if the clause “nonzero” is dropped.
  • (b) Write down the big matrix A~ of 3x2−2xy+y2+4x−2 over R.
  • (c) Name the three places in this section where charF≠2 is used.
  • (d) True or false: two quadric polynomials with the same zero set are affinely equivalent. Justify your answer.
  • (e) A quadric on R5 has rankA=3 and rankA~=5. Which of the three families of Theorem 22.5.3 does it belong to, and is it central?

Solution.

  • (a) Q(x)=x⊤Ax+2b⊤x+c with A∈Mn(F) symmetric and nonzero, b∈Fn, c∈F, over a field of characteristic ≠2. If A=O were allowed, Q would be an affine function and its zero set a flat or all of Fn; nothing quadratic would remain, and Theorem 22.5.3, whose first step diagonalizes a small matrix of rank r≥1, would have nothing to work on.

  • (b) The coefficient of xy is −2, so a12=−1; the coefficient of x is 4, so b1=2; there is no y term, so b2=0. Hence A~=(3−12−11020−2).

  • (c) Writing a linear part ∑βixi as 2b⊤x; recovering a symmetric A from the quadratic part, where the off-diagonal entries are halves (Theorem 14.3.5); and dividing by 4 in Eq. 22.5.1 to get the center equation Ap+b=0.

  • (d) False. Over R, x2+y2+1 and x2+1 both have empty zero set, but rankA is 2 for the first and 1 for the second, and rank is an affine invariant by Proposition 22.5.1.

  • (e) rankA~=rankA+2, so it is family (III), and family (III) is exactly the centerless case by Theorem 22.5.3.

B. Practice

Exercise (B1: Centers)

For each of the following quadric polynomials over R, determine the set of centers. Justify your answer.

  • (a) 2x2+3y2−4x+6y+1.
  • (b) x2−4xy+4y2+2x−4y+5.
  • (c) x2−4xy+4y2+2x+y.

Solution. In each case solve Ap=−b (Proposition 22.5.2 (a)).

  • (a) A=diag(2,3), b=(−2,3). Since A is invertible the center is unique: p=−A−1b=(1,−1).

  • (b) A=(1−2−24), which has rank 1 with col(A)=span((1,−2)), and b=(1,−2)∈col(A). So centers exist, and they solve p1−2p2=−1: the line x−2y+1=0. (Consistently, the polynomial is (x−2y+1)2+4, whose zero set is empty but whose equation is symmetric about that line.)

  • (c) Same A, but b=(1,12). If b were in col(A)=span((1,−2)) its second entry would be −2 times its first, and 12≠−2. So there is no center; this is a parabola.

Exercise (B2: Affine type)

Classify the conic x2+6xy+y2−4x−4y+3=0 over R: find InA and InA~, name the row of the table, and exhibit the invertible affine substitution that reaches the normal form.

Solution. Here A=(1331) and b=(−2,−2), c=3. The eigenvalues of A are 4 and −2, from x2−2x−8=(x−4)(x+2), so InA=(1,1,0) by Theorem 14.5.3, and detA=−8≠0.

The unique center solves Ap=(2,2), giving p=(12,12), and c0=Q(p)=14+32+14−2−2+3=1. Translating, the equation becomes X2+6XY+Y2+1=0 with X=x−12, Y=y−12. Completing the square, X2+6XY+Y2=(X+3Y)2−8Y2, so with s=X+3Y, t=Y the equation is s2−8t2=−1. Multiplying by −1 and setting w1=22t, w2=s gives w12−w22=1.

So A~ is congruent to diag(1,−8,1) up to the translation, giving InA~=(2,1,0); up to the simultaneous exchange this is the invariant ((1,1,0),(1,2,0)) of row 2. The conic is a hyperbola.

Exercise (B3: Principal axes)

Find the center, principal axes, and semi-axes of 2x2−4xy+5y2−4x+2y−7=0 over R.

Solution. A=(2−2−25), b=(−2,1), c=−7. Since detA=6≠0 the center solves Ap=(2,−1): from 2p1−2p2=2 and −2p1+5p2=−1 we get p2=13, p1=43. Then c0=Q(p)=b⊤p+c=(−2)43+1⋅13−7=−283, using Q(p)=p⊤(Ap+b)+b⊤p+c=b⊤p+c, valid because Ap+b=0.

The characteristic polynomial is x2−7x+6=(x−1)(x−6), so λ=1,6 with unit eigenvectors q1=15(2,1) and q2=15(1,−2); indeed A(2,1)=(2,1) and A(1,−2)=(6,−12). By Theorem 22.5.4 the normal form is y12+6y22−283=0, that is y1228/3+y2214/9=1. So the curve is an ellipse centered at (43,13), with semi-axis 221/3=28/3 along q1 and semi-axis 14/3 along q2.

C. Going deeper

Exercise (C1: Which quadrics are determined by their points)

Work over R with n=2.

  • (a) Give two quadric polynomials with the same zero set that are not proportional.
  • (b) Prove that if Q is a quadric polynomial whose zero set contains three points of some line L, then Q vanishes on all of L.
  • (c) Deduce that the zero set of a quadric polynomial is never exactly a set of three noncollinear points.

Hint for (b): restrict Q to a parametrization of L.

Solution.

  • (a) Take Q1=x2+y2 and Q2=x2+2y2. Both vanish exactly at 0, since a sum of squares of reals is zero only when each is, but Q2≠λQ1 for any λ: comparing the coefficients of x2 forces λ=1, and then the coefficients of y2 disagree.

  • (b) Write L={p+tv:t∈R} with v≠0, a flat of dimension 1 (Definition 22.2.1). Then f(t)=Q(p+tv)=(v⊤Av)t2+2(v⊤(Ap+b))t+Q(p) by the expansion in the proof of Proposition 22.5.2, so f is a polynomial of degree at most 2 in t. If Q vanishes at three distinct points of L, then f has three distinct roots. A nonzero polynomial of degree at most 2 over a field has at most 2 roots (Corollary 6.1.4), so f is the zero polynomial and Q vanishes on all of L.

  • (c) Suppose, for a contradiction, that the zero set of a quadric polynomial Q is exactly {P1,P2,P3} with the three points not collinear, that is affinely independent (Definition 18.2.1). Then (P1,P2,P3) is an affine frame of R2 (Definition 22.2.4), so by Theorem 22.2.8 there is an affine map f carrying it to the frame ((0,0),(1,0),(0,1)). That f is invertible: by Theorem 22.1.5 (b) its linear part sends P1P2→ to e1 and P1P3→ to e2, so it carries a basis to a basis and is invertible, whence f is bijective by Proposition 22.1.7. Substituting by f−1, we may therefore assume the three points are (0,0), (1,0), (0,1), since an invertible affine substitution carries the zero set bijectively to the zero set (Proposition 22.5.1).

Write Q=ax2+2hxy+by2+2dx+2ey+c. Then Q(0,0)=c=0, Q(1,0)=a+2d=0 and Q(0,1)=b+2e=0, so Q=ax(x−1)+by(y−1)+2hxy. Restricting to the line y=0 gives ax(x−1). If a=0 this vanishes identically and the whole line lies in the zero set, which is impossible for a three-point set; so a≠0, and by the same argument on x=0, b≠0.

Now fix m∈R with m≠0 and restrict to the line y=mx: Q(t,mt)=t[(a+2hm+bm2)t−(a+bm)]. The only point of {P1,P2,P3} on that line is (0,0), because (1,0) needs m=0 and (0,1) is not of the form (t,mt). So t=0 must be the only root. If a+2hm+bm2≠0, the bracket vanishes at t=(a+bm)/(a+2hm+bm2), and that must be 0, forcing a+bm=0. Hence for every m≠0, a+2hm+bm2=0ora+bm=0. The first equation is a quadratic in m with leading coefficient b≠0, so it has at most 2 roots, and the second has exactly one since b≠0 (Corollary 6.1.4). That is at most three permitted values of m, while R∖{0} is infinite. Contradiction. Hence no quadric polynomial over R has exactly three noncollinear points as its zero set.

Exercise (C2: Over another field)
  • (a) Over C, prove that every quadric polynomial in n variables is equivalent, under an invertible affine substitution and a nonzero scalar, to one of σr(y)−1, σr(y), or σr(y)−yr+1 with r<n, where σr(y)=y12+⋯+yr2. How many normal forms are there for n=2?
  • (b) Over F3, how many points does the conic x2+y2−1=0 have in F32? And x2+y2=0?

Solution.

  • (a) Repeat the proof of Theorem 22.5.3, replacing Corollary 14.5.2 by Corollary 14.4.4, which says that over C a symmetric matrix of rank r is congruent to Ir⊕On−r: rank alone is the congruence invariant. Step 1 gives σr+2b1⊤y+c; Step 2 is unchanged; and in Step 3 Case A with c2≠0 we substitute zi=γwi for i≤r with γ2=−c2, possible because every complex number has a square root, and obtain σr−1 after dividing by −c2. No sign remains to normalize, and no p survives, so the invariants reduce to (rankA,rankA~)=(r,r+1),(r,r),(r,r+2), which are pairwise distinct. For n=2: r=1 gives three forms and r=2 gives two (family (III) needs r<n), so five in all, against nine over R. The four forms that disappear are accounted for by inertia: over C the ellipse, the hyperbola, and the empty conic x2+y2+1 all become σ2−1; the point and the crossing lines both become σ2; and x2=1 and x2=−1 both become σ1−1, the last two because i2=−1.

  • (b) The squares in F3 are 02=0, 12=1, 22=1, so x2∈{0,1} and x2=1 has two solutions while x2=0 has one. For x2+y2=1: either x2=1 and y2=0, giving 2⋅1=2 points, or x2=0 and y2=1, giving 1⋅2=2 points; and 1+1=2≠1 rules out the remaining combination. Total 4 points, namely (±1,0) and (0,±1). For x2+y2=0: the options are 0+0 only, since 1+1=2≠0 and 1+0=1≠0. Total 1 point, the origin. So over F3 this “circle” behaves like a real circle in the first case and like the real point-conic in the second, because −1 is not a square in F3.

Exercise (C3: The center as a projection)

Let Q(x)=x⊤Ax+2b⊤x+c be a central quadric polynomial on Rn with r=rankA.

  • (a) Prove that the set of centers is a flat of dimension n−r (Definition 22.2.1).
  • (b) Prove that the set of centers is contained in the zero set of Q if and only if Q(p)=0 for one, hence every, center p.
  • (c) Give an example on R3 with a line of centers, none of which lies on the quadric.

Solution.

  • (a) By Proposition 22.5.2 (a) the centers are the solutions of Ap=−b, a consistent linear system. By Theorem 3.1.3 its solution set is p0+nul(A) for any particular solution p0, a coset of nul(A), hence a flat with direction space nul(A). Its dimension is dim⁡nul(A)=n−rankA=n−r by the Rank-Nullity Theorem (Theorem 2.3.1).

  • (b) By Proposition 22.5.2 (c) the value Q(p) is the same at every center, so “for one” and “for every” agree; and the set of centers lies in the zero set exactly when that common value is 0.

  • (c) Take Q(x,y,z)=x2+y2−1 on R3. Here A=diag(1,1,0) has rank 2, b=0∈col(A), and the centers are the solutions of Ap=0, namely the z-axis, a line as (a) predicts with n−r=1. The common value is Q(0,0,z)=−1≠0, so no center lies on the quadric, which is the cylinder of radius 1 about the z-axis.

Found a typo or a mistake? Report it, or read this page’s source

The text of this book is licensed under CC BY-NC-SA 4.0.