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.
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.
| Time (minutes) | Problems completed |
|---|---|
| 10 | 6 |
| 20 | 14 |
| 30 | 17 |
| 40 | 20 |
| 50 | 28 |
Hint
Use y₁ ~ mx₁ + b. A best-fit line need not pass through every point.
Explanation
The least-squares model is y = 0.5x + 2. At 20 minutes it predicts 12 problems, while the table records 14. The scatter does not disappear when you fit the line.
Slope is the modeled change in y per unit of x. It describes an average association, without guaranteeing an individual result.
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.
Hint
Use the tilde for regression and leave each subscript before typing the next operator.
Explanation
Each y increases by 2 when x increases by 1, so m = 2. The first point gives 5 = 2(1) + b, hence b = 3. All four example points satisfy y = 2x + 3 exactly; that does not establish causation.
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.
Hint
Use the change in y for each one-unit change in x, then substitute a point.
Explanation
The slope is 3, and the first point gives 4 = 3(1) + b, so b = 1. Each point lies on y = 3x + 1. For noisy real data, inspect residuals and context before predicting beyond the studied range.
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₁ |
|---|---|
| 1 | 9 |
| 2 | 13 |
| 3 | 17 |
| 4 | 21 |
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.
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?
| Check | What to do |
|---|---|
You used = instead of ~ | Use a tilde to request a regression. |
| Your table headers differ | Match the command’s subscripts to the column names. |
| A pair is missing or mistyped | Compare each x-value with its corresponding y-value. |
| The graph looks empty | Use Zoom Fit, then inspect the data and equation. |
| A parameter already has a value | Use 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
Step 1: Enter data and fit with a tilde, at 00:00

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 Step 2: Inspect the parameters and the data, at 00:36

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
- Desmos: Regressionshelp.desmos.com
- Desmos: Tableshelp.desmos.com
- Desmos: College Board testing calculator differences, 2026–2027desmos.com
Sources are linked for reference; they do not endorse PeakSAT. How we prepare our guides