Let (S,g)(S,g) be a two-dimensional . Its Gaussian curvature is the function K:SRK:S\to\mathbb R whose value at pp is the of the unique two-plane TpST_pS:

K(p)=Kg(TpS).K(p)=K_g(T_pS).
Curvature tensor formula

For an orthonormal basis e1,e2e_1,e_2 of TpST_pS, using the stated convention,

K(p)=g(R(e1,e2)e2,e1).K(p)=g(R(e_1,e_2)e_2,e_1).
Intrinsic and extrinsic descriptions

The value K(p)K(p) depends only on the metric near pp, not on an embedding of SS in Euclidean space. If SS is embedded as a regular surface in R3\mathbb R^3, then KK is also the product of the two principal curvatures, with the usual induced metric.

Examples and consequences

The Euclidean plane has K=0K=0, the unit round sphere has K=1K=1, and the hyperbolic plane of curvature 1-1 has K=1K=-1. For a closed oriented Riemannian surface, the gives

12πSKvolg=χ(S).\frac{1}{2\pi}\int_S K\,\operatorname{vol}_g=\chi(S).
Sign convention

Changing the overall sign convention for the Riemann curvature tensor changes the sign of KK. The convention here is the one displayed in the and knowls.

References
  1. John M. Lee, Introduction to Riemannian Manifolds, 2nd ed., Springer, 2018. Publisher record. Relevant: Chapter 7.
  2. Manfredo P. do Carmo, Differential Geometry of Curves and Surfaces, Prentice Hall, 1976. Relevant: Chapters 4–5, Gaussian curvature and the Theorema Egregium.