Set up
x2+y2=r2,point (a,b) on the circle The centre is the origin O(0, 0) and the radius is r.
Write down what is known
a2+b2=r2 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
mradius=a−0b−0=ab The radius joins O(0, 0) to (a, b). This needs a not equal to 0, which is given.
State the circle property
tangent⊥radius at the point of contact This is the key fact the whole proof rests on.
Apply the perpendicular rule
mtangent×ab=−1 The gradients of perpendicular lines have product -1. This needs b not equal to 0, which is also given.
Find the tangent gradient
mtangent=−ba Rearranging gives the negative reciprocal of b/a.
Use the point-gradient form
y−b=−ba(x−a) The tangent passes through (a, b) with gradient -a/b.
Multiply through by b
b(y−b)=−a(x−a) Clearing the fraction avoids messy algebra.
Expand the left-hand side
by−b2=−a(x−a) Multiply b into the bracket.
Expand the right-hand side
by−b2=−ax+a2 -a times -a is +a2.
Collect the x and y terms
ax+by=a2+b2 Add ax to both sides and add b2 to both sides.
Use the fact from step 2
a2+b2=r2 (a, b) is on the circle, so the right-hand side is exactly r2.
Complete the proof
ax+by=r2 This is the required equation, so the result is proved.
Test it
(3,4) on x2+y2=25⇒3x+4y=25 Checking with a known example: the formula gives 3x+4y=25, which is the tangent found in the earlier questions.
Note the special cases
b=0⇒x=±r;a=0⇒y=±r When b=0 the tangent is vertical and when a=0 it is horizontal — the gradient argument breaks down, which is exactly why the question excludes a=0 and b=0. Reassuringly, ax + by = r2 still gives the right line in both cases.