This has a maximum at it is a critical point as the derivative does not exist there. You need only obsever that for any , and so must be a maximum.

( is smooth everywere else and there are no critical points way from so there are no other maxima or minima, the surface is in fact a cone with vertex at )

RonL