A circle centered at
with radius
(the length of
) has equation
![(x-a)^2+(y-b)^2=R^2](https://img.qammunity.org/2020/formulas/mathematics/college/4023iimcs9pnnyhxqeo8q7s4ehrlwfrg13.png)
which can be parameterized by
![\vec c(t)=\langle x(t),y(t)\rangle=\langle a+R\cos t,b+R\sin t\rangle](https://img.qammunity.org/2020/formulas/mathematics/college/dfcm1lh74zlk5p0yyy0mtpp8udqw7tjc6g.png)
with
.
The tangent line to
at a point
is
with
and
. By the chain rule (and this is where we use implicit differentiation),
![(\mathrm dy)/(\mathrm dx)=((\mathrm dy)/(\mathrm dt))/((\mathrm dx)/(\mathrm dt))=(R\cos t)/(-R\sin t)=-(\cos t)/(\sin t)](https://img.qammunity.org/2020/formulas/mathematics/college/45cxvrird7tc384g898107wdfj42mykvha.png)
At the point
, we have
![x_0=a+R\cos t\implies\cos t=\frac{x_0-a}R](https://img.qammunity.org/2020/formulas/mathematics/college/nnuhd4cdoj7c23gj00xyvp5y1gqx19cnzg.png)
![y_0=b+R\sin t\implies\sin t=\frac{y_0-b}R](https://img.qammunity.org/2020/formulas/mathematics/college/c60aby7jlx36nj0ngm36zdlqk4mvrxrsvg.png)
so that the slope of the line tangent to the circle at
is
![(\mathrm dy)/(\mathrm dx)=-\frac{\frac{x_0-a}R}{\frac{y_0-b}R}=-(x_0-a)/(y_0-b)](https://img.qammunity.org/2020/formulas/mathematics/college/f84pzdvi059dkkwjmp2xtqxndzcx6m6s2q.png)
Meanwhile, the slope of the line through the center
and the point
is
![(b-y_0)/(a-x_0)](https://img.qammunity.org/2020/formulas/mathematics/college/ajp8nvkao337oaz98xxmdkq6o5suaepeo1.png)
Recall that perpendicular lines have slopes that are negative reciprocals of one another; taking the negative reciprocal of this slope gives
![-\frac1{(b-y_0)/(a-x_0)}=-(a-x_0)/(b-y_0)=-(x_0-a)/(y_0-b)](https://img.qammunity.org/2020/formulas/mathematics/college/26msbvk596nlbnk52mo84injdr99bov24a.png)
which is exactly the slope of the tangent line.