The math optional, made finite. Daily Practice

Reduction of Second-Degree Equation to Canonical Form

At a Glance

Why This Chapter Matters

This topic appeared once in 2017 as a 15-mark Section B derivation, making it a low-frequency but high-marks-per-appearance atom. UPSC asks you to reduce a given second-degree equation in three variables to canonical form by diagonalising the associated symmetric matrix — the question tests whether you can carry out eigenvalue decomposition in a coordinate-geometry setting and correctly identify the resulting quadric surface. Even as a T4 atom, the technique (matrix diagonalisation + completing the square for the linear part) is a direct application of Linear Algebra skills that T1–T2 atoms also test, so the preparation cost is shared.

Minimum Theory

The General Second-Degree Equation

A general second-degree (quadric) equation in three variables is

F(x,y,z)=ax2+by2+cz2+2fyz+2gzx+2hxy+2ux+2vy+2wz+d=0.F(x,y,z) = ax^2 + by^2 + cz^2 + 2fyz + 2gzx + 2hxy + 2ux + 2vy + 2wz + d = 0.

It can be written compactly as XTAX+2bTX+d=0\mathbf{X}^T A \mathbf{X} + 2\mathbf{b}^T \mathbf{X} + d = 0, where

A=(ahghbfgfc),b=(uvw),X=(xyz).A = \begin{pmatrix} a & h & g \\ h & b & f \\ g & f & c \end{pmatrix}, \quad \mathbf{b} = \begin{pmatrix} u \\ v \\ w \end{pmatrix}, \quad \mathbf{X} = \begin{pmatrix} x \\ y \\ z \end{pmatrix}.

AA is real symmetric, so all its eigenvalues λ1,λ2,λ3\lambda_1, \lambda_2, \lambda_3 are real and it is orthogonally diagonalisable.

Step 1 — Diagonalise the Quadratic Part

Find eigenvalues of AA from det(AλI)=0\det(A - \lambda I) = 0. For each eigenvalue find the normalised eigenvector. Arrange eigenvectors as columns of an orthogonal matrix PP (the rotation matrix).

The substitution X=PY\mathbf{X} = P\mathbf{Y} (with Y=(X,Y,Z)T\mathbf{Y} = (X, Y, Z)^T) eliminates all cross terms; the quadratic part becomes

λ1X2+λ2Y2+λ3Z2.\lambda_1 X^2 + \lambda_2 Y^2 + \lambda_3 Z^2.

Step 2 — Absorb the Linear Part (Translation)

After the rotation the full equation reads

λ1X2+λ2Y2+λ3Z2+2uX+2vY+2wZ+d=0,\lambda_1 X^2 + \lambda_2 Y^2 + \lambda_3 Z^2 + 2u'X + 2v'Y + 2w'Z + d' = 0,

where (u,v,w)T=PTb(u', v', w')^T = P^T \mathbf{b} and d=dd' = d. Complete the square in each variable (for any nonzero λi\lambda_i):

λi ⁣(Xi+uiλi)2(ui)2λi.\lambda_i \!\left(X_i + \frac{u_i'}{\lambda_i}\right)^2 - \frac{(u_i')^2}{\lambda_i}.

Translate: Xi=Xi+ui/λiX_i' = X_i + u_i'/\lambda_i. Collect the constant terms on the right side to obtain the canonical form

λ1X2+λ2Y2+λ3Z2=k\lambda_1 X'^2 + \lambda_2 Y'^2 + \lambda_3 Z'^2 = k

for some constant kk (or a more specialised form if some λi=0\lambda_i = 0).

Classification of Quadric Surfaces

Canonical formName
X2a2+Y2b2+Z2c2=1\frac{X^2}{a^2}+\frac{Y^2}{b^2}+\frac{Z^2}{c^2}=1Ellipsoid
X2a2+Y2b2Z2c2=1\frac{X^2}{a^2}+\frac{Y^2}{b^2}-\frac{Z^2}{c^2}=1Hyperboloid of one sheet
X2a2+Y2b2Z2c2=1\frac{X^2}{a^2}+\frac{Y^2}{b^2}-\frac{Z^2}{c^2}=-1Hyperboloid of two sheets
X2a2+Y2b2=Zc\frac{X^2}{a^2}+\frac{Y^2}{b^2}=\frac{Z}{c}Elliptic paraboloid
X2a2Y2b2=Zc\frac{X^2}{a^2}-\frac{Y^2}{b^2}=\frac{Z}{c}Hyperbolic paraboloid
X2a2+Y2b2=Z2c2\frac{X^2}{a^2}+\frac{Y^2}{b^2}=\frac{Z^2}{c^2}Elliptic cone

Key Determinant Invariants

Let Δ=det(AbbTd)\Delta = \det\begin{pmatrix}A & \mathbf{b}\\ \mathbf{b}^T & d\end{pmatrix} (the 4×44\times4 matrix of the full equation) and δ=detA\delta = \det A. These are rotation-invariant and help classify the surface after finding canonical form.

Question Archetypes

ArchetypeRecognition
full-reductionGiven a quadric equation, find eigenvalues of AA, rotate, translate, state canonical form and surface type

full-reduction (1 question; 2017)

Recognition Cues

Solution Template

  1. Write down the symmetric matrix AA by reading off coefficients; write b\mathbf{b} and dd.
  2. Compute det(AλI)=0\det(A - \lambda I) = 0 and solve for eigenvalues λ1,λ2,λ3\lambda_1, \lambda_2, \lambda_3.
  3. For each eigenvalue find the eigenvector; normalise and (if repeated) apply Gram–Schmidt to get an orthonormal set.
  4. Form P=[e^1e^2e^3]P = [\hat{e}_1 | \hat{e}_2 | \hat{e}_3] (orthogonal matrix).
  5. Compute (u,v,w)T=PTb(u', v', w')^T = P^T \mathbf{b}.
  6. Complete the square: the constant accumulated is k=d+λi0(ui)2/λik = -d' + \sum_{\lambda_i \neq 0} (u_i')^2/\lambda_i.
  7. Write canonical form; divide through by kk (if k0k \neq 0) and identify surface type.

Worked Example

2017 Paper 1, 2017-P1-Q5b (15 marks)

Reduce the quadric 2x2+2y2+2z22yz2zx2xy=32x^2 + 2y^2 + 2z^2 - 2yz - 2zx - 2xy = 3 to canonical form and identify the surface.

Step 1. Write the matrix.

The quadratic form has a=b=c=2a = b = c = 2, f=g=h=1f = g = h = -1 (since coefficient of yzyz is 2f=22f = -2, etc.).

A=(211121112).A = \begin{pmatrix} 2 & -1 & -1 \\ -1 & 2 & -1 \\ -1 & -1 & 2 \end{pmatrix}.

There are no linear terms, so b=0\mathbf{b} = \mathbf{0} and d=3d = -3 (moving 3 to the left gives 3=0\cdots - 3 = 0, but we keep the equation as stated).

Step 2. Find eigenvalues.

det(AλI)=det(2λ1112λ1112λ).\det(A - \lambda I) = \det\begin{pmatrix} 2-\lambda & -1 & -1 \\ -1 & 2-\lambda & -1 \\ -1 & -1 & 2-\lambda \end{pmatrix}.

Use the fact that A=3IJA = 3I - J where JJ is the all-ones matrix. The eigenvalues of JJ (for 3×33\times3) are 33 (once) and 00 (twice). Hence eigenvalues of A=3IJA = 3I - J are 33=03 - 3 = 0 (once) and 30=33 - 0 = 3 (twice).

So λ1=0\lambda_1 = 0, λ2=λ3=3\lambda_2 = \lambda_3 = 3.

Step 3. Find eigenvectors.

For λ=0\lambda = 0: (A)v=0(A)\mathbf{v} = 0. All rows of AA sum to 00, so (1,1,1)T(1,1,1)^T is an eigenvector. Normalised: e^1=13(1,1,1)T\hat{e}_1 = \tfrac{1}{\sqrt{3}}(1,1,1)^T.

For λ=3\lambda = 3: (A3I)v=0(A - 3I)\mathbf{v} = 0, i.e., (IJ+3I)v=0(-I - J + 3I)\mathbf{v} = 0 gives Jv=0-J\mathbf{v} = 0, meaning v1+v2+v3=0v_1 + v_2 + v_3 = 0. Two independent solutions: take v2=(1,1,0)T\mathbf{v}_2 = (1,-1,0)^T and v3=(1,0,1)T\mathbf{v}_3 = (1,0,-1)^T. Apply Gram–Schmidt:

e^2=12(1,1,0)T.\hat{e}_2 = \frac{1}{\sqrt{2}}(1,-1,0)^T.

v3=(1,0,1)T(1,0,1)(1,1,0)2(1,1,0)T=(1,0,1)T12(1,1,0)T=(12,12,1)T.\mathbf{v}_3' = (1,0,-1)^T - \frac{(1,0,-1)\cdot(1,-1,0)}{2}(1,-1,0)^T = (1,0,-1)^T - \frac{1}{2}(1,-1,0)^T = \left(\frac{1}{2},\frac{1}{2},-1\right)^T.

e^3=16(1,1,2)T.\hat{e}_3 = \frac{1}{\sqrt{6}}(1,1,-2)^T.

Step 4. Rotate.

The substitution X=PY\mathbf{X} = P\mathbf{Y} with P=[e^1e^2e^3]P = [\hat{e}_1|\hat{e}_2|\hat{e}_3] converts the equation to

0X2+3Y2+3Z2=3.0 \cdot X^2 + 3Y^2 + 3Z^2 = 3.

(The b=0\mathbf{b} = 0 so no linear terms arise.)

Step 5. Canonical form.

Y2+Z2=1.Y^2 + Z^2 = 1.

Step 6. Identify the surface.

This is a right circular cylinder with axis along the XX-direction (the λ=0\lambda = 0 eigenvector direction, i.e., the direction (1,1,1)T(1,1,1)^T) and radius 1.

Y2+Z2=1(right circular cylinder)\boxed{Y^2 + Z^2 = 1 \quad \text{(right circular cylinder)}}

Common Traps

Marks-Aware Writing

A 15-mark derivation rewards systematic layout. Allocate roughly:

Write each step as a numbered heading in your answer script. Do not skip the classification step — it is explicitly asked for and carries marks.

Practice Set

Only one historical question on this atom (shown above).

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.