Academy

Slope from two points

Walk up a ramp from A to B. Count how far you went across and how far you went up. Up ÷ across tells how steep the ramp is.

line AB (y - q)(r - p) = (s - q)(x - p)
-6-4-2246-6-4-224xyline ABABsanjibsikder.com
Drag to move · pinch or scroll to zoom · tap to read a point
run (across) = r − p5
rise (up) = s − q3
slope m = rise ÷ run0.6
angle with the x-axis (degrees)30.96
p (A across) = -2
q (A up) = -1
r (B across) = 3
s (B up) = 2

Step by step

  1. The dashed steps go from A across, then up, to B.
  2. Across = r − p. Up = s − q. Read both numbers below the graph.
  3. Slope m = up ÷ across = (s − q) ÷ (r − p). Any two points of the line give the same answer.
  4. The line makes an angle θ with the x-axis. The slope is tan θ: m = tan θ. This θ is called the inclination.
  5. Put A and B at the same height: the slope is 0. Put them one above the other: across is 0, and the slope has no value. The line stands upright.

Try this

  • Make the slope 1. What is the angle?
  • Make the slope −2.
  • Make the line upright. What happens to the slope?

Practise this

Problems on Straight Lines with checks, marks and help from Sir are on the exam site (sign in). Practise Straight Lines on the exam site →