Straight Lines & Linear Equations

Drag two points or slide m and c and watch the equation, slope and intercepts change together. Add a second line to solve a system of equations.

✓ Free, no sign-up

-10-8-6-4-2246810-10-8-6-4-2246810xyrun 3rise 6

Table of values

Tap a row to see that point on the graph. A yellow row is where both lines give the same y.

xy
-3-5
-2-3
-1-1
01
13
25
37

Line 1 (red)

m2
c1
y = 2x + 1
2x - y = -1
  • Slope m = 2m = rise / run = 2/1Rises to the right (positive slope)
  • Crosses the y-axis at (0, 1)
  • Crosses the x-axis at (-1/2, 0)

The dashed orange triangle is rise over run. Hollow circles mark the axis intercepts.