Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

Coordinate geometry

Print the topic

Every lesson of the topic, from the first year to the last, ready for paper. Exercise sets are lettered A, B, C… and answered at the end.

To save a PDF, choose “Save as PDF” in the print dialog.

1. The coordinate plane: quadrants and distances along grid lines

Warm-up

Three quick questions from earlier lessons.

  1. A rectangle has vertices (−3,6)(-3, 6), (5,6)(5, 6), (5,−3)(5, -3) and (−3,−3)(-3, -3).
    1. Its width (horizontal side):   ?\;?
    2. Its height (vertical side):   ?\;?
    3. Its perimeter:   ?\;?
    4. This rectangle is the base of a right prism of height 4. Its volume:
    5. The distance from the vertex (−3,6)(-3, 6) to the yy-axis is ∣−3∣|-3|:
    6. Prisms of height 4 and of height 5 are stacked in two towers. The smallest height at which both towers are equal:
  2. Which number is greater: −5-5 or −12-12?
    1. −5-5
    2. −12-12
    3. They are equal
  3. Compute ∣−4∣+∣3∣|-4| + |3|.

Discover

The point (3,−2)(3, -2): where is it?

  1. 3 right, 2 down
  2. 2 right, 3 down

Key idea

Four quadrants; distances along a grid line.

A point (x,y)(x, y) is xx right (left if negative) and yy up (down if negative). The axes split the plane into quadrants I–IV counterclockwise from upper right. Two points with the same xx (or same yy) are ∣y1−y2∣|y_1 - y_2| apart; across an axis, add the absolute values.

Worked example

(−3,4)(-3, 4) and (5,4)(5, 4).

Horizontal distance
Same y.
3+5=83 + 5 = 8
3 to 0, then 5.

Your turn, guided

Your turn: distance between (2,−6)(2, -6) and (2,1)(2, 1).

77
6 + 1.

Practice ★

  1. In which quadrant is the point (−9,5)(-9, 5)?
    1. Quadrant II (left, up)
    2. Quadrant I (right, up)
    3. Quadrant IV (right, down)
  2. In which quadrant is the point (−6,2)(-6, 2)?
    1. Quadrant II (left, up)
    2. Quadrant I (right, up)
    3. Quadrant IV (right, down)
  1. What is the distance between (−4,4)(-4, 4) and (−4,−2)(-4, -2)?

Watch out!

Practice ★★

  1. What is the distance between (−1,−8)(-1, -8) and (2,−8)(2, -8)?
  2. What is the distance between (−59,58)(-59, 58) and (20,58)(20, 58)?

Exit ticket

Three questions to check you have got it.

  1. What is the distance between (−4,4)(-4, 4) and (−4,−2)(-4, -2)?
  2. What is the distance between (−42,63)(-42, 63) and (−42,−12)(-42, -12)?
  3. What is the distance between (5,4)(5, 4) and (5,−5)(5, -5)?

Summary card

The coordinate plane

x right/left, y up/down; same coordinate: subtract or add across 0.

Watch out: x comes first.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. A(−2,4)A(-2, 4) and B(8,4)B(8, 4). MM is the midpoint of ABAB. What is the xx-coordinate of MM?

2. Distance and midpoint in the coordinate plane

Warm-up

Three quick questions from earlier lessons.

  1. The altitude to the hypotenuse of a right triangle cuts the hypotenuse into segments 36 and 49. Find the altitude.
  2. In a right triangle, the hypotenuse is 25 and the altitude cuts off a segment of 1 next to leg aa. Find aa.
  3. A right triangle has legs 9 and 12. Find the hypotenuse.

Discover

From (1,1)(1, 1) to (4,5)(4, 5) you move 3 right and 4 up. How long is the straight segment?

  1. 5
  2. 7

Put A at (0, 0) and B at (4, 6). Where is M?

  1. (2, 3)
  2. (4, 6)

Key idea

Pythagoras on the grid, and averaging for the middle.

Distance: d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}. Midpoint: (x1+x22,y1+y22)\left(\dfrac{x_1 + x_2}{2}, \dfrac{y_1 + y_2}{2}\right).

Worked example

A(−2,3)A(-2, 3), B(4,−5)B(4, -5).

d=36+64=10d = \sqrt{36 + 64} = 10
Δx = 6, Δy = −8.
Midpoint (1,−1)(1, -1)
Average the coordinates.

Your turn, guided

Your turn: the distance from (0,0)(0, 0) to (5,12)(5, 12).

1313
√(25 + 144).

Practice ★

  1. Find the distance between (2,−5)(2, -5) and (5,−1)(5, -1).
  2. Find the distance between (−25,−3)(-25, -3) and (11,45)(11, 45).
  1. Tap the midpoint of the segment from (−6,−5)(-6, -5) to (−4,−1)(-4, -1).
  2. Tap the midpoint of the segment from (−7,−8)(-7, -8) to (1,−4)(1, -4).

Watch out!

Practice ★★

  1. Find the exact distance between (−3,−1)(-3, -1) and (−1,−2)(-1, -2).
  2. Find the exact distance between (6,−21)(6, -21) and (13,−35)(13, -35).

Exit ticket

Three questions to check you have got it.

  1. Find the distance between (2,−5)(2, -5) and (5,−1)(5, -1).
  2. Find the distance between (−25,−3)(-25, -3) and (11,45)(11, 45).
  3. Find the distance between (−1,0)(-1, 0) and (2,4)(2, 4).

Summary card

Distance and midpoint

d=Δx2+Δy2d = \sqrt{\Delta x^2 + \Delta y^2}; midpoint = average of the coordinates.

Watch out: average, not half the difference.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. MM is the midpoint of the segment from (−5,−2)(-5, -2) to (13,22)(13, 22). How far is MM from (−5,−2)(-5, -2)?

3. Slopes of parallel and perpendicular lines

Warm-up

Three quick questions from earlier lessons.

  1. Find the distance between (2,−5)(2, -5) and (5,−1)(5, -1).
  2. Tap the midpoint of the segment from (−6,−5)(-6, -5) to (−4,−1)(-4, -1).
  3. Find the exact distance between (−3,−1)(-3, -1) and (−1,−2)(-1, -2).

Discover

Rotate a line of slope 2 by 90∘90^\circ. Its "1 right, 2 up" becomes "2 left, 1 up". What is the new slope?

  1. −12-\tfrac{1}{2}
  2. 12\tfrac{1}{2}

Key idea

Slopes tell parallel and perpendicular apart.

Slope m=y2−y1x2−x1m = \dfrac{y_2 - y_1}{x_2 - x_1}. Parallel lines have equal slopes. Perpendicular lines (neither vertical) have slopes with product −1-1: m2=−1m1m_2 = -\dfrac{1}{m_1}.

Worked example

Line through (1,2)(1, 2) and (5,4)(5, 4).

m=12m = \tfrac{1}{2}
2/4.
Parallel: 12\tfrac{1}{2}
Same slope.
Perpendicular: −2-2
Negative reciprocal.

Your turn, guided

Your turn: perpendicular to slope 34\tfrac{3}{4}.

−43-\tfrac{4}{3}
Flip and change sign.

Practice ★

  1. A line has slope 2/32/3. Find the slope of a line perpendicular to it.
  2. A line has slope 12/1412/14. Find the slope of a line perpendicular to it.
  1. Are the lines y=6x+1y = 6x + 1 and y=−16x+5y = -\tfrac{1}{ 6 }x + 5 parallel, perpendicular or neither?
    1. Perpendicular: the product of the slopes is −1
    2. Parallel
    3. Neither

Watch out!

Practice ★★

  1. Find the slope of the line through (0,5)(0, 5) and (−5,−3)(-5, -3).
  2. Find the slope of the line through (−5,−2)(-5, -2) and (5,4)(5, 4).

Exit ticket

Three questions to check you have got it.

  1. A line has slope 2/32/3. Find the slope of a line perpendicular to it.
  2. A line has slope 12/1412/14. Find the slope of a line perpendicular to it.
  3. A line has slope 2/42/4. Find the slope of a line perpendicular to it.

Summary card

Parallel and perpendicular slopes

Parallel: equal. Perpendicular: m1m2=−1m_1 m_2 = -1.

Watch out: flip and change the sign.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. The lines y=15x+1y = \tfrac{ 1 }{ 5 }x + 1 and y=kx−2y = kx - 2 are perpendicular. Find kk.

4. Equations of lines through a point

Warm-up

Three quick questions from earlier lessons.

  1. A line has slope 2/32/3. Find the slope of a line perpendicular to it.
  2. Are the lines y=6x+1y = 6x + 1 and y=−16x+5y = -\tfrac{1}{ 6 }x + 5 parallel, perpendicular or neither?
    1. Perpendicular: the product of the slopes is −1
    2. Parallel
    3. Neither
  3. Find the slope of the line through (0,5)(0, 5) and (−5,−3)(-5, -3).

Discover

A line has slope 2 and passes through (3,1)(3, 1). Does it pass through (4,3)(4, 3)?

  1. Yes
  2. No

Key idea

A point and a slope fix a line.

Point-slope form: y=y1+m(x−x1)y = y_1 + m(x - x_1). To get y=mx+by = mx + b, substitute the point to find bb. A line parallel (perpendicular) to a given line uses the same (negative reciprocal) slope, with its own intercept.

Worked example

Through (2,5)(2, 5), parallel to y=3x−4y = 3x - 4.

m=3m = 3
Same slope.
b=−1b = -1
5 = 3·2 + b.
y=3x−1y = 3x - 1
The line.

Your turn, guided

Your turn: slope −2-2 through (1,4)(1, 4). The intercept bb.

b=6b = 6
4 = −2 + b.

Practice ★

  1. Write the line with slope 33 through (4,−1)(4, -1): enter the right-hand side of y=…y = \ldots
  2. Write the line with slope 11 through (2,−1)(2, -1): enter the right-hand side of y=…y = \ldots
  1. Find the yy-intercept of the line parallel to y=2x+4y = 2x + 4 through (2,5)(2, 5).
  2. Find the yy-intercept of the line parallel to y=−8x+26y = -8x + 26 through (10,1)(10, 1).

Watch out!

Practice ★★

  1. Find the yy-intercept of the line perpendicular to y=4xy = 4x through (−3,−3)(-3, -3).

Exit ticket

Three questions to check you have got it.

  1. Write the line with slope 33 through (4,−1)(4, -1): enter the right-hand side of y=…y = \ldots
  2. Write the line with slope 11 through (2,−1)(2, -1): enter the right-hand side of y=…y = \ldots
  3. Write the line with slope 55 through (4,−1)(4, -1): enter the right-hand side of y=…y = \ldots

Summary card

Equations of lines

y=y1+m(x−x1)y = y_1 + m(x - x_1); find bb by substituting the point.

Watch out: parallel lines share the slope, not the intercept.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find the yy-intercept of the line through (1,4)(1, 4) and (3,−4)(3, -4).

5. Partitioning a segment

Warm-up

Three quick questions from earlier lessons.

  1. Find the distance between (2,−5)(2, -5) and (5,−1)(5, -1).
  2. Tap the midpoint of the segment from (−6,−5)(-6, -5) to (−4,−1)(-4, -1).
  3. Find the exact distance between (−3,−1)(-3, -1) and (−1,−2)(-1, -2).

Discover

From A(0,0)A(0, 0) to B(6,3)B(6, 3). Where is the point one third of the way along?

  1. (2,1)(2, 1)
  2. (3,1.5)(3, 1.5)

Key idea

Move a fraction of the way, or take a weighted average.

The point a fraction tt of the way from AA to BB is A+t(B−A)A + t(B - A). A point dividing ABAB in the ratio m:nm : n (from AA) is (nxA+mxBm+n,nyA+myBm+n)\left(\dfrac{n x_A + m x_B}{m + n}, \dfrac{n y_A + m y_B}{m + n}\right), a weighted average.

Worked example

A(1,2)A(1, 2), B(9,6)B(9, 6), ratio 1:31 : 3.

t=14t = \tfrac{1}{4}
1 part of 4.
P=(3,3)P = (3, 3)
¼ of (8, 4) = (2, 1).

Your turn, guided

Your turn: x-coordinate halfway between 2 and 10.

66
Average.

Practice ★

  1. Tap the point one third of the way from A(−3,−2)A(-3, -2) to B(3,4)B(3, 4).
  2. Tap the point one third of the way from A(−5,−6)A(-5, -6) to B(4,3)B(4, 3).
  1. Point PP divides segment ABAB in the ratio 1:21 : 2 (closer to AA). AA has x=0x = 0 and BB has x=6x = 6. Find the xx-coordinate of PP.

Watch out!

Practice ★★

  1. Point PP divides ABAB in the ratio 3:13 : 1 from AA. AA has x=−2x = -2, BB has x=1x = 1. Find PP's xx-coordinate.
  2. Point PP divides ABAB in the ratio 1:41 : 4 from AA. AA has x=−2x = -2, BB has x=2x = 2. Find PP's xx-coordinate.

Exit ticket

Three questions to check you have got it.

  1. Tap the point one third of the way from A(−3,−2)A(-3, -2) to B(3,4)B(3, 4).
  2. Tap the point one third of the way from A(−5,−6)A(-5, -6) to B(4,3)B(4, 3).
  3. Tap the point one third of the way from A(−7,−2)A(-7, -2) to B(2,1)B(2, 1).

Summary card

Partitioning a segment

A+t(B−A)A + t(B - A); ratio m:nm : n gives t=mm+nt = \dfrac{m}{m + n}.

Watch out: count the parts of the ratio.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. AA has x=−5x = -5 and BB has x=12x = 12. PP is three quarters of the way from AA to BB. Find PP's xx-coordinate.

6. Areas from coordinates

Discover

A triangle has vertices (0,0)(0, 0), (6,0)(6, 0) and (2,5)(2, 5). Can you find its area from the coordinates alone?

  1. Yes: base 6, height 5, area 15
  2. No: you need to measure with a ruler

Key idea

Areas from coordinates.

For vertices (x1,y1)(x_1, y_1), (x2,y2)(x_2, y_2), (x3,y3)(x_3, y_3), the shoelace formula gives

Area=12∣x1(y2−y3)+x2(y3−y1)+x3(y1−y2)∣\text{Area} = \dfrac{1}{2}\left|x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2)\right|.

Worked example

Vertices (1,1)(1, 1), (5,2)(5, 2), (3,6)(3, 6).

12∣1(2−6)+5(6−1)+3(1−2)∣\tfrac{1}{2}|1(2 - 6) + 5(6 - 1) + 3(1 - 2)|
Substitute.
=12∣−4+25−3∣=9= \tfrac{1}{2}|{-4} + 25 - 3| = 9
Simplify.

Your turn, guided

Your turn: vertices (0,0)(0, 0), (4,0)(4, 0), (0,3)(0, 3): area?

66
12×4×3\tfrac{1}{2} \times 4 \times 3.

Practice ★

  1. Find the area of the triangle with vertices (0,0)(0, 0), (6,0)(6, 0) and (−6,1)(-6, 1).
  2. Find the area of the triangle with vertices (0,0)(0, 0), (4,0)(4, 0) and (5,7)(5, 7).
  3. Find the area of the triangle with vertices (0,0)(0, 0), (10,0)(10, 0) and (3,12)(3, 12).

Practice ★★

  1. Find the area of the triangle with vertices (0,0)(0, 0), (−3,2)(-3, 2) and (−5,−5)(-5, -5).
  2. Find the area of the triangle with vertices (0,0)(0, 0), (1,−2)(1, -2) and (2,−1)(2, -1).

Exit ticket

Two questions to check.

  1. Find the area of the triangle with vertices (0,0)(0, 0), (6,0)(6, 0) and (−6,1)(-6, 1).
  2. Find the area of the triangle with vertices (0,0)(0, 0), (4,0)(4, 0) and (5,7)(5, 7).

Summary card

Shoelace formula

  • 12∣x1(y2−y3)+x2(y3−y1)+x3(y1−y2)∣\tfrac{1}{2}|x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2)|.
  • Works for any triangle in the plane.

Surveyors and GIS software compute land areas from corner coordinates this way.

7. History of coordinates: Ptolemy and Descartes

Discover

Around AD 150, Ptolemy wrote a Geography in eight books to map the known world. How did he say where each city was?

  1. With two numbers: latitude and longitude
  2. By drawing pictures of each city

Key idea

Coordinates, from maps to algebra.

250500750100012501500c. 150Ptolemyc. 150Ptolemy
  1. Step 1250500750100012501500c. 150Ptolemyc. 150PtolemyPtolemy c. 100 – c. 170Imagined portraitUnknown artist, 1584. Public domainAbout 150: Ptolemy's Geography lists latitudes and longitudes.
  2. Step 2250500750100012501500c. 150Ptolemy1637Descartesc. 150Ptolemy1637DescartesRené Descartes 1596–1650After Frans Hals, 1649. Public domain1637: Descartes's La Géométrie: points as pairs of numbers.

Ptolemy (about 85–165) gave in his Geography the latitude and longitude of the major places of the known world; his maps were inaccurate where his data were poor. In 1637 René Descartes's La Géométrie applied algebra to geometry: points become pairs of numbers, and distances and midpoints become formulas.

Source

All the problems of geometry can easily be reduced to such terms that one then needs only to know the length of certain straight lines to construct them.

René Descartes, La Géométrie, 1637, first sentence (our translation from French)

What is Descartes's idea?

  1. Turn geometry problems into lengths, that is, numbers
  2. Do geometry without measuring anything

Worked example

Two places on a map grid: A(2,3)A(2, 3) and B(8,11)B(8, 11).

62+82=10\sqrt{6^2 + 8^2} = 10
Distance.
(5,7)(5, 7)
Midpoint.

Practice ★

  1. How did Ptolemy locate places in his Geography?
    1. By latitude and longitude
    2. With equations of lines
    3. With GPS
  1. On a map grid, A(−3,−3)A(-3, -3) and B(9,13)B(9, 13). Find the distance ABAB.
  2. On a map grid, A(−1,−1)A(-1, -1) and B(2,3)B(2, 3). Find the distance ABAB.
  1. Find the xx-coordinate of the midpoint of A(−6,3)A(-6, 3) and B(9,−9)B(9, -9).

Summary card

Coordinates today

  • GPS gives every phone its latitude and longitude.
  • Screens place every pixel by two coordinates.
  • Spreadsheets name cells by column and row.

Sources: MacTutor biographies of Ptolemy and Descartes (see "Sources and credits").