Problem Solving & Data Analysis · Hard · 3–4 min
Line of best fit
Question PSDA-HARD-05
Step-by-step explanation
Fit the supplied points together with bracketed regression.
Step 1: Define the model for the supplied outputs
The question asks about the line of best fit already drawn, not the eight dots. Type u(x)=mx+b: protein grams in, predicted fat grams out.
m and b stay unknown. We’ll read two points from the drawn line to find them.
Why this helps: m is the predicted increase in fat for each extra 1 gram of protein. That’s exactly what they ask for.
Step 2: Match supplied pair 1
Read a point on the drawn line: about (10, 20). Type [u(10)] ~ [20].
One point allows many lines, so the fit is unfinished. Keep this row.
Why this helps: At 10 grams of protein, the line predicts about 20 grams of fat. The ~ asks Desmos to find m and b that make u(10) equal 20.
Step 3: Append supplied pair 2
A second point, far from the first: about (50, 72). Change the row to [u(10), u(50)] ~ [20, 72].
Points far apart make small reading errors matter less.
Why this helps: Brackets pair by position: u(10) with 20, u(50) with 72, using the same m and b. Fat goes up 52 while protein goes up 40, so m = 52/40 ≈ 1.3.
Step 4: Read the fat increase per protein gram
Type m. It’s about 1.3. Choose C.
The answer is approximate because the points were read from a graph.
Why this helps: The line predicts about 1.3 more grams of fat for each extra gram of protein.
Alternate table method
Fit the read-off points in a Desmos table.
Step 1: Enter the protein inputs
| x₁ | y₁ |
|---|---|
| 10 | |
| 50 |
Read two points on the drawn line of best fit: about (10, 20) and (50, 72). Click + → Table and type 10, 50 under x₁.
Type x_1 for the column name. The y₁ column comes next, in the same order.
Why this helps: Points far apart make small reading errors matter less.
Step 2: Enter the matching fat outputs
| x₁ | y₁ |
|---|---|
| 10 | 20 |
| 50 | 72 |
Type 20, 72 under y₁: 20 beside 10, and 72 beside 50.
Keep the order so each y-value stays with its x-value.
Why this helps: Each row is one point on the line: protein in, predicted fat out.
Step 3: Fit the two table rows
Type y₁ ~ mx₁+b.
We’re measuring the drawn line, not fitting all eight dots.
Why this helps: The ~ asks Desmos for one m and b that fit both rows. m is (72 − 20) ÷ (50 − 10) = 52/40 = 1.3.
Step 4: Read the fat increase per protein gram
Type m. It’s about 1.3. Choose C.
The answer is approximate because the points were read from a graph.
Why this helps: m is the predicted increase in fat for each extra gram of protein.
Hand explanation
Step 1: The predicted increase per gram of protein is the slope of the fitted line
The predicted increase per gram of protein is the slope of the fitted line.
Step 2: Read two convenient points on that line, approximately (10,20) and (50,72)…
Read two convenient points on that line, approximately (10,20) and (50,72), with protein horizontal and fat vertical.
Step 3: The predicted fat change is 72−20=52 grams over a protein change of 50−10=…
The predicted fat change is 72−20=52 grams over a protein change of 50−10=40 grams.
Step 4: Divide to get 52/40=1.3 grams of fat per extra gram of protein
Divide to get 52/40=1.3 grams of fat per extra gram of protein.
Step 5: Use points on the fitted line, rather than two arbitrary data dots, becaus…
Use points on the fitted line, rather than two arbitrary data dots, because the question asks for the line’s prediction.
Step 6: Your answer
Return to the question and compare the quantity you found with what it asks for. Explain the last calculation in your own words before opening the answer check.
Check your answer
C: 1.3
Show answer
1.3