Cube3D

MATHS / LINEAR FUNCTIONS

Slope and intercept

Drag the line’s two points or use the sliders. See what changes the crossing on the y-axis and what changes the line’s steepness.

Graph of y = kx + b

−6−4−2 0246 840 −4−8 xy B P
Intercept point B
Comparison point P

Slope

Adjust the line

Can two lines have the same steepness?

Set the slope to −1 and move B from 1 to −1. Then move P using only the horizontal step slider. Compare the signed rise, the horizontal step and their ratio.

This lab shows nonvertical lines with bounded parameter ranges. When k is 0, the line is horizontal and the equation becomes the constant function y = b.