Given a curve or surface, its curvatureκ
describes how sharply it is bending at a given point.
It is defined as the inverse of the radius of curvatureR,
which is the radius of the tangent circle
that osculates (i.e. best approximates)
the curve/surface at that point:
κ=R1
Typically, κ is positive for convex curves/surfaces,
and negative for concave ones, although this distinction is somewhat arbitrary.
Below, we calculate the curvature in several general cases.
2D height functions
We start with a specialized case: height functions,
where one coordinate is a function of the other one (2D) or two (3D).
In this case, we can use the
calculus of variations
to find the curvature.
This approach relies on the fact that a circle
has the highest area-perimeter ratio of any 2D shape,
and a sphere has the highest volume-surface ratio of any 3D body.
By the definition of curvature, these shapes have constant κ.
We will thus minimize the perimeter/surface while keeping the area/volume fixed,
which will give us a shape with constant curvature,
and from that we can extrapolate an expression for κ.
In 2D, for a single-variable height function h(x),
the length of a small segment of the curve is:
dx2+dh2=dx(dxdx)2+(dxdh)2=dx1+hx2
Which leads us to define the following Lagrangian L
describing the “energy cost” of the curve:
L=1+hx2
Furthermore,
we demand that the area under the curve (i.e. the “volume”) is constant:
V=∫x0x1h(x)dx
By putting these things together,
we arrive at the following energy functional E[h],
where κ is an ominously-named Lagrange multiplier:
E[h]=∫(L+κh)dx
Minimizing this functional leads to the following
Lagrange equation of the first kind:
0=∂h∂L−dxd(∂hx∂L)+κ
We evaluate the terms of this equation
to arrive at an expression for the curvature κ:
κ=(1+hx2)3/2hxx
In this optimization problem, κ is a constant,
but in fact the statement above is valid for variable curvatures too,
in which case κ is a function of x.
2D in general
We can parametrically describe an arbitrary plane curve
as a function of the arc length s:
(x(s),y(s))whereds2=dx2+dy2
If we choose the horizontal x-axis as a reference,
we can furthermore define the elevation angleθ(s)
as the angle between the reference and the curve’s tangent vector t^:
t^=(xs(s),ys(s))=(cosθ(s),sinθ(s))
Where xs(s)=dx/ds.
The curvature κ is defined as
the s-derivative of this elevation angle:
κ=dsdθ=θs(s)
We have two ways of writing t^:
using the derivatives xs and ys,
or the elevation angle θ.
Now, let us take the s-derivative of both expressions,
and equate them:
We multiply these equation by ys and xs, respectively,
and subtract the first from the last:
yssxs−xssys=κxs2+κys2
Isolating this for κ and using the fact that xs2+ys2=1
thanks to s being the arc length:
κ=xs2+ys2yssxs−xssys=yssxs−xssys
While this result is correct,
we would like to generalize it to cases where the curve
is parametrized by some other t, not necessarily the arc length.
Let prime denote the t-derivative:
Since xs2+ys2=1, we know that (x′)2+(y′)2=1/ts2,
which leads us to the following general expression for
the curvature κ of a plane curve:
κ=((x′)2+(y′)2)3/2y′′x′−x′′y′
If the curve happens to be a height function, i.e. y(x),
then x′=1 and x′′=0, and we arrive at our previous result again.
3D height functions
The generalization to a 3D height function h(x,y) is straightforward:
the cost of an infinitesimal portion of the surface is as follows,
using the same reasoning as before:
L=1+hx2+hy2
Keeping the volume V constant,
we get the following energy functional E to minimize:
E[h]=∬(L+λh)dxdy
Which gives us an Euler-Lagrange equation
involving the Lagrange multiplier λ:
0=∂h∂L−dxd(∂hx∂L)−dyd(∂hy∂L)+λ
Inserting L into this and evaluating all the derivatives
yields a result for the (variable) curvature:
What are κ1 and κ2?
Well, the problem in 3D is that the curvature of an osculating circle
depends on the orientation of that circle.
The principal curvaturesκ1 and κ2
are the largest and smallest curvatures at a given point,
but finding their values and the corresponding principal directions is not so easy.
Fortunately, in practice, we are often only interested in their sum:
λ=κ1+κ2=R11+R21
These principal radiiR1 and R2 are important
for e.g. the Young-Laplace law.
3D in general
To find a general expression for the mean curvature of an arbitrary surface,
we “cut off” a small part of the surface that we can regard as a height function.
We call the “cutting” reference plane (x,y),
and the surface it describes h(x,y).
We then define the unit tangent vectors t^x and t^y
to be parallel to the x-axis and y-axis, respectively:
t^x=1+(hx)2110hxt^y=1+(hy)2101hy
Since they were chosen to lie along the axes,
these vectors are not necessarily orthogonal,
so we need to normalize the resulting normal vector n^:
n^=t^x×t^y=1+(hx)2+(hy)21−hx−hy1
Let us take a look at the divergence of n^,
or to be precise, its projection onto the reference plane
(although this distinction is not really important for our purposes):
The similarity is clearly visible.
This leads us to the following general expression:
κ1+κ2=−∇⋅n^
A useful property is that
the principal directions of curvature are always orthogonal.
To show this, consider the most general second-order approximating surface,
in polar coordinates:
Sufficiently close to the extremum, where hx and hy are negligible,
the curvature along a certain direction φ is given by
our earlier formula for a 2D height function:
κ(φ)≈∂r2∂2h=acos2φ+bsin2φ+csin(2φ)
To find the extremes of κ,
we differentiate with respect to φ and demand that it is zero:
After rearranging this a bit, we arrive at the following transcendental equation:
a−b2c=cos(2φ)sin(2φ)=tan(2φ)
Since the tan function is π-periodic,
this has two solutions, φ0 and φ0+π/2,
which are clearly orthogonal,
hence the principal directions are at an angle of π/2.
Finally, it is also worth mentioning that
the principal directions always lie in planes
containing the normal of the surface.
References
T. Bohr,
Curvature of plane curves and surfaces,
2020, unpublished.
B. Lautrup,
Physics of continuous matter: exotic and everyday phenomena in the macroscopic world, 2nd edition,
CRC Press.