Suppose lies in the closed ball of radius centred at . By compactness, the continuous function attains its maximum at some . The sphere of radius about is a supporting sphere tangent to at .
Put . For any unit vector , choose a surface curve with and . Since has a local maximum at zero,
The scalar is the normal curvature in direction , so every normal curvature is at most with this choice of unit normal. Applying this to principal directions shows that both principal curvatures satisfy . Therefore
This proves both assertions, including the existence of an elliptic point on every compact regular surface.
Since , Gauss-Bonnet gives , hence . If , the integral of the continuous nonnegative function is zero, so vanishes everywhere.
That is impossible for a compact regular surface in . Choose maximizing the Euclidean distance from the origin, after translating the origin off the surface if necessary. The sphere centered at the origin through is a supporting sphere. The supporting-sphere curvature bound shows that both principal curvatures at have the same sign and nonzero magnitude, so . Therefore , and . The classification theorem for surfaces now shows that is diffeomorphic to the sphere.