A surface is orientable iff a continuous choice of unit normal vector can be made over the entire surface.
Two-sided surfaces are orientable. One-sided surfaces are non-orientable.
If σ is smooth and orientable with unit normal n^ at each point, the direction of n^ can be chosen so that n^=n^(x,y,z) varies continuously over the surface. Such a choice of unit normal field is an orientation of σ.
Orientation of a Smooth Parametric Surface
Let σ be a smooth parametric surface given by r(u,v)=x(u,v)i^+y(u,v)j^+z(u,v)k^. If
N(u,v)=∂u∂r×∂v∂r=0
then
n^=∥N(u,v)∥N(u,v)=∂u∂r×∂v∂r∂u∂r×∂v∂r
defines one orientation of σ. The opposite orientation is −n^.
Orientation of Non-Parametric Surfaces
Surfaces of the form z=g(x,y), y=g(x,z), x=g(y,z) can be parametrized using their independent variables as parameters:
r(x,y)=xi^+yj^+g(x,y)k^, for z=g(x,y)
r(x,z)=xi^+g(x,z)j^+zk^, for y=g(x,z)
r(y,z)=g(y,z)i^+yj^+zk^, for x=g(y,z)
Each can be written as a level surface G(x,y,z)=0 by moving all terms to one side. The vector
n^=∥∇G∥∇G
is a unit normal vector to the surface, whenever ∇G=0.