# What is the distance between (1,-1,1) and (-1,1,-1)?

##### 1 Answer
Feb 21, 2016

$2 \sqrt{3}$

#### Explanation:

Distance between two points $\left({x}_{1} , {y}_{1} , {z}_{1}\right)$ and $\left({x}_{2} , {y}_{2} , {z}_{2}\right)$ is given by sqrt((x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2.

Hence distance between two points (1,−1,1) and (−1,1,−1) is

sqrt((-1-1)^2+(1-(-1))^2+(-1-1)^2

or $\sqrt{{2}^{2} + {2}^{2} + {2}^{2}}$

or $\sqrt{12}$ i.e. $2 \sqrt{3}$.