# Difference between revisions of "Math 22 The Three-Dimensional Coordinate System"

## The Distance and Midpoint Formulas

 The distance $d$ between the points $(x_{1},x_{2},x_{3})$ and $(x_{2},y_{2},z_{2})$ is

$d={\sqrt {(x_{2}-x_{1})^{2}+(y_{2}-y_{1})^{2}+(z_{2}-z_{1})^{2}}}$ Exercises 1 Find the distance between two points

1) $(4,2,3)$ and $(1,2,0)$ Solution:
$d={\sqrt {(x_{2}-x_{1})^{2}+(y_{2}-y_{1})^{2}+(z_{2}-z_{1})^{2}}}={\sqrt {(1-4)^{2}+(2-2)^{2}+(0-3)^{2}}}={\sqrt {18}}$ 2) $(1,2,4)$ and $(2,5,1)$ Solution:
$d={\sqrt {(2-1)^{2}+(5-2)^{2}+(1-4)^{2}}}={\sqrt {19}}$ ## Midpoint Formula in Space

 The midpoint of the line segment joining the points $(x_{1},x_{2},x_{3})$ and $(x_{2},y_{2},z_{2})$ is

${\text{Midpoint}}=({\frac {x_{1}+x_{2}}{2}},{\frac {y_{1}+y_{2}}{2}},{\frac {z_{1}+z_{2}}{2}})$ Exercises 2 Find the midpoint of two points below:

1) $(4,2,3)$ and $(1,2,0)$ Solution:
${\text{Midpoint}}=({\frac {x_{1}+x_{2}}{2}},{\frac {y_{1}+y_{2}}{2}},{\frac {z_{1}+z_{2}}{2}})=({\frac {4+1}{2}},{\frac {2+2}{2}},{\frac {3+0}{2}})=({\frac {5}{2}},2,{\frac {3}{2}})$ 2) $(1,2,4)$ and $(2,5,1)$ Solution:
${\text{Midpoint}}=({\frac {x_{1}+x_{2}}{2}},{\frac {y_{1}+y_{2}}{2}},{\frac {z_{1}+z_{2}}{2}})=({\frac {1+2}{2}},{\frac {2+5}{2}},{\frac {4+1}{2}})=({\frac {3}{2}},{\frac {7}{2}},{\frac {5}{2}})$ 