Skip to content

Desmos walkthrough

Desmos Regression Trainer: Free SAT Practice

Practice Desmos regression with eight realistic data sets. Fit a line, check predictions and residuals, and learn the table and tilde commands step by step.

Reviewed

Desmos regression practice

Enter the data in a table and fit y₁ ~ mx₁ + b. Keep the coefficients unrounded; give final answers to two decimal places.

Open the testing calculator (new tab)

Fit a line to study-session data

Fit y = mx + b to these five practice sessions. Find the slope and intercept, then interpret the slope.

Problems completed against Time (minutes)5 observations, also listed in the adjacent table. The fitted line is hidden until you reveal the explanation.61728103050(10, 6)(20, 14)(30, 17)(40, 20)(50, 28)Time (minutes)
Problems completed · Observed data
Data for Fit a line to study-session data
Time (minutes)Problems completed
106
2014
3017
4020
5028
What does the slope describe?

Exact-line warm-ups

These two datasets lie exactly on a line. Use them to check table entry before working with scattered data.

Fit the original data

Use x₁ = [1,2,3,4], y₁ = [5,7,9,11] and y₁ ~ mx₁ + b. Predict the fitted slope and intercept, then check the displayed parameters.

Fit a different line

Change y₁ to [4,7,10,13] while keeping x₁ = [1,2,3,4]. Find the new slope and intercept, then verify one point.

Original practice datasets. Your answers stay in this page.

The short answer

To run a linear regression in Desmos, enter your data in a table, then type y_1 ~ m x_1 + b on a new line using the table’s actual column names. The tilde (~) fits the model. Use the trainer below to check a slope, prediction or residual on eight original data sets, including a curved pattern where a straight line is a poor choice.

On this page

Step 1: enter the data in a Desmos table

Open Add Item, choose Table and enter these original data pairs in columns x₁ and y₁:

x₁y₁
19
213
317
421

The column names represent the data lists. Match the names actually shown: an additional table may use x₂ and y₂ instead. Use Zoom Fit if the points are outside your graph window.

Points (1,9), (2,13), (3,17), and (4,21) lie on a line with slope 4 and intercept 5.

Step 2: type the linear regression command

On a new expression line, enter:

y_1 ~ m x_1 + b

The underscore creates the subscript; the tilde requests a regression. For this table, Desmos gives m = 4 and b = 5. The line is y = 4x + 5: m is slope and b is the y-intercept.

If the table headers are x₂ and y₂, use y_2 ~ m x_2 + b. Choose the model requested by the problem; a line is not appropriate for every data set. Desmos also offers regression templates, but the custom command makes your chosen model explicit.

Step 3: check the slope and intercept

Consecutive points differ by 1 in x and 4 in y, so the slope must be 4. Substitute (1,9): 9 = 4(1) + b, giving b = 5. Every point satisfies y = 4x + 5, so all residuals are zero for this deliberately exact example.

Use the model for the quantity the question asks for

For y = 4x + 5, define f(x) = 4x + 5 and evaluate f(6). The prediction is 29. If the prompt asks for slope, answer 4; if it asks for the intercept, answer 5. A correct regression can still produce a wrong response when you return a different quantity.

The requested x = 6 is outside the observed range 1 to 4, so this is extrapolation. The exact fit belongs to this deliberately simple teaching table; a future observation need not equal the prediction. Association alone does not establish causation.

Practice: fit a fresh table, then check your answer

Use a new table with (1,7), (2,10), (3,13) and (4,16). Predict the slope from the changes in x and y, then fit the line and find the predicted y-value when x = 5.

Check: Each increase of 1 in x increases y by 3, so m = 3. Substituting (1,7) gives 7 = 3(1) + b, so b = 4. The line is y = 3x + 4, and at x = 5 it predicts 19. Explain those steps without the calculator before trying another table.

Why is my Desmos regression not working?

CheckWhat to do
You used = instead of ~Use a tilde to request a regression.
Your table headers differMatch the command’s subscripts to the column names.
A pair is missing or mistypedCompare each x-value with its corresponding y-value.
The graph looks emptyUse Zoom Fit, then inspect the data and equation.
A parameter already has a valueUse an unused parameter name or clear the earlier definition.

Rehearse with the Desmos SAT testing calculator (opens in a new tab). The public and testing calculators can differ; use the testing version for interface practice. Then try the worked linear-model prediction.

Watch the actual calculator screens

These captures come from the College Board testing calculator and are the screens in the narrated lesson. Watch the 72-second walkthrough

  1. Step 1: Enter data and fit with a tilde, at 00:00

    Enter data and fit with a tilde in the actual College Board testing calculator
    Actual calculator capture; original PeakSAT practice example.Open full-size image: Enter data and fit with a tilde in the actual College Board testing calculator
  2. Step 2: Inspect the parameters and the data, at 00:36

    Inspect the parameters and the data in the actual College Board testing calculator
    Actual calculator capture; original PeakSAT practice example.Open full-size image: Inspect the parameters and the data in the actual College Board testing calculator

Sources

  1. Desmos: Regressionshelp.desmos.com
  2. Desmos: Tableshelp.desmos.com
  3. Desmos: College Board testing calculator differences, 2026–2027desmos.com

Sources are linked for reference; they do not endorse PeakSAT. How we prepare our guides