Note that .

Let .

So, attains its maximum at . (You can verify this by calculating values of near , or by using the second-derivative test.)

For the function is increasing, and for the function is decreasing.

So if is the smaller of and , .

Clearly, . (If , we will never be able to find .)

By trial and error, we see that .

There are no other solutions.