Get the app
Pythagoras tracing a straight line across a street map with a ruler

Points, lines and distances on a grid. It sounds like a lot of formulas, but they all come from two ideas: slope is rise over run, and distance is the Pythagorean theorem drawn on graph paper.

13 min read · 2 sample questions · 12 flashcards · Free

Slope is rise over run

(−2, −1)(2, 5)
From (−2, −1) to (2, 5): up 6 and right 4. Slope = 6 ÷ 4 = 1.5.

slope = (y₂ − y₁) ÷ (x₂ − x₁)

A point is written (x, y): first how far across, then how far up. The slope of a line says how steep it is: how much it goes up (rise) for every step to the right (run). Positive slopes go up to the right; negative slopes go down.

The two axes cut the grid into four quadrants, numbered I to IV going the opposite way from a clock’s hands, starting at the top right: I is (+, +), II is (−, +), III is (−, −) and IV is (+, −).

Key idea

y on top, x on the bottom

Rise is the change in y; run is the change in x. Subtract in the same order on top and bottom (second point minus first point), and the sign takes care of itself.

Next: Learn

How to solve them

  1. 1

    Slope from two points

    Subtract the y-values, subtract the x-values in the same order, and divide.

    1. (1, 3) and (5, 11)
    2. m = (11 − 3) ÷ (5 − 1)
    3. m = 8 ÷ 4
    4. m = 2
    Next step: y = mx + b
  2. 2

    y = mx + b: the slope and where the line crosses

    In y = mx + b, m is the slope and b is the y-intercept, where the line crosses the y-axis (when x = 0). To find a point on the line, put an x-value in and work out y.

    If the equation comes in another form, get y alone first: 2x + y = 7 becomes y = −2x + 7, so the slope is −2. And where the line crosses the x-axis, y = 0.

    Read it

    y = 3x − 4

    slope 3, crosses the y-axis at −4

    Find a y

    y = 3x − 4 when x = 2

    3 × 2 − 4 = 2

    Flat or steep

    y = 5 and y = −2x

    slope 0 (flat) · slope −2 (down)

    Next step: Line from points
  3. 3

    The equation of a line from two points

    Find the slope first. Then put one point into y = mx + b to find b.

    Example

    Find the line through (0, 5) and (2, 1).

    1. Slope: (1 − 5) ÷ (2 − 0) = −4 ÷ 2 = −2.
    2. At x = 0 the line is at 5, so b = 5.
    3. y = −2x + 5. Check with (2, 1): −4 + 5 = 1.

    Answer y = −2x + 5

    Next step: Midpoint
  4. 4

    Midpoint: average the x’s, average the y’s

    The point halfway between two points has the average of their x-values and the average of their y-values.

    ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2)

    Going backwards: if you know the midpoint and one end, take the same step again past the midpoint. The other end is twice the midpoint minus the end you know.

    Example

    What is the midpoint of (−3, 4) and (7, 10)?

    1. x: (−3 + 7) ÷ 2 = 4 ÷ 2 = 2.
    2. y: (4 + 10) ÷ 2 = 14 ÷ 2 = 7.

    Answer (2, 7)

    Next step: Distance
  5. 5

    Distance: the Pythagorean theorem on the grid

    The horizontal and vertical gaps between two points are the legs of a right triangle; the distance is its hypotenuse.

    1. (1, 2) to (7, 10)
    2. legs: 7 − 1 = 6 and 10 − 2 = 8
    3. distance = √(36 + 64)
    4. √100 = 10
    Next step: Parallel & perpendicular
  6. 6

    Parallel and perpendicular lines

    Parallel lines have the same slope. Perpendicular lines meet at a right angle, and their slopes are negative reciprocals: flip the fraction and change the sign.

    Parallel to y = 4x + 1

    Same slope

    4

    Perpendicular to y = 4x + 1

    Flip and change sign

    4 is 4/1; flipped it is 1/4, and with the sign changed, −1/4

    Next step: Three examples
  7. 7

    Three worked examples, from easy to test level

    Each one starts with a first try many people make, crossed out, and then the way that works. Read the wrong try too: it is the kind of answer the test puts in the choices.

    The test-level one asks for a whole equation. Find the slope first, then find b, and check the answer with the second point before you choose.

    Example · Easy

    What is the slope of the line through (3, 1) and (5, 11)?

    First try(5 − 3) ÷ (11 − 1) = 2 ÷ 10 = 1/5

    1. That try put the change in x on top. Slope is rise over run, so the change in y goes on top.
    2. Rise: 11 − 1 = 10.
    3. Run: 5 − 3 = 2.
    4. Slope = 10 ÷ 2 = 5. Check: from (3, 1), go 2 steps right and 5 × 2 = 10 steps up, and you land on (5, 11).

    Answer 5

    Example · Medium

    How far is the point (−4, 1) from the point (8, 6)?

    First tryAcross: 8 − 4 = 4, so the distance is √(16 + 25) = √41

    1. That try lost a minus sign. Across is 8 − (−4), and subtracting a negative is adding: 8 + 4 = 12.
    2. Up: 6 − 1 = 5.
    3. The two gaps are the legs of a right triangle: 12 × 12 = 144 and 5 × 5 = 25, and 144 + 25 = 169.
    4. The distance is √169 = 13, because 13 × 13 = 169. (5, 12, 13 is a triple worth knowing.)

    Answer 13

    Example · Test level

    On a base map, a straight road passes the front gate at (−2, 9) and the motor pool at (4, −9). What is the equation of the road?

    First tryThe gate is at y = 9, so b = 9 and y = −3x + 9

    1. Slope first. Rise: −9 − 9 = −18. Run: 4 − (−2) = 4 + 2 = 6. Slope: −18 ÷ 6 = −3.
    2. That try used 9 as b. But b is where the line crosses the y-axis, at x = 0, and the gate is at x = −2, not at 0.
    3. Put the gate into y = −3x + b: 9 = −3 × (−2) + b. That is 9 = 6 + b, so b = 9 − 6 = 3.
    4. The road is y = −3x + 3. Check with the motor pool: −3 × 4 + 3 = −12 + 3 = −9. It works.

    Answer y = −3x + 3

Next: Watch out

4 traps in the answer choices

The test writes its wrong answers on purpose: each one is what you get if you make one of these mistakes.

Trap

Run over rise

Slope from (3, 2) to (6, 14):

Wrong3 ÷ 12 = 0.25

Right12 ÷ 3 = 4

Trap

Subtracting in different orders

Slope from (2, −1) to (6, 7):

Wrong(7 − (−1)) ÷ (2 − 6) = −2

Right(7 − (−1)) ÷ (6 − 2) = 2

Trap

Midpoint as the difference

Midpoint of (2, 6) and (8, 12):

Wrong(6, 6)

Right(5, 9)

Trap

Distance as the sum of the gaps

From (0, 0) to (3, 4):

Wrong3 + 4 = 7

Right√(9 + 16) = 5

Next: Practice

Try 2 questions

Two sample questions on this topic. Pick an answer, then read why. All the practice for this topic is in the Study Hall.

On test day

Coordinate geometry belongs to Mathematics Knowledge. On the computer test that section has 15 questions in 31 minutes, a little over 2 minutes each. On paper it is 25 questions in 24 minutes, just under a minute each. Expect the slope from two points, the slope or the intercept of an equation, a midpoint or a distance.

No calculator. Before you work out a square root, look for a Pythagorean triple: 3, 4, 5 or 6, 8, 10 or 5, 12, 13 or 8, 15, 17. If the gaps are 5 and 12, the answer is 13 without working out a square root.

A tip: write the two points one under the other before you subtract, and take second minus first on top and on the bottom. On the computer test you cannot go back to a question, so check your answer a second way (put a point back into the equation) before you move on.

Question 1 of 2 · Warm-up

What is the y-intercept of the line y = 4x − 9?

Show the answer

A. In y = mx + b the y-intercept is b, the number without x: −9 (where x = 0, y = −9). 4 is the slope, −4 gives the slope the minus sign of b, and 9 drops the minus sign. The y-intercept is −9.

Question 2 of 2 · Warm-up

What is the slope of the line through (2, 3) and (6, 15)?

Show the answer

B. Rise: 15 − 3 = 12. Run: 6 − 2 = 4. Slope = 12 ÷ 4 = 3. 1/3 divides run by rise, 12 is only the rise (it forgets to divide), and 4 is only the run. The slope is 3.

The Study Hall

Practice this topic for real

The full lesson in the ASVABIFY Community: more practice questions with every answer explained, and a checkpoint that tells you when you have it. Reading is free with an account; all the practice comes with Study Hall Plus, and it is included with Pro.

Practice in the Study Hall Stuck on one? Ask in #questions, free
Next: Flashcards

12 flashcards

Tap a card to flip it. Keep the ones you miss until they stick.

12 cards
Lesson complete

You finished this lesson: Coordinate geometry.

Practice score: not taken yet Take the practice

Next topic: Volume & surface area Course map
In the app

See this topic move.

In the course, every topic is drawn step by step on a whiteboard while a voice explains it, with timed practice tests and a plan for your test date. The first lessons of every module are free.

Try the app free