IRS
Works for a circle, or pretends it's a circle at the point of tangency (as any other tangent would). The two points are as follows, one defines the centre of the circle and the other defines the point of tangency. A line through them determines the radius of the circle and also the slope of the line. The inverse gives you a slope that matches the tangent.
The equation of the line is created by using a known point (ie, the tangent) and the slope of the tangent. From way back, y = mx + b, for a slope intercept definition of a line. By using the point data for the point of tangency, the function yields a 0 for the solution.
If it's just an arbitrary curve (not a circle) you have to determine the 'centre' for this and this would be the inverse to the derivative at the point. The centre of this 'circle' would fall anywhere on that line, but the point of tangency would remain.
Dik