In mathematics, the differential geometry of surfaces deals with the differential geometry of smooth surfaces with various additional structures, most often, a Riemannian metric. Surfaces have been extensively studied from various perspectives: extrinsically, relating to their embedding in Euclidean space and intrinsically, reflecting their properties determined solely by the distance within the surface as measured along curves on the surface. One of the fundamental concepts investigated is the Gaussian curvature, first studied in depth by Carl Friedrich Gauss,^{[1]} who showed that curvature was an intrinsic property of a surface, independent of its isometric embedding in Euclidean space.
Surfaces naturally arise as graphs of functions of a pair of variables, and sometimes appear in parametric form or as loci associated to space curves. An important role in their study has been played by Lie groups (in the spirit of the Erlangen program), namely the symmetry groups of the Euclidean plane, the sphere and the hyperbolic plane. These Lie groups can be used to describe surfaces of constant Gaussian curvature; they also provide an essential ingredient in the modern approach to intrinsic differential geometry through connections. On the other hand, extrinsic properties relying on an embedding of a surface in Euclidean space have also been extensively studied. This is well illustrated by the nonlinear EulerLagrange equations in the calculus of variations: although Euler developed the one variable equations to understand geodesics, defined independently of an embedding, one of Lagrange's main applications of the two variable equations was to minimal surfaces, a concept that can only be defined in terms of an embedding.
The volumes of certain quadric surfaces of revolution were calculated by Archimedes.^{[2]} The development of calculus in the seventeenth century provided a more systematic way of computing them.^{[3]} Curvature of general surfaces was first studied by Euler. In 1760^{[4]} he proved a formula for the curvature of a plane section of a surface and in 1771^{[5]} he considered surfaces represented in a parametric form. Monge laid down the foundations of their theory in his classical memoir L'application de l'analyse à la géometrie which appeared in 1795. The defining contribution to the theory of surfaces was made by Gauss in two remarkable papers written in 1825 and 1827.^{[1]} This marked a new departure from tradition because for the first time Gauss considered the intrinsic geometry of a surface, the properties which are determined only by the geodesic distances between points on the surface independently of the particular way in which the surface is located in the ambient Euclidean space. The crowning result, the Theorema Egregium of Gauss, established that the Gaussian curvature is an intrinsic invariant, i.e. invariant under local isometries. This point of view was extended to higherdimensional spaces by Riemann and led to what is known today as Riemannian geometry. The nineteenth century was the golden age for the theory of surfaces, from both the topological and the differentialgeometric point of view, with most leading geometers devoting themselves to their study.^{[]}Darboux collected many results in his fourvolume treatise Théorie des surfaces (18871896).
This section does not cite any sources. (August 2020) (Learn how and when to remove this template message) 
It is intuitively quite familiar to say that the leaf of a plant, the surface of a glass, or the shape of a face, are curved in certain ways, and that all of these shapes, even after ignoring any distinguishing markings, have certain geometric features which distinguish one from another. The differential geometry of surfaces is concerned with a mathematical understanding of such phenomena. The study of this field, which was initiated in its modern form in the 1700s, has led to the development of higherdimensional and abstract geometry, such as Riemannian geometry and general relativity.^{[original research?]}
The essential mathematical object is that of a regular surface. Although conventions vary in their precise definition, these form a general class of subsets of threedimensional Euclidean space (R^{3}) which capture part of the familiar notion of "surface." By analyzing the class of curves which lie on such a surface, and the degree to which the surfaces force them to curve in R^{3}, one can associate to each point of the surface two numbers, called the principal curvatures. Their sum is called the mean curvature of the surface, and their product is called the Gaussian curvature.
There are many classic examples of regular surfaces, including:
A surprising result of Carl Friedrich Gauss, known as the theorema egregium, showed that the Gaussian curvature of a surface, which by its definition has to do with how curves on the surface change directions in three dimensional space, can actually be measured by the lengths of curves lying on the surfaces together with the angles made when two curves on the surface intersect. Terminologically, this says that the Gaussian curvature can be calculated from the first fundamental form (also called metric tensor) of the surface. The second fundamental form, by contrast, is an object which encodes how lengths and angles of curves on the surface are distorted when the curves are pushed off of the surface.
Despite measuring different aspects of length and angle, the first and second fundamental forms are not independent from one another, and they satisfy certain constraints called the GaussCodazzi equations. A major theorem, often called the fundamental theorem of the differential geometry of surfaces, asserts that whenever two objects satisfy the GaussCodazzi constraints, they will arise as the first and second fundamental forms of a regular surface.
Using the first fundamental form, it is possible to define new objects on a regular surface. Geodesics are curves on the surface which satisfy a certain secondorder ordinary differential equation which is specified by the first fundamental form. They are very directly connected to the study of lengths of curves; a geodesic of sufficiently short length will always be the curve of shortest length on the surface which connects its two endpoints. Thus, geodesics are fundamental to the optimization problem of determining the shortest path between two given points on a regular surface.
One can also define parallel transport along any given curve, which gives a prescription for how to deform a tangent vector to the surface at one point of the curve to tangent vectors at all other points of the curve. The prescription is determined by a firstorder ordinary differential equation which is specified by the first fundamental form.
The above concepts are essentially all to do with multivariable calculus. The GaussBonnet theorem is a more global result, which relates the Gaussian curvature of a surface together with its topological type. It asserts that the average value of the Gaussian curvature is completely determined by the Euler characteristic of the surface together with its surface area.
The notion of Riemannian manifold and Riemann surface are two generalizations of the regular surfaces discussed above. In particular, essentially all of the theory of regular surfaces as discussed here has a generalization in the theory of Riemannian manifolds. This is not the case for Riemann surfaces, although every regular surface gives an example of a Riemann surface.
It is intuitively clear that a sphere is smooth, while a cone or a pyramid, due to their vertex or edges, are not. The notion of a "regular surface" is a formalization of the notion of a smooth surface. The definition utilizes the local representation of a surface via maps between Euclidean spaces. There is a standard notion of smoothness for such maps; a map between two open subsets of Euclidean space is smooth if its partial derivatives of every order exist at every point of the domain.^{[6]}^{[7]}^{[8]}
The following gives three equivalent ways to present the definition; the middle definition is perhaps the most visually intuitive, as it essentially says that a regular surface is a subset of R^{3} which is locally the graph of a smooth function (whether over a region in the yz plane, the xz plane, or the xy plane).
Objects used in definition  A regular surface in Euclidean space R^{3} is a subset S of R^{3} such that every point of S has... 

Local parametrizations  ... an open neighborhood U ? S for which there is an open subset V of R^{2} and a homeomorphism f : V > U such that

Monge patches  ... an open neighborhood U ? R^{3} for which there is an open subset V of R^{2} and a smooth function h : V > R such that one of the following holds:

Implicit functions  ... an open neighborhood U ? R^{3} for which there is a smooth function F : U > R with:

The homeomorphisms appearing in the first definition are known as local parametrizations or local coordinate systems or local charts on S.^{[13]} The equivalence of the first two definitions asserts that, around any point on a regular surface, there always exist local parametrizations of the form (u, v) ? (h(u, v), u, v), (u, v) ? (u, h(u, v), v), or (u, v) ? (u, v, h(u, v)), known as Monge patches. Functions F as in the third definition are called local defining functions. The equivalence of all three definitions follows from the implicit function theorem.^{[14]}^{[15]}^{[16]}
Given any two local parametrizations f : V > U and f ? : V ?> U ? of a regular surface, the composition f^{ 1} ? f ? is necessarily smooth as a map between open subsets of R^{2}.^{[17]} This shows that any regular surface naturally has the structure of a smooth manifold, with a smooth atlas being given by the inverses of local parametrizations.
In the classical theory of differential geometry, surfaces are usually studied only in the regular case.^{[18]}^{[19]} It is, however, also common to study nonregular surfaces, in which the two partial derivatives ?_{u }f and ?_{v }f of a local parametrization may fail to be linearly independent. In this case, S may have singularities such as cuspidal edges. Such surfaces are typically studied in singularity theory. Other weakened forms of regular surfaces occur in computeraided design, where a surface is broken apart into disjoint pieces, with the derivatives of local parametrizations failing to even be continuous along the boundaries.^{[]}
Simple examples. A simple example of a regular surface is given by the 2sphere {(x, y, z)  x^{2} + y^{2} + z^{2} = 1}; this surface can be covered by six Monge patches (two of each of the three types given above), taking h(u, v) = ± (1  u^{2}  v^{2})^{1/2}. It can also be covered by two local parametrizations, using stereographic projection. The set {(x, y, z) : ((x^{2} + y^{2})^{1/2}  r)^{2} + z^{2} = R^{2}} is a torus of revolution with radii r and R. It is a regular surface; local parametrizations can be given of the form
The hyperboloid on two sheets {(x, y, z) : z^{2} = 1 + x^{2} + y^{2}} is a regular surface; it can be covered by two Monge patches, with h(u, v) = ±(1 + u^{2} + v^{2})^{1/2}. The helicoid appears in the theory of minimal surfaces. It is covered by a single local parametrization, f(u, v) = (u sin v, u cos v, v).
Let S be a regular surface in R^{3}, and let p be an element of S. Using any of the above definitions, one can single out certain vectors in R^{3} as being tangent to S at p, and certain vectors in R^{3} as being orthogonal to S at p.
Objects used in definition  A vector X in R^{3} is tangent to S at p if...  A vector n in R^{3} is normal to S at p if... 

Local parametrizations  ... given any local parametrization f : V > S with p ? f(V), X is a linear combination of and  ... it is orthogonal to every tangent vector to S at p 
Monge patches  ... for any Monge patch (u, v) ? (u, v, h(u, v)) whose range includes p, one has
with the partial derivatives evaluated at the point (p_{1}, p_{2}). The analogous definition applies in the case of the Monge patches of the other two forms. 
... for any Monge patch (u, v) ? (u, v, h(u, v)) whose range includes p, n is a multiple of (, , 1) as evaluated at the point (p_{1}, p_{2}). The analogous definition applies in the case of the Monge patches of the other two forms. 
Implicit functions  ... for any local defining function F whose domain contains p, X is orthogonal to ?F(p)  ... for any local defining function F whose domain contains p, n is a multiple of ?F(p) 
One sees that the tangent space to S at p, which is defined to consist of all tangent vectors to S at p, is a twodimensional linear subspace of R^{3}; it is often denoted by T_{p}S. The normal space to S at p, which is defined to consist of all normal vectors to S at p, is a onedimensional linear subspace of R^{3} which is orthogonal to the tangent space T_{p}S. As such, at each point p of S, there are two normal vectors of unit length, called unit normal vectors. It is useful to note that the unit normal vectors at p can be given in terms of local parametrizations, Monge patches, or local defining functions, via the formulas
following the same notations as in the previous definitions.
It is also useful to note an "intrinsic" definition of tangent vectors, which is typical of the generalization of regular surface theory to the setting of smooth manifolds. It defines the tangent space as an abstract twodimensional real vector space, rather than as a linear subspace of R^{3}. In this definition, one says that a tangent vector to S at p is an assignment, to each local parametrization f : V > S with p ? f(V), of two numbers X^{1} and X^{2}, such that for any other local parametrization f ? : V > S with p ? f(V) (and with corresponding numbers (X ?)^{1} and (X ?)^{2}), one has
where A_{f ?(p)} is the Jacobian matrix of the mapping f^{ 1} ? f ?, evaluated at the point f ?(p). The collection of tangent vectors to S at p naturally has the structure of a twodimensional vector space. A tangent vector in this sense corresponds to a tangent vector in the previous sense by considering the vector
in R^{3}. The Jacobian condition on X^{1} and X^{2} ensures, by the chain rule, that this vector does not depend on f.
For smooth functions on a surface, vector fields (i.e. tangent vector fields) have an important interpretation as first order operators or derivations. Let be a regular surface, an open subset of the plane and a coordinate chart. If , the space can be identified with . Similarly identifies vector fields on with vector fields on . Taking standard variables u and v, a vector field has the form , with a and b smooth functions. If is a vector field and is a smooth function, then is also a smooth function. The first order differential operator is a derivation, i.e. it satisfies the Leibniz rule ^{[20]}
For vector fields X and Y it is simple to check that the operator is a derivation corresponding to a vector field. It is called the Lie bracket . It is skewsymmetric and satisfies the Jacobi identity:
In summary, vector fields on or form a Lie algebra under the Lie bracket.^{[21]}
Let S be a regular surface in R^{3}. Given a local parametrization f : V > S and a unit normal vector field n to f(V), one defines the following objects as realvalued or matrixvalued functions on V. The first fundamental form depends only on f, and not on n. The fourth column records the way in which these functions depend on f, by relating the functions E ?, F ?, G ?, L ?, etc., arising for a different choice of local parametrization, f ? : V ? > S, to those arising for f. Here A denotes the Jacobian matrix of f^{ 1} ? f ?. The key relation in establishing the formulas of the fourth column is then
as follows by the chain rule.
Terminology  Notation  Definition  Dependence on local parametrization 

First fundamental form  E  
F  
G  
Second fundamental form  L  
M  
N  
Shape operator^{[22]}  P  
Gaussian curvature  K  
Mean curvature  H  
Principal curvatures 
By a direct calculation with the matrix defining the shape operator, it can be checked that the Gaussian curvature is the determinant of the shape operator, the mean curvature is the trace of the shape operator, and the principal curvatures are the eigenvalues of the shape operator; moreover the Gaussian curvature is the product of the principal curvatures and the mean curvature is their sum. These observations can also be formulated as definitions of these objects. These observations also make clear that the last three rows of the fourth column follow immediately from the previous row, as similar matrices have identical determinant, trace, and eigenvalues. It is fundamental to note E, G, and EG  F^{2} are all necessarily positive. This ensures that the matrix inverse in the definition of the shape operator is welldefined, and that the principal curvatures are real numbers.
Note also that a negation of the choice of unit normal vector field will negate the second fundamental form, the shape operator, the mean curvature, and the principal curvatures, but will leave the Gaussian curvature unchanged. In summary, this has shown that, given a regular surface S, the Gaussian curvature of S can be regarded as a realvalued function on S; relative to a choice of unit normal vector field on all of S, the two principal curvatures and the mean curvature are also realvalued functions on S.
Geometrically, the first and second fundamental forms can be viewed as giving information on how f(u, v) moves around in R^{3} as (u, v) moves around in V. In particular, the first fundamental form encodes how quickly f moves, while the second fundamental form encodes the extent to which its motion is in the direction of the normal vector n. In other words, the second fundamental form at a point p encodes the length of the orthogonal projection from S to the tangent plane to S at p; in particular it gives the quadratic function which best approximates this length. This thinking can be made precise by the formulas
as follows directly from the definitions of the fundamental forms and Taylor's theorem in two dimensions. The principal curvatures can be viewed in the following way. At a given point p of S, consider the collection of all planes which contain the orthogonal line to S. Each such plane has a curve of intersection with S, which can be regarded as a plane curve inside of the plane itself. The two principal curvatures at p are the maximum and minimum possible values of the curvature of this plane curve at p, as the plane under consideration rotates around the normal line.
The following summarizes the calculation of the above quantities relative to a Monge patch f(u, v) = (u, v, h(u, v)). Here h_{u} and h_{v} denote the two partial derivatives of h, with analogous notation for the second partial derivatives. The second fundamental form and all subsequent quantities are calculated relative to the given choice of unit normal vector field.
Quantity  Formula 

A unit normal vector field  
First fundamental form  
Second fundamental form  
Shape operator  
Gaussian curvature  
Mean curvature 
Let S be a regular surface in R^{3}. The Christoffel symbols assign, to each local parametrization f : V > S, eight functions on V, defined by^{[23]}
They can also be defined by the following formulas, in which n is a unit normal vector field along f(V) and L, M, N are the corresponding components of the second fundamental form:
The key to this definition is that , , and n form a basis of R^{3} at each point, relative to which each of the three equations uniquely specifies the Christoffel symbols as coordinates of the second partial derivatives of f. The choice of unit normal has no effect on the Christoffel symbols, since if n is exchanged for its negation, then the components of the second fundamental form are also negated, and so the signs of Ln, Mn, Nn are left unchanged.
The second definition shows, in the context of local parametrizations, that the Christoffel symbols are geometrically natural. Although the formulas in the first definition appear less natural, they have the importance of showing that the Christoffel symbols can be calculated from the first fundamental form, which is not immediately apparent from the second definition. The equivalence of the definitions can be checked by directly substituting the first definition into the second, and using the definitions of E, F, G.
The Codazzi equations assert that^{[24]}
These equations can be directly derived from the second definition of Christoffel symbols given above; for instance, the first Codazzi equation is obtained by differentiating the first equation with respect to v, the second equation with respect to u, subtracting the two, and taking the dot product with n. The Gauss equation asserts that^{[25]}
These can be similarly derived as the Codazzi equations, with one using the Weingarten equations instead of taking the dot product with n. Although these are written as three separate equations, they are identical when the definitions of the Christoffel symbols, in terms of the first fundamental form, are substituted in. There are many ways to write the resulting expression, one of them derived in 1852 by Brioschi using a skillful use of determinants:^{[26]}^{[27]}
When the Christoffel symbols are considered as being defined by the first fundamental form, the Gauss and Codazzi equations represent certain constraints between the first and second fundamental forms. The Gauss equation is particularly noteworthy, as it shows that the Gaussian curvature can be computed directly from the first fundamental form, without the need for any other information; equivalently, this says that LN  M^{2} can actually be written as a function of E, F, G, even though the individual components L, M, N cannot. This is known as the theorema egregium, and was a major discovery of Carl Friedrich Gauss. It is particularly striking when one recalls the geometric definition of the Gaussian curvature of S as being defined by the maximum and minimum radii of osculating circles; they seem to be fundamentally defined by the geometry of how S bends within R^{3}. Nevertheless, the theorem shows that their product can be determined from the "intrinsic" geometry of S, having only to do with the lengths of curves along S and the angles formed at their intersections. As said by Marcel Berger:^{[28]}
This theorem is baffling. [...] It is the kind of theorem which could have waited dozens of years more before being discovered by another mathematician since, unlike so much of intellectual history, it was absolutely not in the air. [...] To our knowledge there is no simple geometric proof of the theorema egregium today.
The GaussCodazzi equations can also be succinctly expressed and derived in the language of connection forms due to Élie Cartan.^{[29]} In the language of tensor calculus, making use of natural metrics and connections on tensor bundles, the Gauss equation can be written as H^{2}  h^{2} = R and the two Codazzi equations can be written as ?_{1}h_{12} = ?_{2}h_{11} and ?_{1}h_{22} = ?_{2}h_{12}; the complicated expressions to do with Christoffel symbols and the first fundamental form are completely absorbed into the definitions of the covariant tensor derivative ?h and the scalar curvature R. Pierre Bonnet proved that two quadratic forms satisfying the GaussCodazzi equations always uniquely determine an embedded surface locally.^{[30]} For this reason the GaussCodazzi equations are often called the fundamental equations for embedded surfaces, precisely identifying where the intrinsic and extrinsic curvatures come from. They admit generalizations to surfaces embedded in more general Riemannian manifolds.
A diffeomorphism between open sets and in a regular surface is said to be an isometry if it preserves the metric, i.e. the first fundamental form.^{[31]}^{[32]}^{[33]} Thus for every point in and tangent vectors at , there are equalities
In terms of the inner product coming from the first fundamental form, this can be rewritten as
On the other hand the length of a parametrized curve can be calculated as
and, if the curve lies in , the rules for change of variables show that
Conversely if preserves the lengths of all parametrized in curves then is an isometry. Indeed for suitable choices of , the tangent vectors and give arbitrary tangent vectors and . The equalities must hold for all choice of tangent vectors and as well as and , so that .^{[34]}
A simple example of an isometry is provided by two parametrizations and of an open set into regular surfaces and . If , and , then is an isometry of onto . ^{[35]}
The cylinder and the plane give examples of surfaces that are locally isometric but which cannot be extended to an isometry for topological reasons.^{[36]} As another example, the catenoid and helicoid are locally isometric.^{[37]}
This section does not cite any sources. (August 2020) (Learn how and when to remove this template message) 
A tangential vector field X on S assigns, to each p in S, a tangent vector X_{p} to S at p. According to the "intrinsic" definition of tangent vectors given above, a tangential vector field X then assigns, to each local parametrization f : V > S, two realvalued functions X^{1} and X^{2} on V, so that
for each p in S. One says that X is smooth if the functions X^{1} and X^{2} are smooth, for any choice of f.^{[38]} According to the other definitions of tangent vectors given above, one may also regard a tangential vector field X on S as a map X : S > R^{3} such that X(p) is contained in the tangent space T_{p}S ? R^{3} for each p in S. As is common in the more general situation of smooth manifolds, tangential vector fields can also be defined as certain differential operators on the space of smooth functions on S.
The covariant derivatives (also called "tangential derivatives") of Tullio LeviCivita and Gregorio RicciCurbastro provide a means of differentiating smooth tangential vector fields. Given a tangential vector field X and a tangent vector Y to S at p, the covariant derivative ?_{Y}X is a certain tangent vector to S at p. Consequently, if X and Y are both tangential vector fields, then ?_{Y}X can also be regarded as a tangential vector field; iteratively, if X, Y, and Z are tangential vector fields, the one may compute ?_{Z}?_{Y}X, which will be another tangential vector field. There are a few ways to define the covariant derivative; the first below uses the Christoffel symbols and the "intrinsic" definition of tangent vectors, and the second is more manifestly geometric.
Given a tangential vector field X and a tangent vector Y to S at p, one defines ?_{Y}X to be the tangent vector to p which assigns to a local parametrization f : V > S the two numbers
where D_{(Y1, Y2)} is the directional derivative.^{[39]} This is often abbreviated in the less cumbersome form (?_{Y}X)^{k} = ?_{Y}(X^{k}) + Y^{i}?^{k}
_{ij}X^{ j}, making use of Einstein notation and with the locations of function evaluation being implicitly understood. This follows a standard prescription in Riemannian geometry for obtaining a connection from a Riemannian metric. It is a fundamental fact that the vector
in R^{3} is independent of the choice of local parametization f, although this is rather tedious to check.
One can also define the covariant derivative by the following geometric approach, which does not make use of Christoffel symbols or local parametrizations.^{[40]}^{[41]}^{[42]} Let X be a vector field on S, viewed as a function S > R^{3}. Given any curve c : (a, b) > S, one may consider the composition X ? c : (a, b) > R^{3}. As a map between Euclidean spaces, it can be differentiated at any input value to get an element (X ? c)?(t) of R^{3}. The orthogonal projection of this vector onto T_{c(t)}S defines the covariant derivative ?_{c ?(t)}X. Although this is a very geometrically clean definition, it is necessary to show that the result only depends on c?(t) and X, and not on c and X; local parametrizations can be used for this small technical argument.
It is not immediately apparent from the second definition that covariant differentiation depends only on the first fundamental form of S; however, this is immediate from the first definition, since the Christoffel symbols can be defined directly from the first fundamental form. It is straightforward to check that the two definitions are equivalent. The key is that when one regards X^{1} + X^{2} as a R^{3}valued function, its differentiation along a curve results in second partial derivatives ?^{2}f; the Christoffel symbols enter with orthogonal projection to the tangent space, due to the formulation of the Christoffel symbols as the tangential components of the second derivatives of f relative to the basis , , n.^{[43]} This is discussed in the above section.
The righthand side of the three Gauss equations can be expressed using covariant differentiation. For instance, the righthand side
can be recognized as the second coordinate of
relative to the basis , , as can be directly verified using the definition of covariant differentiation by Christoffel symbols. In the language of Riemannian geometry, this observation can also be phrased as saying that the righthand sides of the Gauss equations are various components of the Ricci curvature of the LeviCivita connection of the first fundamental form, when interpreted as a Riemannian metric.
A surface of revolution is obtained by rotating a curve in the xzplane about the zaxis. Such surfaces include spheres, cylinders, cones, tori, and the catenoid. The general ellipsoids, hyperboloids, and paraboloids are not. Suppose that the curve is parametrized by
with s drawn from an interval (a, b). If c_{1} is never zero, if c_{1}? and c_{2}? are never both equal to zero, and if c_{1} and c_{2} are both smooth, then the corresponding surface of revolution
will be a regular surface in R^{3}. A local parametrization f : (a, b) × (0, 2?) > S is given by
Relative to this parametrization, the geometric data is:^{[44]}
Quantity  Formula 

A unit normal vector field  
First fundamental form  
Second fundamental form  
Principal curvatures  
Gaussian curvature  
Mean curvature 
In the special case that the original curve is parametrized by arclength, i.e. (c_{1}?(s))^{2} + (c_{1}?(s))^{2} = 1, one can differentiate to find c_{1}?(s)c_{1}(s) + c_{2}?(s)c_{2}(s) = 0. On substitution into the Gaussian curvature, one has the simplified
The simplicity of this formula makes it particularly easy to study the class of rotationally symmetric surfaces with constant Gaussian curvature.^{[45]} By reduction to the alternative case that c_{2}(s) = s, one can study the rotationally symmetric minimal surfaces, with the result that any such surface is part of a plane or a scaled catenoid.^{[46]}
Each constantt curve on S can be parametrized as a geodesic; a constants curve on S can be parametrized as a geodesic if and only if c_{1}?(s) is equal to zero. Generally, geodesics on S are governed by Clairaut's relation.
Consider the quadric surface defined by^{[47]}
This surface admits a parametrization
The Gaussian curvature and mean curvature are given by
A ruled surface is one which can be generated by the motion of a straight line in E^{3}.^{[48]} Choosing a directrix on the surface, i.e. a smooth unit speed curve c(t) orthogonal to the straight lines, and then choosing u(t) to be unit vectors along the curve in the direction of the lines, the velocity vector v = c_{t} and u satisfy
The surface consists of points
as s and t vary.
Then, if
the Gaussian and mean curvature are given by
The Gaussian curvature of the ruled surface vanishes if and only if u_{t} and v are proportional,^{[49]} This condition is equivalent to the surface being the envelope of the planes along the curve containing the tangent vector v and the orthogonal vector u, i.e. to the surface being developable along the curve.^{[50]} More generally a surface in E^{3} has vanishing Gaussian curvature near a point if and only if it is developable near that point.^{[51]} (An equivalent condition is given below in terms of the metric.)
In 1760 Lagrange extended Euler's results on the calculus of variations involving integrals in one variable to two variables.^{[52]} He had in mind the following problem:
Given a closed curve in E^{3}, find a surface having the curve as boundary with minimal area.
Such a surface is called a minimal surface.
In 1776 Jean Baptiste Meusnier showed that the differential equation derived by Lagrange was equivalent to the vanishing of the mean curvature of the surface:
A surface is minimal if and only if its mean curvature vanishes.
Minimal surfaces have a simple interpretation in real life: they are the shape a soap film will assume if a wire frame shaped like the curve is dipped into a soap solution and then carefully lifted out. The question as to whether a minimal surface with given boundary exists is called Plateau's problem after the Belgian physicist Joseph Plateau who carried out experiments on soap films in the midnineteenth century. In 1930 Jesse Douglas and Tibor Radó gave an affirmative answer to Plateau's problem (Douglas was awarded one of the first Fields medals for this work in 1936).^{[53]}
Many explicit examples of minimal surface are known explicitly, such as the catenoid, the helicoid, the Scherk surface and the Enneper surface. There has been extensive research in this area, summarised in Osserman (2002). In particular a result of Osserman shows that if a minimal surface is nonplanar, then its image under the Gauss map is dense in S^{2}.
If a surface has constant Gaussian curvature, it is called a surface of constant curvature.^{[54]}
Each of these surfaces of constant curvature has a transitive Lie group of symmetries. This group theoretic fact has farreaching consequences, all the more remarkable because of the central role these special surfaces play in the geometry of surfaces, due to Poincaré's uniformization theorem (see below).
Other examples of surfaces with Gaussian curvature 0 include cones, tangent developables, and more generally any developable surface.
For any surface embedded in Euclidean space of dimension 3 or higher, it is possible to measure the length of a curve on the surface, the angle between two curves and the area of a region on the surface. This structure is encoded infinitesimally in a Riemannian metric on the surface through line elements and area elements. Classically in the nineteenth and early twentieth centuries only surfaces embedded in R^{3} were considered and the metric was given as a 2×2 positive definite matrix varying smoothly from point to point in a local parametrization of the surface. The idea of local parametrization and change of coordinate was later formalized through the current abstract notion of a manifold, a topological space where the smooth structure is given by local charts on the manifold, exactly as the planet Earth is mapped by atlases today. Changes of coordinates between different charts of the same region are required to be smooth. Just as contour lines on reallife maps encode changes in elevation, taking into account local distortions of the Earth's surface to calculate true distances, so the Riemannian metric describes distances and areas "in the small" in each local chart. In each local chart a Riemannian metric is given by smoothly assigning a 2×2 positive definite matrix to each point; when a different chart is taken, the matrix is transformed according to the Jacobian matrix of the coordinate change. The manifold then has the structure of a 2dimensional Riemannian manifold.
The differential dn of the Gauss map n can be used to define a type of extrinsic curvature, known as the shape operator^{[58]} or Weingarten map. This operator first appeared implicitly in the work of Wilhelm Blaschke and later explicitly in a treatise by BuraliForti and Burgati.^{[59]} Since at each point x of the surface, the tangent space is an inner product space, the shape operator S_{x} can be defined as a linear operator on this space by the formula
for tangent vectors v, w (the inner product makes sense because dn(v) and w both lie in E^{3}).^{[a]} The right hand side is symmetric in v and w, so the shape operator is selfadjoint on the tangent space. The eigenvalues of S_{x} are just the principal curvatures k_{1} and k_{2} at x. In particular the determinant of the shape operator at a point is the Gaussian curvature, but it also contains other information, since the mean curvature is half the trace of the shape operator. The mean curvature is an extrinsic invariant. In intrinsic geometry, a cylinder is developable, meaning that every piece of it is intrinsically indistinguishable from a piece of a plane since its Gauss curvature vanishes identically. Its mean curvature is not zero, though; hence extrinsically it is different from a plane.
In general, the eigenvectors and eigenvalues of the shape operator at each point determine the directions in which the surface bends at each point. The eigenvalues correspond to the principal curvatures of the surface and the eigenvectors are the corresponding principal directions. The principal directions specify the directions that a curve embedded in the surface must travel to have maximum and minimum curvature, these being given by the principal curvatures.
Curves on a surface which minimize length between the endpoints are called geodesics; they are the shape that an elastic band stretched between the two points would take. Mathematically they are described using ordinary differential equations and the calculus of variations. The differential geometry of surfaces revolves around the study of geodesics. It is still an open question whether every Riemannian metric on a 2dimensional local chart arises from an embedding in 3dimensional Euclidean space: the theory of geodesics has been used to show this is true in the important case when the components of the metric are analytic.
Given a piecewise smooth path c(t) = (x(t), y(t)) in the chart for t in [a, b], its length is defined by
and energy by
The length is independent of the parametrization of a path. By the EulerLagrange equations, if c(t) is a path minimising length, parametrized by arclength, it must satisfy the Euler equations
where the Christoffel symbols ?^{k}
_{ij} are given by
where g_{11} = E, g_{12} = F, g_{22} = G and g^{ij} is the inverse matrix to g_{ij}. A path satisfying the Euler equations is called a geodesic. By the CauchySchwarz inequality a path minimising energy is just a geodesic parametrised by arc length; and, for any geodesic, the parameter t is proportional to arclength.^{[60]}
The geodesic curvature k_{g} at a point of a curve c(t), parametrised by arc length, on an oriented surface is defined to be^{[61]}
where n(t) is the "principal" unit normal to the curve in the surface, constructed by rotating the unit tangent vector ?(t) through an angle of +90°.
The geodesic curvature measures in a precise way how far a curve on the surface is from being a geodesic.
When F = 0 throughout a coordinate chart, such as with the geodesic polar coordinates discussed below, the images of lines parallel to the x and yaxes are orthogonal and provide orthogonal coordinates. If H = (EG)^{}, then the Gaussian curvature is given by^{[62]}
If in addition E = 1, so that H = G^{}, then the angle ? at the intersection between geodesic (x(t),y(t)) and the line y = constant is given by the equation
The derivative of ? is given by a classical derivative formula of Gauss:^{[63]}
Once a metric is given on a surface and a base point is fixed, there is a unique geodesic connecting the base point to each sufficiently nearby point. The direction of the geodesic at the base point and the distance uniquely determine the other endpoint. These two bits of data, a direction and a magnitude, thus determine a tangent vector at the base point. The map from tangent vectors to endpoints smoothly sweeps out a neighbourhood of the base point and defines what is called the "exponential map", defining a local coordinate chart at that base point. The neighbourhood swept out has similar properties to balls in Euclidean space, namely any two points in it are joined by a unique geodesic. This property is called "geodesic convexity" and the coordinates are called "normal coordinates". The explicit calculation of normal coordinates can be accomplished by considering the differential equation satisfied by geodesics. The convexity properties are consequences of Gauss's lemma and its generalisations. Roughly speaking this lemma states that geodesics starting at the base point must cut the spheres of fixed radius centred on the base point at right angles. Geodesic polar coordinates are obtained by combining the exponential map with polar coordinates on tangent vectors at the base point. The Gaussian curvature of the surface is then given by the second order deviation of the metric at the point from the Euclidean metric. In particular the Gaussian curvature is an invariant of the metric, Gauss's celebrated Theorema Egregium. A convenient way to understand the curvature comes from an ordinary differential equation, first considered by Gauss and later generalized by Jacobi, arising from the change of normal coordinates about two different points. The Gauss–Jacobi equation provides another way of computing the Gaussian curvature. Geometrically it explains what happens to geodesics from a fixed base point as the endpoint varies along a small curve segment through data recorded in the Jacobi field, a vector field along the geodesic.^{[64]} One and a quarter centuries after Gauss and Jacobi, Marston Morse gave a more conceptual interpretation of the Jacobi field in terms of second derivatives of the energy function on the infinitedimensional Hilbert manifold of paths.^{[65]}
The theory of ordinary differential equations shows that if f(t, v) is smooth then the differential equation = f(t,v) with initial condition v(0) = v_{0} has a unique solution for  sufficiently small and the solution depends smoothly on t and v_{0}. This implies that for sufficiently small tangent vectors v at a given point p = (x_{0},y_{0}), there is a geodesic c_{v}(t) defined on (2,2) with c_{v}(0) = (x_{0},y_{0}) and ?_{v}(0) = v. Moreover, if  , then c_{sv} = c_{v}(st). The exponential map is defined by
and gives a diffeomorphism between a disc ?v? < ? and a neighbourhood of p; more generally the map sending (p,v) to exp_{p}(v) gives a local diffeomorphism onto a neighbourhood of (p,p). The exponential map gives geodesic normal coordinates near p.^{[66]}
There is a standard technique (see for example Berger (2004)) for computing the change of variables to normal coordinates u, v at a point as a formal Taylor series expansion. If the coordinates x, y at (0,0) are locally orthogonal, write
where L, M are quadratic and ?, ? cubic homogeneous polynomials in u and v. If u and v are fixed, x(t) = x(tu,tv) and y(t) = y(tu, tv) can be considered as formal power series solutions of the Euler equations: this uniquely determines ?, ?, L, M, ? and ?.
In these coordinates the matrix g(x) satisfies g(0) = I and the lines t ? tv are geodesics through 0. Euler's equations imply the matrix equation
a key result, usually called the Gauss lemma. Geometrically it states that
the geodesics through 0 cut the circles centred at 0 orthogonally. 
Taking polar coordinates (r,?), it follows that the metric has the form
In geodesic coordinates, it is easy to check that the geodesics through zero minimize length. The topology on the Riemannian manifold is then given by a distance function d(p,q), namely the infimum of the lengths of piecewise smooth paths between p and q. This distance is realised locally by geodesics, so that in normal coordinates d(0,v) = ?v?. If the radius ? is taken small enough, a slight sharpening of the Gauss lemma shows that the image U of the disc ?v? < ? under the exponential map is geodesically convex, i.e. any two points in U are joined by a unique geodesic lying entirely inside U.^{[67]}^{[68]}
Gauss's Theorema Egregium, the "Remarkable Theorem", shows that the Gaussian curvature of a surface can be computed solely in terms of the metric and is thus an intrinsic invariant of the surface, independent of any isometric embedding in E^{3} and unchanged under coordinate transformations. In particular isometries of surfaces preserve Gaussian curvature.^{[69]}
This theorem can expressed in terms of the power series expansion of the metric, ds, is given in normal coordinates (u, v) as
Taking a coordinate change from normal coordinates at p to normal coordinates at a nearby point q, yields the SturmLiouville equation satisfied by H(r,?) = G(r,?)^{}, discovered by Gauss and later generalised by Jacobi,
H_{rr} = KH 
The Jacobian of this coordinate change at q is equal to H_{r}. This gives another way of establishing the intrinsic nature of Gaussian curvature. Because H(r,?) can be interpreted as the length of the line element in the ? direction, the GaussJacobi equation shows that the Gaussian curvature measures the spreading of geodesics on a geometric surface as they move away from a point.^{[70]}
On a surface with local metric
where H^{2} = EG  F^{2}, the Gaussian curvature at a point is given by the formula^{[71]}
where r denotes the geodesic distance from the point.
In isothermal coordinates, first considered by Gauss, the metric is required to be of the special form
In this case the LaplaceBeltrami operator is given by
and ? satisfies Liouville's equation^{[72]}
Isothermal coordinates are known to exist in a neighbourhood of any point on the surface, although all proofs to date rely on nontrivial results on partial differential equations.^{[73]} There is an elementary proof for minimal surfaces.^{[74]}
On a sphere or a hyperboloid, the area of a geodesic triangle, i.e. a triangle all the sides of which are geodesics, is proportional to the difference of the sum of the interior angles and ?. The constant of proportionality is just the Gaussian curvature, a constant for these surfaces. For the torus, the difference is zero, reflecting the fact that its Gaussian curvature is zero. These are standard results in spherical, hyperbolic and high school trigonometry (see below). Gauss generalised these results to an arbitrary surface by showing that the integral of the Gaussian curvature over the interior of a geodesic triangle is also equal to this angle difference or excess. His formula showed that the Gaussian curvature could be calculated near a point as the limit of area over angle excess for geodesic triangles shrinking to the point. Since any closed surface can be decomposed up into geodesic triangles, the formula could also be used to compute the integral of the curvature over the whole surface. As a special case of what is now called the GaussBonnet theorem, Gauss proved that this integral was remarkably always 2? times an integer, a topological invariant of the surface called the Euler characteristic. This invariant is easy to compute combinatorially in terms of the number of vertices, edges, and faces of the triangles in the decomposition, also called a triangulation. This interaction between analysis and topology was the forerunner of many later results in geometry, culminating in the AtiyahSinger index theorem. In particular properties of the curvature impose restrictions on the topology of the surface.
Gauss proved that, if ? is a geodesic triangle on a surface with angles ?, ? and ? at vertices A, B and C, then
In fact taking geodesic polar coordinates with origin A and AB, AC the radii at polar angles 0 and ?:
where the second equality follows from the GaussJacobi equation and the fourth from Gauss' derivative formula in the orthogonal coordinates (r,?).
Gauss' formula shows that the curvature at a point can be calculated as the limit of angle excess ? + ? + ?  ? over area for successively smaller geodesic triangles near the point. Qualitatively a surface is positively or negatively curved according to the sign of the angle excess for arbitrarily small geodesic triangles.^{[75]}
Since every compact oriented 2manifold M can be triangulated by small geodesic triangles, it follows that
where ?(M) denotes the Euler characteristic of the surface.
In fact if there are F faces, E edges and V vertices, then 3F = 2E and the left hand side equals 2?V  ?F = 2?(V  E + F) = 2??(M).
This is the celebrated GaussBonnet theorem: it shows that the integral of the Gaussian curvature is a topological invariant of the manifold, namely the Euler characteristic. This theorem can be interpreted in many ways; perhaps one of the most farreaching has been as the index theorem for an elliptic differential operator on M, one of the simplest cases of the AtiyahSinger index theorem. Another related result, which can be proved using the GaussBonnet theorem, is the PoincaréHopf index theorem for vector fields on M which vanish at only a finite number of points: the sum of the indices at these points equals the Euler characteristic, where the index of a point is defined as follows: on a small circle round each isolated zero, the vector field defines a map into the unit circle; the index is just the winding number of this map.)^{[75]}^{[76]}^{[77]}
If the Gaussian curvature of a surface M is everywhere positive, then the Euler characteristic is positive so M is homeomorphic (and therefore diffeomorphic) to S^{2}. If in addition the surface is isometrically embedded in E^{3}, the Gauss map provides an explicit diffeomorphism. As Hadamard observed, in this case the surface is convex; this criterion for convexity can be viewed as a 2dimensional generalisation of the wellknown second derivative criterion for convexity of plane curves. Hilbert proved that every isometrically embedded closed surface must have a point of positive curvature. Thus a closed Riemannian 2manifold of nonpositive curvature can never be embedded isometrically in E^{3}; however, as Adriano Garsia showed using the Beltrami equation for quasiconformal mappings, this is always possible for some conformally equivalent metric.^{[78]}
The simply connected surfaces of constant curvature 0, +1 and 1 are the Euclidean plane, the unit sphere in E^{3}, and the hyperbolic plane. Each of these has a transitive threedimensional Lie group of orientation preserving isometries G, which can be used to study their geometry. Each of the two noncompact surfaces can be identified with the quotient G / K where K is a maximal compact subgroup of G. Here K is isomorphic to SO(2). Any other closed Riemannian 2manifold M of constant Gaussian curvature, after scaling the metric by a constant factor if necessary, will have one of these three surfaces as its universal covering space. In the orientable case, the fundamental group ? of M can be identified with a torsionfree uniform subgroup of G and M can then be identified with the double coset space ? \ G / K. In the case of the sphere and the Euclidean plane, the only possible examples are the sphere itself and tori obtained as quotients of R^{2} by discrete rank 2 subgroups. For closed surfaces of genus g >= 2, the moduli space of Riemann surfaces obtained as ? varies over all such subgroups, has real dimension 6g  6.^{[79]} By Poincaré's uniformization theorem, any orientable closed 2manifold is conformally equivalent to a surface of constant curvature 0, +1 or 1. In other words, by multiplying the metric by a positive scaling factor, the Gaussian curvature can be made to take exactly one of these values (the sign of the Euler characteristic of M).^{[80]}
In the case of the Euclidean plane, the symmetry group is the Euclidean motion group, the semidirect product of the two dimensional group of translations by the group of rotations.^{[81]} Geodesics are straight lines and the geometry is encoded in the elementary formulas of trigonometry, such as the cosine rule for a triangle with sides a, b, c and angles ?, ?, ?:
Flat tori can be obtained by taking the quotient of R^{2} by a lattice, i.e. a free Abelian subgroup of rank 2. These closed surfaces have no isometric embeddings in E^{3}. They do nevertheless admit isometric embeddings in E^{4}; in the easiest case this follows from the fact that the torus is a product of two circles and each circle can be isometrically embedded in E^{2}.^{[82]}
The isometry group of the unit sphere S^{2} in E^{3} is the orthogonal group O(3), with the rotation group SO(3) as the subgroup of isometries preserving orientation. It is the direct product of SO(3) with the antipodal map, sending x to x.^{[83]} The group SO(3) acts transitively on S^{2}. The stabilizer subgroup of the unit vector (0,0,1) can be identified with SO(2), so that S^{2} = SO(3)/SO(2).
The geodesics between two points on the sphere are the great circle arcs with these given endpoints. If the points are not antipodal, there is a unique shortest geodesic between the points. The geodesics can also be described group theoretically: each geodesic through the North pole (0,0,1) is the orbit of the subgroup of rotations about an axis through antipodal points on the equator.
A spherical triangle is a geodesic triangle on the sphere. It is defined by points A, B, C on the sphere with sides BC, CA, AB formed from great circle arcs of length less than ?. If the lengths of the sides are a, b, c and the angles between the sides ?, ?, ?, then the spherical cosine law states that
The area of the triangle is given by
Using stereographic projection from the North pole, the sphere can be identified with the extended complex plane C ? {?}. The explicit map is given by
Under this correspondence every rotation of S^{2} corresponds to a Möbius transformation in SU(2), unique up to sign.^{[84]} With respect to the coordinates (u, v) in the complex plane, the spherical metric becomes^{[85]}
The unit sphere is the unique closed orientable surface with constant curvature +1. The quotient SO(3)/O(2) can be identified with the real projective plane. It is nonorientable and can be described as the quotient of S^{2} by the antipodal map (multiplication by 1). The sphere is simply connected, while the real projective plane has fundamental group Z_{2}. The finite subgroups of SO(3), corresponding to the finite subgroups of O(2) and the symmetry groups of the platonic solids, do not act freely on S^{2}, so the corresponding quotients are not 2manifolds, just orbifolds.
NonEuclidean geometry^{[86]} was first discussed in letters of Gauss, who made extensive computations at the turn of the nineteenth century which, although privately circulated, he decided not to put into print. In 1830 Lobachevsky and independently in 1832 Bolyai, the son of one Gauss' correspondents, published synthetic versions of this new geometry, for which they were severely criticized. However it was not until 1868 that Beltrami, followed by Klein in 1871 and Poincaré in 1882, gave concrete analytic models for what Klein dubbed hyperbolic geometry. The four models of 2dimensional hyperbolic geometry that emerged were:
The first model, based on a disk, has the advantage that geodesics are actually line segments (that is, intersections of Euclidean lines with the open unit disk). The last model has the advantage that it gives a construction which is completely parallel to that of the unit sphere in 3dimensional Euclidean space. Because of their application in complex analysis and geometry, however, the models of Poincaré are the most widely used: they are interchangeable thanks to the Möbius transformations between the disk and the upper halfplane.
Let
be the Poincaré disk in the complex plane with Poincaré metric
In polar coordinates (r, ?) the metric is given by
The length of a curve ?:[a,b] > D is given by the formula
The group G = SU(1,1) given by
acts transitively by Möbius transformations on D and the stabilizer subgroup of 0 is the rotation group
The quotient group SU(1,1)/±I is the group of orientationpreserving isometries of D. Any two points z, w in D are joined by a unique geodesic, given by the portion of the circle or straight line passing through z and w and orthogonal to the boundary circle. The distance between z and w is given by
In particular d(0,r) = 2 tanh^{1}r and c(t) = tanh t is the geodesic through 0 along the real axis, parametrized by arclength.
The topology defined by this metric is equivalent to the usual Euclidean topology, although as a metric space (D,d) is complete.
A hyperbolic triangle is a geodesic triangle for this metric: any three points in D are vertices of a hyperbolic triangle. If the sides have length a, b, c with corresponding angles ?, ?, ?, then the hyperbolic cosine rule states that
The area of the hyperbolic triangle is given by^{[87]}
The unit disk and the upper halfplane
are conformally equivalent by the Möbius transformations
Under this correspondence the action of SL(2,R) by Möbius transformations on H corresponds to that of SU(1,1) on D. The metric on H becomes
Since lines or circles are preserved under Möbius transformations, geodesics are again described by lines or circles orthogonal to the real axis.
The unit disk with the Poincaré metric is the unique simply connected oriented 2dimensional Riemannian manifold with constant curvature 1. Any oriented closed surface M with this property has D as its universal covering space. Its fundamental group can be identified with a torsionfree concompact subgroup ? of SU(1,1), in such a way that
In this case ? is a finitely presented group. The generators and relations are encoded in a geodesically convex fundamental geodesic polygon in D (or H) corresponding geometrically to closed geodesics on M.
Examples.
Given an oriented closed surface M with Gaussian curvature K, the metric on M can be changed conformally by scaling it by a factor e^{2u}. The new Gaussian curvature K? is then given by
where ? is the Laplacian for the original metric. Thus to show that a given surface is conformally equivalent to a metric with constant curvature K? it suffices to solve the following variant of Liouville's equation:
When M has Euler characteristic 0, so is diffeomorphic to a torus, K? = 0, so this amounts to solving
By standard elliptic theory, this is possible because the integral of K over M is zero, by the GaussBonnet theorem.^{[88]}
When M has negative Euler characteristic, K? = 1, so the equation to be solved is:
Using the continuity of the exponential map on Sobolev space due to Neil Trudinger, this nonlinear equation can always be solved.^{[89]}
Finally in the case of the 2sphere, K? = 1 and the equation becomes:
So far this nonlinear equation has not been analysed directly, although classical results such as the RiemannRoch theorem imply that it always has a solution.^{[90]} The method of Ricci flow, developed by Richard S. Hamilton, gives another proof of existence based on nonlinear partial differential equations to prove existence.^{[91]} In fact the Ricci flow on conformal metrics on S^{2} is defined on functions u(x, t) by
After finite time, Chow showed that K? becomes positive; previous results of Hamilton could then be used to show that K? converges to +1.^{[92]} Prior to these results on Ricci flow, Osgood, Phillips & Sarnak (1988) had given an alternative and technically simpler approach to uniformization based on the flow on Riemannian metrics g defined by log det ?_{g}.
A simple proof using only elliptic operators discovered in 1988 can be found in Ding (2001). Let G be the Green's function on S^{2} satisfying ?G = 1 + 4??_{P}, where ?_{P} is the point measure at a fixed point P of S^{2}. The equation ?v = 2K  2, has a smooth solution v, because the right hand side has integral 0 by the GaussBonnet theorem. Thus ? = 2G + v satisfies ?? = 2K away from P. It follows that g_{1} = e^{?}g is a complete metric of constant curvature 0 on the complement of P, which is therefore isometric to the plane. Composing with stereographic projection, it follows that there is a smooth function u such that e^{2u}g has Gaussian curvature +1 on the complement of P. The function u automatically extends to a smooth function on the whole of S^{2}.^{[b]}
The classical approach of Gauss to the differential geometry of surfaces was the standard elementary approach^{[93]} which predated the emergence of the concepts of Riemannian manifold initiated by Bernhard Riemann in the midnineteenth century and of connection developed by Tullio LeviCivita, Élie Cartan and Hermann Weyl in the early twentieth century. The notion of connection, covariant derivative and parallel transport gave a more conceptual and uniform way of understanding curvature, which not only allowed generalisations to higher dimensional manifolds but also provided an important tool for defining new geometric invariants, called characteristic classes.^{[94]} The approach using covariant derivatives and connections is nowadays the one adopted in more advanced textbooks.^{[95]}
Connections on a surface can be defined from various equivalent but equally important points of view. The Riemannian connection or LeviCivita connection.^{[96]} is perhaps most easily understood in terms of lifting vector fields, considered as first order differential operators acting on functions on the manifold, to differential operators on the tangent bundle or frame bundle. In the case of an embedded surface, the lift to an operator on vector fields, called the covariant derivative, is very simply described in terms of orthogonal projection. Indeed, a vector field on a surface embedded in R^{3} can be regarded as a function from the surface into R^{3}. Another vector field acts as a differential operator componentwise. The resulting vector field will not be tangent to the surface, but this can be corrected taking its orthogonal projection onto the tangent space at each point of the surface. As Ricci and LeviCivita realised at the turn of the twentieth century, this process depends only on the metric and can be locally expressed in terms of the Christoffel symbols.
Parallel transport of tangent vectors along a curve in the surface was the next major advance in the subject, due to LeviCivita.^{[75]} It is related to the earlier notion of covariant derivative, because it is the monodromy of the ordinary differential equation on the curve defined by the covariant derivative with respect to the velocity vector of the curve. Parallel transport along geodesics, the "straight lines" of the surface, can also easily be described directly. A vector in the tangent plane is transported along a geodesic as the unique vector field with constant length and making a constant angle with the velocity vector of the geodesic. For a general curve, this process has to be modified using the geodesic curvature, which measures how far the curve departs from being a geodesic.^{[67]}
A vector field v(t) along a unit speed curve c(t), with geodesic curvature k_{g}(t), is said to be parallel along the curve if
This recaptures the rule for parallel transport along a geodesic or piecewise geodesic curve, because in that case k_{g} = 0, so that the angle ?(t) should remain constant on any geodesic segment. The existence of parallel transport follows because ?(t) can be computed as the integral of the geodesic curvature. Since it therefore depends continuously on the L^{2} norm of k_{g}, it follows that parallel transport for an arbitrary curve can be obtained as the limit of the parallel transport on approximating piecewise geodesic curves.^{[97]}
The connection can thus be described in terms of lifting paths in the manifold to paths in the tangent or orthonormal frame bundle, thus formalising the classical theory of the "moving frame", favoured by French authors.^{[98]} Lifts of loops about a point give rise to the holonomy group at that point. The Gaussian curvature at a point can be recovered from parallel transport around increasingly small loops at the point. Equivalently curvature can be calculated directly at an infinitesimal level in terms of Lie brackets of lifted vector fields.
The approach of Cartan and Weyl, using connection 1forms on the frame bundle of M, gives a third way to understand the Riemannian connection. They noticed that parallel transport dictates that a path in the surface be lifted to a path in the frame bundle so that its tangent vectors lie in a special subspace of codimension one in the threedimensional tangent space of the frame bundle. The projection onto this subspace is defined by a differential 1form on the orthonormal frame bundle, the connection form. This enabled the curvature properties of the surface to be encoded in differential forms on the frame bundle and formulas involving their exterior derivatives.
This approach is particularly simple for an embedded surface. Thanks to a result of Kobayashi (1956), the connection 1form on a surface embedded in Euclidean space E^{3} is just the pullback under the Gauss map of the connection 1form on S^{2}.^{[99]} Using the identification of S^{2} with the homogeneous space SO(3)/SO(2), the connection 1form is just a component of the MaurerCartan 1form on SO(3).^{[100]}
Although the characterisation of curvature involves only the local geometry of a surface, there are important global aspects such as the GaussBonnet theorem, the uniformization theorem, the von MangoldtHadamard theorem, and the embeddability theorem. There are other important aspects of the global geometry of surfaces.^{[101]} These include:
One of the most comprehensive introductory surveys of the subject, charting the historical development from before Gauss to modern times, is by Berger (2004). Accounts of the classical theory are given in Eisenhart (2004), Kreyszig (1991) and Struik (1988); the more modern copiously illustrated undergraduate textbooks by Gray, Abbena & Salamon (2006), Pressley (2001) and Wilson (2008) might be found more accessible. An accessible account of the classical theory can be found in Hilbert & CohnVossen (1952). More sophisticated graduatelevel treatments using the Riemannian connection on a surface can be found in Singer & Thorpe (1967), do Carmo (2016) and O'Neill (2006).