When we write
a for 0.99999 in the given equations we get:
x + ay
= 2 + a
(1)
ax + y
= 1 + 2a
(2)
and
x + (2 - a)y
= 2 + a
(3)
ax + y
= 1 + 2a.
(4)
Solving these equations the first pair has the solution
(x,y)=(2,1) and the second pair has solution
(x,y) =
æ ç
è
-2a1 - a
,
1+a1 - a
ö ÷
ø
.
As 1-a is small (10-5), the solutions of the second pair
of equations are large. (x,y) = (-199998, 199999) to the nearest
whole number.
The reason that the solutions to the pairs of simultaneous equations
are so different is that the two lines represented by the pairs of
equations are nearly parallel in both cases (both being close to the
line x+y=3). As the lines are so close together, when one line is
rotated slightly there is a big change in the point of intersection
from (2,1) to (-199998, 199999)