Show worked solution
Worked solution
Set up
The centre is the origin O(0, 0) and the radius is r.
Write down what is known
Because (a, b) lies on the circle, its coordinates satisfy the equation. This fact will be used at the very end.
Find the gradient of the radius
The radius joins O(0, 0) to (a, b). This needs a not equal to 0, which is given.
State the circle property
This is the key fact the whole proof rests on.
Apply the perpendicular rule
The gradients of perpendicular lines have product -1. This needs b not equal to 0, which is also given.
Find the tangent gradient
Rearranging gives the negative reciprocal of b/a.
Use the point-gradient form
The tangent passes through (a, b) with gradient -a/b.
Multiply through by b
Clearing the fraction avoids messy algebra.
Expand the left-hand side
Multiply b into the bracket.
Expand the right-hand side
-a times -a is +.
Collect the x and y terms
Add ax to both sides and add to both sides.
Use the fact from step 2
(a, b) is on the circle, so the right-hand side is exactly .
Complete the proof
This is the required equation, so the result is proved.
Test it
Checking with a known example: the formula gives , which is the tangent found in the earlier questions.
Note the special cases
When the tangent is vertical and when it is horizontal — the gradient argument breaks down, which is exactly why the question excludes and . Reassuringly, ax + by = still gives the right line in both cases.