MatheramaMatherama
← Coordinate Geometry Fundamentals
Coordinate Geometry Fundamentals·Section 6·21 min read

Transformation of axes

Transformation of axes is a fundamental concept in coordinate geometry, involving the change from an original coordinate system to a new one through translation, rotation, or a combination of both. This process is pivotal in simplifying the representation of geometric figures and in solving complex geometric problems.

These transformations are essential in coordinate geometry and physics, where they are used to simplify problems, analyze motion, and understand transformations in different coordinate systems. Through these equations, one can effectively rotate, translate, or apply a combination of both to a coordinate system, aiding in the geometrical interpretation and solution of problems.

Translation of Axes§

Consider a Cartesian coordinate system with its origin at OO. Let PP be a point within this system, having coordinates (x,y)(x, y). Now, if we shift the origin to a new point O′(h,k)O'(h, k) without changing the orientation in the original system, we establish a new coordinate system. In this new system, the coordinates of O′O' become (0,0)(0,0), indicating its position as the new origin. As a result of this shift, the coordinates of point PP will change to accommodate the new frame of reference. Suppose the new coordinates of PP in this shifted system are (x′,y′)(x', y'). Given the translation of the origin and maintaining the orientation of the axes, it follows that the relationship between the old and new coordinates of PP can be expressed as x′=x−hx' = x - h and y′=y−ky' = y - k. This transformation effectively recalibrates the coordinate system, considering O′O' as the new reference point, thus altering the perceived position of PP relative to this new origin.

Translation of axis figure

Effect of translation on equation of curves§

Consider a curve defined by the equation f(x,y)=0f(x, y) = 0. Let P(x,y)P(x, y) be a point on this curve. If we shift the origin of the coordinate system to a new point O′(h,k)O'(h, k), the coordinates of point PP in relation to this new origin become (x′,y′)(x', y'), where x′=x−hx' = x - h and y′=y−ky' = y - k. This translation alters the frame of reference for the coordinates of points on the curve.

To express the curve in terms of the new coordinates, we first find the relationship between x′x' and y′y' and the original coordinates. We reverse the translation by writing x=x′+hx = x' + h and y=y′+ky = y' + k. Since the original coordinates xx and yy satisfy the equation f(x,y)=0f(x, y) = 0, substituting the expressions for xx and yy in terms of x′x' and y′y' gives us the new equation of the curve in the translated coordinate system:

f(x′+h,y′+k)=0f(x' + h, y' + k) = 0

This equation represents the new relationship between x′x' and y′y', and hence, the new equation of the curve in the context of the shifted origin.

For simplicity and to align with common mathematical conventions, we often drop the prime notation in the final expression and simply represent the new coordinates as xx and yy again. Therefore, to find the equation of the curve in the new coordinate system, we substitute xx with x+hx + h and yy with y+ky + k into the original equation f(x,y)=0f(x, y) = 0, resulting in:

f(x+h,y+k)=0f(x + h, y + k) = 0

This transformed equation describes the curve in the new coordinate system after the origin has been shifted to O′(h,k)O'(h, k), effectively incorporating the translation into the equation of the curve.

Shift of Origin and equation of curve

Why do we shift origin?§

To understand consider the equation (x−2)25+(y+1)23=1\frac{(x-2)^2}{5} + \frac{(y+1)^2}{3} = 1. This is the equation of an ellipse. You will study about why this is an equation of the ellipse in later chapters.

So, given the equation of an ellipse (x−2)25+(y+1)23=1\frac{(x-2)^2}{5} + \frac{(y+1)^2}{3} = 1, shifting the origin to the point (2,−1)(2, -1) simplifies the equation. To achieve this simplification, in the given equation, we replace xx with x+2x + 2 and yy with y−1y - 1, reflecting the shift of the origin to (2,−1)(2, -1).

Applying these substitutions:

(x+2−2)25+(y−1+1)23=1\frac{(x + 2 - 2)^2}{5} + \frac{(y - 1 + 1)^2}{3} = 1

Simplifies to:

x25+y23=1\frac{x^2}{5} + \frac{y^2}{3} = 1

Thus, after shifting the origin to (2,−1)(2, -1), the new equation of the ellipse becomes x25+y23=1\frac{x^2}{5} + \frac{y^2}{3} = 1. This process illustrates how shifting the origin to a suitable point can streamline the equation of a geometric figure, making it easier to work with.

Thus, we can say that shifting the origin of a coordinate system is primarily employed to simplify the equations of curves or geometric figures. This transformation can reduce the complexity of mathematical expressions, making both analytical and computational work more efficient. By relocating the origin to a more strategically advantageous position, certain terms in the equation of a curve might be eliminated or reduced, leading to a simpler form. This simplification can facilitate easier analysis, integration, differentiation, or graphical representation of the curve. Essentially, the process of shifting the origin is a tool for making complex problems more manageable by adapting the coordinate system to suit the specific requirements of the problem at hand.

Consider another example. Sometimes we wish to eliminate certain terms of an equation of a curve. We can achieve that many times just by shifting the origin.

Rotation of Axes§

The rotation of axes in a two-dimensional plane involves turning the original coordinate system about the origin by a specified angle. When the coordinate axes are rotated anticlockwise by an angle θ\theta, the coordinates (x′,y′)(x', y') of a point PP in the rotated system relate to its coordinates (x,y)(x, y) in the original system by the transformation equations:

x′=xcos⁡(θ)+ysin⁡(θ)y′=−xsin⁡(θ)+ycos⁡(θ)\begin{align*} x' & = x\cos(\theta) + y\sin(\theta) \\ y' & = -x\sin(\theta) + y\cos(\theta) \end{align*}

Simplifying the General Equation of Conics§

The general second-degree equation ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0 encompasses all conic sections—ellipses, hyperbolas, and parabolas—depending on the values of its coefficients. Our focus will be on techniques to simplify this equation through translation and rotation of axes, without delving into the specific nature of the conics it may represent. You need not worry too much about what it represents and how. Our main focus is learning how to eliminate xyxy term and linear xx and yy terms.

Translation is used to remove the linear terms 2gx2gx and 2fy2fy by shifting the origin to a suitable point (h,k)(h, k).

Rotation of axes aims to eliminate the xyxy term. This is achieved by rotating the coordinate system by a specific angle θ\theta.

By simplifying this equation the study of these curves become much simpler.

Eliminating linear terms (2gx and 2fy)§

To eliminate the linear terms 2gx2gx and 2fy2fy from the general second-degree equation ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0, we will translate the origin to the point (α,β)(\alpha, \beta) and then replace xx with x+αx + \alpha and yy with y+βy + \beta in the general second-degree equation ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0. Expanding this transformation step by step yields:

a(x+α)2+2h(x+α)(y+β)+b(y+β)2+2g(x+α)+2f(y+β)+c=ax2+2axα+aα2+2hxy+2hxβ+2hαy+2hαβ+by2+2byβ+bβ2+2gx+2gα+2fy+2fβ+c.\begin{aligned} & a(x + \alpha)^2 + 2h(x + \alpha)(y + \beta) + b(y + \beta)^2 + 2g(x + \alpha) + 2f(y + \beta) + c \\ &= ax^2 + 2ax\alpha + a\alpha^2 + 2hxy + 2hx\beta + 2h\alpha y + 2h\alpha\beta + by^2 + 2by\beta + b\beta^2 + 2gx + 2g\alpha + 2fy + 2f\beta + c. \end{aligned}

After expanding and simplifying, we collect terms to express the equation in the form that facilitates setting the coefficients of xx and yy to zero:

ax2+2hxy+by2+2(aα+hβ+g)x+2(hα+bβ+f)y+aα2+2hαβ+bβ2+2gα+2fβ+c=0.ax^2 + 2hxy + by^2 + 2(a\alpha + h\beta + g)x + 2(h\alpha + b\beta + f)y + a\alpha^2 + 2h\alpha\beta + b\beta^2 + 2g\alpha + 2f\beta + c = 0.

Now, focusing on the linear terms in xx and yy, to eliminate these terms, we set their coefficients to zero:

aα+hβ+g=0,hα+bβ+f=0.\begin{aligned} a\alpha + h\beta + g &= 0, \\ h\alpha + b\beta + f &= 0. \end{aligned}

Solving these equations for α\alpha and β\beta will give us the values needed to shift the origin such that the linear terms in the equation are eliminated, simplifying the equation of the conic.

Cross-multiplication yields:

xhf−bg=−yhg−af=1ab−h2.\frac{x}{hf - bg} = \frac{-y}{hg - af} = \frac{1}{ab - h^2}.

From the cross-multiplication rule, we deduce:

x=hf−bgab−h2,y=hg−afab−h2.x = \frac{hf - bg}{ab - h^2}, \quad y = \frac{hg - af}{ab - h^2}.

Therefore, shifting the origin to (hf−bgab−h2,hg−afab−h2)\left(\frac{hf - bg}{ab - h^2}, \frac{hg - af}{ab - h^2}\right) results in elimination of linear terms.

Invariance of Quadratic Terms Under Coordinate Shift**§

Let the general quadratic equation in two variables be given by

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

Consider a shift in the coordinate system such that the origin is moved to the point (α,β)(\alpha, \beta). Under this transformation, where xx is replaced by x+αx + \alpha and yy is replaced by y+βy + \beta, the coefficients of the quadratic terms ax2ax^2, 2hxy2hxy, and by2by^2 remain unchanged, while the linear and constant terms are transformed.

Proof: Upon replacing xx with x+αx + \alpha and yy with y+βy + \beta and expanding, the equation becomes:

a(x+α)2+2h(x+α)(y+β)+b(y+β)2+2g(x+α)+2f(y+β)+c=0.a(x + \alpha)^2 + 2h(x + \alpha)(y + \beta) + b(y + \beta)^2 + 2g(x + \alpha) + 2f(y + \beta) + c = 0.

Expanding and simplifying, we obtain:

ax2+2hxy+by2+(2aα+2hβ+2g)x+(2hα+2bβ+2f)y+(aα2+2hαβ+bβ2+2gα+2fβ+c)=0.ax^2 + 2hxy + by^2 + (2a\alpha + 2h\beta + 2g)x + (2h\alpha + 2b\beta + 2f)y + (a\alpha^2 + 2h\alpha\beta + b\beta^2 + 2g\alpha + 2f\beta + c) = 0.

The coefficients of ax2ax^2, 2hxy2hxy, and by2by^2 are preserved post transformation. Thus, the theorem is established, demonstrating the invariance of the quadratic terms with respect to the shift of the coordinate system's origin.

Constant term and the final transformed equation§

Now we know that by setting α=hf−bgab−h2\alpha = \frac{hf - bg}{ab - h^2} and β=hg−afab−h2\beta = \frac{hg - af}{ab - h^2}, we achieve the elimination of the linear terms 2gx2gx and 2fy2fy in the general quadratic equation ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0, while the quadratic terms ax2ax^2, 2hxy2hxy, and by2by^2 remain as is. This results in an important consequence for the new constant term.

The new constant term, as derived, is given by equation (1):

aα2+2hαβ+bβ2+2gα+2fβ+c.a\alpha^2 + 2h\alpha\beta + b\beta^2 + 2g\alpha + 2f\beta + c.

By utilizing the simultaneous equations (2) ax+bp+g=0ax + bp + g = 0 and (3) ha+bp+f=0ha + bp + f = 0, the constant term can be expanded as follows:

a(aα+hβ+g)+β(hα+bβ+f)+gα+fβ+ca(a\alpha + h\beta + g) + \beta(h\alpha + b\beta + f) + g\alpha + f\beta + c =a⋅0+β⋅0+gα+fβ+c= a \cdot 0 + \beta \cdot 0 + g\alpha + f\beta + c =gα+fβ+c.= g\alpha + f\beta + c.

Substituting α\alpha and β\beta into this expression yields:

g(hf−bgab−h2)+f(hg−afab−h2)+cg\left(\frac{hf - bg}{ab - h^2}\right) + f\left(\frac{hg - af}{ab - h^2}\right) + c =ghf−bg2+fhg−af2+c(ab−h2)ab−h2= \frac{ghf - bg^2 + fhg - af^2 + c(ab - h^2)}{ab - h^2} =2fgh+abc−af2−bg2−ch2ab−h2.= \frac{2fgh + abc - af^2 - bg^2 - ch^2}{ab - h^2}.

This is succinctly expressed using a determinant Δ\Delta:

Δ=∣ahghbfgfc∣.\Delta = \begin{vmatrix} a & h & g \\ h & b & f \\ g & f & c \end{vmatrix}.

Therefore, the constant term in the transformed quadratic equation is Δab−h2\frac{\Delta}{ab - h^2}, hence:

Constant term=Δab−h2.\text{Constant term} = \frac{\Delta}{ab - h^2}.

Eliminating the xy term§

There are very strong reasons that you will get to learn in future to eliminate xy term. To eliminate the xyxy term in the general second degree equation ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0, a rotation of axes is applied, as a translation of the origin cannot remove terms involving both xx and yy.

Upon rotating the axes anticlockwise by an angle θ\theta, the new coordinates x′x' and y′y' can be expressed in terms of xx and yy as follows:

x′=xcos⁡θ−ysin⁡θx' = x\cos\theta - y\sin\theta y′=xsin⁡θ+ycos⁡θy' = x\sin\theta + y\cos\theta

Substituting these into the equation, and expanding, we get:

a(xcos⁡θ−ysin⁡θ)2+2h(xcos⁡θ−ysin⁡θ)(xsin⁡θ+ycos⁡θ)+b(xsin⁡θ+ycos⁡θ)2+2g(xcos⁡θ−ysin⁡θ)+2f(xsin⁡θ+ycos⁡θ)+c=0a(x\cos\theta - y\sin\theta)^2 + 2h(x\cos\theta - y\sin\theta)(x\sin\theta + y\cos\theta) + b(x\sin\theta + y\cos\theta)^2 + 2g(x\cos\theta - y\sin\theta) + 2f(x\sin\theta + y\cos\theta) + c = 0   ⟹  (acos⁡2θ+bsin⁡2θ+2hcos⁡θsin⁡θ)x2+(asin⁡2θ+bcos⁡2θ−2hcos⁡θsin⁡θ)y2+2(h(cos⁡2θ−sin⁡2θ)+(b−a)sin⁡θcos⁡θ)xy+(2gcos⁡θ+2fsin⁡θ)x+(−2gsin⁡θ+2fcos⁡θ)y+c=0\implies (a\cos^2\theta + b\sin^2\theta + 2h\cos\theta\sin\theta)x^2 + (a\sin^2\theta + b\cos^2\theta - 2h\cos\theta\sin\theta)y^2 + 2(h(\cos^2\theta - \sin^2\theta) + (b-a)\sin\theta\cos\theta)xy + (2g\cos\theta + 2f\sin\theta)x + (-2g\sin\theta + 2f\cos\theta)y + c = 0

To set the coefficient of the xyxy term to zero after the rotation, we focus on the term:

(h(cos⁡2θ−sin⁡2θ)+(b−a)sin⁡θcos⁡θ)xy(h(\cos^2\theta - \sin^2\theta) + (b-a)\sin\theta\cos\theta)xy

This coefficient needs to be equal to zero for the xyxy term to vanish. Therefore, we solve:

h(cos⁡2θ−sin⁡2θ)+(b−a)sin⁡θcos⁡θ=0h(\cos^2\theta - \sin^2\theta) + (b-a)\sin\theta\cos\theta = 0

Using trigonometric identities cos⁡2θ−sin⁡2θ=cos⁡2θ\cos^2\theta - \sin^2\theta = \cos 2\theta and sin⁡θcos⁡θ=12sin⁡2θ\sin\theta\cos\theta = \frac{1}{2}\sin 2\theta, the equation becomes:

hcos⁡2θ+b−a2sin⁡2θ=0...[E]h\cos 2\theta + \frac{b-a}{2}\sin 2\theta = 0 ... [E]

Rearranging and solving for tan⁡2θ\tan 2\theta:

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

Thus, the angle θ\theta required to eliminate the xyxy term through rotation is given by:

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

Setting θ\theta to this value during the rotation ensures that the xyxy cross-term in the quadratic equation is eliminated.

Clearly the formula is true only when a≠ba\neq b.

When a=ba=b, we see from equation [E] that cos2θ=0cos2\theta=0. On solving this we get,

2θ=π2+kπ2\theta = \frac{\pi}{2} + k\pi

where kk is an integer. Thus,

θ=π4+kπ2=(2k+1)π4\theta = \frac{\pi}{4} + \frac{k\pi}{2} = (2k+1)\frac{\pi}{4}

for kk an integer.

Invariance§

Invariance in mathematics refers to a property or characteristic of an object, operation, or mathematical expression that remains unchanged under a specified set of transformations or operations.

**Invariance in Geometry:

In geometry, invariance refers to properties that remain unchanged under transformations like translation and rotation. Common geometric invariants include area of a closed region, perimeter of a closed figure, angle between two lines, and distance between points.

With respect to rotation of axes, distance of a point from the origin is invariant, but it is not invariant with respect to translation of origin.

Invariance in Algebra:

In algebra, invariance involves expressions or equations maintaining their form under operations such as substitution, scaling, or other algebraic manipulations.

Algebraic invariance in the general quadratic equation§

Translation

In the context of the general second-degree equation ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0, when considering transformations such as translations of the coordinate axes, specific coefficients exhibit invariance while others do not.

Invariant Coefficients:

  • a, h, b: These coefficients, which are associated with the quadratic terms ax2ax^2, 2hxy2hxy, and by2by^2, remain invariant under translation. This is because these coefficients define the curvature and orientation of the conic section represented by the equation, properties that are independent of the location of the origin of the coordinate system.

Rotation

In the context of rotating the coordinate system for the general second-degree equation ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0, certain quantities remain invariant:

  1. a+ba + b: The sum of the coefficients of x2x^2 and y2y^2 remains unchanged by rotation.

  2. h2−abh^2 - ab: This expression, related to the discriminant of the quadratic part of the equation, is invariant under rotation. It is fundamentally connected to the nature of the conic section (ellipse, hyperbola, or parabola) represented by the equation.

  3. cc: The constant term in the equation remains invariant under rotation as it does not depend on the orientation of the axes.

  4. Δ\Delta: The determinant of the matrix formed by the coefficients aa, hh, bb, gg, ff, and cc, often used in determining the nature of the conic section, also remains invariant under rotation.

Let me demostrante why a+ba+b and cc are invariant. Before we obtained this equation after rotation.

(acos⁡2θ+bsin⁡2θ+2hcos⁡θsin⁡θ)x2+(asin⁡2θ+bcos⁡2θ−2hcos⁡θsin⁡θ)y2+2(h(cos⁡2θ−sin⁡2θ)+(b−a)sin⁡θcos⁡θ)xy+(2gcos⁡θ+2fsin⁡θ)x+(−2gsin⁡θ+2fcos⁡θ)y+c=0,(a\cos^2\theta + b\sin^2\theta + 2h\cos\theta\sin\theta)x^2 + (a\sin^2\theta + b\cos^2\theta - 2h\cos\theta\sin\theta)y^2 + 2(h(\cos^2\theta - \sin^2\theta) + (b-a)\sin\theta\cos\theta)xy + (2g\cos\theta + 2f\sin\theta)x + (-2g\sin\theta + 2f\cos\theta)y + c = 0,

Invariance of a+ba+b

Observe the coefficients of x2x^2 and y2y^2 terms:

  • x2x^2 coefficient: acos⁡2θ+bsin⁡2θ+2hcos⁡θsin⁡θa\cos^2\theta + b\sin^2\theta + 2h\cos\theta\sin\theta
  • y2y^2 coefficient: asin⁡2θ+bcos⁡2θ−2hcos⁡θsin⁡θa\sin^2\theta + b\cos^2\theta - 2h\cos\theta\sin\theta

Summing these coefficients, using the identity cos⁡2θ+sin⁡2θ=1\cos^2\theta + \sin^2\theta = 1:

(acos⁡2θ+bsin⁡2θ)+(asin⁡2θ+bcos⁡2θ)=a(cos⁡2θ+sin⁡2θ)+b(sin⁡2θ+cos⁡2θ)=a+b(a\cos^2\theta + b\sin^2\theta) + (a\sin^2\theta + b\cos^2\theta) = a(\cos^2\theta + \sin^2\theta) + b(\sin^2\theta + \cos^2\theta) = a + b

Invariance of cc

The constant term cc in the equation:

cc

remains entirely unchanged in the rotated equation. Since it is independent of θ\theta, it demonstrates that cc is invariant under rotation.

It would be more instructive to show invariance of ther quatities geometrically in the chapter of conic sections.

Section 6 of 6 · Coordinate Geometry Fundamentals

Mark this section complete when you have worked through its proofs.