Skip to content
Study Hall
Lesson 6 of 6Linear and Non-Linear Relations
Unit 5 · Lesson 6 of 6

Translating, Reflecting and Rotating Lines

See how translating, reflecting and rotating the line y = ax changes its equation: a vertical translation changes b, a reflection in an axis changes the sign of the slope, and a 90° rotation gives slope −1/a.

7 min read8 quick checks11 practice questionsInteractiveAsk AI about this →

Key things to remember

  1. 1Translating up units gives (down : ); the slope does not change.
  2. 2Reflecting in the -axis or in the -axis gives the same line, .
  3. 3Rotating () by 90° about the origin gives ; the two slopes multiply to .
  4. 4Point rules: up : ; -axis reflection: ; -axis reflection: ; 90° counterclockwise rotation: .
  5. 5To check an answer, transform one point of the original line and substitute it into the new equation.

In a drawing app or a video game, shapes get moved up, flipped like a mirror image, and turned. Every one of those moves is a transformation, and a computer carries it out by applying a rule to the coordinates of every point. When the shape is a straight line, the result is another straight line, and its equation changes in a predictable way. In this lesson you start with the simplest lines, , which pass through the origin, and find out exactly what happens to (and to the -intercept) when the line is translated up or down, reflected in an axis, or rotated a quarter turn.

The starting line: y = ax

The line has slope and -intercept , so it passes through the origin. One easy point on it is : for that is . The plan for every transformation is the same: apply the transformation's rule to a couple of points on the line, then find the equation of the line through the new points. You already know how to find an equation from points, so nothing here needs a new formula you cannot check yourself.

−4−224−4−2240xyy = 2xy = xy = ½xy = −xy = −2xx = 1y = ax: slope a, y-intercept 0Every line passes through (0, 0).At x = 1 the height is a:y = 2x → (1, 2)y = x → (1, 1)y = ½x → (1, ½)y = −x → (1, −1)y = −2x → (1, −2)a > 0: the line risesa < 0: the line fallsthe farther a is from 0, the steeper
Fig 1The lines y = 2x, y = x, y = ½x, y = −x and y = −2x all pass through the origin; the dashed line x = 1 meets each one at the point (1, a).
Quick checkTry it before you read on
1
Which point is on the line ?
Quick checkTry it before you read on
2
What is the -intercept of the line ?

Vertical translation

A translation slides every point the same distance in the same direction, without turning. Moving up units sends to . On , the point moves to and moves to when . Every -value grows by 3, so the new equation is . The line has not tilted, so the slope is still 2: the new line is parallel to the old one, and only the -intercept changed, from to . Moving down 4 instead gives .

Translation: up 3Reflection and rotation−5−4−3−2−112345−5−4−3−2−1123450xy+3+3−5−4−3−2−112345−5−4−3−2−1123450xy(1, 2)(1, −2)(−2, 1)y = 2x (original)y = 2x + 3 (moved up 3)slope stays 2; y-intercept 0 becomes 3y = 2x (original)y = −2x: reflection in the x-axisy = −½x: rotation 90° about (0, 0)
Fig 2Left: y = 2x moved up 3 to y = 2x + 3. Right: y = 2x with its reflection in the x-axis, y = −2x, and its rotation by 90 degrees about the origin, y = −½x, tracked with the point (1, 2)
Quick checkTry it before you read on
1
Write the equation of after it is translated down 2 units, in the form y = mx + b.
Quick checkTry it before you read on
2
When is translated up 3 units, what happens to its slope?

Reflection in the x-axis or the y-axis

A reflection flips the line over a mirror line. Reflecting in the -axis keeps and changes the sign of : . The point on lands on , and the reflected line through the origin and has slope : . Reflecting in the -axis keeps and changes the sign of : , so lands on , which is also on . For a line through the origin, both reflections give the same line, . That coincidence depends on the line passing through the origin. For , reflecting in the -axis gives , but reflecting in the -axis gives .

Mirror: the x-axisMirror: the y-axis−6−4−2246−6−4−22460xy(1, 5)(1, −5)(0, 3)(0, −3)−6−4−2246−6−4−22460xy(1, 5)(−1, 5)(0, 3) stays putoriginal: y = 2x + 3(x, y) → (x, −y)image: y = −2x − 3original: y = 2x + 3(x, y) → (−x, y)image: y = −2x + 3Same slope −2, different y-intercepts: the two images are different lines.
Fig 3The line y = 2x + 3 reflected two ways. In the x-axis, (1, 5) goes to (1, −5) and (0, 3) to (0, −3), giving y = −2x − 3. In the y-axis, (1, 5) goes to (−1, 5) and (0, 3) stays put, giving y = −2x + 3.
TransformationPoint ruley = 2x becomesy = ax becomes
Translate up k(x, y) → (x, y + k)
Translate down k(x, y) → (x, y − k)
Reflect in the x-axis(x, y) → (x, −y)
Reflect in the y-axis(x, y) → (−x, y)
Rotate 90° about the origin(x, y) → (−y, x), counterclockwise (for )
How each transformation changes the line y = ax
Quick checkTry it before you read on
1
A reflection in the -axis sends the point to which point?
Quick checkTry it before you read on
2
The line is reflected in the -axis. What is the new equation?

Rotation by 90° about the origin

A rotation turns every point around a fixed centre, here the origin. A quarter turn counterclockwise sends to : the point goes to . The origin stays put, so the rotated line passes through and , and its slope is . The new line is . In general, goes to , giving slope , the negative reciprocal of . Turning clockwise instead sends to , which is on the same line, so for a line through the origin the direction of the quarter turn does not matter. The original and rotated lines meet at a right angle, and their slopes multiply to : . One exception: if , the line is the -axis, and a quarter turn makes it the -axis, , which is vertical, so its slope is undefined.

Loading interactive…
Open the transform panel, pick a value of a, then translate, reflect or rotate the line y = ax and watch its equation change.
Three moves, three effects
A vertical translation changes only the -intercept (the slope stays the same). A reflection of in either axis changes the sign of the slope, . A 90° rotation about the origin replaces the slope with its negative reciprocal, .
Check by tracking a point
Not sure your new equation is right? Take one point on the original line, apply the point rule, and substitute the new point into your new equation. For rotated 90°, the point becomes , and gives ✓.
Quick checkTry it before you read on
1
is rotated 90° about the origin. What is the slope of the new line?
Quick checkTry it before you read on
2
Which pair of lines meet at a right angle?
VideoAn Ontario teacher translates, reflects and rotates lines and finds the equation of each new line. It runs about 19 minutes, so use the chapter list to jump to the summary of rules and the examples.Watch on YouTube

Worked examples

Reveal one step at a time and try to beat it to the next line.

Example 1
Translate down 5 units. Write the new equation and check it with a point.
Example 2
Reflect in the -axis, then in the -axis. Show that both reflections give the same line.
Example 3
Rotate by 90° counterclockwise about the origin. Find the new equation.
Example 4
Rotate by 90° about the origin, then translate the result up 4. Write the final equation and check it by tracking the point .

Where marks get lost

  • Changing the slope when translating. Moving up 3 gives , not : a translation slides the line without tilting it.
  • Using or for a 90° rotation. The rotated slope is the negative reciprocal, : for it is .
  • Rotating a point with . That swap is a reflection in the line ; a 90° counterclockwise rotation is .
  • Assuming the -axis and -axis reflections always give the same line. They agree for , but for they give and .
  • Applying to . You cannot divide by 0: a quarter turn of the -axis gives the vertical line .

Flashcards 7

Translation
y = ax translated up k
Reflection in the x-axis
Reflection in the y-axis
+ 3 more

Practice

1
Write the equation of after it is translated up 2 units, in the form y = mx + b.
2
What is the equation of after a reflection in the -axis?
3
is rotated 90° about the origin. What is the slope of the new line? Give a decimal or a fraction.
4
is rotated 90° about the origin. What is the slope of the new line? Give a decimal or a fraction.
5
Which transformation turns into ?
6
Match each transformation of to the resulting equation.
Translate up 1
Translate down 1
Reflect in the x-axis
Rotate 90° about the origin
7
The point is rotated 90° counterclockwise about the origin. Where does it land?
8
is translated up 3 units. What is on the new line when ?
9
Put these steps in order to find the equation of y = ax after a 90° counterclockwise rotation about the origin.
  1. 1Rotate it with (x, y) → (−y, x) to get (−a, 1)
  2. 2Write the new equation y = −(1/a)x
  3. 3Find the slope from the origin to the new point: 1 ÷ (−a) = −1/a
  4. 4Pick a point on the line, such as (1, a)
10
The line (which does not pass through the origin) is reflected in the -axis. What is the new equation?
11
A line (with ) and its image after a 90° rotation about the origin have slopes whose product is always…

Spot a mistake on this page? Let us know