[Math] Number of tangent lines through a point

calculusderivativestangent line

The problem asks to find find equations for the two lines through the point $(3, 13)$ that are tangent to the parabola $y=6x-x^2$.

I'm trying to play with finding slopes and points of tangency but then I asked myself if there are only two tangents through that point or if there are infinitely many and the problem asks to find two of them. I do understand that the in the problem description suggests there are only two but I don't know how to prove it mathematically (if that's true).

Best Answer

Let us call the point on the parabola $(x,y)$. Since it must be on a tangent line to the parabola, we find the following equations:

$$y = -x^2 + 6x \tag{1}$$

$$\frac{y-13}{x-3} = \frac{d(-x^2 + 6x)}{dx} = -2x + 6 \iff y = -2x^2 + 12x - 5 \tag{2}$$

From (1) and (2), it follows that:

$$-x^2 + 6x = -2x^2 + 12x - 5 \iff x^2 - 6x + 5 = 0 \iff x = 3 \pm 2$$

We thus find two solutions: $(1,5)$ and $(5,5)$.