Open Mathhh

Perpendicular distance from a point to a line

Level 15: Coordinate Geometry and Trigonometry · worksheets 21 to 30 · 3 min read

I can

  • find the distance from a point to a line
  • find where two lines cross
  • find the area of the triangle a line makes with the two axes

Key idea

The distance from the point (p, q) to the line ax + by + c = 0 is (the absolute value of ap + bq + c) divided by √(a² + b²).

To find where two lines meet, solve their two equations together. Eliminate one letter, then find the other.

A line cuts the x-axis where y = 0 and the y-axis where x = 0. These two intercepts are the base and height of a right-angled triangle with the axes. Its area is half of base times height.

Give a mixed number answer like 1 3/5.

Worked examples

Example 1: distance from (1, 2) to 3x + 4y − 3 = 0

Watch it: distance from (1, 2) to 3x + 4y − 3 = 0, step by step:

  1. Top: ap + bq + c = 3 + 8 − 3 = 8.
  2. Bottom: √(3² + 4²) = √25 = 5.
  3. Divide: distance = 8/5.
  1. ap + bq + c = 3 + 8 − 3 = 8.
  2. √(3² + 4²) = √25 = 5.
  3. Distance = 8/5.

Distance = 8/5 = 1 3/5

Example 2: where do x + y = 5 and x − y = 1 cross?

Watch it: where x + y = 5 and x − y = 1 cross, step by step:

  1. Two lines. Add the equations to cancel y.
  2. The second line.
  3. Add the two equations: the y terms cancel.
  4. Divide by 2.
  5. Put x = 3 in the first equation.
  6. Take 3 from both sides.
  7. The lines cross at (3, 2).
  8. The two lines cross at (3, 2).
  1. Add the two equations: 2x = 6, so x = 3.
  2. Then 3 + y = 5, so y = 2.

The point is (3, 2)

Example 3: area made by 2x + 3y = 12 and the axes

Watch it: area made by 2x + 3y = 12 and the axes, step by step:

  1. Find where the line meets the x-axis.
  2. Find where the line meets the y-axis.
  3. The triangle has base 6 and height 4. Area = 1/2 × 6 × 4.
  4. The area is 12.
  5. A right triangle with base 6 and height 4.
  1. When y = 0: 2x = 12, so x = 6.
  2. When x = 0: 3y = 12, so y = 4.
  3. Area = 1/2 × 6 × 4.

Area = 12

Try it

Find the distance from the point (3, 4) to the line 3x + 4y − 5 = 0.
Show answer4
Find the distance from the point (0, 0) to the line 3x + 4y − 10 = 0.
Show answer2
Find the point of intersection of x + y = 7 and x − y = 1.
Show answer(4, 3)
Find the point of intersection of 2x + y = 5 and x − y = 1.
Show answer(2, 1)
Find the area of the triangle formed by the line 3x + 4y = 12 and the two axes.
Show answer6

Common mistakes

  • Forgetting to move everything to one side so the line reads ax + by + c = 0 before using the distance rule.
  • Leaving out the half when finding the triangle area.
  • Finding x but forgetting to find y for an intersection.

Remember

  • Distance to a line: the absolute value of ap + bq + c, over √(a² + b²).
  • Intercepts come from setting x = 0 and y = 0.

Practise this

Worksheets 21 to 30 of Level 15 practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.

Open Mathhh

More Level 15 notes

Keep learning

All Level 15 notes · All study notes