(i) Equation of line
y = mx + c …(i)
Equation of circle (x – a)2 + (y – b)2 = r2
Centre of circle = (a, b) and Radius = r
Line will touch (i) and (ii), if
Radius of circle = length of ± drawn from centre to line
⇒ (1 + m2)r2 = m2a2 + b2 + c2 – 2mab – 2bc + 2mac
⇒ r2 + m2r2 = m2a2 + b2 + c2 – 2mab – 2bc + 2mac
⇒ m2 – a2 – m2r2 + 2mac – 2mab + b2 + c2 – 2bc = r2
⇒ (a2 – r2)m2 + (2ac – 2ab)m + b2 + c2 – 2bc = r2
⇒ (a2 – r2)m2 + 2a(c – b)m + (b – c)2 = r2
⇒ m2(a2 – r2) + 2ma(c – b) + (c – b)2 = r2
(ii) Equation of given line
lx + my + n = 0
⇒ my = – lx – n