Find the intersection points of the circle
and the line .
Rewrite the line as in terms of .
The line passes through the origin at an angle of , since its slope is .
Substitute into the circle equation. Replacing turns a two-variable system into a single quadratic:
Expanding and collecting powers of gives with
Test the discriminant before solving.
A positive discriminant means the line genuinely cuts the circle twice; zero would mean tangency and negative would mean the line misses it entirely. Checking this first tells you how many answers to expect.
Solve the quadratic.
Recover the -coordinates from the line.
so the intersection points are and .
Verify both points lie on the circle. Substituting back, , and the same holds for the second point to twelve decimal places. Note that rounding the first point to would put it off the circle by about .
Need to solve a different problem like this? Open the solver →