Let
and
be positive. The line
is tangent to
at some point exactly when
. That is,
which is the same as
. Since this is
with
and
, the discriminant is
. So the discriminant is zero exactly when
. Substituting this into
gives
, and such lines characterize the tangent lines of
. Setting
gives
, and setting
gives
,
, and
. Hence, the endpoints are
and
, implying that the length of the line segment is
.
To minimize this function, it is enough to minimize the following function
. This function is differentiable with respect to
, tends to positive infinity as
, and tends to positive infinity as
. Hence, if
that minimizes the above length, then it satisfies
(
means differentiate with respect to
).
Using the power and chain rules, gives
. So
,
,
, and
. Substituting this value of
into
gives
.
Hence, the minimum length is
.