Note that
$$
\eqalign{
& 0 = 2x^{\,2} - 2x + y^{\,2} = 2\left( {x^{\,2} - x} \right) + y^{\,2} = \cr
& = 2\left( {x^{\,2} - x + {1 \over 4} - {1 \over 4}} \right) + y^{\,2} = 2\left( {\left( {x - {1 \over 2}} \right)^{\,2} - {1 \over 4}} \right) + y^{\,2} \quad \Rightarrow \cr
& \Rightarrow \quad {{\left( {x - {1 \over 2}} \right)^{\,2} } \over {\left( {1/2} \right)^{\,2} }} + {{y^{\,2} } \over {\left( {\sqrt 2 /2} \right)^{\,2} }} = 1 \cr}
$$
so there is no need of invoking sophisticated methods.
The above canonical equation of the ellipse is telling you that it is centered at (1/2,0),
has the $x$ semi-axis of $1/2$, so the distance from it of a point $A=(a,0)$
will be when the circle centered in $A$ will have two coincident intersections with a proper quarter of the ellipse.
Now, as the sketch shows, for $A$ internal to the ellipse we may have up to three tangential circle centered on $A$.

We have to choose the circle which provides $0<y_T$. Therefore
$$
\eqalign{
& \left\{ \matrix{
\left( {x - a} \right)^{\,2} + y^{\,2} - R^{\,2} = 0 \hfill \cr
2\left( {x^{\,2} - x} \right) + y^{\,2} = 0 \hfill \cr} \right.\quad \Rightarrow \quad \left\{ \matrix{
0 < y = \sqrt {R^{\,2} - \left( {x - a} \right)^{\,2} } \hfill \cr
2\left( {x^{\,2} - x} \right) + R^{\,2} - \left( {x - a} \right)^{\,2} = 0 \hfill \cr} \right.\quad \Rightarrow \cr
& \Rightarrow \quad \left\{ \matrix{
0 < y = \sqrt {R^{\,2} - \left( {x - a} \right)^{\,2} } \hfill \cr
x^{\,2} - 2\left( {1 - a} \right)x + R^{\,2} - a^{\,2} = 0 \hfill \cr} \right.\quad \Rightarrow \cr
& \Rightarrow \quad \left\{ \matrix{
0 < y = \sqrt {R^{\,2} - \left( {x - a} \right)^{\,2} } \hfill \cr
x_{\,1,2} = \left( {1 - a} \right) \pm \sqrt {\left( {1 - a} \right)^{\,2} - R^{\,2} + a^{\,2} } \hfill \cr
0 = \Delta ^{\,2} = \left( {1 - a} \right)^{\,2} - R^{\,2} + a^{\,2} \hfill \cr} \right.\quad \Rightarrow \cr
& \Rightarrow \quad \left\{ \matrix{
x_{\,T} = \left( {1 - a} \right) \hfill \cr
R^{\,2} = \left( {1 - a} \right)^{\,2} + a^{\,2} \hfill \cr
0 < y_{\,T} = \sqrt {\left( {1 - a} \right)^{\,2} + a^{\,2} - \left( {1 - 2a} \right)^{\,2} } = \sqrt {2a\left( {1 - a} \right)} \quad \left| {\;0 < a < 1} \right. \hfill \cr} \right. \cr}
$$
and clearly, by the triangle inequality, this $R$ is greater than the other two
which are in fact $(1-a)$ and $a$.
Then I suppose you can deal with the cases in which $A$ is external
to the ellipse.
By the way, for a smooth and closed curve, either the nearest point to a given one, and the farthest, will lay on the normal to the curve at the nearest/farthest point and passing through the given one. Told in other terms it means that a circle, centered at the given point, will be tangent to the curve at both the nearest and farthest points, besides eventually to others in between.