Distance Formulas for K-12 Students
Distance formulas are essential mathematical tools that help us measure the space between points, lines, and shapes. These formulas are foundational for geometry, physics, and many real-world applications.
Below are the key distance formulas that K-12 students should know, organized by category with examples.
Distance Between Points
Where \((x_1, y_1)\) and \((x_2, y_2)\) are the coordinates of the two points.
Find the distance between points (2, 3) and (5, 7)
\[ d = \sqrt{(5 - 2)^2 + (7 - 3)^2} = \sqrt{9 + 16} = \sqrt{25} = 5 \]Where \((x_1, y_1, z_1)\) and \((x_2, y_2, z_2)\) are the coordinates of the two points in 3D space.
Find the distance between points (1, 2, 3) and (4, 6, 8)
\[ d = \sqrt{(4 - 1)^2 + (6 - 2)^2 + (8 - 3)^2} = \sqrt{9 + 16 + 25} = \sqrt{50} = 5\sqrt{2} \approx 7.07 \]Where \((x_1, y_1)\) and \((x_2, y_2)\) are the coordinates of the two points.
Find the midpoint between (2, 3) and (8, 11)
\[ M = \left(\frac{2 + 8}{2}, \frac{3 + 11}{2}\right) = \left(\frac{10}{2}, \frac{14}{2}\right) = (5, 7) \]Where \((x_1, y_1, z_1)\) and \((x_2, y_2, z_2)\) are the coordinates of the two points in 3D space.
Find the midpoint between (2, 4, 6) and (8, 10, 12)
\[ M = \left(\frac{2 + 8}{2}, \frac{4 + 10}{2}, \frac{6 + 12}{2}\right) = (5, 7, 9) \]Distance from Point to Line
Where the line is \(Ax + By + C = 0\) and the point is \((x_0, y_0)\).
Find the distance from point (3, 4) to line \(3x - 4y + 8 = 0\)
\[ d = \frac{|3(3) - 4(4) + 8|}{\sqrt{3^2 + (-4)^2}} = \frac{|9 - 16 + 8|}{\sqrt{9 + 16}} = \frac{|1|}{5} = \frac{1}{5} \]Where the line is \(y = mx + b\) and the point is \((x_0, y_0)\).
Find the distance from point (2, 3) to line \(y = 2x + 1\)
\[ d = \frac{|3 - 2(2) - 1|}{\sqrt{1 + 2^2}} = \frac{|3 - 4 - 1|}{\sqrt{5}} = \frac{|-2|}{\sqrt{5}} = \frac{2}{\sqrt{5}} = \frac{2\sqrt{5}}{5} \]Distance Between Lines and Planes
Where the lines are \(Ax + By + C_1 = 0\) and \(Ax + By + C_2 = 0\).
Find the distance between parallel lines \(3x + 4y - 10 = 0\) and \(3x + 4y + 5 = 0\)
\[ d = \frac{|-10 - 5|}{\sqrt{3^2 + 4^2}} = \frac{|-15|}{\sqrt{9 + 16}} = \frac{15}{5} = 3 \]Where the plane is \(Ax + By + Cz + D = 0\) and the point is \((x_0, y_0, z_0)\).
Find the distance from point (1, -2, 3) to plane \(2x + 3y - z + 4 = 0\)
\[ d = \frac{|2(1) + 3(-2) - (3) + 4|}{\sqrt{2^2 + 3^2 + (-1)^2}} = \frac{|2 - 6 - 3 + 4|}{\sqrt{4 + 9 + 1}} = \frac{|-3|}{\sqrt{14}} = \frac{3}{\sqrt{14}} \]Special Distance Formulas
The sum of the absolute differences of their Cartesian coordinates.
Find the Manhattan distance between points (1, 2) and (4, 6)
\[ d = |4 - 1| + |6 - 2| = 3 + 4 = 7 \]In a right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides.
Find the length of the hypotenuse in a right triangle with sides 3 and 4.
\[ c^2 = 3^2 + 4^2 = 9 + 16 = 25 \] \[ c = \sqrt{25} = 5 \]Where \(d\) is the distance, \(r\) is the rate (speed), and \(t\) is the time.
Find the distance traveled by a car moving at 60 mph for 2.5 hours.
\[ d = 60 \text{ mph} \times 2.5 \text{ h} = 150 \text{ miles} \]Where \(r\) is the Earth's radius, and \((\phi_1, \lambda_1)\) and \((\phi_2, \lambda_2)\) are the latitude/longitude coordinates in radians.
The great circle distance is useful for calculating flight distances or nautical routes on Earth's surface.