In geometry, a mid-point is the middle point of a line segment which is equidistant from both the endpoints. That point bisects the line into two equal halves. There are instances in Coordinate Geometry that we need to know the mid-point of two given points or mid-point of a line segment. In a cartesian plane, the midpoint of a line has its x-value as halfway between x-values of both endpoints and its y-value as halfway between y-values of both endpoints.

For a line segment AB in Cartesian coordinate where the x-axis coordinate of point A is x_{1} and the y-axis coordinate of point A is y_{1} and similarly the x-axis coordinate of the point B is x_{2} and the y-axis coordinate of the point B is y_{2, }the mid-point of the line will be given by (x_{m},y_{m}).

The formula for mid-point (x_{m},y_{m}) is,

## Derivation of Formula

Let P(x_{1},y_{1}) and Q(x_{2},y_{2}) be the two ends of a given line in a coordinate plane, and R(x,y) be the point on that line which divides PQ in the ratio m_{1}:m_{2} such that

PR/RQ = m_{1}/m_{2}...(1)

Drawing lines PM, QN, and RL perpendicular on the x-axis and through R draw a straight line parallel to the x-axis to meet MP at S and NQ at T.

Hence from the figure, we can say,

SR = ML = OL - OM = x - x_{1}...(2) RT = LN = ON - Ol = x_{2 }- x ...(3) PS = MS - MP = LR - MP = y - y_{1}...(4) TQ = NQ - NT = NQ - LR = y_{2 }- y ...(5)

Now triangle **∆****SPR** is similar to triangle** ****∆****TQR**,

Therefore,

SR/RT = PR/RQ

By using equation 2, 3, and 1, we know,

x - x_{1}/ x_{2 }- x = m_{1 }/ m_{2}m_{2}x - m_{2}x_{1}= m_{1}x_{2}- m_{1}x m_{1}x + m_{2}x = m_{1}x_{2}+ m_{2}x_{1}(m_{1}+ m_{2})x = m_{1}x_{2 }+ m_{2}x_{1}x = (m_{1}x_{2 }+ m_{2}x_{1}) / (m_{1}+ m_{2})

Now triangle **∆****SPR** is similar to triangle **∆****TQR,**

Therefore,

PS/TQ = PR/RQ

By using equation 4, 5, and 1, we know,

y - y_{1}/ y_{2 }- y = m_{1 }/ m_{2}m_{2}y - m_{2}y_{1}= m_{1}y_{2}- m_{1}y m_{1}y + m_{2}y = m_{1}y_{2}+ m_{2}y_{1}(m_{1}+ m_{2})y = m_{1}y_{2 }+ m_{2}y_{1}y = (m_{1}y_{2 }+ m_{2}y_{1}) / (m_{1}+ m_{2})

Hence the coordinates of R(x,y) are,

R(x, y)= (m_{1}x_{2 }+ m_{2}x_{1}) / (m_{1}+ m_{2}), (m_{1}y_{2 }+ m_{2}y_{1}) / (m_{1}+ m_{2})

As we had to calculate the mid point therefore we keep the values both of m_{1} and m_{2} as same i.e.

For mid-point,

m_{1 }= m_{2 }= 1

Hence,

x, y = (1.x_{2 }+ 1.x_{1}) / (1 + 1), (1.y_{2 }+ 1.y_{1}) / (1 + 1)

x, y = (x_{2 }+ x_{1}) / 2, (y_{2 }+ y_{1}) / 2

## Sample Problems on Mid-Point Formula

**Example 1: What is the mid-point of the line segment AB where point A is at (6,8) and point B is (3,1)?**

Solution:Let the midpoint be M(x_{m},y_{m}),x

_{m }= (x_{1 }+ x_{2}) / 2x

_{1 }= 6, x_{2 }= 3x

_{m }= (6 + 3) / 2 = 9 / 2 = 4.5y

_{m }= (y_{1 }+ y_{2}) / 2y

_{1 }= 8, y_{2 }= 1y

_{m }= (8 + 1) / 2 = 9 / 2 = 4.5

Hence the midpoint of line AB is (4.5, 4.5).

**Example 2: What is the mid-point of the line segment AB where point A is at (-6,4) and point B is (4,2)?**

Solution:Let the midpoint be M(x_{m},y_{m}),x

_{1 }= -6, x_{2 }= 4, y_{1 }= 4, y_{2 }= 2(x

_{m}, y_{m}) = ((x_{1 }+ x_{2}) / 2, (y_{1 }+ y_{2}) / 2)(x

_{m}, y_{m}) = ((-6 + 4) / 2, (4 + 2) / 2)(x

_{m}, y_{m}) = ((-2) / 2, (6) / 2)(x

_{m}, y_{m}) = (-1, 3)

Hence the midpoint of line AB is (-1, 3).

**Example 3: Find the value of p so that (–2, 2.5) is the midpoint between (p, 2) and (–1, 3).**

Solution:Let the midpoint be M(x_{m}, y_{m}) = (-2, 2.5) where,x

_{1 }= -1, x_{m }= -2y-coordinate of the end point is already known as 2, hence we need to find only the x-coordinate

x

_{m }= (x_{1 }+ x_{2}) / 2-2 = (-1 + p) / 2

-4 = -1 + p

p = -3

Hence the other end-point of the line is (-3, 2).