What this les­son cov­ers

In the last les­son the ori­gin moved and the axes kept their direc­tion. Now the ori­gin stays where it is and the axes turn. This les­son gives the equa­tions of rota­tion, shows how to choose the angle that removes the xyxy term from a sec­ond degree equa­tion, and lists the quan­ti­ties that do not change when the axes are rotated.

Rota­tion of axes

Rotat­ing the sys­tem of coor­di­nate axes through an angle θ\theta with­out chang­ing the posi­tion of the ori­gin is called rota­tion of axes.

When the axes are rotated through an angle θ\theta in the anti­clock­wise direc­tion, a point with old coor­di­nates (x,y)(x, y) and new coor­di­nates (X,Y)(X, Y) sat­is­fies the rela­tions in this table. Read a row to get xx or yy, and read a col­umn to get XX or YY.

XX YY
xx cos⁡θ\cos\theta −sin⁡θ-\sin\theta
yy sin⁡θ\sin\theta cos⁡θ\cos\theta

Read­ing the rows gives the first set of equa­tions:

x=Xcos⁡θ−Ysin⁡θ,y=Xsin⁡θ+Ycos⁡θ.x = X\cos\theta - Y\sin\theta, \qquad y = X\sin\theta + Y\cos\theta.

Read­ing the columns gives the sec­ond set:

X=xcos⁡θ+ysin⁡θ,Y=−xsin⁡θ+ycos⁡θ.X = x\cos\theta + y\sin\theta, \qquad Y = -x\sin\theta + y\cos\theta.

Use the first set to trans­form an equa­tion and the sec­ond set to find the new coor­di­nates of a given point.

Trans­form­ing equa­tions by rota­tion

If the axes are rotated through an angle θ\theta about the ori­gin, the trans­formed equa­tion of the curve f(x,y)=0f(x, y) = 0 is

f(Xcos⁡θ−Ysin⁡θ,  Xsin⁡θ+Ycos⁡θ)=0.f(X\cos\theta - Y\sin\theta,\; X\sin\theta + Y\cos\theta) = 0.

Con­versely, if the trans­formed equa­tion of a curve after rotat­ing the axes through θ\theta is f(X,Y)=0f(X, Y) = 0, then the orig­i­nal equa­tion is

f(xcos⁡θ+ysin⁡θ,  −xsin⁡θ+ycos⁡θ)=0.f(x\cos\theta + y\sin\theta,\; -x\sin\theta + y\cos\theta) = 0.

The angle that removes the xy term

To remove the xyxy term from ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0, the axes must be rotated through the angle

θ={12tan⁡−1(2ha−b),a≠b,π4,a=b.\displaystyle \theta = \begin{cases} \dfrac{1}{2}\tan^{-1}\left(\dfrac{2h}{a - b}\right), & a \neq b, \\[2ex] \dfrac{\pi}{4}, & a = b. \end{cases}

This comes from mak­ing the new XYXY coef­fi­cient zero, which gives tan⁡2θ=2ha−b\displaystyle \tan 2\theta = \dfrac{2h}{a-b}. When a=ba = b the con­di­tion becomes cos⁡2θ=0\cos 2\theta = 0, so θ=(2n+1)π4\displaystyle \theta = (2n+1)\dfrac{\pi}{4}, and the sim­plest choice is π4\displaystyle \dfrac{\pi}{4}.

If θ\theta is one angle of rota­tion that elim­i­nates the XYXY term, then nπ2+θ\displaystyle n\dfrac{\pi}{2} + \theta, n∈Zn \in \mathbb{Z}, also elim­i­nates it. Turn­ing the axes through an extra right angle only swaps the roles of XX and YY.

Reduc­ing a line to X = con­stant or Y = con­stant

The angle of rota­tion that reduces the line ax+by+c=0ax + by + c = 0 to the form

  • X=constantX = \text{constant} is tan⁡−1(ba)\displaystyle \tan^{-1}\left(\dfrac{b}{a}\right);
  • Y=constantY = \text{constant} is tan⁡−1(−ab)\displaystyle \tan^{-1}\left(-\dfrac{a}{b}\right).

For the first, the coef­fi­cient of YY after rota­tion is −asin⁡θ+bcos⁡θ-a\sin\theta + b\cos\theta, which van­ishes when tan⁡θ=ba\displaystyle \tan\theta = \dfrac{b}{a}. For the sec­ond, the coef­fi­cient of XX is acos⁡θ+bsin⁡θa\cos\theta + b\sin\theta, which van­ishes when tan⁡θ=−ab\displaystyle \tan\theta = -\dfrac{a}{b}.

Clock­wise rota­tion and what never changes

If the rota­tion is in the clock­wise direc­tion, replace θ\theta by −θ-\theta in all the for­mu­las.

A trans­la­tion or a rota­tion moves only the ref­er­ence frame. The posi­tion of a point, the length of a line seg­ment, area, perime­ter and angles are not changed. Only the coor­di­nates and the equa­tions change.

Invari­ants of the sec­ond degree equa­tion

If the axes are rotated through an angle θ\theta and ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0 becomes AX2+2HXY+BY2+2GX+2FY+C=0AX^2 + 2HXY + BY^2 + 2GX + 2FY + C = 0, the fol­low­ing quan­ti­ties have the same value in both equa­tions:

  1. a+ba + b
  2. h2−abh^2 - ab
  3. cc
  4. (a−b)2+4h2(a - b)^2 + 4h^2
  5. 2fgh−af2−bg22fgh - af^2 - bg^2
  6. abc+2fgh−af2−bg2−ch2abc + 2fgh - af^2 - bg^2 - ch^2

Invari­ants are a quick check on your alge­bra, and they let you write a reduced equa­tion with­out doing the full sub­sti­tu­tion.

Exam­ple 1

The axes are rotated through 30∘30^\circ. Find the new coor­di­nates of the point (2,4)(2, 4).

X=2cos⁡30∘+4sin⁡30∘=3+2,Y=−2sin⁡30∘+4cos⁡30∘=23−1.\begin{aligned} X &= 2\cos 30^\circ + 4\sin 30^\circ = \sqrt{3} + 2, \\ Y &= -2\sin 30^\circ + 4\cos 30^\circ = 2\sqrt{3} - 1. \end{aligned}

Exam­ple 2

Find the trans­formed equa­tion of xy=8xy = 8 when the axes are rotated through 45∘45^\circ.

Here x=X−Y2\displaystyle x = \dfrac{X - Y}{\sqrt{2}} and y=X+Y2\displaystyle y = \dfrac{X + Y}{\sqrt{2}}, so xy=X2−Y22=8\displaystyle xy = \dfrac{X^2 - Y^2}{2} = 8, that is X2−Y2=16X^2 - Y^2 = 16.

Exam­ple 3

Rotate the axes through 30∘30^\circ and trans­form 7x2−63 xy+13y2=167x^2 - 6\sqrt{3}\,xy + 13y^2 = 16. Check the invari­ants.

The xyxy term goes when tan⁡2θ=2ha−b=−63−6=3\displaystyle \tan 2\theta = \dfrac{2h}{a-b} = \dfrac{-6\sqrt{3}}{-6} = \sqrt{3}, so θ=30∘\theta = 30^\circ. Sub­sti­tut­ing x=3X−Y2\displaystyle x = \dfrac{\sqrt{3}X - Y}{2}, y=X+3Y2\displaystyle y = \dfrac{X + \sqrt{3}Y}{2} and sim­pli­fy­ing gives

4X2+16Y2=16,that isX2+4Y2=4.4X^2 + 16Y^2 = 16, \quad \text{that is} \quad X^2 + 4Y^2 = 4.

Check: a+b=7+13=20a + b = 7 + 13 = 20 and A+B=4+16=20A + B = 4 + 16 = 20. Also h2−ab=27−91=−64h^2 - ab = 27 - 91 = -64 and H2−AB=0−64=−64H^2 - AB = 0 - 64 = -64.

Exam­ple 4

Find the angle of rota­tion that reduces x+3 y−4=0x + \sqrt{3}\,y - 4 = 0 to the form X=constantX = \text{constant}, and the new equa­tion.

The angle is tan⁡−1(ba)=tan⁡−13=60∘\displaystyle \tan^{-1}\left(\dfrac{b}{a}\right) = \tan^{-1}\sqrt{3} = 60^\circ. With x=X−3Y2\displaystyle x = \dfrac{X - \sqrt{3}Y}{2} and y=3X+Y2\displaystyle y = \dfrac{\sqrt{3}X + Y}{2}, the line becomes 2X−4=02X - 4 = 0, that is X=2X = 2.

Prac­tice

  1. The axes are rotated through 45∘45^\circ. Find the new coor­di­nates of (2,32)(\sqrt{2}, 3\sqrt{2}).
  2. After rotat­ing the axes through 60∘60^\circ, a point has new coor­di­nates (2,0)(2, 0). Find its orig­i­nal coor­di­nates.
  3. Find the trans­formed equa­tion of x2−y2=4x^2 - y^2 = 4 when the axes are rotated through 45∘45^\circ.
  4. Find the angle of rota­tion that removes the xyxy term from 3x2−4xy+3y2=03x^2 - 4xy + 3y^2 = 0, and the trans­formed equa­tion.
  5. Find the angle of rota­tion that removes the xyxy term from 2x2+4xy−y2=02x^2 + 4xy - y^2 = 0, and the trans­formed equa­tion.
  6. Find the angle of rota­tion that reduces 3 x+y−2=0\sqrt{3}\,x + y - 2 = 0 to the form X=constantX = \text{constant}, and the new equa­tion.
  7. The axes are rotated through 30∘30^\circ in the clock­wise direc­tion. Find the new coor­di­nates of (3,1)(\sqrt{3}, 1).

Answers

Show answers
  1. X=2+322=4\displaystyle X = \dfrac{\sqrt{2} + 3\sqrt{2}}{\sqrt{2}} = 4 and Y=−2+322=2\displaystyle Y = \dfrac{-\sqrt{2} + 3\sqrt{2}}{\sqrt{2}} = 2, so (4,2)(4, 2).
  2. x=2cos⁡60∘=1x = 2\cos 60^\circ = 1 and y=2sin⁡60∘=3y = 2\sin 60^\circ = \sqrt{3}, so (1,3)(1, \sqrt{3}).
  3. −2XY=4-2XY = 4, that is XY=−2XY = -2.
  4. Since a=ba = b, θ=π4\displaystyle \theta = \dfrac{\pi}{4}, and the equa­tion becomes X2+5Y2=0X^2 + 5Y^2 = 0.
  5. tan⁡2θ=43\displaystyle \tan 2\theta = \dfrac{4}{3}, so tan⁡θ=12\displaystyle \tan\theta = \dfrac{1}{2} and θ=tan⁡−112\displaystyle \theta = \tan^{-1}\dfrac{1}{2}. With cos⁡θ=25\displaystyle \cos\theta = \dfrac{2}{\sqrt{5}} and sin⁡θ=15\displaystyle \sin\theta = \dfrac{1}{\sqrt{5}} the equa­tion becomes 3X2−2Y2=03X^2 - 2Y^2 = 0. Check: A+B=1=a+bA + B = 1 = a + b.
  6. tan⁡−113=30∘\displaystyle \tan^{-1}\dfrac{1}{\sqrt{3}} = 30^\circ; the line becomes 2X−2=02X - 2 = 0, that is X=1X = 1.
  7. Use θ=−30∘\theta = -30^\circ: X=32−12=1\displaystyle X = \dfrac{3}{2} - \dfrac{1}{2} = 1 and Y=32+32=3\displaystyle Y = \dfrac{\sqrt{3}}{2} + \dfrac{\sqrt{3}}{2} = \sqrt{3}, so (1,3)(1, \sqrt{3}).