Shortest Distance Between a Point and a Line (DP IB Analysis & Approaches (AA): HL): Revision Note

Shortest distance between a point and a line

What is the shortest distance from a point to a line?

  • The shortest distance from any point to a line is always the perpendicular distance

    • Let l be a line with equation r=a+λb  

    • Let P be a point that does not lie on the line

  • The shortest distance between the point and the line is sometimes referred to as the length of the perpendicular

  • The point on the line that is closest to P is sometimes referred to as the foot of the perpendicular

Diagram showing the shortest distance, labelled "S", from point P to line L. Point F, on line L, is the foot of the perpendicular.
Example of the shortest distance between a point and a line

Examiner Tips and Tricks

This skill is not explicitly stated in the syllabus guide. However, I have seen this come up in Paper 2 in the November 2024 exams. It was worth 8 marks, however the question part was split into two subparts to help you

How do I find the shortest distance from a point to a line?

  • For example, consider

    • the line l : r=(312)+λ(120)

    • the point P(10, 5, 10)

  • STEP 1
    Sketch a diagram showing the point F on the line l that is closest to the point P

    • The vector FP will be perpendicular to the line l

    • The point F is sometimes called the foot of the perpendicular

  • STEP 2
    Use the equation of the line to find the position vector of the point F  in terms of λ

    • OF=(3+λ12λ2)

  • STEP 3
    Use this to find the displacement vector FP in terms of λ

    • FP=(10510)(3+λ12λ2)=(7λ6+2λ8)

  • STEP 4
    Set the scalar product of the direction vector of the line l and the displacement vector FP equal to zero

    • (7λ6+2λ8)·(120)=055λ=0

  • STEP 5
    Solve the equation to find the value of λ

    • λ=1

  • STEP 6
    Substitute λ into FP and find the magnitude |FP| 

    • |(7(1)6+2(1)8)|=12

How can I use the vector product to find the shortest distance from a point to a line?

  • The vector product can be used to find the shortest distance from any point to a line on a 2-dimensional plane

  • The formula for the shortest distance is |AP×b| |b|

    • r=a+λb is an equation of the line

    • P is the point not on the line

    • A is any point on the line

Examiner Tips and Tricks

This formula is not given in the formula booklet.

Worked Example

Point A  has coordinates (1, 2, 0) and the line l has equation r=(206)+λ(012)

Point B lies on the l such that [AB]  is perpendicular to l.

Find the shortest distance from A to the line l.

Answer:

3-10-5-ib-aa-hl-short-distance-lines-we-1

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Amber

Author: Amber

Expertise: Maths Content Creator

Amber gained a first class degree in Mathematics & Meteorology from the University of Reading before training to become a teacher. She is passionate about teaching, having spent 8 years teaching GCSE and A Level Mathematics both in the UK and internationally. Amber loves creating bright and informative resources to help students reach their potential.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.