Tangency of line y=mx+c to circle x²+y²=r² (Liney=mx+ctouchescirclex²+y²=r²iffdistancefrom(0,0))

jee-mainjee-advanced

Line y=mx+c touches circle x²+y²=r² iff distance from (0,0) to line equals r: |c|/√(1+m²)=r ⇔ c²=r²(1+m²).

What each symbol means

SymbolWhat it stands for
rCircle radius
m, cLine parameters

When to use this

Circle centered at origin; shift coordinates if center moved.