Distance & SectionFoundation

Distance, midpoint & section formula — interactive Mathematics simulation for IIT-JEE.

Concept

Three workhorse formulas of coordinate geometry: the distance between two points, the midpoint halfway between them, and the section formula for the point dividing a segment in a given ratio m:nm:n.

Key formula

AB=(x2x1)2+(y2y1)2,P=(mx2+nx1m+n,my2+ny1m+n)AB = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}, \quad P = \left(\frac{mx_2+nx_1}{m+n}, \frac{my_2+ny_1}{m+n}\right)

Derivation

Distance comes straight from Pythagoras on the right triangle with legs Δx\Delta x and Δy\Delta y.

For the section point dividing ABAB internally as m:nm:n, similar triangles give each coordinate as the weighted average m(far)+n(near)m+n\dfrac{m\,(\text{far}) + n\,(\text{near})}{m+n}.

The midpoint is the special case m=n=1m = n = 1, averaging the coordinates.

Scenarios to explore

  • Distance & Section — Distance, midpoint and section formula on the plane.

Real-world applications

  • Centroid of a triangle as the average of its vertices.
  • Dividing a line for graphics, surveying and interpolation.
  • Checking collinearity and computing perimeters.

JEE exam tips

  • External division uses m:nm:-n (a sign flip on nn).
  • Centroid =(x1+x2+x33,y1+y2+y33)= \left(\frac{x_1+x_2+x_3}{3}, \frac{y_1+y_2+y_3}{3}\right).

Common mistakes

  • Swapping which point is weighted by mm vs nn in the section formula.
  • Forgetting to square the differences before adding in the distance formula.
  • Using the internal formula when the point divides the segment externally.

Exam traps to avoid

  • The ratio is directed: m:nm:n from A means AA gets weight nn, BB gets weight mm.
  • Distance is always non-negative; a negative under the root signals an arithmetic slip.