Predict a Future Function Value with Regression

Fit f(x) from two known pairs and read any far-out output without manual rounding.

Worked problem

For the linear function f, f(2) = 11 and f(6) = 23. What is f(10)?

Target answer: 35 (compatible with typed-answer questions).

What to enter in the calculator

  • table: (2,11), (6,23)
  • y_1 ~ m*x_1 + b
  • f(x) = m*x + b
  • f(10)

Step-by-step calculator moves

  • Enter (2, 11) and (6, 23) into a Desmos table.
  • Type y1 ~ m*x1 + b on line 2 to compute m = 3 and b = 5.
  • Evaluate m*10 + b on line 3 to read 35.

Check the math

Each step of +4 in x adds +12 to f(x), so 23 + 12 = 35.

When to skip the graph

Notice equal spacing (2, 6, 10) immediately lets you add +12 without regression!

Connected book chapter, skill, and practice

Maps to Chapter 17 (Linear Equations in Two Variables and Linear Functions) and the Linear Functions skill guide.

SAT® and AP® are trademarks registered by the College Board, which is not affiliated with, and does not endorse, this website or book. PSAT/NMSQT® is a registered trademark of the College Board and the National Merit Scholarship Corporation, which are not affiliated with, and do not endorse, this site. Bluebook™ is a trademark of the College Board. ACT® is a trademark of ACT Education Corp., which is not affiliated with and does not endorse this website or book. Desmos is a trademark of Desmos Studio PBC.

Last updated .