In a problem set I was solving, one of the solutions used the equation of a circle in the form
$$(x-h)^2 + (y-k)^2 + \lambda(ax + by +c) = 0$$
where,
$(h,k)$ is any point on the circle
$ax+by+c = 0 \ $ is the equation of tangent at the point $(h,k)$, and $\lambda$ is a constant evaluated by fitting the equation to another known point on the circle.
I just can't see how we got this equation. Could you please help?

The equation of $C_2$ is $(x-h)^2+(y-k)^2=r^2$ and $C_1$, is $(x-m)^2+(y-n)^2=r^2$.
then now, make the transla the center of $C_2$ to center of $C_1$ then: $$C_1=(x-h+m-h)^2+(y-k+n-k)^2=r^2$$ $$C_1=(x-h)^2+2(x-h)(m-h)+(m-h)^2+(y-k)^2+2(y-k)(n-k)+(n-k)^2=r^2$$ $$C_1=(x-h)^2+(y-k)^2+2(x-h)(m-h)+2(y-k)(n-k)=0$$ Note that $$2(x-h)(m-h)+2(y-k)(n-k)=2x(m-h)-2h(m-h)+2y(n-k)-2k(n-k)=0$$ is a equation of line tangent in $(h,k)$.