Data & Graphs

Depth · one concept from first principles · step 2 of 4

Trade a vertical shift for a horizontal one

Shift the line y=3x+1 right 2 and down 1. That same final line can also be reached by a single sideways shift of m units. Find m.
Functions
Your answer
How to solve
Strategy Convert to Algebra — Write each translated line as an equation (shifting by p along x replaces x with x-p; shifting by q along y adds q). Both lines keep slope 3, so setting their y-intercepts equal gives one equation for m.
1STEP 1

Translate the first way

Moving 2 along the x-axis replaces x with x-2, and moving -1 along the y-axis subtracts 1 from the output.

y=3(x-2)+1-1=3x-6
2STEP 2

Translate the second way

Moving m along the x-axis only replaces x with x-m.

y=3(x-m)+1=3x-3m+1
3STEP 3

Match the intercepts

Two lines with the same slope coincide exactly when their y-intercepts are equal.

-3m+1=-6 → 3m=7 → m=7/3
Answer
m=7/3
Check: 3(x-7/3)+1=3x-7+1=3x-6, the same line as the first translation.
Takeaway

On a slanted line, an up-or-down move can always be traded for a sideways move -- the slope sets the exchange rate.

  • Translate the first way
  • Translate the second way
  • Match the intercepts
Where next?
Another one like thissuggested
Step back and solidifysuggested

A parent dashboard for the family lives at sensimlab.com.

▶ Practice — 12 problems