Coordinates of the two-point (X_{1}, X_{2})

Coordinates of the first point (X_{1}, Y_{1})_{2}, Y_{2})

Coordinates of the second point (X

X_{2}

Y_{2}

Coordinates of the first point (X_{1}, Y_{1}, Z_{1})_{2}, Y_{2}, Z_{2})

Coordinates of the second point (X

X_{2}

Y_{2}

Z_{2}

Advertisement

Find how to calculate the distance between two-point in a 1D, 2D, and 3D dimensional.

### One dimensions

Formula:

X_{1}= Coordinates of the first point

X_{2}= Coordinates of the second point

Distance = √(X_{2}- X_{1})^{2}### Two dimensions

Formula:

X_{1}, Y_{1}= Coordinates of the first point

X_{2}, Y_{2}= Coordinates of the second point

Distance = √(X_{2}- X_{1})^{2}+ (Y_{2}- Y_{1})^{2}### Three dimensions

Formula:

X_{1}, Y_{1}Z_{1}= Coordinates of the first point

X_{2}, Y_{2}Z_{2}= Coordinates of the second point

Distance = √(X_{2}- X_{1})^{2}+ (Y_{2}- Y_{1})^{2}+ (Z_{2}- Z_{1})^{2}

Advertisement