Skip to content

Principal axes of a conic

Rotate the conic 5x₁² − 4x₁x₂ + 5x₂² = 48 to its principal axes, read its semi-axes from the eigenvalues of A, and tell an ellipse from a hyperbola by their signs.

It opens on

The curve 5x₁² − 4x₁x₂ + 5x₂² = 48 is an oval tilted on the page. Along which two perpendicular lines is it longest and shortest, and how long?

Why it matters

The same move finds the long and short directions of a data cloud, the stiff and soft directions of a spring system and the axes of a stress ellipse: rotate until the cross term is gone.

Good to know first

  • Orthogonal matrices: QᵀQ = I, so Q⁻¹ = Qᵀ and Q rotates or reflects
  • quadratic forms: Q(x) = xᵀAx with A symmetric, diagonalized by x = Py with P orthogonal
  • eigenvalues and eigenvectors: solve det(A − λI) = 0, then (A − λI)v = 0

Step by step

  1. Find the form behind the curve

    Write the conic as xᵀAx = 48 and find the eigenvalues and orthonormal eigenvectors of A.

    So 5x₁² − 4x₁x₂ + 5x₂² = xᵀAx with A = [[5, −2], [−2, 5]], and the conic is xᵀAx = 48.

    A common mix-up

    A conic with a cross term has its axes along the coordinate axes.

    In fact: The cross term tilts it; the axes lie along the eigenvectors of A.

  2. Rotate to the principal axes

    Change variables to y = Pᵀx and read the semi-axes of the ellipse from the diagonal form.

    Then xᵀAx = yᵀ(PᵀAP)y = yᵀ diag(3, 7) y = 3y₁² + 7y₂², and the cross term is gone.

    A common mix-up

    The larger eigenvalue gives the longer axis.

    In fact: The semi-axis is √(c/λ), so the larger eigenvalue gives the shorter axis.

  3. When one eigenvalue is negative

    Recognise a hyperbola from an indefinite form and find its axis and vertices from the eigenvalues.

    Take g = x₁² + 4x₁x₂ + x₂², so A = [[1, 2], [2, 1]] and det(A − λI) = (1 − λ)² − 4 = 0, giving λ = 3 and λ = −1.

    A common mix-up

    Any x₁² + cx₁x₂ + x₂² = k is an ellipse because both squares are positive.

    In fact: The sign of the eigenvalues decides, and here one is −1.

Try it

Write 3x₁² + 4x₁x₂ + 3x₂² as xᵀAx and find the eigenvalues of A.Answer

A = [[3, 2], [2, 3]], eigenvalues 5 and 1

Hint: The cross term 4x₁x₂ is split into 2 and 2

Find the semi-axes of 3x₁² + 4x₁x₂ + 3x₂² = 10 and say which direction is longer.Answer

√2 ≈ 1.41 along (1, 1) and √10 ≈ 3.16 along (1, −1); the (1, −1) direction is longer

Hint: Eigenvalues 5 and 1, so the semi-axes are √(10/5) and √(10/1)

The curve x₁² + 6x₁x₂ + x₂² = 8: is it an ellipse or a hyperbola, and where are its vertices?Answer

Hyperbola (eigenvalues 4 and −2); vertices at ±√2 along (1, 1), the points ±(1, 1)

Hint: 4y₁² − 2y₂² = 8

Look at the ovals: in which direction is the curve f = 48 longest?Answer

Along the diagonal x₂ = x₁, up to the right.

Read the semi-axis along u₁ and the semi-axis along u₂ from that equation.Answer

4 along u₁, and √(48/7) ≈ 2.62 along u₂.

Principal axes of a conic

30 minutes every month. No card.