Skip to main content
Mathematics LibreTexts

12.4: Rotation of Axes

  • Page ID
    3292
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives
    • Identify nondegenerate conic sections given their general form equations.
    • Use rotation of axes formulas.
    • Write equations of rotated conics in standard form.
    • Identify conics without rotating axes.

    As we have seen, conic sections are formed when a plane intersects two right circular cones aligned tip to tip and extending infinitely far in opposite directions, which we also call a cone. The way in which we slice the cone will determine the type of conic section formed at the intersection. A circle is formed by slicing a cone with a plane perpendicular to the axis of symmetry of the cone. An ellipse is formed by slicing a single cone with a slanted plane not perpendicular to the axis of symmetry. A parabola is formed by slicing the plane through the top or bottom of the double-cone, whereas a hyperbola is formed when the plane slices both the top and bottom of the cone (Figure \(\PageIndex{1}\)).

    imageedit_2_4675119068.jpg

    Figure \(\PageIndex{1}\): The nondegenerate conic sections

    Ellipses, circles, hyperbolas, and parabolas are sometimes called the nondegenerate conic sections, in contrast to the degenerate conic sections, which are shown in Figure \(\PageIndex{2}\). A degenerate conic results when a plane intersects the double cone and passes through the apex. Depending on the angle of the plane, three types of degenerate conic sections are possible: a point, a line, or two intersecting lines.

    imageedit_6_5854995623.jpg

    Figure \(\PageIndex{2}\): Degenerate conic sections

    Identifying Nondegenerate Conics in General Form

    In previous sections of this chapter, we have focused on the standard form equations for nondegenerate conic sections. In this section, we will shift our focus to the general form equation, which can be used for any conic. The general form is set equal to zero, and the terms and coefficients are given in a particular order, as shown below.

    \(Ax^2+Bxy+Cy^2+Dx+Ey+F=0\)

    where \(A\), \(B\), and \(C\) are not all zero. We can use the values of the coefficients to identify which type conic is represented by a given equation.

    You may notice that the general form equation has an \(xy\) term that we have not seen in any of the standard form equations. As we will discuss later, the \(xy\) term rotates the conic whenever \(B\) is not equal to zero.

    Table \(\PageIndex{1}\)
    Conic Sections Example
    ellipse \(4x^2+9y^2=1\)
    circle \(4x^2+4y^2=1\)
    hyperbola \(4x^2−9y^2=1\)
    parabola \(4x^2=9y\) or \(4y^2=9x\)
    one line \(4x+9y=1\)
    intersecting lines \((x−4)(y+4)=0\)
    parallel lines \((x−4)(x−9)=0\)
    a point \(4x^2+4y^2=0\)
    no graph \(4x^2+4y^2=−1\)
    GENERAL FORM OF CONIC SECTIONS

    A conic section has the general form

    \[Ax^2+Bxy+Cy^2+Dx+Ey+F=0 \label{gen}\]

    where \(A\), \(B\), and \(C\) are not all zero. Table \(\PageIndex{2}\) summarizes the different conic sections where \(B=0\), and \(A\) and \(C\) are nonzero real numbers. This indicates that the conic has not been rotated.

    Table \(\PageIndex{2}\)
    ellipse \(Ax^2+Cy^2+Dx+Ey+F=0\), \(A≠C\) and \(AC>0\)
    circle \(Ax^2+Cy^2+Dx+Ey+F=0\), \(A=C\)
    hyperbola \(Ax^2−Cy^2+Dx+Ey+F=0\) or \(−Ax^2+Cy^2+Dx+Ey+F=0\), where \(A\) and \(C\) are positive
    parabola \(Ax^2+Dx+Ey+F=0\) or \(Cy^2+Dx+Ey+F=0\)
    How to: Given the equation of a conic, identify the type of conic
    1. Rewrite the equation in the general form (Equation \ref{gen}), \(Ax^2+Bxy+Cy^2+Dx+Ey+F=0\)
    2. Identify the values of \(A\) and \(C\) from the general form.
      • If \(A\) and \(C\) are nonzero, have the same sign, and are not equal to each other, then the graph may be an ellipse.
      • If \(A\) and \(C\) are equal and nonzero and have the same sign, then the graph may be a circle.
      • If \(A\) and \(C\) are nonzero and have opposite signs, then the graph may be a hyperbola.
      • If either \(A\) or \(C\) is zero, then the graph may be a parabola.

    If \(B=0\), the conic section will have a vertical and/or horizontal axes. If \(B\) does not equal 0, as shown below, the conic section is rotated. Notice the phrase “may be” in the definitions. That is because the equation may not represent a conic section at all, depending on the values of \(A\), \(B\), \(C\), \(D\), \(E\), and \(F\). For example, the degenerate case of a circle or an ellipse is a point:

    \[Ax^2+By^2=0,\]

    when \(A\) and \(B\) have the same sign.

    The degenerate case of a hyperbola is two intersecting straight lines: \(Ax^2+By^2=0\), when \(A\) and \(B\) have opposite signs.

    On the other hand, the equation, \(Ax^2+By^2+1=0\), when \(A\) and \(B\) are positive does not represent a graph at all, since there are no real ordered pairs which satisfy it.

    Example \(\PageIndex{1}\): Identifying a Conic from Its General Form

    Identify the graph of each of the following nondegenerate conic sections.

    1. \(4x^2−9y^2+36x+36y−125=0\)
    2. \(9y^2+16x+36y−10=0\)
    3. \(3x^2+3y^2−2x−6y−4=0\)
    4. \(−25x^2−4y^2+100x+16y+20=0\)
    Solution
    1. Rewriting the general form (Equation \ref{gen}), we have \[\begin{align*} \color{red}{A} \color{black}x ^ { 2 } + \color{blue}{B} \color{black}x y + \color{red}{C} \color{black} y ^ { 2 } + \color{blue}{D} \color{black} x + \color{blue}{E} \color{black} y + \color{blue}{F} \color{black} &= 0 \\[4pt] 4 x ^ { 2 } + 0 x y + ( - 9 ) y ^ { 2 } + 36 x + 36 y + ( - 125 ) &= 0 \end{align*}\] with \(A=4\) and \(C=−9\), so we observe that \(A\) and \(C\) have opposite signs. The graph of this equation is a hyperbola.
    2. Rewriting the general form (Equation \ref{gen}), we have \[\begin{align*} \color{red}{A} \color{black}x ^ { 2 } + \color{blue}{B} \color{black}x y + \color{red}{C} \color{black} y ^ { 2 } + \color{blue}{D} \color{black} x + \color{blue}{E} \color{black} y + \color{blue}{F} \color{black} &= 0 \\[4pt] 0 x ^ { 2 } + 0 x y + 9 y ^ { 2 } + 16 x + 36 y + ( - 10 ) &= 0 \end{align*}\] with \(A=0\) and \(C=9\). We can determine that the equation is a parabola, since \(A\) is zero.
    3. Rewriting the general form (Equation \ref{gen}), we have \[\begin{align*} \color{red}{A} \color{black}x ^ { 2 } + \color{blue}{B} \color{black}x y + \color{red}{C} \color{black} y ^ { 2 } + \color{blue}{D} \color{black} x + \color{blue}{E} \color{black} y + \color{blue}{F} \color{black} &= 0 \\[4pt] 3 x ^ { 2 } + 0 x y + 3 y ^ { 2 } + ( - 2 ) x + ( - 6 ) y + ( - 4 ) &= 0 \end{align*}\] with \(A=3\) and \(C=3\). Because \(A=C\), the graph of this equation is a circle.
    4. Rewriting the general form (Equation \ref{gen}), we have \[\begin{align*} \color{red}{A} \color{black}x ^ { 2 } + \color{blue}{B} \color{black}x y + \color{red}{C} \color{black} y ^ { 2 } + \color{blue}{D} \color{black} x + \color{blue}{E} \color{black} y + \color{blue}{F} \color{black} &= 0 \\[4pt] ( - 25 ) x ^ { 2 } + 0 x y + ( - 4 ) y ^ { 2 } + 100 x + 16 y + 20 &= 0 \end{align*}\] with \(A=−25\) and \(C=−4\). Because \(AC>0\) and \(A≠C\), the graph of this equation is an ellipse.
    Exercise \(\PageIndex{1}\)

    Identify the graph of each of the following nondegenerate conic sections.

    1. \(16y^2−x^2+x−4y−9=0\)
    2. \(16x^2+4y^2+16x+49y−81=0\)
    Answer a

    hyperbola

    Answer b

    ellipse

    Finding a New Representation of the Given Equation after Rotating through a Given Angle

    Until now, we have looked at equations of conic sections without an \(xy\) term, which aligns the graphs with the x- and y-axes. When we add an \(xy\) term, we are rotating the conic about the origin. If the x- and y-axes are rotated through an angle, say \(\theta\),then every point on the plane may be thought of as having two representations: \((x,y)\) on the Cartesian plane with the original x-axis and y-axis, and \((x^\prime ,y^\prime )\) on the new plane defined by the new, rotated axes, called the x'-axis and y'-axis (Figure \(\PageIndex{3}\)).

    CNX_Precalc_Figure_10_04_003.jpg

    Figure \(\PageIndex{3}\): The graph of the rotated ellipse \(x^2+y^2–xy–15=0\)

    We will find the relationships between \(x\) and \(y\) on the Cartesian plane with \(x^\prime \) and \(y^\prime \) on the new rotated plane (Figure \(\PageIndex{4}\)).

    CNX_Precalc_Figure_10_04_004.jpg

    Figure \(\PageIndex{4}\): The Cartesian plane with \(x\)- and \(y\)-axes and the resulting \(x^\prime\)− and \(y^\prime\)−axes formed by a rotation by an angle \(\theta\).

    The original coordinate x- and y-axes have unit vectors \(\hat{i}\) and \(\hat{j}\). The rotated coordinate axes have unit vectors \(\hat{i}^\prime\) and \(\hat{j}^\prime\).The angle \(\theta\) is known as the angle of rotation (Figure \(\PageIndex{5}\)). We may write the new unit vectors in terms of the original ones.

    \[\hat{i}′=\cos \theta \hat{i}+\sin \theta \hat{j}\]

    \[\hat{j}′=−\sin \theta \hat{i}+\cos \theta \hat{j}\]

    CNX_Precalc_Figure_10_04_005.jpg

    Figure \(\PageIndex{5}\): Relationship between the old and new coordinate planes.

    Consider a vector \(\vec{u}\) in the new coordinate plane. It may be represented in terms of its coordinate axes.

    \[\begin{align*} \vec{u}&=x^\prime i′+y^\prime j′ \\[4pt] &=x^\prime (i \cos \theta+j \sin \theta)+y^\prime (−i \sin \theta+j \cos \theta) & \text{Substitute.} \\[4pt] &=ix' \cos \theta+jx' \sin \theta−iy' \sin \theta+jy' \cos \theta & \text{Distribute.} \\[4pt] &=ix' \cos \theta−iy' \sin \theta+jx' \sin \theta+jy' \cos \theta & \text{Apply commutative property.} \\[4pt] &=(x' \cos \theta−y' \sin \theta)i+(x' \sin \theta+y' \cos \theta)j & \text{Factor by grouping.} \end{align*}\]

    Because \(\vec{u}=x^\prime i′+y^\prime j′\), we have representations of \(x\) and \(y\) in terms of the new coordinate system.

    \(x=x^\prime \cos \theta−y^\prime \sin \theta\)

    and

    \(y=x^\prime \sin \theta+y^\prime \cos \theta\)

    EQUATIONS OF ROTATION

    If a point \((x,y)\) on the Cartesian plane is represented on a new coordinate plane where the axes of rotation are formed by rotating an angle \(\theta\) from the positive x-axis, then the coordinates of the point with respect to the new axes are \((x^\prime ,y^\prime )\). We can use the following equations of rotation to define the relationship between \((x,y)\) and \((x^\prime , y^\prime )\):

    \[x=x^\prime \cos \theta−y^\prime \sin \theta\]

    and

    \[y=x^\prime \sin \theta+y^\prime \cos \theta\]

    How to: Given the equation of a conic, find a new representation after rotating through an angle
    1. Find \(x\) and \(y\) where \(x=x^\prime \cos \theta−y^\prime \sin \theta\) and \(y=x^\prime \sin \theta+y^\prime \cos \theta\).
    2. Substitute the expression for \(x\) and \(y\) into in the given equation, then simplify.
    3. Write the equations with \(x^\prime \) and \(y^\prime \) in standard form.
    Example \(\PageIndex{2}\): Finding a New Representation of an Equation after Rotating through a Given Angle

    Find a new representation of the equation \(2x^2−xy+2y^2−30=0\) after rotating through an angle of \(\theta=45°\).

    Solution

    Find \(x\) and \(y\), where \(x=x^\prime \cos \theta−y^\prime \sin \theta\) and \(y=x^\prime \sin \theta+y^\prime \cos \theta\).

    Because \(\theta=45°\),

    \[\begin{align*} x &= x^\prime \cos(45°)−y^\prime \sin(45°) \\[4pt] x &= x^\prime \left(\dfrac{1}{\sqrt{2}}\right)−y^\prime \left(\dfrac{1}{\sqrt{2}}\right) \\[4pt] x &=\dfrac{x^\prime −y^\prime }{\sqrt{2}} \end{align*}\]

    and

    \[\begin{align*} y &= x^\prime \sin(45°)+y^\prime \cos(45°) \\[4pt] y &= x^\prime \left(\dfrac{1}{\sqrt{2}}\right) + y^\prime \left(\dfrac{1}{\sqrt{2}}\right) \\[4pt] y &= \dfrac{x^\prime +y^\prime }{\sqrt{2}} \end{align*}\]

    Substitute \(x=x^\prime \cos\theta−y^\prime \sin\theta\) and \(y=x^\prime \sin \theta+y^\prime \cos \theta\) into \(2x^2−xy+2y^2−30=0\).

    \(2{\left(\dfrac{x^\prime −y^\prime }{\sqrt{2}}\right)}^2−\left(\dfrac{x^\prime −y^\prime }{\sqrt{2}}\right)\left(\dfrac{x^\prime +y^\prime }{\sqrt{2}}\right)+2{\left(\dfrac{x^\prime +y^\prime }{\sqrt{2}}\right)}^2−30=0\)

    Simplify.

    \(\begin{array}{rl} 2\dfrac{(x^\prime−y^\prime )(x^\prime −y^\prime )}{2}−\dfrac{(x^\prime −y^\prime )(x^\prime +y^\prime )}{2}+2\dfrac{(x^\prime +y^\prime )(x^\prime +y^\prime )}{2}−30=0 & \text{FOIL method} \\[4pt] {x^\prime }^2−2x^\prime y^\prime +{y^\prime }^2−\dfrac{({x^\prime }^2−{y^\prime }^2)}{2}+{x^\prime }^2+2x^\prime y^\prime +{y^\prime }^2−30=0 & \text{Combine like terms.} \\[4pt] 2{x^\prime }^2+2{y^\prime }^2−\dfrac{({x^\prime }^2−{y^\prime }^2)}{2}=30 & \text{Combine like terms.} \\[4pt] 2(2{x^\prime }^2+2{y^\prime }^2−\dfrac{({x^\prime }^2−{y^\prime }^2)}{2})=2(30) & \text{Multiply both sides by 2.} \\[4pt] 4{x^\prime }^2+4{y^\prime }^2−({x^\prime }^2−{y^\prime }^2)=60 & \text{Simplify. } \\[4pt] 4{x^\prime }^2+4{y^\prime }^2−{x^\prime }^2+{y^\prime }2=60 & \text{Distribute.} \\[4pt] \dfrac{3{x^\prime }^2}{60}+\dfrac{5{y^\prime }^2}{60}=\dfrac{60}{60} & \text{Set equal to 1.} \end{array} \)

    Write the equations with \(x^\prime \) and \(y^\prime \) in the standard form.

    \[\dfrac{{x^\prime }^2}{20}+\dfrac{{y^\prime}^2}{12}=1 \nonumber\]

    This equation is an ellipse. Figure \(\PageIndex{6}\) shows the graph.

    imageedit_10_2436746571.png

    Figure \(\PageIndex{6}\)

    Writing Equations of Rotated Conics in Standard Form

    Now that we can find the standard form of a conic when we are given an angle of rotation, we will learn how to transform the equation of a conic given in the form \(Ax^2+Bxy+Cy^2+Dx+Ey+F=0\) into standard form by rotating the axes. To do so, we will rewrite the general form as an equation in the \(x^\prime \) and \(y^\prime \) coordinate system without the \(x^\prime y^\prime \) term, by rotating the axes by a measure of \(\theta\) that satisfies

    \[\cot(2\theta)=\dfrac{A−C}{B}\]

    We have learned already that any conic may be represented by the second degree equation

    \(Ax^2+Bxy+Cy^2+Dx+Ey+F=0\)

    where \(A\), \(B\),and \(C\) are not all zero. However, if \(B≠0\), then we have an \(xy\) term that prevents us from rewriting the equation in standard form. To eliminate it, we can rotate the axes by an acute angle \(\theta\) where \(\cot(2\theta)=\dfrac{A−C}{B}\).

    • If \(\cot(2\theta)>0\), then \(2\theta\) is in the first quadrant, and \(\theta\) is between \((0°,45°)\).
    • If \(\cot(2\theta)<0\), then \(2\theta\) is in the second quadrant, and \(\theta\) is between \((45°,90°)\).
    • If \(A=C\), then \(\theta=45°\).
    How to: Given an equation for a conic in the \(x^\prime y^\prime \) system, rewrite the equation without the \(x^\prime y^\prime \) term in terms of \(x^\prime \) and \(y^\prime \),where the \(x^\prime \) and \(y^\prime \) axes are rotations of the standard axes by \(\theta\) degrees
    1. Find \(\cot(2\theta)\).
    2. Find \(\sin \theta\) and \(\cos \theta\).
    3. Substitute \(\sin \theta\) and \(\cos \theta\) into \(x=x^\prime \cos \theta−y^\prime \sin \theta\) and \(y=x^\prime \sin \theta+y^\prime \cos \theta\).
    4. Substitute the expression for \(x\) and \(y\) into in the given equation, and then simplify.
    5. Write the equations with \(x^\prime \) and \(y^\prime \) in the standard form with respect to the rotated axes.
    Example \(\PageIndex{3}\): Rewriting an Equation with respect to the \(x^\prime\) and \(y^\prime\) axes without the \(x^\prime y^\prime\) Term

    Rewrite the equation \(8x^2−12xy+17y^2=20\) in the \(x^\prime y^\prime \) system without an \(x^\prime y^\prime \) term.

    Solution

    First, we find \(\cot(2\theta)\).

    \(8x^2−12xy+17y^2=20\rightarrow A=8\), \(B=−12\) and \(C=17\)

    imageedit_14_9742345318.png

    Figure \(\PageIndex{7}\)

    From Figure \(\PageIndex{7}\):

    \[ \begin{align*} \cot(2\theta) &=\dfrac{A−C}{B}=\dfrac{8−17}{−12} \\[4pt] & =\dfrac{−9}{−12}=\dfrac{3}{4} \end{align*}\]

    \(\cot(2\theta)=\dfrac{3}{4}=\dfrac{\text{adjacent}}{\text{opposite}}\)

    So the hypotenuse is

    \[ \begin{align*} 3^2+4^2 &=h^2 \\[4pt] 9+16 &=h^2 \\[4pt] 25&=h^2 \\[4pt] h&=5 \end{align*}\]

    Next, we find \(\sin \theta\) and \(\cos \theta\).

    \[ \begin{align*} \sin \theta &=\sqrt{\dfrac{1−\cos(2\theta)}{2}}=\sqrt{\dfrac{1−\dfrac{3}{5}}{2}}=\sqrt{\dfrac{\dfrac{5}{5}−\dfrac{3}{5}}{2}}=\sqrt{\dfrac{5−3}{5}⋅\dfrac{1}{2}}=\sqrt{\dfrac{2}{10}}=\sqrt{\dfrac{1}{5}} \\ \sin \theta &= \dfrac{1}{\sqrt{5}} \\ \cos \theta &= \sqrt{\dfrac{1+\cos(2\theta)}{2}}=\sqrt{\dfrac{1+\dfrac{3}{5}}{2}}=\sqrt{\dfrac{\dfrac{5}{5}+\dfrac{3}{5}}{2}}=\sqrt{\dfrac{5+3}{5}⋅\dfrac{1}{2}}=\sqrt{\dfrac{8}{10}}=\sqrt{\dfrac{4}{5}} \\ \cos \theta &= \dfrac{2}{\sqrt{5}} \end{align*}\]

    Substitute the values of \(\sin \theta\) and \(\cos \theta\) into \(x=x^\prime \cos \theta−y^\prime \sin \theta\) and \(y=x^\prime \sin \theta+y^\prime \cos \theta\).

    \[ \begin{align*} x &=x'\cos \theta−y^\prime \sin \theta \\[4pt] &=x^\prime \left(\dfrac{2}{\sqrt{5}}\right)−y^\prime \left(\dfrac{1}{\sqrt{5}}\right) \\[4pt] &=\dfrac{2x^\prime −y^\prime }{\sqrt{5}} \end{align*}\]

    and

    \[ \begin{align*} y&=x^\prime \sin \theta+y^\prime \cos \theta \\[4pt] &=x^\prime \left(\dfrac{1}{\sqrt{5}}\right)+y^\prime \left(\dfrac{2}{\sqrt{5}}\right) \\[4pt] &=\dfrac{x^\prime +2y^\prime }{\sqrt{5}} \end{align*}\]

    Substitute the expressions for \(x\) and \(y\) into in the given equation, and then simplify.

    \[ \begin{align*} 8{\left(\dfrac{2x^\prime −y^\prime }{\sqrt{5}}\right)}^2−12\left(\dfrac{2x^\prime −y^\prime }{\sqrt{5}}\right)\left(\dfrac{x^\prime +2y^\prime }{\sqrt{5}}\right)+17{\left(\dfrac{x^\prime +2y^\prime }{\sqrt{5}}\right)}^2&=20 \\[4pt] 8\left(\dfrac{(2x^\prime −y^\prime )(2x^\prime −y^\prime )}{5}\right)−12\left(\dfrac{(2x^\prime −y^\prime )(x^\prime +2y^\prime )}{5}\right)+17\left(\dfrac{(x^\prime +2y^\prime )(x^\prime +2y^\prime )}{5}\right)&=20 \\[4pt] 8(4{x^\prime }^2−4x^\prime y^\prime +{y^\prime }^2)−12(2{x^\prime }^2+3x^\prime y^\prime −2{y^\prime }^2)+17({x^\prime }^2+4x^\prime y^\prime +4{y^\prime }^2)&=100 \\[4pt] 32{x^\prime }^2−32x^\prime y^\prime +8{y^\prime }^2−24{x^\prime }^2−36x^\prime y^\prime +24{y^\prime }^2+17{x^\prime }^2+68x^\prime y^\prime +68{y^\prime }^2&=100 \\[4pt] 25{x^\prime }^2+100{y^\prime }^2&=100 \\[4pt] \dfrac{25}{100}{x^\prime }^2+\dfrac{100}{100}{y^\prime }^2&=\dfrac{100}{100} \end{align*}\]

    Write the equations with \(x^\prime \) and \(y^\prime \) in the standard form with respect to the new coordinate system.

    \[\dfrac{{x^\prime }^2}{4}+\dfrac{{y^\prime }^2}{1}=1 \nonumber\]

    Figure \(\PageIndex{8}\) shows the graph of the ellipse.

    imageedit_18_8476133234.png

    Figure \(\PageIndex{8}\)

    Exercise \(\PageIndex{2}\)

    Rewrite the \(13x^2−6\sqrt{3}xy+7y^2=16\) in the \(x^\prime y^\prime \) system without the \(x^\prime y^\prime \) term.

    Answer

    \(\dfrac{{x^\prime }^2}{4}+\dfrac{{y^\prime }^2}{1}=1\)

    Example \(\PageIndex{4}\) :Graphing an Equation That Has No \(x^\prime y^\prime \) Terms

    Graph the following equation relative to the \(x^\prime y^\prime \) system:

    \(x^2+12xy−4y^2=30\)

    Solution

    First, we find \(\cot(2\theta)\).

    \(x^2+12xy−4y^2=20\rightarrow A=1\), \(B=12\),and \(C=−4\)

    \[\begin{align*} \cot(2\theta) &= \dfrac{A−C}{B} \\ \cot(2\theta) &= \dfrac{1−(−4)}{12} \\ \cot(2\theta) &= \dfrac{5}{12} \end{align*}\]

    Because \(\cot(2\theta)=\dfrac{5}{12}\), we can draw a reference triangle as in Figure \(\PageIndex{9}\).

    imageedit_22_9251267068.png

    Figure \(\PageIndex{9}\)

    \(\cot(2\theta)=\dfrac{5}{12}=\dfrac{adjacent}{opposite}\)

    Thus, the hypotenuse is

    \[ \begin{align*} 5^2+{12}^2&=h^2 \\[4pt] 25+144 &=h^2 \\[4pt] 169 &=h^2 \\[4pt] h&=13 \end{align*}\]

    Next, we find \(\sin \theta\) and \(\cos \theta\). We will use half-angle identities.

    \(\sin \theta=\sqrt{\dfrac{1−\cos(2\theta)}{2}}=\sqrt{\dfrac{1−\dfrac{5}{13}}{2}}=\sqrt{\dfrac{\dfrac{13}{13}−\dfrac{5}{13}}{2}}=\sqrt{\dfrac{8}{13}⋅\dfrac{1}{2}}=\dfrac{2}{\sqrt{13}}\)

    \(\cos \theta=\sqrt{\dfrac{1+\cos(2\theta)}{2}}=\sqrt{\dfrac{1+\dfrac{5}{13}}{2}}=\sqrt{\dfrac{\dfrac{13}{13}+\dfrac{5}{13}}{2}}=\sqrt{\dfrac{18}{13}⋅\dfrac{1}{2}}=\dfrac{3}{\sqrt{13}}\)

    Now we find \(x\) and \(y\).

    \(x=x^\prime \cos \theta−y^\prime \sin \theta\)

    \(x=x^\prime \left(\dfrac{3}{\sqrt{13}}\right)−y^\prime \left(\dfrac{2}{\sqrt{13}}\right)\)

    \(x=\dfrac{3x^\prime −2y^\prime }{\sqrt{13}}\)

    and

    \(y=x^\prime \sin \theta+y^\prime \cos \theta\)

    \(y=x^\prime \left(\dfrac{2}{\sqrt{13}}\right)+y^\prime \left(\dfrac{3}{\sqrt{13}}\right)\)

    \(y=\dfrac{2x^\prime +3y^\prime }{\sqrt{13}}\)

    Now we substitute \(x=\dfrac{3x^\prime −2y^\prime }{\sqrt{13}}\) and \(y=\dfrac{2x^\prime +3y^\prime }{\sqrt{13}}\) into \(x^2+12xy−4y^2=30\).

    \(\begin{array}{rl} {\left(\dfrac{3x^\prime −2y^\prime }{\sqrt{13}}\right)}^2+12\left(\dfrac{3x^\prime −2y^\prime }{\sqrt{13}}\right)\left(\dfrac{2x^\prime +3y^\prime }{\sqrt{13}}\right)−4{\left(\dfrac{2x^\prime +3y^\prime }{\sqrt{13}}\right)}^2=30 \\ \left(\dfrac{1}{13}\right)[ {(3x^\prime −2y^\prime )}^2+12(3x^\prime −2y^\prime )(2x^\prime +3y^\prime )−4{(2x^\prime +3y^\prime )}^2 ]=30 & \text{Factor.} \\ \left(\dfrac{1}{13}\right)[ 9{x^\prime }^2−12x^\prime y^\prime +4{y^\prime }^2+12(6{x^\prime }^2+5x^\prime y^\prime −6{y^\prime }^2)−4(4{x^\prime }^2+12x^\prime y^\prime +9{y^\prime }^2) ]=30 & \text{Multiply.} \\ \left(\dfrac{1}{13}\right)[ 9{x^\prime }^2−12x^\prime y^\prime +4{y^\prime }^2+72{x^\prime }^2+60x^\prime y^\prime −72{y^\prime }^2−16{x^\prime }^2−48x^\prime y^\prime −36{y^\prime }^2 ]=30 & \text{Distribute.} \\ \left(\dfrac{1}{13}\right)[ 65{x^\prime }^2−104{y^\prime }^2 ]=30 & \text{Combine like terms.} \\ 65{x^\prime }^2−104{y^\prime }^2=390 & \text{Multiply.} \\ \dfrac{{x^\prime }^2}{6}−\dfrac{4{y^\prime }^2}{15}=1 & \text{Divide by 390.} \end{array}\)

    Figure \(\PageIndex{10}\) shows the graph of the hyperbola \(\dfrac{{x^\prime }^2}{6}−\dfrac{4{y^\prime }^2}{15}=1\)

    imageedit_26_7758236974.png

    Figure \(\PageIndex{10}\)

    Identifying Conics without Rotating Axes

    Now we have come full circle. How do we identify the type of conic described by an equation? What happens when the axes are rotated? Recall, the general form of a conic is

    \(Ax^2+Bxy+Cy^2+Dx+Ey+F=0\)

    If we apply the rotation formulas to this equation we get the form

    \(A′{x^\prime }^2+B′x^\prime y^\prime +C′{y^\prime }^2+D′x^\prime +E′y^\prime +F′=0\)

    It may be shown that

    \(B^2−4AC={B′}^2−4A′C′\)

    The expression does not vary after rotation, so we call the expression invariant. The discriminant, \(B^2−4AC\), is invariant and remains unchanged after rotation. Because the discriminant remains unchanged, observing the discriminant enables us to identify the conic section.

    HOWTO: USING THE DISCRIMINANT TO IDENTIFY A CONIC

    If the equation

    \[Ax^2+Bxy+Cy^2+Dx+Ey+F=0\]

    is transformed by rotating axes into the equation

    \[A′{x^\prime }^2+B′x^\prime y^\prime +C′{y^\prime }^2+D′x^\prime +E′y^\prime +F′=0\]

    then \[B^2−4AC={B′}^2−4A′C′\]

    The equation \(Ax^2+Bxy+Cy^2+Dx+Ey+F=0\) is an ellipse, a parabola, or a hyperbola, or a degenerate case of one of these. If the discriminant, \(B^2−4AC\), is

    • \(<0\), the conic section is an ellipse
    • \(=0\), the conic section is a parabola
    • \(>0\), the conic section is a hyperbola
    Example \(\PageIndex{5}\): Identifying the Conic without Rotating Axes

    Identify the conic for each of the following without rotating axes.

    1. \(5x^2+2\sqrt{3}xy+2y^2−5=0\)
    2. \(5x^2+2\sqrt{3}xy+12y^2−5=0\)
    Solution

    a. Let’s begin by determining \(A\), \(B\), and \(C\).

    \(\underbrace{5}_{A}x^2+\underbrace{2\sqrt{3}}_{B}xy+\underbrace{2}_{C}y^2−5=0\)

    Now, we find the discriminant.

    \[\begin{align*} B^2−4AC &= {(2\sqrt{3})}^2−4(5)(2) \\ &=4(3)−40 \\ &=12−40 \\ &=−28<0 \end{align*}\]

    Therefore, \(5x^2+2\sqrt{3}xy+2y^2−5=0\) represents an ellipse.

    b. Again, let’s begin by determining \(A\),\(B\), and \(C\).

    \(\underbrace{5}_{A}x^2+\underbrace{2\sqrt{3}}_{B}xy+\underbrace{12}_{C}y^2−5=0 \nonumber\)

    Now, we find the discriminant.

    \[\begin{align*} B^2−4AC &= {(2\sqrt{3})}^2−4(5)(12) \\ &= 4(3)−240 \\ &= 12−240 \\ &=−228<0 \end{align*}\]

    Therefore, \(5x^2+2\sqrt{3}xy+12y^2−5=0\) represents an ellipse.

    Exercise \(\PageIndex{3}\)

    Identify the conic for each of the following without rotating axes.

    1. \(x^2−9xy+3y^2−12=0\)
    2. \(10x^2−9xy+4y^2−4=0\)
    Answer a

    hyperbola

    Answer b

    ellipse

    Key Equations

    General Form equation of a conic section \(Ax^2+Bxy+Cy^2+Dx+Ey+F=0\)
    Rotation of a conic section

    \(x=x^\prime \cos \theta−y^\prime \sin \theta\)

    \(y=x^\prime \sin \theta+y^\prime \cos \theta\)

    Angle of rotation \(\theta\), where \(\cot(2\theta)=\dfrac{A−C}{B}\)

    Key Concepts

    • Four basic shapes can result from the intersection of a plane with a pair of right circular cones connected tail to tail. They include an ellipse, a circle, a hyperbola, and a parabola.
    • A nondegenerate conic section has the general form \(Ax^2+Bxy+Cy^2+Dx+Ey+F=0\) where \(A\), \(B\) and \(C\) are not all zero. The values of \(A\), \(B\), and \(C\) determine the type of conic. See Example \(\PageIndex{1}\).
    • Equations of conic sections with an \(xy\) term have been rotated about the origin. See Example \(\PageIndex{2}\).
    • The general form can be transformed into an equation in the \(x^\prime \) and \(y^\prime \) coordinate system without the \(x^\prime y^\prime \) term. See Example \(\PageIndex{3}\) and Example \(\PageIndex{4}\).
    • An expression is described as invariant if it remains unchanged after rotating. Because the discriminant is invariant, observing it enables us to identify the conic section. See Example \(\PageIndex{5}\).

    This page titled 12.4: Rotation of Axes is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.