Rotated Conics and Their Equations

Part 13, Chapter 13: Conic Sections in the Coordinate Plane

Learning objectives

  • Recognise the general second-degree equation with an xy term
  • Find the rotation angle that eliminates the xy term
  • Apply the rotation of axes transformation
  • Classify a conic after eliminating the xy term

The four conics, line, parabola, ellipse, hyperbola, have nice equations only when their axes line up with the coordinate axes. What if a conic is tilted? In its general form Ax2+Bxy+Cy2+Dx+Ey+F=0A x^2 + Bxy + C y^2 + Dx + Ey + F = 0, the offender is the cross term BxyBxy. When Bneq0B \neq 0, the conic's axes are rotated relative to the xx- and yy-axes. The fix: rotate the coordinate system by the right angle so the cross term vanishes, then identify the conic.

The discriminant decides the type

The quantity Delta=B24AC\Delta = B^2 - 4AC is invariant under rotation. It classifies the conic before any rotating: Delta<0\Delta < 0 ellipse (or circle); Delta=0\Delta = 0 parabola; Delta>0\Delta > 0 hyperbola.

The rotation that kills the cross term

Let new coordinates (x,y)(x', y') relate to old by rotation through angle theta\theta: x=xcosthetaysinthetax = x' \cos\theta - y' \sin\theta, y=xsintheta+ycosthetay = x' \sin\theta + y' \cos\theta. The new cross-term coefficient is B=Bcos2theta+(CA)sin2thetaB' = B \cos 2\theta + (C - A) \sin 2\theta. Set B=0B' = 0: tan2theta=B/(AC)\tan 2\theta = B/(A - C) when AneqCA \neq C, else theta=pi/4\theta = \pi/4.

Where this shows up
  • Computer Graphics: Detecting whether a tilted ellipse fits a set of points (e.g., fitting a galaxy's shape to a star catalogue) needs the xyxy cross term; rotating the axes to eliminate it gives the principal axes, basis of principal component analysis.
  • Statistics: Principal Component Analysis (PCA) IS the rotation that eliminates the xyxy term in a 2D covariance ellipse; the new axes are the directions of maximum variance, which is why PCA is the most-taught dimensionality-reduction method.
  • Materials Engineering: Stress tensors in materials science have off-diagonal xyxy terms in arbitrary coordinates; engineers rotate to principal-stress axes (the same rotation you are computing here) to find where a beam will crack first.

(Select "hyperbola" mode and slide the rotation control. Watch the asymptotes tilt with the conic.)

Worked example: xy = 1

For xy=1xy = 1, A=C=0A = C = 0, so theta=pi/4\theta = \pi/4. Substitute x=(xy)/sqrt2x = (x' - y')/\sqrt{2}, y=(x+y)/sqrt2y = (x' + y')/\sqrt{2}: xy=((x)2(y)2)/2=1xy = ((x')^2 - (y')^2)/2 = 1, giving (x)2/2(y)2/2=1(x')^2/2 - (y')^2/2 = 1, a standard hyperbola.

Try it

  • Classify 2x2+3xy2y2=52x^2 + 3xy - 2y^2 = 5 using the discriminant.
  • For 3x2+2xy+3y2=83x^2 + 2xy + 3y^2 = 8, find the rotation angle and the type.
  • Classify x22xy+y2=4x^2 - 2xy + y^2 = 4.

Pause: why is B24ACB^2 - 4AC invariant under rotation? Because rotation is a rigid motion of the plane and the type of conic is a geometric property that cannot change under rigid motion.

A trap to watch for

The angle in tan2theta=B/(AC)\tan 2\theta = B/(A - C) is 2theta2\theta, not theta\theta. Many beginners write tantheta=B/(AC)\tan\theta = B/(A - C) and get an angle twice the correct one. Always remember the factor of 22. A second trap: after rotating, the cross term vanishes only if you used the right theta\theta, verify by substituting back.

What you now know

You can recognise a general second-degree equation, compute the discriminant, find the rotation angle that eliminates the cross term, apply the rotation, and identify the conic. This closes Chapter 12; the next chapter begins the study of functions.

Quick check

Mark section complete →

References

  • Lang, S. (1971). Basic Mathematics. Springer. Chapter 12, §5, rotating axes to standardise general second-degree equations.
  • Apostol, T. M. (1969). Calculus, Volume 2. Wiley. Chapter 13: invariants of conics under rotation.
  • Hartshorne, R. (2000). Geometry: Euclid and Beyond. Springer. Chapter 7: projective treatment of conics.

This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.