Article 6M51J Approximating a spiral by rings

Approximating a spiral by rings

by
John
from John D. Cook on (#6M51J)

An Archimedean spiral has the polar equation

r = b 1/n

This post will look at the case n = 1. I may look at more general values of n in a future post. (Update: See here.) The case n = 1 is the simplest case, and it's the case I needed for the client project that motivated this post.

In this case the spacing between points where the spiral crosses an axis is constant. Call this constanth. Then

h = 2b.

For example, when rolling up a carpet,hcorresponds to the thickness of the carpet.

Suppose runs from 0 to 2m, wrapping around the origin m times. We could approximate the spiral by m concentric circles of radius h, 2h, 3h, ..., mh. To visualize this, we're approximating the length of the red spiral on the left with that of the blue circles on the right.

archimedes_approx.png

We could approximate this further by saying we have m/2 circles whose average radius is mb. This suggests the length of the spiral should be approximately

2^2m^2b

How good is this approximation? What happens to the relative error as increases? Intuitively, each wrap around the origin is more like a circle as increases, so we'd expect the approximation to improve for large .

According to Mathworld, the exact length of the spiral is

bm (1 + (2m)^2) + barcsinh(2m) /2

When m is so large that we can ignore the 1 in (1 + (2m)^2) then the first term is the same as the circle approximation, and all that's left is the arcsinh term, which is on the order of log m because

arcsinh(x) = log(x + (1 + x^2)1/2).

So for large m, the arc length is on the order of m^2 while the error is on the order of log m. This means the relative error is O( log(m) / m^2 ). [1]

We've assumed m was an integer because that makes it easier to visual approximating the spiral by circles, but that assumption is not necessary. We could restate the problem in terms of the final value of . Say runs from 0 to T. Then we could solve

T = 2m

for m and say that the approximate arc length is

bT^2

and the exact length is

bT(1 + T^2)1/2 + b arcsinh(T).

The relative approximation error is O( log(T) / T^2 ).

Here's a plot of the error as a function of T assuming b = 1.

archimedes_approx_error.png

Related posts

[1] The error in approximating (1 + (2m)^2) with 2m is on the order of 1/(4m) and so is smaller than the logarithmic term.

The post Approximating a spiral by rings 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