Article 75G51 Calculating curvature

Calculating curvature

by
John
from John D. Cook on (#75G51)

Curvature is conceptually simple but usually difficult to calculate. For a level set curve f(x,y) = c, such as in the previous couple posts, the equation for curvature is

curvature_implicit.svg

Even whenf has a fairly simple expression, the expression for can be complicated.

If we define

equilateral_triangle_contours.svg

then the level set of f(x,y) = c is an equilateral triangle whenc = -4. The level sets are smoothed triangles for -4 <c < 0.

triangle_contours.png

The curvature of these level sets at any point is given by

equilateral_triangle_contours2.svg

Simplification

But there is one instance in which curvature is easy to calculate. For the graph of a functiong(x) =y, the curvature is approximately the absolute value of the second derivative ofg, provided the first derivative is small.

curvature_approx.svg

At a local maximum or local minimum ofg(x) the approximation is exact because the first derivative is zero.

Max and min curvature of smoothed triangles

This means that in the example above, we can calculate the maximum and minimum curvature of the level sets. The maximum curvature occurs in the corners and the minimum occurs in the middle of the sides. By symmetry there are three maxima and three minima, but we can take the ones corresponding tox = 0 for convenience. There we find the curvature is simply

curvature_approx2.svg

Whenx = 0, we have

curvature_approx3.svg

and so the maximum and minimum curvature are the two roots of the cubic equation fory that lie in the interval [-1, 2]. (There's another root greater than 2.)

For example, when c = -3, the roots are 0.8794, 1.3473, and 2.5321. The first root corresponds to the minimum curvature, the second to the maximum, and the third is outside our region of interest. It follows that the minimum curvature is 0.7237 and the maximum is 14.0838.

When c = -1 the minimum and maximum curvature are 2.80747 and 9.91622 respectively,

Since c = -4 corresponds to the triangle, the minimum curvature is 0 and the maximum is infinite. As c increases, the minimum and maximum curvature come together because the level set is becoming more round.

The post Calculating curvature first appeared on John D. Cook.
External Content
Source RSS or Atom Feed
Feed Location http://feeds.feedburner.com/TheEndeavour?format=xml
Feed Title John D. Cook
Feed Link https://www.johndcook.com/blog
Reply 0 comments