Use the distance formula to find the distance between the two points
(a, b) (b, a).
Username lovemath got the right answer. I tried getting the right answer over and over again but ended up with something totally different. How does the answer become sqrt{2}*|a - b|? In the radicand we have (a - b)^2 + (b - a)^2, which equals 2a^2 - 4ab +2b^2