# For a convex surface, why does the second fundamental form have to be positive semidefinite, instead of negative semidefinite?

My confusion comes from the answer of this question: Is there a way to relate convexity to Gaussian curvature?

In the first paragraph of Willie's answer, he wrote

The answer is yes. Convexity implies that for every point $$p$$ on the boundary $$\partial \Omega$$, we can find a plane $$\Pi$$ through $$p$$ such that $$\partial \Omega$$ lies "on the one side" of $$\Pi$$. This implies that the second fundamental form is signed (either positive-semi-definite or negative-semi-definite). For surfaces in $$\mathbb{R}^3$$, the Gaussian curvature is the determinant of the second fundamental form, and hence is the product of the eigenvalues (the principal curvatures), and hence is always positive definite.

However, if the second fundamental form is negative-semidefinite, then because the matrix representation of the second fundamental form for a surface in $$\mathbb{R}^3$$ is $$2 \times 2$$, won't the Gaussian curvature also be non-negative?

Thanks for all the help; I am new to differential geometry and my apologies if this question is too elementary.