As
moves along the line segment from
to
, the distance
increases and the distance
decreases symmetrically. It seems possible
therefore that the minimum value will occur at the midpoint of
and
that this will be independent of the length of the line segment, that is
independent of
. We shall see that this is not so. The given expression is
Note that this is a quartic in
with the coefficient of
positive
and so we should have expected one or three turning points.
Differentiating
to find the minima:
Case 1:
The derivative
if and only if
and
the second derivative
.
So there is one minimum value
where the position of X, at
, is independent of
. Case 2:
The derivative
for
and
.
The second derivative
at
which
now gives a maximum value but
for
giving two minimum points on the quartic where
. The minimum value at each point is
where the position of X for these minimum values is
clearly dependent of
.
Case 3:
Note that where
there is a single minimum
at
giving continuity between Case 1 and Case 2.
The most likely first conjecture agrees with Case 1 but does not allow the
possibility of Case 2. Realising that the function we are minimizing is a
quartic we should have taken into account the possibility of two minimum
values.