Cube3D 立方体数理

Maths · Middle school

Slope and y-intercept: what changes when you move a point?

· 12 minute activity

A line has two useful clues. Its crossing at x = 0 tells you the starting value b. Its slope k tells you how much y changes as x increases by one. Drag the two labelled points to see which clue changes and use the dashed triangle to check the calculation.

Move the crossing and keep the rate

Reset the lab to y = x + 1. B is at (0, 1) and the comparison point P is at (2, 3). From B to P you go two units right and two units up. The slope is the signed rise divided by the run, so k = (3 − 1) ÷ (2 − 0) = 1. Reading the line from left to right, y increases by one for every additional unit of x.

Drag B down from (0, 1) to (0, −1). The new equation is y = x − 1. The line shifts down two units at every x, including at x = 2, where P is now (2, 1). The slope is still 1 because the new vertical difference is 1 − (−1) = 2. The new line is parallel to the first.

Look for a negative rise and test a different run

Leave B at (0, −1) and set the slope to −1. At x = 2 the point P is (2, −3), so the vertical change is −3 − (−1) = −2. The horizontal change is still positive. The quotient is −1, which explains why the line falls as you read from left to right.

Now move P to x = 3 using only the horizontal step slider. The two changes become −3 and 3. Their ratio still equals −1. Every nonzero horizontal step on a single nonvertical straight line gives the same slope, because multiplying the step by k gives the corresponding change in y. Setting k to zero collapses the dashed triangle to a horizontal segment.

Check your understanding

Set the y-intercept to 2 and the slope to −0.5. Predict P and the signed rise when the horizontal step is 3. Then move the slider to check.

Show the explanation

P is (3, 0.5) because 2 − 0.5 × 3 = 0.5. The rise from B is 0.5 − 2 = −1.5. Dividing −1.5 by 3 gives the original slope −0.5.

What the model assumes

The controls have finite ranges and snap to steps. The comparison point stays to the right of the y-axis so the run from B is positive. The lab shows nonvertical lines. The horizontal setting y = b gives a constant-function comparison. The interactive lab is free to open.