# What is a derivative in math

I'm nowhere near a computer with elliptic integrals handy, so I'll give the explicit evaluation of

$$\int_0^<2 \pi> \sqrt<1+\cos^2 x>\,\mathrm dx$$

Note that an entire sine wave can be cut up into four congruent arcs; we can thus consider instead the integral

$$4\int_0^<\pi/2> \sqrt<1+\cos^2 x>\,\mathrm dx$$

(alternatively, one can split the integral into four "chunks" and find that those four chunks can be made identical; I'll leave that manipulation to somebody else.)

Now, after some Pythagorean manipulation:

$$4\int_0^<\pi/2> \sqrt<1+\cos^2 x>\,\mathrm dx=4\int_0^<\pi/2> \sqrt<2-\sin^2 x>\,\mathrm dx$$

and then a bit of algebraic massage:

$$4\sqrt<2>\int_0^<\pi/2> \sqrt<1-\frac12\sin^2 x>\,\mathrm dx$$

we then recognize the complete elliptic integral of the second kind $E(m)$

$$E(m):=\int_0^<\pi/2>\sqrt<1-m\sin^2u>\mathrm du$$

(where $m$ is a parameter):

$$4\sqrt<2>E\left(\frac12\right)$$

As Robert notes in a comment, different computing environments have different argument conventions for elliptic integrals; Maple for instance uses the modulus $k$ (thus, $E(k)$) instead of the parameter $m$ as input (as used by *Mathematica* and MATLAB), but these conventions are easy to translate to and from: $m=k^2$. So, using the modulus, the answer is then $4\sqrt<2>E\left(\frac1<\sqrt 2>\right)$.

Now to address the noted equivalence for negative parameter and a parameter in the interval $(0,1)$ by Henry, there is what's called the "imaginary modulus transformations" ; the DLMF link gives the transformation for the *incomplete* case, but I'll explicitly do the complete case here for reference since it's not too

gnarly to do (all you have to remember are the symmetries of the trigonometric functions):

Letting $E(-1)=\int_0^<\pi/2>\sqrt<1+\sin^2 u>\,\mathrm du$, we then go this way:

$$\int_0^<\pi/2>\sqrt<1+\sin^2 u>\,\mathrm du=\int_<-\pi/2>^0\sqrt<1+\sin^2 u>\,\mathrm du$$

$$=\int_0^<\pi/2>\sqrt<1+\sin^2\left(u-\frac<\pi><2>\right)>\,\mathrm du=\int_0^<\pi/2> \sqrt<1+\cos^2 u>\,\mathrm du$$

from which I've shown what you're supposed to do earlier.

Computationally, the complete elliptic integral of the second kind isn't too difficult to evaluate, thanks to the arithmetic-geometric mean. Usually, this method is used for computing the complete elliptic integral of the *first* kind, but the iteration is easily hijacked to compute the integral of the second kind as well.

Here's some C(-ish) code for computing $E(m)$:

(make sure either your compiler does not (aggressively) optimize out the while (abs(v)+abs(w) != abs(v)) potion, or you'll have to use a termination criterion of the form abs(w) < tinynumber .)

Finally,

"I am also puzzled: a circle's circumference is $2\pi r$ and yet an ellipse's is an infinite series - why?"

My belief is that we are actually very lucky that the arclength function for a circle is remarkably simple compared to most other curves, the symmetry of the circle (and thus also the symmetry properties of the trigonometric functions that can parametrize it) being one factor. The reduction in symmetry in going from a circle to an ellipse means that you will have to compensate for those "perturbations", and that's where the series comes in.

Source: math.stackexchange.com

Category: Bank

## Similar articles:

PFC derivatives and chemicals on which they are based alert FactSheet