The distance between two points and midpoint of a segment formulas are presented along with examples, questions , including detailed solutions .
A distance and midpoint calculator is included to check your answers.
Let us first define the distance \( d \) between two points \( A \) and \( B \) whose coordinates are respectively \( a \) and \( b \) on a number line as
\[ d = |a - b| = |b - a| \]
We now review the Pythagorean theorem: given a right triangle, as shown in figure 2 below, the hypotenuse (side opposite the right angle) and the two sides are related by:
\[ h^2 = x^2 + y^2 \quad \text{or} \quad h = \sqrt {x^2 + y^2}\]
We now use the distance between points on a number line and the Pythagorean theorem to the right triangle in figure 3 to write the formula for the distance between any two points on a plane.
Given two points \( A = (a_x,a_y) \) and \( B = (b_x,b_y) \), the formula that gives the distance \( d \) between the two points \( A \) and \( B \), or the length of the line segment \(AB\), is given by
\[ \large \color{red}{d = \sqrt { (b_x - a_x)^2 + (b_y - a_y)^2} \qquad (I) } \]
Note that \( |b_x - a_x|^2 = (b_x - a_x)^2 \) and \( | b_y - a_y |^2 = (b_y - a_y)^2 \)
Example
Find the distance \( d \) between the points \( A = (3,2) \) and \( B = (-3,-6) \)
Solution
According to the formula (I), the distance \( d \) is given by
\( d = \sqrt{ (-3 - 3)^2 + (-6 - 2)^2 } = \sqrt{(-6)^2 + (-8)^2} = \sqrt{36+64} = \sqrt {100} = 10 \)
Find the distance between each pair of points in the number lines shown below.
Find the distance between the given pair of points.
Find the midpoint between the segments defined by pair of points.
Given the points \( A = (x_0,y_0) \) and \( B = (-4,8) \). Find the coordinates of point \( A \) if the midpoint of the segment \( AB \) is the point \( M = (-2,0) \).
Given the points \( A = (3 x_0, -y_0) \) and \( B = ( x_0, 4 y_0) \). Find the coordinates of \( A \) and \( B \) if the midpoint of the segment \( AB \) is the point \( M = (2,6) \).
The formula for the distance between two points on a number line is given above.
The formula for the distance between two points on a plane is given above.
The formula for the midpoint is given above.
Given the points \( A = (x_0,y_0) \) and \( B = (-4,8) \),
the use of the formula of the midpoint \( M \) of \( A B \) gives: \( \quad M = \left( \dfrac{x_0 + (-4)}{2} , \dfrac{y_0 + 8}{2} \right) \)
The coordinates of the midpoint are given as \( (-2,0) \)
We write that the coordinates of the midpoint are equal and therefore obtain the equations: \( \dfrac{x_0 + (-4)}{2} = - 2 \) (I) and \( \dfrac{y_0 + 8}{2} = 0 \) (II)
Multiply both sides of equation (I) above by \( 2 \): \( \quad 2 \times \dfrac{x_0 + (-4)}{2} = 2 \times (- 2) \)
Simplify: \( \quad x_0 - 4 = -4 \)
Solve for \( x_0 \) to obtain \( x_0 = 0 \)
Multiply both sides of equation (II) above by \( 2 \):\( \quad 2 \times \dfrac{y_0 + 8}{2} = 2 \times (0) \)
Simplify: \( \quad y_0 + 8 = 0 \)
Solve for \( y_0 \) to obtain \( y_0 = -8 \)
Since of \( A = (x_0,y_0) \), the coordinates of \( A \) are given by: \( \quad A = (0,-8) \)
Given the points \( A = (3 x_0, -y_0) \) and \( B = ( x_0, 4 y_0) \),
the midpoint formula gives: \( \quad M = \left( \dfrac{3 x_0 + x_0}{2} , \dfrac{-y_0 + 4 y_0}{2} \right) \)
Group like terms in the above to obtain: \( \quad M = \left( \dfrac{4 x_0}{2} , \dfrac{3 y_0}{2} \right) \)
The coordinates of the midpoint \( M \) are known as \( (2,6) \)
Hence the equality of the coordinates gives the equations: \( \dfrac{4 x_0}{2} = 2 \) (I) and \( \dfrac{3 y_0}{2} = 6 \) (II)
Multiply both sides of equation (I) above by \( 2 \): \( \quad 2 \times \dfrac{4 x_0}{2} = 2 \times 2 \)
Simplify: \( \quad 4 x_0 = 4 \)
Solve for \( x_0 \) to obtain \( x_0 = 1 \)
Multiply both sides of equation (II) above by \( 2 \):\( \quad 2 \times \dfrac{3 y_0}{2} = 2 \times 6 \)
Simplify: \( \quad 3 y_0 = 12 \)
Solve for \( y_0 \) to obtain \( y_0 = 4 \)
Since of \( A = (3x_0,-y_0) \), the coordinates of \( A \) are given by: \( \quad A = (3,-4) \)
The coordinates of \( B = ( x_0, 4 y_0) \) are given by: \( \quad B = (1,16) \)
plotting points in rectangular coordinate system
Pythagorean Theorem and Problems with Solutions
Geometry Tutorials and Problems
The Four Pillars of Geometry - John Stillwell - Springer; 2005th edition (Aug. 9 2005) - ISBN-10 : 0387255303
Geometry: A Comprehensive Course - Daniel Pedoe - Dover Publications - 2013 - ISBN: 9780486131733
Geometry: with Geometry Explorer - Michael Hvidsten - McGraw Hill - 2006 - ISBN: 0-07-294863-9