Surface (mathematics)
In mathematics, a surface is a mathematical model of the common concept of a surface. It is a generalization of a plane, but, unlike a plane, it may be curved; this is analogous to a curve generalizing a straight line. 

There are several more precise definitions, depending on the context and the mathematical tools that are used for the study. The simplest mathematical surfaces are planes and spheres in the Euclidean 3-space. The exact definition of a surface may depend on the context. Typically, in algebraic geometry, a surface may cross itself (and may have other singularities), while, in topology and differential geometry, it may not.

A surface is a topological space of dimension two; this means that a moving point on a surface may move in two directions (it has two degrees of freedom). In other words, around almost every point, there is a coordinate patch on which a two-dimensional coordinate system is defined. For example, the surface of the Earth resembles (ideally) a two-dimensional sphere, and latitude and longitude provide two-dimensional coordinates on it (except at the poles and along the 180th meridian).

Definitions
Often, a surface is defined by equations that are satisfied by the coordinates of its points. This is the case of the graph of a continuous function of two variables. The set of the zeros of a function of three variables is a surface, which is called an implicit surface. If the defining three-variate function is a polynomial, the surface is an algebraic surface. For example, the unit sphere is an algebraic surface, as it may be defined by the implicit equation

A surface may also be defined as the image, in some space of dimension at least 3, of a continuous function of two variables (some further conditions are required to insure that the image is not a curve). In this case, one says that one has a parametric surface, which is parametrized by these two variables, called parameters. For example, the unit sphere may be parametrized by the Euler angles, also called longitude  and latitude  by 

Parametric equations of surfaces are often irregular at some points. For example, all but two points of the unit sphere, are the image, by the above parametrization, of exactly one pair of Euler angles (modulo ). For the remaining two points (the north and south poles), one has , and the longitude  may take any values. Also, there are surfaces for which there cannot exist a single parametrization that covers the whole surface. Therefore, one often considers surfaces which are parametrized by several parametric equations, whose images cover the surface. This is formalized by the concept of manifold: in the context of manifolds, typically in topology and differential geometry, a surface is a manifold of dimension two; this means that a surface is a topological space such that every point has a neighborhood which is homeomorphic to an open subset of the Euclidean plane (see Surface (topology) and Surface (differential geometry)). This allows defining surfaces in spaces of dimension higher than three, and even abstract surfaces, which are not contained in any other space. On the other hand, this excludes surfaces that have singularities, such as the vertex of a conical surface or points where a surface crosses itself.

In classical geometry, a surface is generally defined as a locus of a point or a line. For example, a sphere is the locus of a point which is at a given distance of a fixed point, called the center; a conical surface is the locus of a line passing through a fixed point and crossing a curve; a surface of revolution is the locus of a curve rotating around a line. A ruled surface is the locus of a moving line satisfying some constraints; in modern terminology, a ruled surface is a surface, which is a union of lines.

Terminology
There are several kinds of surfaces that are considered in mathematics. An unambiguous terminology is thus necessary to distinguish them when needed. A topological surface is a surface that is a manifold of dimension two (see ). A differentiable surface is a surfaces that is a differentiable manifold (see ). Every differentiable surface is a topological surface, but the converse is false.

A "surface" is often implicitly supposed to be contained in a Euclidean space of dimension 3, typically . A surface that is contained in a projective space is called a projective surface (see ). A surface that is not supposed to be included in another space is called an abstract surface.

Examples
 The graph of a continuous function of two variables, defined over a connected open subset of  is a topological surface. If the function is differentiable, the graph is a differentiable surface.
 A plane is both an algebraic surface and a differentiable surface. It is also a ruled surface and a surface of revolution.
 A circular cylinder (that is, the locus of a line crossing a circle and parallel to a given direction) is an algebraic surface and a differentiable surface.
 A circular cone (locus of a line crossing a circle, and passing through a fixed point, the apex, which is outside the plane of the circle) is an algebraic surface which is not a differentiable surface. If one removes the apex, the remainder of the cone is the union of two differentiable surfaces. 
 The surface of a polyhedron is a topological surface, which is neither a differentiable surface nor an algebraic surface.
 A hyperbolic paraboloid (the graph of the function ) is a differentiable surface and an algebraic surface. It is also a ruled surface, and, for this reason, is often used in architecture.
 A two-sheet hyperboloid is an algebraic surface and the union of two non-intersecting differentiable surfaces.

Parametric surface

A parametric surface is the image of an open subset of the Euclidean plane (typically ) by a continuous function, in a topological space, generally a Euclidean space of dimension at least three. Usually the function is supposed to be continuously differentiable, and this will be always the case in this article.

Specifically, a parametric surface in  is given by three functions of two variables  and , called parameters

As the image of such a function may be a curve (for example, if the three functions are constant with respect to ), a further condition is required, generally that, for almost all values of the parameters, the Jacobian matrix 

has rank two. Here "almost all" means that the values of the parameters where the rank is two contain a dense open subset of the range of the parametrization. For surfaces in a space of higher dimension, the condition is the same, except for the number of columns of the Jacobian matrix.

Tangent plane and normal vector
A point  where the above Jacobian matrix has rank two is called regular, or, more properly, the parametrization is called regular at .

The tangent plane at a regular point  is the unique plane passing through  and having a direction parallel to the two row vectors of the Jacobian matrix. The tangent plane is an affine concept, because its definition is independent of the choice of a metric. In other words, any affine transformation maps the tangent plane to the surface at a point to the tangent plane to the image of the surface at the image of the point.

The normal line at a point of a surface is the unique line passing through the point and perpendicular to the tangent plane; the normal vector is a vector which is parallel to the normal.

For other differential invariants of surfaces, in the neighborhood of a point, see Differential geometry of surfaces.

Irregular point and singular point
A point of a parametric surface which is not regular is irregular. There are several kinds of irregular points.

It may occur that an irregular point becomes regular, if one changes the parametrization. This is the case of the poles in the parametrization of the unit sphere by Euler angles: it suffices to permute the role of the different coordinate axes for changing the poles.

On the other hand, consider the circular cone of parametric equation

The apex of the cone is the origin , and is obtained for . It is an irregular point that remains irregular, whichever parametrization is chosen (otherwise, there would exist a unique tangent plane). Such an irregular point, where the tangent plane is undefined, is said singular.

There is another kind of singular points. There are the self-crossing points, that is the points where the surface crosses itself. In other words, these are the points which are obtained for (at least) two different values of the parameters.

Graph of a bivariate function

Let  be a function of two real variables. This is a parametric surface, parametrized as 

Every point of this surface is regular, as the two first columns of the Jacobian matrix form the identity matrix of rank two.

Rational surface

A rational surface is a surface that may be parametrized by rational functions of two variables. That is, if  are, for , polynomials in two indeterminates, then the parametric surface, defined by 

is a rational surface.

A rational surface is an algebraic surface, but most algebraic surfaces are not rational.

Implicit surface

An implicit surface in a Euclidean space (or, more generally, in an affine space) of dimension 3 is the set of the common zeros of a differentiable function of three variables

Implicit means that the equation defines implicitly one of the variables as a function of the other variables. This is made more exact by the implicit function theorem: if , and the partial derivative in  of  is not zero at , then there exists a differentiable function  such that

in a neighbourhood of . In other words, the implicit surface is the graph of a function near a point of the surface where the partial derivative in  is nonzero. An implicit surface has thus, locally, a parametric representation, except at the points of the surface where the three partial derivatives are zero.

Regular points and tangent plane
A point of the surface where at least one partial derivative of  is nonzero is called regular. At such a point , the tangent plane and the direction of the normal are well defined, and may be deduced, with the implicit function theorem from the definition given above, in . The direction of the normal is the gradient, that is the vector

The tangent plane is defined by its implicit equation

Singular point
A singular point of an implicit surface (in ) is a point of the surface where the implicit equation holds and the three partial derivatives of its defining function are all zero. Therefore, the singular points are the solutions of a system of four equations in three indeterminates. As most such systems have no solution, many surfaces do not have any singular point. A surface with no singular point is called regular or non-singular.

The study of surfaces near their singular points and the classification of the singular points is singularity theory. A singular point is isolated if there is no other singular point in a neighborhood of it. Otherwise, the singular points may form a curve. This is in particular the case for self-crossing surfaces.

Algebraic surface

Originally, an algebraic surface was a surface which may be defined by an implicit equation

where  is a polynomial in three indeterminates, with real coefficients.

The concept has been extended in several directions, by defining surfaces over arbitrary fields, and by considering surfaces in spaces of arbitrary dimension or in projective spaces. Abstract algebraic surfaces, which are not explicitly embedded in another space, are also considered.

Surfaces over arbitrary fields
Polynomials with coefficients in any field are accepted for defining an algebraic surface. 
However, the field of coefficients of a polynomial is not well defined, as, for example, a polynomial with rational coefficients may also be considered as a polynomial with real or complex coefficients. Therefore, the concept of point of the surface has been generalized in the following way.

Given a polynomial , let  be the smallest field containing the coefficients, and  be an algebraically closed extension of , of infinite transcendence degree. Then a point of the surface is an element of  which is a solution of the equation

If the polynomial has real coefficients, the field  is the complex field, and a point of the surface that belongs to  (a usual point) is called a real point. A point that belongs to  is called rational over , or simply a rational point, if  is the field of rational numbers.

Projective surface
A projective surface in a projective space of dimension three is the set of points whose homogeneous coordinates are zeros of a single homogeneous polynomial in four variables. More generally, a projective surface is a subset of a projective space, which is a projective variety of dimension two.

Projective surfaces are strongly related to affine surfaces (that is, ordinary algebraic surfaces). One passes from a projective surface to the corresponding affine surface by setting to one some coordinate or indeterminate of the defining polynomials (usually the last one). Conversely, one passes from an affine surface to its associated projective surface (called projective completion) by homogenizing the defining polynomial (in case of surfaces in a space of dimension three), or by homogenizing all polynomials of the defining ideal (for surfaces in a space of higher dimension).

In higher dimensional spaces
One cannot define the concept of an algebraic surface in a space of dimension higher than three without a general definition of an algebraic variety and of the dimension of an algebraic variety. In fact, an algebraic surface is an algebraic variety of dimension two.

More precisely, an algebraic surface in a space of dimension  is the set of the common zeros of at least  polynomials, but these polynomials must satisfy further conditions that may be not immediate to verify. Firstly, the polynomials must not define a variety or an algebraic set of higher dimension, which is typically the case if one of the polynomials is in the ideal generated by the others. Generally,  polynomials define an algebraic set of dimension two or higher. If the dimension is two, the algebraic set may have several irreducible components. If there is only one component the  polynomials define a surface, which is a complete intersection. If there are several components, then one needs further polynomials for selecting a specific component.

Most authors consider as an algebraic surface only algebraic varieties of dimension two, but some also consider as surfaces all algebraic sets whose irreducible components have the dimension two.

In the case of surfaces in a space of dimension three, every surface is a complete intersection, and a surface is defined by a single polynomial, which is irreducible or not, depending on whether non-irreducible algebraic sets of dimension two are considered as surfaces or not.

Topological surface

In topology, a surface is generally defined as a manifold of dimension two. This means that a topological surface is a topological space such that every point has a neighborhood that is homeomorphic to an open subset of a Euclidean plane.

Every topological surface is homeomorphic to a polyhedral surface such that all facets are triangles. The combinatorial study of such arrangements of triangles (or, more generally, of higher-dimensional simplexes) is the starting object of algebraic topology. This allows the characterization of the properties of surfaces in terms of purely algebraic invariants, such as the genus and homology groups.

The homeomorphism classes of surfaces have been completely described (see Surface (topology)).

Differentiable surface

Fractal surface

In computer graphics

See also
 Area element, the area of a differential element of a surface
 Coordinate surfaces
 Hypersurface
 Perimeter, a two-dimensional equivalent
 Polyhedral surface
 Shape
 Signed distance function
 Solid figure
 Surface area
 Surface patch
 Surface integral

Notes

Geometry
Topology
 
Broad-concept articles