It is known that two points a and B are on the straight line y = X-1, and the difference between the abscissa of a and B is the root sign 2 Be as detailed as possible

It is known that two points a and B are on the straight line y = X-1, and the difference between the abscissa of a and B is the root sign 2 Be as detailed as possible

A. The distance between B is 2
Let the coordinates of a and B be (x1, Y1), (X2, Y2), x1-x2 = √ 2, a and B are on the straight line y = X-1, so
Y1 = x1-1, y2 = x2-1, then y1-y2 = (x1-1) - (x2-1) = x1-x2 = √ 2
A. Distance between B = √ ((x1-x2) ^ 2 + (y1-y2) ^ 2)
=√(2+2)=2.