I was corrected that the following calculation is not correct, maybe you can help me finding the mistake:
The mathematical (well known) task was:
A person on a lake (distance to coast: d) wants to reach a point P on the coast (the coast has a straight line!). The boat can move with speed $v_1$. By feet the person travels with speed $v_2$. Where is point Q on the coastline, so that the time needed to get to P is minimized?
Regarding $v_1 < v_2$ (other case is easy):
Given the equation
$t(x) = \frac{\sqrt{d^2+x^2}}{v_1} + \frac{(y-x)}{v_2}$, where $y$ is the distance between P and the point, where the person would reach the coastline if moving orthogonal to the coastline.
I got $t'(x) = \frac{x}{v_1 \cdot \sqrt{^2+x^2}} - \frac{1}{v_2}$.
And for $t'(x_E)=0$ I got $x_E = \frac{(dv_1)^2)}{\sqrt{v_2^2 - v_1^2}}$.
Now I have just put this point $x_E$ into the second derivative:
$t''(x_E) = -\frac{d^2v_1}{(v_2^2-v_1^2)\cdot (d^2 + \frac{d^2v_1^2}{v_2^2-v_1^2})^{3/2}} + \frac{1}{v_1\cdot \sqrt{d^2 + \frac{d^2v_1^2}{v_2^2-v_1^2}}}$
And setting $t''(x_E) > 0$ I end with
$ 1 > \frac{v_1^2}{v_1^2+(v_2^2-v_1^2)} = \frac{v_1^2}{v_2^2}$.
So that should be it. But as I said above, I must have made a (huge) mistake? Maybe I am not allowed to "put in $x_E$ simply like that", and if so, I do not immediately see why.