Rewrite fitted linear models after variable changes

Lesson progressPractice problems 0/4
Difficulty
Advanced
Estimated time
28 minutes
Techniques
Fitted-model-rewritingVariable-redefinitionUnit-rescalingOrigin-shiftsAffine-changes

What you’ll learn

  1. Tell when a fitted line should be rewritten, not fitted again.
  2. Rescale the input or output of a fitted linear model.
  3. Handle a new zero point, or origin, in either variable.
  4. Change the input and output together in one reliable order.

Why this matters on the SAT

Same line, new variables

Sometimes the SAT gives you a line of best fit, then changes how one or both variables are measured. Hours become minutes, or thousands of dollars become dollars. The data haven’t changed, so the relationship hasn’t either. Your job is to write the same line in the new variables.

Solution to the example

The fitted equation is written in xx, the hours. So before you can use it, you need xx in terms of the new variable tt. Solve the definition for xx:

t=60x⟹x=t60.t=60x \quad\Longrightarrow\quad x=\frac{t}{60}.

Now substitute into the model:

y=14(t60)+80=730t+80.y=14\left(\frac{t}{60}\right)+80 =\frac{7}{30}t+80.

Choice B is correct. You never needed the original data. The question hands you the fitted line, so your job is to rewrite it, not rebuild it.

SAT example

A line of best fit predicts water use yy, in gallons, from the number of hours xx that a system operates:

y=14x+80.y=14x+80.

The operating time is instead recorded as tt minutes, where t=60xt=60x. Which equation gives the same line of best fit in terms of tt and yy?

  1. A

    y=840t+80y=840t+80

  2. B

    y=730t+80y=\frac{7}{30}t+80

  3. C

    y=14t+80y=14t+80

  4. D

    y=730t+43y=\frac{7}{30}t+\frac{4}{3}

Rewrite in the same order every time

These questions often give you three equations:

  1. the old fitted model;
  2. a definition of the new input; and
  3. a definition of the new output.

With answer choices, try a point first. Pick an easy old input, like x=0x=0, and find its old output. Convert both coordinates to the new variables, then test that new point in the choices. If exactly one choice works, you’re done.

Otherwise, rewrite the whole equation. If the question asks you to write the equation yourself, or the point doesn’t pick out one choice, use the universal rewriting method. It works every time. Give each equation its own job, and go in this order:

  1. Write the old input in terms of the new input.
  2. Substitute that expression into the fitted model.
  3. Rewrite or solve for the new output.
  4. Simplify, and check the variable names.

Why start with the old input? The fitted equation only understands the old variables. It has an xx in it, so you have to translate the new input back into xx before you can use it. Think of it as old input in, new output out.

Here’s the whole order on a general model. Say the old model is

y=mx+by=mx+b

and the new variables are

X=ax+candY=dy+e.X=ax+c \qquad\text{and}\qquad Y=dy+e.

First, get the old input by itself:

x=X−ca.x=\frac{X-c}{a}.

Then substitute:

y=m(X−ca)+b.y=m\left(\frac{X-c}{a}\right)+b.

Finally, use Y=dy+eY=dy+e to rewrite the output:

Y=d[m(X−ca)+b]+e.Y=d\left[m\left(\frac{X-c}{a}\right)+b\right]+e.

You don’t need to memorize that last formula. The order is the part worth keeping, because it works whatever the variables are called and whatever the context is.

Check your understanding:

A fitted model is y=9x+4y=9x+4, and the new input is t=3xt=3x. Rewrite the model in terms of tt and yy.

Common mistake:

It’s easy to read t=60xt=60x backward and replace xx with 60t60t. That gives y=840t+80y=840t+80, choice A in the opening example. The model contains the old input, so solve for it first: x=t60x=\frac{t}{60}.

Rescale the input or output

An input rescale changes the size of one input unit. In the opening example, one hour became 6060 minutes. One minute is only 160\frac{1}{60} of an hour, so the water use grows only 160\frac{1}{60} as much per minute. The new slope is the old slope divided by 6060.

An output rescale changes every predicted output. Suppose

r=−0.08x+4.6r=-0.08x+4.6

models revenue rr in thousands of dollars, and RR is revenue in dollars. Since

R=1000r,R=1000r,

multiply the whole output by 10001000:

R=1000(−0.08x+4.6)=−80x+4600.\begin{aligned} R&=1000(-0.08x+4.6)\\[1.4em] &=-80x+4600. \end{aligned}

Both the slope and the intercept get multiplied. If you converted only the 4.64.6, the intercept would be in dollars while the slope was still in thousands of dollars, and the equation would mix units.

Check your understanding:

A fitted model is q=2t+7q=2t+7, where qq is measured in thousands. If Q=1000qQ=1000q, what is the model for QQ in terms of tt?

Handle origin shifts

An origin shift moves the zero: it changes what the value 00 means. It doesn’t have to change the unit.

Say tt counts years since 2015, and uu counts years since 2020. When u=0u=0, it’s 2020, and five years have already passed since 2015. So

t=u+5.t=u+5.

If the fitted model is

p=3.2t+18,p=3.2t+18,

then

p=3.2(u+5)+18=3.2u+34.\begin{aligned} p&=3.2(u+5)+18\\[1.4em] &=3.2u+34. \end{aligned}

The slope stays 3.23.2 because both variables still count years. The intercept changes because the two variables put their zero on different dates.

Output origins work the same way. If v=y−7v=y-7, then vv measures how far yy is above 77. You can use v=y−7v=y-7 as it is, or rewrite it as y=v+7y=v+7 when you need the old output.

Check your understanding:

A fitted model is y=4x+10y=4x+10. New variables are defined by u=x−3u=x-3 and v=y−7v=y-7. Rewrite the model in terms of uu and vv.

Common mistake:

2020 comes after 2015, so it can feel like you should subtract and write t=u−5t=u-5. Don’t guess. Check the zero point instead: u=0u=0 is 2020, which is t=5t=5 years after 2015. So t=u+5t=u+5.

Example: Change the input and the output together

Worked example

A fitted linear model relates the total volume of water WW, in liters, pumped after TT minutes:

W=18T+120.\mathbf{W=18T+120}.

For a new report:

x=60(T−4)x=60(T-4) is the number of seconds after the pump has run for 44

minutes.

y=1000(W−150)y=1000(W-150) is the number of milliliters pumped beyond a baseline of 150150 liters.

Which equation gives the same fitted model in terms of xx and yy?

  1. A

    y=300x+42,000y=300x+42{,}000

  2. B

    y=300x+192,000y=300x+192{,}000

  3. C

    y=0.3x+42y=0.3x+42

  4. D

    y=1,080,000x+42,000y=1{,}080{,}000x+42{,}000

Step 1

Write the old input using the new input

The fitted model uses TT, so solve the new-input definition for TT:

x=60(T−4)x60=T−4T=x60+4.\begin{aligned} x&=60(T-4)\\[1.4em] \frac{x}{60}&=T-4\\[1.4em] T&=\frac{x}{60}+4. \end{aligned}

Check the zero point: x=0x=0 should be the moment the pump reaches 44 minutes, and the formula gives T=4T=4.

Step 2

Substitute into the fitted model

Replace TT in the old model:

W=18(x60+4)+120=310x+72+120=310x+192.\begin{aligned} W&=18\left(\frac{x}{60}+4\right)+120\\[1.4em] &=\frac{3}{10}x+72+120\\[1.4em] &=\frac{3}{10}x+192. \end{aligned}

You’re halfway there. The input is new, but the output is still the old WW.

Step 3

Apply the new output definition

Now use y=1000(W−150)y=1000(W-150), with the whole expression in place of WW:

y=1000(310x+192−150)=1000(310x+42)=300x+42,000.\begin{aligned} y&=1000\left(\frac{3}{10}x+192-150\right)\\[1.4em] &=1000\left(\frac{3}{10}x+42\right)\\[1.4em] &=300x+42{,}000. \end{aligned}

Choice A is correct. If you forget the −150-150, you land on choice B.

You can check the intercept too. At x=0x=0, the old model predicts W=192W=192 liters. That’s 4242 liters, or 42,00042{,}000 milliliters, beyond the new baseline, just as the equation says.

Check your understanding:

Why is the new slope 300300 milliliters per second?

Practice problems

Work these by hand. Once your setup is written down, you can use the calculator to check any arithmetic that isn’t quick in your head.

Rescale the input

Practice problem

A fitted model predicts distance dd, in miles, after hh hours:

d=42h+15.d=42h+15.

Time is instead recorded as tt minutes, where t=60ht=60h. Which equation gives the same model in terms of tt and dd?

Answer choices
Calculator loads as you approach
By hand: solve for h=t/60h=t/60, then substitute. No calculator needed.

Rescale the output

Practice problem

A line of best fit predicts revenue rr, in thousands of dollars, from an input xx:

r=−0.08x+4.6.r=-0.08x+4.6.

Revenue is instead recorded as RR dollars, where R=1000rR=1000r. Which equation gives the same line of best fit in terms of xx and RR?

Answer choices
Calculator loads as you approach
By hand: multiply the whole fitted output by 10001000. No calculator needed.

Move the time origin

Practice problem

A fitted model predicts a quantity pp from tt, the number of years since the beginning of 2018:

p=3.2t+18.p=3.2t+18.

Let uu be the number of years since the beginning of 2023. Which equation gives the same fitted model in terms of uu and pp?

Answer choices
Calculator loads as you approach
By hand: check the zero point to find t=u+5t=u+5. No calculator needed.

Change both variables

Practice problem

A line of best fit is

y=−3x+28.y=-3x+28.

New variables are defined by

X=2x+10andY=4y−6.X=2x+10 \qquad\text{and}\qquad Y=4y-6.

Which equation gives the same line of best fit in terms of XX and YY?

Answer choices
Calculator loads as you approach
Try the point x=0x=0 in the choices first. Rewrite the whole equation only if the point doesn’t pick out one choice. No calculator needed.

Finish the lesson

4 practice examples left

Finish the remaining questions correctly to complete this lesson.

Quick recap

  • When the question gives you a fitted equation, keep it. Don’t refit the data.
  • Write the old input in terms of the new input before you substitute.
  • After substituting, rewrite or solve for the new output.
  • An input rescale changes how much input one new unit stands for.
  • An output rescale applies to the whole predicted output, slope and intercept alike.
  • An origin shift changes what 00 means. Check its sign by matching the two variables at a known zero point.
  • With answer choices, test an easy old point in the new variables, and stop if exactly one choice fits it.
  • When you have to write the equation, or the point doesn’t pick out one choice, go in order: old input, substitute, new output, simplify.
  • Work by hand, and save the calculator for arithmetic that isn’t quick once the setup is done.

Next lesson

Calculate probability and relative frequency

Use counts and observed frequencies to calculate and interpret probabilities.

Start next lesson

Practice

Practice this lesson

40 SAT questions use what this lesson teaches. Practice a few in a study session at the difficulty you choose.

Start practice