IB MYP Mathematics · Geometry and trigonometry
Coordinate geometry
1Midpoints
Coordinate geometry uses algebra to describe points, lines and shapes on a grid.
The midpoint of a line segment is the point halfway between its ends. Find it by averaging the coordinates.
$$\text{midpoint} = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)$$
The midpoint of A(1, 2) and B(7, 10)
- $x$: (1 + 7) ÷ 2 = 4.
- $y$: (2 + 10) ÷ 2 = 6.
- Midpoint: (4, 6).
Finding an endpoint
- M(3, −1) is the midpoint of P(−2, 4) and Q. Find Q.
- From P to M: 5 right and 5 down.
- Repeat from M: (3 + 5, −1 − 5) = (8, −6).
- Check: the midpoint of (−2, 4) and (8, −6) is (3, −1).
Check yourself
What is the midpoint of (2, 8) and (6, −4)?
Show the answer
(4, 2)
Average the x values and the y values: (8 ÷ 2, 4 ÷ 2).
2Distance between two points
The distance between two points comes from Pythagoras' theorem: the differences in $x$ and $y$ are the two shorter sides of a right-angled triangle.
$$d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$$
The length of AB for A(1, 2) and B(7, 10)
- Difference in $x$: 6. Difference in $y$: 8.
- $d = \sqrt{36 + 64} = \sqrt{100} = 10$.
With negatives. P(−3, 4) and Q(2, −8)
- Difference in $x$: 2 − (−3) = 5. Difference in $y$: −8 − 4 = −12.
- $d = \sqrt{25 + 144} = \sqrt{169} = 13$.
- Squaring removes the negative sign, so the order of subtraction does not matter here.
Leave answers as exact square roots (such as $\sqrt{20} = 2\sqrt{5}$) unless a decimal is asked for.
Check yourself
What is the distance between (1, 1) and (4, 5)?
Show the answer
5
√(3² + 4²) = √25.
3Gradients and equations of lines
The gradient of the line through two points is $\dfrac{y_2 - y_1}{x_2 - x_1}$.
- Parallel lines have equal gradients.
- Perpendicular lines have gradients that multiply to −1.
To find the equation of a line, use $y = mx + c$, or the form $y - y_1 = m(x - x_1)$, which avoids a separate step for $c$.
The line through A(1, 2) and B(7, 10)
- Gradient: (10 − 2) ÷ (7 − 1) = 8/6 = 4/3.
- $y - 2 = \frac{4}{3}(x - 1)$.
- Multiply by 3: $3y - 6 = 4x - 4$.
- $3y = 4x + 2$, or $4x - 3y + 2 = 0$.
The perpendicular bisector of AB
- It passes through the midpoint (4, 6).
- Its gradient is the negative reciprocal of 4/3: −3/4.
- $y - 6 = -\frac{3}{4}(x - 4)$.
- $4y - 24 = -3x + 12$, so $3x + 4y = 36$.
- Every point on this line is the same distance from A as from B.
Check yourself
A line has gradient 2/5. What is the gradient of a line perpendicular to it?
Show the answer
−5/2
The negative reciprocal: turn the fraction over and change the sign.
4Proving properties of shapes
Coordinates let you prove facts about shapes by calculation. Choose the right tool.
- Equal lengths: use the distance formula.
- Parallel sides: show the gradients are equal.
- Right angles: show the gradients multiply to −1.
- Bisecting diagonals: show they share a midpoint.
Show that A(0, 0), B(4, 2), C(3, 4) is a right-angled triangle
- Gradient of AB: 2/4 = 1/2.
- Gradient of BC: (4 − 2) ÷ (3 − 4) = −2.
- Product: ½ × (−2) = −1.
- AB is perpendicular to BC, so the triangle has a right angle at B.
Show that P(1, 1), Q(5, 2), R(6, 6), S(2, 5) is a parallelogram
- Midpoint of PR: (3.5, 3.5).
- Midpoint of QS: (3.5, 3.5).
- The diagonals bisect each other, so PQRS is a parallelogram.
- Further: PQ = $\sqrt{17}$ and QR = $\sqrt{17}$, so all sides are equal and it is a rhombus.
End a proof with a sentence stating what you have shown and why.
Check yourself
How would you show that two sides of a quadrilateral are parallel?
Show the answer
Show that their gradients are equal
Parallel lines have the same gradient.
5Intersections and areas
The point where two lines intersect satisfies both equations, so solve them simultaneously.
Where do y = 2x − 1 and y = −x + 8 meet?
- $2x - 1 = -x + 8$.
- $3x = 9$, so $x = 3$.
- $y = 2(3) - 1 = 5$.
- They meet at (3, 5).
Intercepts: a line crosses the $y$-axis where $x = 0$ and the $x$-axis where $y = 0$. For $3x + 4y = 36$: the $x$-intercept is (12, 0) and the $y$-intercept is (0, 9).
Areas on a grid: find a base and a perpendicular height, or box the shape in a rectangle and subtract the corner triangles.
The triangle formed by 3x + 4y = 36 and the axes
- The vertices are (0, 0), (12, 0) and (0, 9).
- Base 12, height 9.
- Area: ½ × 12 × 9 = 54 square units.
A triangle not aligned with the axes: (1, 1), (5, 2), (3, 6)
- Enclose it in the rectangle from (1, 1) to (5, 6): area 4 × 5 = 20.
- Subtract three right-angled triangles: ½ × 4 × 1 = 2; ½ × 2 × 4 = 4; ½ × 2 × 5 = 5.
- Area: 20 − 11 = 9 square units.
Check yourself
Where does the line 2x + 5y = 20 cross the x-axis?
Show the answer
(10, 0)
Put y = 0: 2x = 20.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera