Skip to content
Family Table Math
Auto

Transforming Lines

What happens to a line when you slide it, flip it, or turn it? Each move changes the equation in a predictable way. Once you know the patterns, you can look at an equation like y=−2x+5y = -2x + 5 and picture its graph right away, and you can write the equation for a line just by describing how it was moved.

Every line of the form y=axy = ax passes through the origin (0,0)(0, 0), because a×0=0a \times 0 = 0. The number aa is the slope (the rate of change):

  • If a>0a \gt 0, the line rises from left to right.
  • If a<0a \lt 0, the line falls from left to right.
  • The bigger the number aa is without its sign, the steeper the line. So y=3xy = 3x and y=−3xy = -3x are equally steep; one rises and one falls.
  • If a=0a = 0, the line is y=0y = 0, which is the xx-axis.

(This is the same as y=mxy = mx. Your curriculum uses aa for this page.)

A translation slides a graph without turning or flipping it. To move y=axy = ax up bb units, add bb to every yy-value:

y=ax⟶y=ax+by = ax \quad\longrightarrow\quad y = ax + b

If bb is negative, the line moves down. In mapping notation, each point moves like this: (x,y)→(x, y+b)(x, y) \to (x,\ y + b).

The slope doesn’t change, so the new line is parallel to the original. Only the yy-intercept changes: it moves from 00 to bb.

A reflection flips a graph over a mirror line.

  • In the xx-axis: each point (x,y)(x, y) goes to (x,−y)(x, -y). The yy-values change sign, so y=axy = ax becomes y=−axy = -ax.
  • In the yy-axis: each point (x,y)(x, y) goes to (−x,y)(-x, y). Replacing xx with −x-x gives y=a(−x)y = a(-x), which is also y=−axy = -ax.

For a line through the origin, both reflections give the same new line: the slope changes sign, and a rising line becomes a falling one.

Left: y = 2x translated up 3 to y = 2x + 3 and down 2 to y = 2x - 2; all three lines are parallel. Right: y = 2x reflected to y = -2x; the point (1, 2) maps to (1, -2) in the x-axis and to (-1, 2) in the y-axis, both on y = -2x Translate −4 2 4 4 −2 2 −2 −4 y = 2x + 3 y = 2x − 2 Reflect −4 −2 2 4 −4 4 2 −2 (1, 2) (1, −2) (−1, 2) y = 2x y = −2x
Left: translating y=2xy = 2x (dashed) up 33 and down 22. Right: reflecting y=2xy = 2x in either axis gives y=−2xy = -2x.

A rotation turns a graph around a fixed point. If you rotate a line through the origin about the origin, it still goes through the origin, so its equation is still y=axy = ax (unless it turns all the way to vertical, x=0x = 0). Only aa changes.

  • Turning a rising line so it gets steeper makes aa bigger: y=12xy = \dfrac{1}{2}x, then y=xy = x, then y=3xy = 3x.
  • Turning it so it gets flatter makes aa closer to 00.
  • Turning it past the vertical or horizontal changes the sign of aa.

Rotating a point 90° counterclockwise about the origin sends (x,y)(x, y) to (−y,x)(-y, x). Try it on the point (1,2)(1, 2) on the line y=2xy = 2x: it goes to (−2,1)(-2, 1). The new line passes through (0,0)(0, 0) and (−2,1)(-2, 1), so its slope is

1−0−2−0=−12\frac{1 - 0}{-2 - 0} = -\frac{1}{2}

So rotating y=2xy = 2x by 90° gives y=−12xy = -\dfrac{1}{2}x. In general, a 90° rotation changes the slope aa into −1a-\dfrac{1}{a}: flip the fraction and change the sign. This is called the negative reciprocal. (Rotating 90° clockwise gives the same line.) In Grade 10 you’ll use this to recognize perpendicular lines.

Left: lines y = ax through the origin for a = 1/2, 1 and 3; larger a turns the line steeper. Right: y = 2x rotated 90 degrees about the origin gives y = -1/2 x; the point (1, 2) moves to (-2, 1) Change a −4 −2 2 4 2 4 −2 −4 a = 1/2 a = 1 a = 3 Rotate 90° −4 −2 2 4 −4 2 4 −2 (1, 2) (−2, 1) y = 2x y = −½x
Left: changing aa rotates the line y=axy = ax about the origin. Right: a 90° rotation turns y=2xy = 2x into y=−12xy = -\tfrac{1}{2}x.
Transformation of y = axNew equationWhat happens to the graph
translate up bb (down if b<0b \lt 0)y=ax+by = ax + bsame slope, yy-intercept moves to bb
reflect in the xx-axis or yy-axisy=−axy = -axslope changes sign
rotate about the originy=(new a)xy = (\text{new } a)xsteeper or flatter, still through (0,0)(0, 0)
rotate 90° about the originy=−1axy = -\dfrac{1}{a}xthe new line meets the old one at a right angle

Describe the transformation that takes y=3xy = 3x to y=3x−4y = 3x - 4. Where does the point (2,6)(2, 6) end up?

Solution. The slope is still 33, and −4-4 has been added. So the line is translated down 44 units. The new line is parallel to the old one and crosses the yy-axis at (0,−4)(0, -4).

The point (2,6)(2, 6) moves down 44: (2,6)→(2,2)(2, 6) \to (2, 2).

Check that (2,2)(2, 2) is on the new line: 3(2)−4=6−4=23(2) - 4 = 6 - 4 = 2. ✓

Reflect the line y=12xy = \dfrac{1}{2}x in the xx-axis. Then reflect it in the yy-axis. Use the point (4,2)(4, 2) to check both.

Solution.

In the xx-axis: change the sign of the slope: y=−12xy = -\dfrac{1}{2}x. The point (4,2)(4, 2) goes to (4,−2)(4, -2). Check: −12(4)=−2-\dfrac{1}{2}(4) = -2. ✓

In the yy-axis: replace xx with −x-x: y=12(−x)=−12xy = \dfrac{1}{2}(-x) = -\dfrac{1}{2}x. The point (4,2)(4, 2) goes to (−4,2)(-4, 2). Check: −12(−4)=2-\dfrac{1}{2}(-4) = 2. ✓

Both reflections give the same line, y=−12xy = -\dfrac{1}{2}x, just as the Key ideas said.

Here are four lines through the origin:

y=0.5xy=−4xy=2xy=−xy = 0.5x \qquad y = -4x \qquad y = 2x \qquad y = -x
  • (a) Which lines rise, and which fall?
  • (b) List them from least steep to most steep.
  • (c) Write the equation of a line through the origin that is steeper than y=2xy = 2x and also rises.

Solution.

(a) y=0.5xy = 0.5x and y=2xy = 2x rise (positive aa). y=−4xy = -4x and y=−xy = -x fall (negative aa).

(b) Compare the sizes of aa without their signs: 0.50.5, 44, 22, 11. From least to most steep:

y=0.5x,y=−x,y=2x,y=−4xy = 0.5x, \quad y = -x, \quad y = 2x, \quad y = -4x

(c) Any aa bigger than 22 works, for example y=5xy = 5x. Turning y=2xy = 2x counterclockwise about the origin (toward the yy-axis) makes it steeper.

Rotate the line y=3xy = 3x by 90° counterclockwise about the origin. Find the new equation.

Solution. Pick a point on the line: (1,3)(1, 3). A 90° counterclockwise rotation sends (x,y)(x, y) to (−y,x)(-y, x), so (1,3)→(−3,1)(1, 3) \to (-3, 1).

The new line goes through (0,0)(0, 0) and (−3,1)(-3, 1):

slope=1−0−3−0=−13\text{slope} = \frac{1 - 0}{-3 - 0} = -\frac{1}{3}

The new line is y=−13xy = -\dfrac{1}{3}x.

Check with the shortcut: the negative reciprocal of 3=313 = \dfrac{3}{1} is −13-\dfrac{1}{3}. ✓

Thinking a bigger bb makes a line steeper. In y=ax+by = ax + b, the bb only slides the line up or down. The steepness comes from aa. The lines y=2x+1y = 2x + 1 and y=2x+100y = 2x + 100 are exactly as steep as each other.

Calling y=−2xy = -2x a translation of y=2xy = 2x. The minus sign is on the slope, not added on at the end. y=−2xy = -2x is a reflection (it falls instead of rising). A translation down would look like y=2x−2y = 2x - 2.

Thinking y=3xy = 3x and y=−3xy = -3x have different steepness. They’re equally steep; one rises and one falls. Compare the sizes of the slopes without their signs.

Forgetting the sign in the negative reciprocal. Rotating y=2xy = 2x by 90° gives y=−12xy = -\dfrac{1}{2}x, not y=12xy = \dfrac{1}{2}x. Flip and change the sign. Check with a point: (1,2)(1, 2) rotates to (−2,1)(-2, 1), and −12(−2)=1-\dfrac{1}{2}(-2) = 1. ✓

Moving the point the wrong way. A translation up adds to the yy-coordinate only: (x,y)→(x,y+b)(x, y) \to (x, y + b). The xx-coordinate doesn’t change.

1. (Warm-up) Describe the transformation that takes y=4xy = 4x to y=4x+7y = 4x + 7.

Solution

The slope stays 44 and 77 is added, so the line is translated up 77 units. Its yy-intercept moves from (0,0)(0, 0) to (0,7)(0, 7).

2. (Warm-up) Write the equation of the line y=5xy = 5x after a reflection in the xx-axis.

Solution

The slope changes sign: y=−5xy = -5x.

Check: (1,5)(1, 5) reflects to (1,−5)(1, -5), and −5(1)=−5-5(1) = -5. ✓

3. (Warm-up) Which line is steeper, y=−3xy = -3x or y=2xy = 2x? Which one rises?

Solution

Compare 33 and 22: y=−3xy = -3x is steeper. y=2xy = 2x rises (positive slope); y=−3xy = -3x falls.

4. (Core) Translate y=−13xy = -\dfrac{1}{3}x down 22 units. Write the new equation, and find where the point (3,−1)(3, -1) ends up.

Solutiony=−13x−2y = -\frac{1}{3}x - 2

The point moves down 22: (3,−1)→(3,−3)(3, -1) \to (3, -3).

Check: −13(3)−2=−1−2=−3-\dfrac{1}{3}(3) - 2 = -1 - 2 = -3. ✓

5. (Core) A line through the origin passes through (2,7)(2, 7).

  • (a) Find its equation.
  • (b) Write the equation after a translation up 11 unit.
  • (c) Write the equation of the original line after a reflection in the yy-axis.
Solution

(a) Slope =7−02−0=72=3.5= \dfrac{7 - 0}{2 - 0} = \dfrac{7}{2} = 3.5, so y=3.5xy = 3.5x.

(b) y=3.5x+1y = 3.5x + 1.

(c) Replace xx with −x-x: y=3.5(−x)=−3.5xy = 3.5(-x) = -3.5x. Check: (2,7)(2, 7) reflects to (−2,7)(-2, 7), and −3.5(−2)=7-3.5(-2) = 7. ✓

6. (Core) Rotate y=4xy = 4x by 90° about the origin. Write the new equation and check it with a point.

Solution

The negative reciprocal of 44 is −14-\dfrac{1}{4}, so the new line is y=−14xy = -\dfrac{1}{4}x.

Check: (1,4)(1, 4) rotates 90° counterclockwise to (−4,1)(-4, 1), and −14(−4)=1-\dfrac{1}{4}(-4) = 1. ✓

7. (Core) Start with y=23xy = \dfrac{2}{3}x. Reflect it in the xx-axis, then translate the result up 66 units.

  • (a) Write the final equation.
  • (b) Find the xx-intercept of the final line.
Solution

(a) Reflecting gives y=−23xy = -\dfrac{2}{3}x. Translating up 66 gives

y=−23x+6y = -\frac{2}{3}x + 6

(b) Set y=0y = 0:

0=−23x+623x=6x=6×32=9\begin{aligned} 0 &= -\frac{2}{3}x + 6 \\ \frac{2}{3}x &= 6 \\ x &= 6 \times \frac{3}{2} = 9 \end{aligned}

The xx-intercept is (9,0)(9, 0). Check: −23(9)+6=−6+6=0-\dfrac{2}{3}(9) + 6 = -6 + 6 = 0. ✓

8. (Challenge) Translate y=2xy = 2x right 33 units. Find the new equation, and explain why the result is the same as a translation down.

Solution

Move two points right 33: (0,0)→(3,0)(0, 0) \to (3, 0) and (1,2)→(4,2)(1, 2) \to (4, 2).

The slope is still 2−04−3=2\dfrac{2 - 0}{4 - 3} = 2. Use (3,0)(3, 0) in y=2x+by = 2x + b: 0=6+b0 = 6 + b, so b=−6b = -6. The new line is y=2x−6y = 2x - 6.

That’s the same as translating y=2xy = 2x down 66. A line goes on forever, so sliding it sideways lands it in the same place as sliding it down by the right amount. Here, every 11 unit right matches 22 units down, because the slope is 22.

9. (Challenge) Reflect y=2x+3y = 2x + 3 in the xx-axis, and then (starting again from y=2x+3y = 2x + 3) in the yy-axis. Explain why the two answers are different, even though they were the same for y=2xy = 2x.

Solution

In the xx-axis: every yy-value changes sign, so replace yy with −y-y: −y=2x+3-y = 2x + 3, which gives y=−2x−3y = -2x - 3.

Check: (1,5)(1, 5) reflects to (1,−5)(1, -5), and −2(1)−3=−5-2(1) - 3 = -5. ✓

In the yy-axis: replace xx with −x-x: y=2(−x)+3=−2x+3y = 2(-x) + 3 = -2x + 3.

Check: (1,5)(1, 5) reflects to (−1,5)(-1, 5), and −2(−1)+3=5-2(-1) + 3 = 5. ✓

Both reflections change the slope from 22 to −2-2. But the yy-intercept (0,3)(0, 3) is on the yy-axis, so reflecting in the yy-axis leaves it alone, while reflecting in the xx-axis sends it to (0,−3)(0, -3). For y=2xy = 2x, the yy-intercept is the origin, which stays put in both reflections, so the answers matched.