NDA Maths · Lines

Distance, Section & Locus

Distances between points, from a point to a line, and between parallel lines; the section formula for dividing a segment; and locus equations from a geometric condition.

Why this matters

These three formulas underpin half the chapter. The point-to-line distance and the section formula appear constantly, and 'locus' questions are just a geometric condition translated into an equation.

Concept 1 of 3

Distance: point-point, point-line, parallel lines

Intuition

Three distances recur: between two points (Pythagoras), from a point to a line (perpendicular distance using the normalised equation), and between two parallel lines (difference of constants over the same normaliser).

Definition

  • Two points: (x2x1)2+(y2y1)2\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}.
  • Point to line: distance from (x0,y0)(x_0,y_0) to ax+by+c=0ax+by+c=0 is ax0+by0+ca2+b2\dfrac{|ax_0+by_0+c|}{\sqrt{a^2+b^2}}.
  • Parallel lines ax+by+c1=0ax+by+c_1=0, ax+by+c2=0ax+by+c_2=0: c1c2a2+b2\dfrac{|c_1-c_2|}{\sqrt{a^2+b^2}} (make the a,ba,b match first).
P(x₀,y₀)ax+by+c=0dd = |ax₀+by₀+c| / √(a²+b²)

Worked example

Find the distance from (1,2)(1,2) to the line 3x+4y10=03x+4y-10=0.
  1. 3(1)+4(2)1032+42=15\dfrac{|3(1)+4(2)-10|}{\sqrt{3^2+4^2}}=\dfrac{|1|}{5}.
Answer:15\tfrac15.
Practice this conceptself-check · 4 quick reps

Try it yourself

Find the distance between 3x+4y=93x+4y=9 and 3x+4y=43x+4y=4.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Distance from (x0,y0)(x_0,y_0) to ax+by+c=0ax+by+c=0?
  2. 2.
    Distance between ax+by+c1=0, ax+by+c2=0ax+by+c_1=0,\ ax+by+c_2=0?
  3. 3.
    Distance from (1,2)(1,2) to 3x+4y10=03x+4y-10=0?
  4. 4.
    Before using the parallel-line formula, ensure?

From the bank · past-year question

Example 1LinesEASY
What is the distance between 3x+4y=93x+4y=9 and 6x+8y=156x+8y=15?

[Q64 · Apr · 2018]

Concept 2 of 3

Section formula and ratios

Intuition

The point dividing a segment in a given ratio is a weighted average of the endpoints. Run it backwards to find the ratio in which a point (or a line) divides a segment, or forwards to find midpoints and divisions.

Definition

Point dividing P(x1,y1)P(x_1,y_1),Q(x2,y2)Q(x_2,y_2) internally in ratio m:nm:n: (mx2+nx1m+n,my2+ny1m+n)\left(\dfrac{mx_2+nx_1}{m+n},\dfrac{my_2+ny_1}{m+n}\right). External division uses m:nm:-n. Midpoint is the 1:11:1 case. Collinearity of (x1,y1),(x2,y2),(x3,y3)(x_1,y_1),(x_2,y_2),(x_3,y_3): area =0=0 (equivalently equal slopes).

Worked example

Find the point dividing (1,2)(1,2) and (4,8)(4,8) internally in ratio 2:12:1.
  1. x=2(4)+1(1)3=3x=\dfrac{2(4)+1(1)}{3}=3, y=2(8)+1(2)3=6y=\dfrac{2(8)+1(2)}{3}=6.
Answer:(3,6)(3,6).
Practice this conceptself-check · 4 quick reps

Try it yourself

In what ratio does x+y=4x+y=4 divide the segment from P(1,1)P(1,1) to Q(5,7)Q(5,7)?

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Internal division m:nm:n x-coordinate?
  2. 2.
    Midpoint is which ratio?
  3. 3.
    External division uses ratio?
  4. 4.
    Three points collinear ⇒ area?

From the bank · past-year question

Example 2LinesMODERATE
What is the ratio in which the point C ⁣(27,207)C\!\left(-\dfrac{2}{7}, -\dfrac{20}{7}\right) divides the line joining the points A(2,2)A(-2, -2) and B(2,4)B(2, -4)?

[Q56 · Apr · 2017]

Concept 3 of 3

Locus from a condition

Intuition

A locus is the set of points satisfying a rule. Let the moving point be (x,y)(x,y), write the geometric condition algebraically, and simplify — the equation that survives is the locus. 'Equidistant from two points' always gives the perpendicular bisector.

Definition

Set P=(x,y)P=(x,y), translate the condition (equidistant, fixed ratio, sum/difference of distances), and reduce. **Equidistant from A,BA,B:** PA2=PB2PA^2=PB^2 ⇒ the perpendicular bisector of ABAB (a line). Equidistant from two lines ⇒ the angle bisectors.

Worked example

Find the locus of points equidistant from A(1,2)A(1,2) and B(3,4)B(3,4).
  1. (x1)2+(y2)2=(x3)2+(y4)2(x-1)^2+(y-2)^2=(x-3)^2+(y-4)^2.
  2. Expand & cancel: 2x4y+5=6x8y+254x+4y=20x+y=5-2x-4y+5=-6x-8y+25\Rightarrow 4x+4y=20\Rightarrow x+y=5.
Answer:x+y=5x+y=5 (the perpendicular bisector).
Practice this conceptself-check · 4 quick reps

Try it yourself

Locus of points equidistant from (2a,0)(2a,0) and (0,3a)(0,3a)?

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Locus equidistant from two points is?
  2. 2.
    First step in a locus problem?
  3. 3.
    Locus equidistant from two lines?
  4. 4.
    Condition for PP equidistant from A,BA,B?

From the bank · past-year question

Example 3LinesEASY
What is the equation of the locus of the mid-point of the line segment obtained by cutting the line x+y=px+y=p (where pp is a real number) by the coordinate axes?

[Q89 · Apr · 2022]

Mastery check — 5 interleaved questions

Try each one before clicking. Questions are interleaved across the concepts above, not grouped — interleaving sharpens transfer.

Example 1LinesMODERATE
The distance of the point (1,3)(1, 3) from the line 2x+3y=62x + 3y = 6, measured parallel to the line 4x+y=44x + y = 4, is

[Q50 · Sep · 2017]

Example 2LinesHARD
Two points PP and QQ lie on line y=2x+3y=2x+3. These two points PP and QQ are at a distance of 2\sqrt{2} units from another point R(1,5)R(1,5). What are the coordinates of PP and QQ?

[Q60 · Apr · 2024]

Example 3LinesMODERATE
The points (1,3)(1,3) and (5,1)(5,1) are two opposite vertices of a rectangle. The other two vertices lie on the line y=2x+cy=2x+c. What is the value of c?

[Q56 · Apr · 2019]

Example 4LinesMODERATE
Consider the following statements: 1. For an equation of a line xcosθ+ysinθ=px\cos\theta+y\sin\theta=p in normal form, the length of the perpendicular from the point (α,β)(\alpha,\beta) to the line is αcosθ+βsinθ+p|\alpha\cos\theta+\beta\sin\theta+p|. 2. The length of the perpendicular from the point (α,β)(\alpha,\beta) to the line xa+yb=1\frac{x}{a}+\frac{y}{b}=1 is aα+bβaba2+b2\left|\frac{a\alpha+b\beta-ab}{\sqrt{a^2+b^2}}\right|. Which of the above statements is/are correct?

[Q51 · Apr · 2019]

Example 5LinesHARD
If the points with coordinates (5,0)(-5,0), (5p2,10p)(5p^2,10p) and (5q2,10q)(5q^2,10q) are collinear, then what is the value of pqpq where pqp\neq q?

[Q81 · Apr · 2022]

Drill every past-year question on this subtopic

22 questions from the bank — paginated, with cart and Word-export support.

Related notes