User:Jrheller1/sandbox2

From Wikipedia, the free encyclopedia
Quarter circle

If a planar curve in is defined by the equation where f is continuously differentiable, then it is simply a special case of a parametric equation where and and the arc length is given by:

In most cases, including even simple curves, there are no closed-form solutions for arc length and numerical integration is necessary. Curves with closed-form solutions for arc length include the catenary, circle, cycloid, logarithmic spiral, parabola, semicubical parabola and straight line. The lack of a closed form solution for the arc length of an elliptic arc led to the development of the elliptic integrals.

Numerical integration of the arc length integral is usually very efficient. For example, consider the problem of finding the length of a quarter of the unit circle by numerically integrating the arc length integral. The upper half of the unit circle can be parameterized as The interval corresponds to a quarter of the circle. Since and the length of a quarter of the unit circle is

The 15 point Gauss-Kronrod rule estimate for this integral of 1.570796326808177 differs from the true length of by 1.3e-11 and the 16 point Gaussian quadrature rule estimate of 1.570796326794727 differs from the true length by only 1.7e-13. This means it is possible to evaluate this integral to almost machine precision with only 16 integrand evaluations.