Strand 2 — Geometry & Trigonometry
Co-ordinate Geometry of the Line
5th Year · 6th Year (Leaving Cert)
- ✓Recall and apply different forms of the equation of a line, including general, slope-intercept, and point-slope forms.
- ✓Calculate the perpendicular distance from a given point to a given line (Higher Level).
- ✓Determine the acute angle between two given lines (Higher Level).
- ✓Calculate the area of a triangle given the co-ordinates of its vertices.
Key concepts
The equation of a line can be expressed in several forms. The slope 'm' of a line passing through two points (x1, y1) and (x2, y2) is given by m = (y2 - y1) / (x2 - x1).
This form is used when you know the slope 'm' of a line and a point (x1, y1) it passes through.
This form is useful when the slope 'm' and the y-intercept 'c' (the point where the line crosses the y-axis) are known.
The general form of the equation of a line is ax + by + c = 0, where a, b, and c are integers, and 'a' is usually positive. This form is often required for calculations involving distance from a point to a line.
Two lines are parallel if they have the same slope (m1 = m2). Two lines are perpendicular if the product of their slopes is -1 (m1 * m2 = -1), provided neither line is vertical.
The perpendicular distance 'd' from a point (x1, y1) to a line given in the general form ax + by + c = 0 is calculated using the formula. Ensure the line equation is in general form before applying.
If two lines L1 and L2 have slopes m1 and m2 respectively, the acute angle 'theta' between them can be found using the formula. The absolute value ensures the acute angle is found. If 1 + m1*m2 = 0, the lines are perpendicular (theta = 90 degrees).
To find the area of a triangle with vertices A(x1, y1), B(x2, y2), and C(x3, y3), a common method is to translate one vertex (e.g., A) to the origin (0,0) by subtracting its coordinates from all vertices. Let the new coordinates of B and C be (X1, Y1) and (X2, Y2) respectively. The area is then given by the formula.
Key facts to remember
- 1The slope 'm' of a line passing through (x1, y1) and (x2, y2) is (y2 - y1) / (x2 - x1).
- 2Parallel lines have equal slopes (m1 = m2).
- 3Perpendicular lines have slopes whose product is -1 (m1 * m2 = -1), provided neither line is vertical.
- 4The general form of a line is ax + by + c = 0.
- 5The distance from (x1, y1) to ax + by + c = 0 is |ax1 + by1 + c| / sqrt(a^2 + b^2) (HL).
- 6The acute angle 'theta' between two lines with slopes m1 and m2 is given by tan(theta) = |(m1 - m2) / (1 + m1*m2)| (HL).
- 7The area of a triangle with vertices (x1, y1), (x2, y2), (x3, y3) can be found by translating one vertex to the origin, then using 1/2 |X1Y2 - X2Y1| for the other two translated vertices (X1, Y1) and (X2, Y2).
Worked examples
Example 1
Find the equation of the line L that passes through the point (2, -3) and is perpendicular to the line 3x - 2y + 5 = 0. Give your answer in the form ax + by + c = 0.
Answer
2x + 3y + 5 = 0
Always ensure the final equation is in the requested form, typically ax + by + c = 0 with 'a' positive.
Example 2
Calculate the perpendicular distance from the point P(3, -1) to the line L: 4x - 3y + 7 = 0.
Answer
22/5 units
The distance is always a positive value, hence the absolute value in the numerator.
Example 3
(a) Find the acute angle between the lines L1: y = 2x + 1 and L2: x + 3y - 6 = 0. (b) Calculate the area of the triangle with vertices A(1, 2), B(5, 4), and C(3, 8).
Answer
(a) The acute angle is approximately 81.87 degrees. (b) The area of the triangle is 10 square units.
For the angle, ensure you find the acute angle by taking the absolute value. For the area, translating a vertex to the origin simplifies the calculation significantly.
Common mistakes
- ✗Not rearranging the line equation into the general form ax + by + c = 0 before using the distance formula.
- ✗Incorrectly calculating the negative reciprocal for perpendicular slopes (e.g., just changing the sign instead of flipping the fraction and changing the sign).
- ✗Forgetting the absolute value in the distance formula or the angle formula, leading to negative distances or angles.
- ✗Mixing up x and y coordinates when calculating slope or substituting into equations.
- ✗Arithmetic errors, especially with fractions or negative numbers, which are common in co-ordinate geometry.
Exam tips
- ★Always write down the formula you are using before substituting values; this helps with partial credit if there's a calculation error.
- ★Check your slopes: a positive slope should go 'uphill' from left to right, a negative slope 'downhill'. This can help catch sign errors.
- ★If a question involves perpendicular lines, immediately think m1 * m2 = -1. If parallel, m1 = m2.
- ★For area of a triangle, translating one vertex to the origin often simplifies calculations and reduces the chance of error compared to the full shoelace formula.
- ★Be careful with signs when substituting coordinates into formulas, especially when dealing with negative numbers.
Ready to practise?
Try a problem on this topic
Snap a photo or type a question — get step-by-step working instantly.
