Algebra · Hard · 2–3 min

Linear functions

Question HB2-ALG-026

xy
00n
44n+25n + 25
88n+50n + 50
There is a linear relationship between x and y. The table shows three values of x and their corresponding values of y in terms of a constant n. What is the slope of the line in the xy-plane that represents this relationship?
  1. 2525
  2. 22
  3. 25425/4
  4. 4254/25
Solve in the interactive workspace →

Step-by-step explanation

Fit the symbolic table without choosing its free starting height.

Step 1: Define the unknown line

f(x)=mx+b

There’s a linear relationship, so type f(x)=mx+b. m is the slope we want.

The same m and b must work for every row. Changing n would just slide the line up or down.

Why this helps: The table’s y-values are n, n + 25 and n + 50. n is unknown, so we keep it as a letter.

Step 2: Match supplied pair 1

[f(0)]∼[n]

The first row is input 0, y-value n. Type [f(0)] ~ [n].

Don’t pick a value for n. The fit is unfinished until all three rows are in.

Why this helps: The brackets hold matching lists: first item left goes with first item right. The ~ tells Desmos to find m, b and n.

Step 3: Match supplied pair 2

[f(0),f(4)]∼[n,n+25]

The next row is 4 and n + 25. Change the row to [f(0),f(4)] ~ [n,n+25].

From x = 0 to x = 4, the y-value goes up 25, no matter what n is.

Why this helps: The same m, b and n have to work for both matches.

Step 4: Match supplied pair 3

[f(0),f(4),f(8)]∼[n,n+25,n+50]

The last row is 8 and n + 50. Change the row to [f(0),f(4),f(8)] ~ [n,n+25,n+50].

The comma adds another match. It doesn’t add the values together.

Why this helps: The next 4 steps add another 25, so the pattern really is a straight line.

Step 5: Read the invariant slope

m

Type m. Desmos gives 6.25 = 25/4. Choose C.

Desmos may show some n and b. They can move together without changing the slope, so they aren’t given values.

Why this helps: Slope is change in y over change in x: 25 ÷ 4 = 6.25, whatever n is.

Alternate table method

Fit the symbolic table and read its unchanged slope.

Step 1: Enter the symbolic table

x₁y₁
0n
4n+25
8n+50

Click + → Table. Put 0, 4, 8 under x₁ and n, n+25, n+50 under y₁, exactly as the table shows.

The same n is added to every y-value. That lifts every point by the same amount, which moves the line but doesn’t make it steeper.

Why this helps: Each row pairs an input with its y-value. n stays a letter for now.

Step 2: Choose an example intercept

n=0

Type n=0. This is our own example value, not a given.

Any n would work. We’ll change it later to show the slope doesn’t move.

Why this helps: Desmos needs a number for n before it can plot the points.

Step 3: Fit the line

y1∼mx1+b

Type y₁ ~ mx₁+b. Desmos gives m = 6.25 and b = 0.

RMSE near 0 means the line goes through all three points.

Why this helps: The ~ tells Desmos to find one m and one b that fit every row. m is the slope; b is the y-intercept.

Step 4: Check a second intercept

n=10

Change n to 10. b becomes 10, but m stays 6.25.

That’s why the slope doesn’t depend on n.

Why this helps: Every y-value went up by 10, so the gaps between rows didn’t change.

Step 5: Match the slope

y1∼mx1+b

Choose C: 25/4.

n only changes where the line crosses the y-axis.

Why this helps: Every increase of 4 in x adds 25 to y, so the slope is 25/4 = 6.25.

Hand explanation

Step 1: Between successive displayed rows, x increases by 4 while y increases by 25

Between successive displayed rows, x increases by 4 while y increases by 25.

Step 2: Any shared constant n cancels when subtracting the y values

Any shared constant n cancels when subtracting the y values.

Step 3: Slope is vertical change divided by horizontal change, giving 25/4

Slope is vertical change divided by horizontal change, giving 25/4.

Step 4: Reverse both subtractions together if using the opposite row order

Reverse both subtractions together if using the opposite row order; the ratio remains the same.

Step 5: 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: 25/4

Show answer

25/4

Related practice