Skip to content
tryhardprep
All lessons

Two-variable data: models and scatterplots

14 minute read · 12 sections

Read first: Math: how the section works, Desmos basics for the test

0 of 12 sectionsSections

What the questions look like

Most of these questions show a scatterplot, with one dot for each pair of measurements and often a line of best fit drawn through them. Others give a curve, a table, or a short story with no graph.

Read the last line first. It might say:

  • “Which of the following is closest to the How steep a line is, measured by how much it goes up for each unit it moves to the right.Read the lesson of the line of best fit?”
  • “Which of the following is the best interpretation of the slope of the line of best fit in this context?”
  • “How many of the data points lie above the line of best fit?”
  • “Which of the following Two expressions set equal to each other, like 5x + 7 = 22.Read the lesson is the most appropriate A relationship where each step multiplies by the same number, like doubling every year.Read the lesson model for the data shown in the scatterplot?”
  • “What type of A rule that takes in one number and gives back one number, like f(x) = 5x - 7.Read the lesson best models the relationship?”

There's no way to type a picture's dots into Desmos, so it helps only with a table, or to check a model against two points.

Read the axes first

Before you read a number off a graph, read both One of the two lines a graph is measured against, one running across and one running up. labels so you know what each one measures and in what unit. Then check what a square is worth.

Count squares in the axis's own steps. A square can be worth 2, 5, 0.5 or anything else, so read the numbered gridlines before you count.

Right
With gridlines every 5, a dot two squares above the 20 line is at 30.
Wrong
With gridlines every 5, a dot two squares above the 20 line is at 22.

22 counts each square as 1. Here each square is 5, so two squares is 10.

An axis might also start above 0, so the bottom edge of the graph isn't 0. And the label might say “in hundreds of liters.” Then a reading of 3 means 300 liters, and a question about a 600-liter tank sends you to 6 on that axis.

A dot or the line

At a charity walk, each walker's dot shows how many laps they walked and how much money they raised. Each square across is 1 lap, and each square up is $4.

A scatterplot of money raised in dollars against laps walked, one dot for each of eight walkers, with a rising line of best fit. At 3 laps the dot sits at 24 dollars while the line passes through 20, so that walker raised 4 dollars more than the line predicts.

Find 3 laps on the horizontal axis. The dot above it is at $24, and the line passes through $20 there.

A recorded or actual value comes from a dot. A predicted value comes from the line.

Right
The walker who walked 3 laps raised $24.
Wrong
The walker who walked 3 laps raised $20.

$20 is what the line predicts for 3 laps. The dot is what that walker raised.

Trap: The dot where the line belongs

Asked how much the 3-lap walker raised, one choice is 20, the height of the line. Another is 3, the number of laps.

What to do: Find predicted, recorded or actual in the question first. Then put your finger on the dot or the line at the given xx and read across.

Some questions ask how many dots sit above or below the line. Go left to right and compare each dot with the line directly above or below it. On the walk's plot, 4 dots are above the line and 4 are below. The dots at 4 and 8 laps sit only half a square above it, so look closely there. A dot right on the line counts as neither.

Here's one where the scale matters.

Worked example
100%
Scatterplot of completed pages, in groups of 5, against minutes elapsed, with points (2, 2.5), (3, 4), (4, 4), (5, 6), (6, 6), (7, 8), (8, 9.5), and (9, 8.5). A line of best fit rises from just above 0 at x = 0 to the top of the grid, y = 10, just before x = 10.

The scatterplot shows completed pages during Layla’s print run and a line of best fit.

How many pages had been completed after 77 minutes?

  1. A

    37.537.5

  2. B

    4040

  3. C

    77

  4. D

    9.59.5

Show the answer
  • A

    37.537.5

    This reads the line’s predicted value of 7.57.5 groups at 77 minutes instead of the observed dot. Converting that prediction gives 7.5×5=37.57.5 \times 5 = 37.5 pages.

  • B

    4040

    Correct answer

    At 77 minutes, the observed dot is at 88 groups of 55 pages. Therefore, 8×5=408 \times 5 = 40 pages had been completed.

  • C

    77

    This reports the observed dot’s horizontal coordinate, 77, instead of reading its vertical coordinate of 88 groups.

  • D

    9.59.5

    This reads 9.59.5 groups from the neighboring point at 88 minutes. It also treats each vertical-axis unit as 11 page even though each unit represents 55 pages.

Solution

Find the observed dot whose horizontal coordinate is 77 minutes. Its vertical coordinate is 88, so Layla completed 88 groups of pages.

Each group contains 55 pages, so 8×5=408 \times 5 = 40. After 77 minutes, 4040 pages had been completed.

How far a dot is from the line

On the walk's plot, the 3-lap walker raised $24 and the line predicted $20. “How much more than predicted” means the actual value minus the predicted one. This difference is called the The actual value minus the value the line of best fit predicts, so a point above the line gives a positive number..

Subtract the prediction from the actual value. A dot above the line gives a positive number, and a dot below gives a negative one.

Right
The 3-lap walker raised 24−20=424-20=4 dollars more than predicted.
Wrong
The 3-lap walker raised 20−24=−420-24=-4 dollars more than predicted.

Subtracting in the other order flips the sign. The dot is above the line, so the answer has to be positive.

A question might ask where the line predicts more than was recorded. That's every dot below the line.

Slope of the line of best fit

You find the slope the same way as in linear functions. On a scatterplot, the work is in picking two points the line itself crosses at gridlines. On the walk's plot, the line meets the vertical axis at $8 and passes through the corner where 5 laps meets $28.

  1. Two places the line crosses gridlines.

    (0,8) and (5,28)(0,8) \text{ and } (5,28)
  2. Change in dollars over change in laps.

    m=28−85−0m=\frac{28-8}{5-0}
  3. Divide. The line rises $4 a lap.

    m=205=4m=\frac{20}{5}=4

Put the change in the vertical quantity on top.

Right
m=28−85−0=4m=\frac{28-8}{5-0}=4
Wrong
m=5−028−8=0.25m=\frac{5-0}{28-8}=0.25

0.25 is laps per dollar. The slope here is dollars per lap, so the change in dollars goes on top.

Trap: Slope from two dots

A choice of 5.5 comes from two dots, (1,10)(1,10) and (5,32)(5,32), which give 224=5.5\frac{22}{4}=5.5. Dots scatter around the line, so they give a different slope.

What to do: Read both points off the line itself, even when a dot is easier to see.

The line won't always reach the vertical axis. Say it crosses gridlines only at (2,9)(2,9) and (10,29)(10,29). Those two points give the slope, and walking back to x=0x=0 gives the The output when the input is 0, which is where a graph crosses the vertical axis.Read the lesson.

  1. Change in yy over change in xx.

    m=29−910−2m=\frac{29-9}{10-2}
  2. Divide.

    m=208=2.5m=\frac{20}{8}=2.5
  3. From (2,9)(2,9), go 2 units left to x=0x=0. The line drops 2.5 for each unit left.

    9−2.5(2)=49-2.5(2)=4
  4. Write the equation.

    y=2.5x+4y=2.5x+4

The walk's line climbs about $4 a lap, which is enough to pick 4 from 0.25, 4, 8 and −4-4.

Do this
Get a rough slope from the graph and pick the choice it matches.
Not this
Keep hunting for exact crossings once a rough reading has ruled out three choices.

On a “closest to” question the choices sit far apart.

What the slope and starting value mean

The walk's slope is 4, in dollars per lap. To say what it means, put both quantities in the sentence.

The slope is how much the predicted vertical quantity changes for each additional unit of the horizontal quantity.

Right
The predicted amount raised increases by $4 for each additional lap.
Wrong
The predicted number of laps increases by 4 for each additional dollar raised.

The wrong sentence swaps the two quantities. The slope is $4 per lap, so it's the money that changes with each extra lap.

Trap: The slope with the wrong sign

“The predicted amount raised decreases by $4 for each additional lap” has the right number and the wrong direction. The walk's line rises.

What to do: Check whether the line rises or falls from left to right, and make the sentence say increases or decreases to match.

A line of best fit for pizza prices at several shops is y=2x+13y=2x+13, where xx is the number of toppings and yy is the price in dollars.

The number multiplying xx is the change for each additional unit. The number standing alone is the starting value, the predicted yy when x=0x=0.

Right
The line predicts a price of $13 for a pizza with no toppings.
Wrong
The line predicts the price goes up $13 for each additional topping.

The 2 multiplies xx, so it's the change per topping. The 13 stands alone, so it's the price when x=0x=0.

If none of the pizzas in the data were plain, 13 is only where the line lands when you follow it back to x=0x=0. It still means the predicted price of a plain pizza, so pick the choice that calls it predicted or estimated.

Here's one with a falling line.

Worked example
100%
Scatterplot of unsold seats versus days after ticket sales began, with points (0, 10), (2, 7), (4, 6), (6, 7), (8, 6), (10, 3), (12, 2), and (14, 3). The falling line of best fit passes through (0, 9) and (14, 2).

Farid tracks unsold bus-tour seats after ticket sales begin.

Which of the following is the best interpretation of the slope of the line of best fit in this context?

  1. A

    The predicted number of days after ticket sales begin decreases by 0.50.5 for each additional unsold seat.

  2. B

    The predicted number of unsold seats decreases by 0.50.5 for each additional day after ticket sales begin.

  3. C

    The predicted number of unsold seats increases by 0.50.5 for each additional day after ticket sales begin.

  4. D

    The predicted number of unsold seats decreases by 99 for each additional day after ticket sales begin.

Show the answer
  • A

    The predicted number of days after ticket sales begin decreases by 0.50.5 for each additional unsold seat.

    This interpretation exchanges the The number you put into a function, like the 4 in f(4).Read the lesson and The number a function gives back, like the 13 when f(4) = 13.Read the lesson quantities. The How steep a line is, measured by how much it goes up for each unit it moves to the right.Read the lesson describes predicted unsold seats per additional day, not predicted days per additional unsold seat.

  • B

    The predicted number of unsold seats decreases by 0.50.5 for each additional day after ticket sales begin.

    Correct answer

    Using two points on the The straight line that best follows the trend of the dots in a scatterplot.Read the lesson, the How steep a line is, measured by how much it goes up for each unit it moves to the right.Read the lesson is 2−914−0=−0.5\frac{2-9}{14-0}=-0.5. Therefore, the predicted number of unsold seats decreases by 0.50.5 for each additional day after ticket sales begin.

  • C

    The predicted number of unsold seats increases by 0.50.5 for each additional day after ticket sales begin.

    This interpretation flips the sign of the How steep a line is, measured by how much it goes up for each unit it moves to the right.Read the lesson. Because the line falls from left to right, its slope is negative, so the predicted number of unsold seats decreases.

  • D

    The predicted number of unsold seats decreases by 99 for each additional day after ticket sales begin.

    This uses the yy-intercept, 99, as the per-day How much the output changes each time the input goes up by 1.Read the lesson. The Where a graph crosses an axis.Read the lesson is the predicted number of unsold seats when ticket sales begin, while the How steep a line is, measured by how much it goes up for each unit it moves to the right.Read the lesson is −0.5-0.5 seat per day.

Solution

Choose two points on the The straight line that best follows the trend of the dots in a scatterplot.Read the lesson, such as (0,9)(0,9) and (14,2)(14,2). Compute the How steep a line is, measured by how much it goes up for each unit it moves to the right.Read the lesson:

2−914−0=−714=−0.5\frac{2-9}{14-0}=\frac{-7}{14}=-0.5.

The horizontal quantity is days after ticket sales began, and the vertical quantity is unsold seats. A slope of −0.5-0.5 means that for each additional day, the predicted number of unsold seats decreases by 0.50.5.

Average rate of change between two dots

An average How much the output changes each time the input goes up by 1.Read the lesson comes from the two dots the question names. Say a question asks for it from x=2x=2 to x=6x=6 on the walk's plot, where the 2-lap dot is at $14 and the 6-lap dot is at $26.

  1. Read the two named dots.

    (2,14) and (6,26)(2,14) \text{ and } (6,26)
  2. Change in dollars over change in laps.

    26−146−2\frac{26-14}{6-2}
  3. Divide. That's $3 per lap.

    =124=3=\frac{12}{4}=3

Divide the change in yy by the change in xx.

Right
The average rate of change is 124=3\frac{12}{4}=3 dollars per lap.
Wrong
The average rate of change is 12 dollars per lap.

12 is the change over all 4 laps. Dividing by 4 gives the change for one lap.

The dots in between, 24, 26 and 32, don't change the answer, and neither does the line's slope of 4.

When the later dot is lower, the rate is negative. From $32 at 5 laps to $26 at 6 laps, the rate is 26−326−5=−6\frac{26-32}{6-5}=-6 dollars per lap. On a A question where you type your own answer instead of picking one of four.Read the lesson, type the minus sign: -6.

Try one where the dots fall.

Worked example
100%
Scatterplot of stems used by day, with points at (2, 25), (3, 27), (4, 23), (5, 26), (6, 21), (7, 24), and (8, 22).

Fabre recorded the number of flower stems used in one display on each of seven days. The scatterplot shows the data.

What was the average rate of change, in stems per day, from day 2 to day 8?

Show the answer

Accepted answers: -1/2, -0.5, -.5

Solution

From day 2 to day 8, the number of stems changes from 25 to 22, so the change is 22−25=−322-25=-3 stems over 8−2=68-2=6 days. The average How much the output changes each time the input goes up by 1.Read the lesson is −36=−12\frac{-3}{6}=-\frac{1}{2} stem per day.

A response of −3-3 gives the total change in stems without dividing by the 6 elapsed days. A response of 0.50.5 uses the correct magnitude but drops the minus sign that shows the number of stems decreased.

Note that −1/2-1/2, −0.5-0.5, and −.5-.5 are examples of ways to enter a correct answer.

Linear or exponential

To describe a graph or a list of values, answer two questions separately. Do the values go up or down as xx goes up? And does each step add the same amount, or multiply by the same number?

Increasing means the values go up as you read left to right. A graph that rises by less and less is still increasing.

Right
40, 60, 70, 75 is increasing.
Wrong
40, 60, 70, 75 is decreasing.

The values rise by 20, then 10, then 5. The rises get smaller, but every value is bigger than the one before.

For the shape, use equally spaced xx-values and compare each yy-value with the next.

  1. Values at x=0,1,2,3x=0,1,2,3.

    200, 300, 450, 675200,\ 300,\ 450,\ 675
  2. Subtract each value from the next. The differences change, so it isn't linear.

    100, 150, 225100,\ 150,\ 225
  3. Divide each value by the one before. It's 1.5 every time.

    300200=450300=675450=1.5\frac{300}{200}=\frac{450}{300}=\frac{675}{450}=1.5

The same difference each step means linear. The same multiplier each step means exponential.

Right
200, 300, 450, 675 fits an exponential model.
Wrong
200, 300, 450, 675 fits a linear model.

The amount added changes from step to step. The multiplier, 1.5, stays the same.

A An expression whose biggest power is a square, like x squared plus 3x minus 4.Read the lesson model turns around. Dots that rise, level off and come back down can't fit a linear or an exponential model, because neither one ever turns. In a table, check the differences of the differences. For 1, 4, 9, 16 the differences are 3, 5, 7, and their differences are 2 and 2. When those match, the model is quadratic.

A story with no graph works the same way. A snowbank that loses 2 inches of depth each day is decreasing linear, because it loses the same amount every day. A used phone that loses 15% of its value each year is decreasing exponential, because it loses the same percent. Doubling and halving are exponential too.

Trap: The wrong family

“Decreasing exponential” for the snowbank is wrong. It loses 2 inches every day, the same amount each time, so the model is linear.

What to do: Ask whether each step adds the same amount or multiplies by the same number. Then decide the direction separately.

The starting value and multiplier

An exponential model is written y=a(b)xy=a(b)^x. aa is the starting value, the yy-value at x=0x=0, and bb is the multiplier for each step of 1 in xx. Say a falling curve passes through (0,90)(0,90) and (1,45)(1,45). Then a=90a=90, and b=4590=0.5b=\frac{45}{90}=0.5.

Take aa from the point on the vertical axis.

Right
y=90(0.5)xy=90(0.5)^x
Wrong
y=45(0.5)xy=45(0.5)^x

45 is the value at x=1x=1. The starting value is the one at x=0x=0.

A bb above 1 makes the curve grow, and a bb between 0 and 1 makes it shrink. So y=90(2)xy=90(2)^x can't fit a falling curve.

Trap: A minus sign in the exponent

y=90(0.5)−xy=90(0.5)^{-x} looks right, but the minus sign in the The small raised number that says how many times to multiply, like the 3 in x cubed.Read the lesson turns decay into growth. At x=1x=1 it gives 180 where the curve shows 45.

What to do: Put a second point into the choice and check that it fits.

The two marked points might be more than one step apart, like (0,100)(0,100) and (2,81)(2,81).

  1. Divide the two yy-values. This is the multiplier for 2 steps.

    81100=0.81\frac{81}{100}=0.81
  2. Two steps means multiplying by bb twice.

    b⋅b=0.81b\cdot b=0.81
  3. Take the square root of the top and of the bottom.

    b=81100=910b=\sqrt{\frac{81}{100}}=\frac{9}{10}
  4. Divide.

    b=0.9b=0.9
  5. Check: two steps from 100 land on 81.

    100(0.9)(0.9)=81100(0.9)(0.9)=81

Divide the two yy-values. For a gap of 2 in xx, take the square root. For a gap of 3, take the cube root.

Right
Through (0,100)(0,100) and (2,81)(2,81), b=0.9b=0.9.
Wrong
Through (0,100)(0,100) and (2,81)(2,81), b=0.81b=0.81.

0.81 is the multiplier for two steps of xx. For one step, take its square root.

A table works the same way. If xx goes 0, 2, 4, 6 and the values go 5, 10, 20, 40, each row doubles over 2 steps of xx. So b=2b=\sqrt{2}, about 1.41, and you can also write the model as y=5(2)x/2y=5(2)^{x/2}.

Check an exponential choice

  1. Type the choice with f(x)= in place of y=, such as f(x)=100(0.9)^x.
  2. On the next two lines, type f(0) and f(2). Desmos prints each value beside it.
  3. If they aren't 100 and 81, cross that choice out.

When the data come as a table

When the data come as a table, Desmos can find the slope and starting value of a linear model for you.

Fit a line to a table

  1. Open the plus menu and choose Table.
  2. Type the xx-values in the x1x_1 column and the yy-values in the y1y_1 column.
  3. On a new line, type y1~mx1+b. The ~ needs Shift.
  4. The box under that line shows mm and bb.

For an exponential or quadratic choice, use the check in the last section at two of the table's xx-values. Desmos for data shows more of this.

When every y-value is multiplied

Say a data set has the line of best fit y=4x+6y=4x+6, and a new data set is made by multiplying every yy-value by 2.5. Every prediction gets 2.5 times bigger, including the one at x=0x=0.

  1. Multiply the whole right side by 2.5.

    y=2.5(4x+6)y=2.5(4x+6)
  2. 2.5⋅4=102.5\cdot4=10 and 2.5⋅6=152.5\cdot6=15.

    y=10x+15y=10x+15

Trap: Only half the scaling

y=10x+6y=10x+6 scales the slope and leaves the 6 alone, so at x=0x=0 it still predicts 6 where the new data call for 15.

What to do: Multiply both numbers, then check the prediction at x=0x=0. It should be 2.5 times the old one.

If every xx-value is doubled instead, each rise takes twice as far across, so the slope is cut in half. y=4x+6y=4x+6 becomes y=2x+6y=2x+6. The starting value stays 6, since doubling x=0x=0 still gives 0.

If the first line is drawn on a graph, read its slope and starting value, then multiply.

Practice

Before each one, decide whether the question wants a dot, the line, or the pattern in the values. Then check that the sign of your answer matches the direction of the graph.

Try it

5 questions on this skill, with every choice explained.

Start the drill

Next steps