Shifting the origin to O′(α,β), with the new axes parallel to the old ones, gives x=X+α and y=Y+β
about 30 min1 simulation2 practice questions1 Python program5 questions to check yourself
This lesson is free to read. Enroll free to keep your place and take the tests.
Lesson 1 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
find the new coordinates of a point when the origin is shifted;
shift the origin to remove the first-degree terms of a curve;
find the centre of a curve of the second degree and the new constant.
A map with a new centre
A city map has its origin at the railway station. A new map puts the origin at the town hall, 3km east and 2km north of the station, with the same directions for the axes. Every place keeps its position, but its coordinates change. A school at (5,7) on the old map is at (2,5) on the new one. You met this shift of origin briefly in the chapter on straight lines. Here we use it to tidy up curves.
The formulas
Let the new origin be O′(α,β) in the old coordinates, with the new axes parallel to the old ones. A point has old coordinates (x,y) and new coordinates (X,Y). Then
x=X+α,y=Y+β.
Read it as: old = new + shift. So X=x−α and Y=y−β.
What stays the same. A shift moves every point by the same vector. So the distance between two points, the slope of a line, every angle and every area stay the same. The degree of an equation stays the same too.
Grey old axes with the origin O. A blue parabola opens upwards with its lowest point at (3, 2). Red dashed new axes cross at that point, labelled O'. The new coordinates X and Y are measured from O'. The labels show x = X + 3 and y = Y + 2.
A parabola made simple
Take y=x2−6x+11. Complete the square: y−2=(x−3)2. Shift the origin to (3,2), and the equation is Y=X2. The vertex of the parabola is the new origin.
The general equation of the second degree
Every curve of the second degree can be written as
S=ax2+2hxy+by2
+2gx+2fy+c=0.
The halves in 2h, 2g and 2f make later formulas neater. Put x=X+α and y=Y+β. The terms of the second degree do not change. The new first-degree coefficients and the new constant are
g′=aα+hβ+g,
f′=hα+bβ+f,
c′=S(α,β).
Removing both first-degree terms. Choose (α,β) with g′=0 and f′=0:
aα+hβ+g=0,
hα+bβ+f=0.
These two lines meet at one point exactly when ab−h2=0. That point is the centre of the curve. Ellipses and hyperbolas have a centre; a parabola does not. At the centre the new constant has a short form,
c′=gα+fβ+c,
because S(α,β)=αg′+βf′+gα+fβ+c, and g′=f′=0 there.
A worked example
Remove the first-degree terms of 2x2+3y2−8x+18y+29=0.
Read the coefficients.a=2, h=0, b=3, g=−4, f=9, c=29.
The centre.2α−4=0 and 3β+9=0, so (α,β)=(2,−3).
The constant.c′=(−4)(2)+9(−3)+29=−6.
The new equation.2X2+3Y2=6, that is 3X2+2Y2=1. An ellipse with centre (2,−3).
Check by completing squares.2(x−2)2+3(y+3)2=8+27−29=6. The same.
A curve with a term in xy. For xy−2x+3y−10=0, h=21, g=−1, f=23, c=−10. The centre equations give β=2 and α=−3. Then c′=3+3−10=−4, and the curve is XY=4, a rectangular hyperbola.
Practise with new numbers
Try it in Python
The program takes the six coefficients of a second-degree equation. It finds the centre with exact fractions, then the new constant, in two ways.
Common mistakes
The sign of the shift. Old = new + shift. The point O′ itself has new coordinates (0,0), so X=x−α.
Forgetting the hβ term. With a term in xy, the shift adds to both first-degree terms.
Expecting a centre for a parabola. When ab−h2=0 the two centre equations have no single solution.
Turning the axes by accident. A shift keeps the directions. Turning is the next lesson.
Remember these
x=X+α, y=Y+β.
g′=aα+hβ+g and f′=hα+bβ+f.
At the centre, c′=gα+fβ+c.
A centre exists exactly when ab−h2=0.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
The origin is shifted to (2,−5). What are the new coordinates of the point (−1,3)?
Shift the origin to (1,−2). What does x2+y2−2x+4y−4=0 become?
Remove the first-degree terms of x2+4y2−2x+16y+13=0.
Shift the origin to the vertex of y2−4y−4x+8=0. What is the new equation?
A student writes X=x+α for a shift to (α,β). How can you show quickly that this is wrong?
References
S. L. Loney, The Elements of Coordinate Geometry, Part I, the chapter on the transformation of coordinates.
Enroll free in Translation and Rotation of Axes
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.
. Distances, slopes and areas do not change. For the general equation of the second degree, a shift to the centre removes both first-degree terms, and the new constant is
gα+fβ+c
. For a parabola only one first-degree term can go.