High School Geometry - Distance and Midpoint Formulas

Distance Formula

  • If the coordinates of any two points are known, then the distance between the points can easily be found using the distance formula.
  • Consider two points Px1,y1 and Qx2,y2 as shown on the graph below.

  • The formula to find the distance between the points P and Q is:

PQ=abscissa2+ordinate2

= x1-x22+y1-y22, or

= x2-x12+y2-y12

  • This formula can be derived by using Pythagorean theorem.

Midpoint Formula

  • If the coordinates of the endpoints of a line segment are known, then the coordinates of its midpoint can easily be found using the midpoint formula.
  • Consider a line segment AB as shown in the figure.

  • Let M be the mid-point of AB, then the coordinates of M are given by the formula:

Mx, y= x1+x22, y1+y22

Solved Examples

Question 1: Find the distance between the points P and Q shown in the graph.

Solution: It is given that P(1, 2) & Q(4, 6).

P1, 2x1=1 & y1=2

Q4, 6x2=4 & y2=6

PQ=x2-x12+y2-y12

=4-12+6-22

=9+16=25=5

Question 2: Find the midpoint of the line segment AB shown in the graph.

Solution: It is given that A(-4, 3) & B(5, 1).

A-4, 3x1=-4 & y1=3

B5, 1x2=5 & y2=1

Let Mx, y be the coordinate of the midpoint of AB.

x=x1+x22=-4+52=12

y=y1+y22=3+12=2

Hence, the midpoint of segment AB is M12, 2.

Cheat Sheet

  • The distance between the points Px1, y1 and Qx2, y2 is given by:

PQ=x2-x12+y2-y12

  • The coordinates of the midpoint of a line segment AB where Ax1, y1 and Bx2, y2 are given by:

Mx, y=x1+x22, y1+y22

Blunder Areas

  • One must be careful while substituting the values with a negative sign.