TITLE: Find radius of circle which is tangential to parabola.
QUESTION [5 upvotes]: Given $r < 57$, let $C$ denote a circle centered at ($57$, $r$) with
  radius $r$. 
$C$ is tangent to a parabola, $y=x^2+r$, from the outside in the first
  quadrant.
Find the value of $r$.

I am not sure how to approach the above problem. I started with implicit differentiation of the general circle formula.

$r^2 = (x-57)^2+(y - r)^2$
$D(r^2) = D\left((x-57)^2+( y - r)\right)$
$0 = 2x - 114 + y'(2y-2r)$
$y' = 114-\dfrac{2x}{2y-2r}$

For parabola:

$D(y)=D(x^2+r)$
$y'=2x$

Which gives me the formula of the gradient of the tangent to the circle. However, I am unsure how to proceed from here. What does the question means by from the outside in the first quadrant?
I am actually modeled the parabola and circle in an online graph but I fail to see how does the first quadrant requirement comes into play since $r<57$.

REPLY [3 votes]: The circle is tangent to the parabola at ($x_t$, $y_t$), so a vector $u_{\text{para}}$ collinear to the tangent of the parabola is perpendicular to the vector going from the tangential point to the circle center: $$v_{\text{circle}} = \begin{pmatrix}
57 - x_t\\
r - y_t
\end{pmatrix} \; .$$
$u_{\text{para}}$ could be: $$u_{\text{para}} = \begin{pmatrix}
1\\
2x_t
\end{pmatrix} \; ,$$
We now calculate:
$$u_{\text{para}} \cdot v_{\text{circle}} = 0 \leftrightarrow 57 -x_t + 2 x_t (r -y_t) = 0 \; .$$
On the other end, the equation of the parabola let us simplify removing $r$ and $y_t$: $$ x_t^3 + \dfrac{1}{2} x_t - \dfrac{57}{2} = 0 \; .$$
This equation is the same @King Tut found. This kind of tricky equation with a cubic term can sometimes be solved easily. This one is part of them. Indeed, the family of cubic equations: $x^3+cx + d = 0$ can be solved using the Cardan's method which gives in the end : $$x = ^3\sqrt{\dfrac{-d + \sqrt{\Delta}}{2}}+^3\sqrt{\dfrac{-d - \sqrt{\Delta}}{2}} \; ,$$ where $\Delta = d^2 + \dfrac{4c^3}{27} \; .$
It gives us surprisingly: $x_t = 3 \; .$
Given that it is an exercice, I suppose you had to try the 5 first values by hand.
Later, we have thanks to the circle equation and the parabola equation:
$$ r^2 = x_t^4 + (57 - x_t)^2$$
which gives approximately $r = 54.7449$ .
Here is the visual result in the end: