Half distance between two points in space

3.2k Views Asked by At

Given two points $A=(x_1, y_1, z_1)$ and $B=(x_2, y_2, z_2)$ on the tridimensional space how can I get the coordinates of the point located exactly on the half of the distance between the two points?

2

There are 2 best solutions below

1
On BEST ANSWER

That point is the midpoint of $AB$ and is given by $(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2},\frac{z_1+z_2}{2})$.

0
On

The middle point of a segment $AB$ is determined by $\frac{OA+OB}{2}$, where $OA$ and $OB$ are the vectors determining the points $A,B$ and $O$ is the origin.