Distance between two points in space

THE distance between two points is one of the most important concepts of Analytical Geometry. It is through this concept that most of the definitions and properties of geometric figures are constructed.

THE distance between two points it is the smallest straight segment that connects them. Thus, the job of finding a distance boils down to measuring the length of a straight line segment.

Usually, in Analytical Geometry, the measures of straight segments are made through the Pythagorean theorem. In this way, this same theorem is used to arrive at a formula for calculating the distance between two points.

Formula demonstration

Note, in the figure below, the points A = (xTHEyTHE, zTHE) and B = (xByB, zB). The first step is to build the smallest segment of straight line that connects them. To do this, just connect them with a straight line.

point coordinates

Once this is done, observe in the figure below the same segment seen from above:

Segment seen from above

Note that the top view reduces the first part of the problem to distance between two points on the plane

. We will use the Pythagorean Theorem to find the square of the length of segment A'B', projection of AB onto the xy plane. Remember, however, that the collars to be considered have sizes xB – xTHE and yB - yTHE.

Do not stop now... There's more after the advertising ;)

length of planning

Once this is done, we will use the Pythagorean theorem again to calculate the length of AB. Note that AB is the hypotenuse of a right triangle where A'B' is leg and base (this segment is parallel to segment projection AB and has the same size) and zB – zTHE is the other leg and height.

Last distance calculation

Thus, by the theorem of Pythagoras, we have:

Calculating the distance between two points in space

This ends the demonstration, once the length of segment AB has been found.

Formula of the distance between two points in space

From the above calculations, the distance between two points in space, denoted by dAB, is defined as follows:

Formula of the distance between two points in space

To use this formula, simply substitute the numerical values ​​of the coordinates of points A and B and perform the calculations. Look at the example:

Calculate the distance between points A = (0,2.2) and B = (-2, 0, 1):

Calculating the example distance between two points in space

By Luiz Paulo Moreira
Graduated in Mathematics

Would you like to reference this text in a school or academic work? Look:

SILVA, Luiz Paulo Moreira. "Distance between two points in space"; Brazil School. Available in: https://brasilescola.uol.com.br/matematica/distancia-entre-dois-pontos-no-espaco.htm. Accessed on June 28, 2021.

Math

Pipes are cylinder-shaped objects
Cylinder

Learn more about the cylinder, three-dimensional geometric form, and get to know the formal definition and classifications of this geometric solid. Also learn which are the cylinder sections, which can be transverse or meridional. See also how sections can be used to arrive at the cylinder volume formula.

Distance between two points in space

Distance between two points in space

THE distance between two points is one of the most important concepts of Analytical Geometry. It ...

read more
Analytical geometry: what it studies, basic concepts

Analytical geometry: what it studies, basic concepts

analytic geometry is a field of math where is it possible represent geometric elements, like poin...

read more
One-vector norm

One-vector norm

One-vector norm is another name given to modulus of a vector. To understand the concept of a vect...

read more