[Math] “Perimeter” of the sine function

functionsperiodic functions

Given a sine function with certain parameters (period, amplitude) I would like a function to calculate its "perimeter", i.e. the length of the curve itself.

Everyday application: let's say we need to line a piece of corrugated iron, of which we have its dimensions, but we would need to know the "real length" of it, taking into account its foldings.

Thanks in advance,
cl.

Best Answer

Let $y=A\sin\left(2\pi\dfrac xP\right)$.

The arc length is given by the integral

$$\int_{x_0}^{x_1}\sqrt{1+y'^2(x)}dx=\int_{x_0}^{x_1}\sqrt{1+\frac{4\pi^2A^2}{P^2}\cos^2\left(2\pi\dfrac{x}P\right)}dx.$$

The latter has no closed form with usual functions and requires the so-called elliptic integrals.

These functions are called complete or incomplete, depending on whether you cover whole periods of the sinusoid or not.


If you can tolerate an approximation, you could replace the sinusoid by arcs of hyperbolic cosine, which lead to an analytic solution.

$$y=\cosh(x)\to\int \sqrt{1+\sinh^2(x)}dx=\int\cosh(x)\,dx=\sinh(x)+C.$$

Related Question