Intersection of a reciprocal function and a line

We find where the reciprocal graph y=1xy = \dfrac{1}{x} meets the line y=xy = x.

At an intersection the two yy values are equal, so 1x=x\dfrac{1}{x} = x. Multiplying both sides by xx gives 1=x21 = x^2, that is x2=1x^2 = 1, so x=1,1x = 1, -1. Substituting back into y=xy = x gives y=1,1y = 1, -1, so the intersection points are (1,1)(1, 1) and (1,1)(-1, -1). Note x=0x = 0 makes the denominator 00, where y=1xy = \dfrac{1}{x} is undefined, so multiplying through by xx loses no solution.

Since y=1xy = \dfrac{1}{x} is an odd function with point symmetry about the origin, and y=xy = x is symmetric about the origin too, the intersections form the origin-symmetric pair (1,1)(1, 1) and (1,1)(-1, -1). Sliding the line to y=x+ky = x + k moves the intersections: 1x=x+k\dfrac{1}{x} = x + k becomes x2+kx1=0x^2 + kx - 1 = 0, whose discriminant k2+4k^2 + 4 is always positive, so y=x+ky = x + k meets the curve at 2 points for any kk. The large dots on the graph are the intersection points (1,1)(1, 1) and (1,1)(-1, -1).