Skip to content

Mathematics · Ch 16 — Transformation of Axes

Removing Linear and Cross Terms from a Second-Degree Equation

16.4

Removing Linear and Cross Terms from a Second-Degree Equation

Removing Linear and Cross Terms from a Second-Degree Equation

A general second-degree equation in two variables has the form

ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0

Two separate simplifications are usually needed to bring this to a standard form: removing the linear terms 2gx+2fy2gx+2fy by translation, and removing the cross term 2hxy2hxy by rotation.

Removing the linear terms. Shift the origin to a point (x0,y0)(x_0,y_0) chosen so that, after substituting x=x′+x0, y=y′+y0x=x'+x_0,\,y=y'+y_0, the coefficients of the new linear terms x′x' and y′y' both vanish. Collecting the coefficient of x′x' and setting it to zero, and likewise for y′y', gives the pair of simultaneous linear equations

ax0+hy0+g=0,hx0+by0+f=0ax_0 + hy_0 + g = 0, \qquad hx_0 + by_0 + f = 0

(these are exactly the equations obtained by setting ∂/∂x=0\partial/\partial x=0 and ∂/∂y=0\partial/\partial y=0 on the left-hand side). Solving this pair simultaneously gives the required point (x0,y0)(x_0,y_0), and translating the origin there removes the linear terms, leaving an equation of the form aX2+2hXY+bY2+c′=0aX^2+2hXY+bY^2+c'=0 in the new variables.

Removing the xyxy term. Starting from an equation aX2+2hXY+bY2+c′=0aX^2+2hXY+bY^2+c'=0, rotate the axes through an angle θ\theta using X=X′cos⁡θ−Y′sin⁡θ, Y=X′sin⁡θ+Y′cos⁡θX=X'\cos\theta-Y'\sin\theta,\,Y=X'\sin\theta+Y'\cos\theta and collect the coefficient of X′Y′X'Y'. Setting that coefficient to zero and simplifying leads to

tan⁡2θ=2ha−b\tan 2\theta = \frac{2h}{a-b}

so that

θ=12tan⁡−1 ⁣(2ha−b)\theta = \frac12\tan^{-1}\!\left(\frac{2h}{a-b}\right)

When a=ba=b, the expression 2ha−b\frac{2h}{a-b} is undefined (division by zero), which corresponds to tan⁡2θ→∞\tan 2\theta \to \infty, i.e. 2θ=90∘2\theta = 90^{\circ}, so θ=45∘\theta = 45^{\circ} in that special case. …