Given that points a and B are on the number axis, and a and B are symmetrical about the origin, if the numbers corresponding to points a and B are X-1 of X and 2-x of X + 1 respectively, try to find two points a and B The distance between them

Given that points a and B are on the number axis, and a and B are symmetrical about the origin, if the numbers corresponding to points a and B are X-1 of X and 2-x of X + 1 respectively, try to find two points a and B The distance between them

It is known that a and B are on the number axis and symmetric about the origin
Therefore, the distances from a and B to the origin are equal, that is, (x-1) / x-0 = 0 - (2-x) / (x + 1)
Push out (x-1) / x = - (2-x) / (x + 1) push out (x-1) (2-x) = - x (x + 1)
Launch - x2-3x-2 = - x2-x launch 4x = 2, x = 0.5
The absolute value of the distance from the origin d = (0.5-1) / 0.5 = 1 AB point distance = 2D = 2