Arc Length
If the curve is a polygon, we can easily find its length; we just add the lengths of the line segments that form the polygon. (We can use the distance formula to find the distance between the endpoints of each segment.)
However, in general it can be very diffcult to find length of some curve. We use the same approach as with areas and volumes. We are going to define the length of a general curve by first approximating it by a polygon and then taking a limit as the number of segments of the polygon is increased.
Suppose that a curve C is described by the parametric equations x=f(t), y=g(t), $$${a}\le{t}\le{b}$$$.
Let's assume that C is smooth in the sense that the derivatives f'(t) and g'(t) are continuous and not simultaneously zero for a<t<b. (This ensures that C has no sudden change in direction.) We divide the parameter interval into n subintervals of equal width $$$\Delta{t}$$$. If $$${t}_{{0}}$$$, $$${t}_{{1}}$$$,$$${t}_{{2}}$$$, . . . , $$${t}_{{n}}$$$ are the endpoints of these subintervals, then $$${x}_{{i}}={f{{\left({t}_{{i}}\right)}}}$$$ and $$${y}_{{i}}={g{{\left({t}_{{i}}\right)}}}$$$ are the coordinates of points $$${P}_{{i}}={\left({x}_{{i}},{y}_{{i}}\right)}$$$ that lie on C and the polygon with vertices $$${P}_{{0}}$$$,$$${P}_{{1}}$$$, . . . , $$${P}_{{n}}$$$ approximates C. The length L of C is approximately the length of this polygon and the approximation gets better as we let n increase. Therefore, we define the length of curve C to be the limit of the lengths of these inscribed polygons: $$${L}=\lim_{{{n}\to\infty}}{\sum_{{{i}={1}}}^{{n}}}{\left|{P}_{{{i}-{1}}}{P}_{{i}}\right|}$$$.
We need a more convenient expression for L. Let $$$\Delta{x}_{{i}}={x}_{{i}}-{x}_{{{i}-{1}}}$$$ and $$$\Delta{y}_{{i}}={y}_{{i}}-{y}_{{{i}-{1}}}$$$ then the length of the i-th line segment of the polygon is $$${\left|{P}_{{{i}-{1}}}{P}_{{i}}\right|}=\sqrt{{{{\left(\Delta{x}_{{i}}\right)}}^{{2}}+{{\left(\Delta{y}_{{i}}\right)}}^{{2}}}}$$$.
But by the definition of derivative $$${f{'}}{\left({t}_{{i}}\right)}\approx\frac{{\Delta{x}_{{i}}}}{{\Delta{t}}}$$$ and $$${g{'}}{\left({t}_{{i}}\right)}\approx\frac{{\Delta{y}_{{i}}}}{{\Delta{t}}}$$$ if $$$\Delta{t}$$$ is small. Therefore, $$$\Delta{x}_{{i}}\approx{f{'}}{\left({t}_{{i}}\right)}\Delta{t}$$$ and $$$\Delta{y}_{{i}}\approx{g{'}}{\left({t}_{{i}}\right)}\Delta{t}$$$.
Thus, we have that $$${\left|{P}_{{{i}-{1}}}{P}_{{i}}\right|}=\sqrt{{{{\left({f{'}}{\left({t}_{{i}}\right)}\Delta{t}\right)}}^{{2}}+{{\left({g{'}}{\left({t}_{{i}}\right)}\Delta{t}\right)}}^{{2}}}}=\sqrt{{{{\left({f{'}}{\left({t}_{{i}}\right)}\right)}}^{{2}}+{{\left({g{'}}{\left({t}_{{i}}\right)}\right)}}^{{2}}}}\Delta{t}$$$.
So, $$${L}=\lim_{{{n}\to\infty}}\sqrt{{{{\left({f{'}}{\left({t}_{{i}}\right)}\right)}}^{{2}}+{{\left({g{'}}{\left({t}_{{i}}\right)}\right)}}^{{2}}}}\Delta{t}$$$.
We recognize in this expression limit of Riemann sum, therefore we have
Arc Length Formula. If a smooth curve with parametric equations x=f(t), y=g(t), $$${a}\le{t}\le{b}$$$, is traversed exactly once as t increases from a to b, then its length is $$${L}={\int_{{a}}^{{b}}}\sqrt{{{f{'}}{\left({t}\right)}+{g{'}}{\left({t}\right)}}}{d}{t}$$$.
Note, that this formula is correct, provided that we rule out situations where a portion of the curve is traced out more than once.
In case when function is given as y=f(x), $$${a}\le{x}\le{b}$$$ then we can regard x as parameter, therefore parametric equations are x=x and y=f(x), so $$${L}={\int_{{a}}^{{b}}}\sqrt{{{1}+{{\left({f{'}}{\left({x}\right)}\right)}}^{{2}}}}{d}{x}$$$.
In case when function is given as x=f(y), $$${a}\le{y}\le{b}$$$ then we can regard y as parameter, therefore parametric equations are x=f(y) and y=y, so $$${L}={\int_{{a}}^{{b}}}\sqrt{{{1}+{{\left({f{'}}{\left({y}\right)}\right)}}^{{2}}}}{d}{y}$$$.
Because of the presence of the root sign, the calculation of an arc length often leads to an integral that is very difficult or even impossible to evaluate explicitly. In this case we need to use numerical integration.
Example 1. Find length of curve $$${x}={{e}}^{{t}}{\cos{{\left({t}\right)}}}$$$, $$${y}={{e}}^{{t}}{\sin{{\left({t}\right)}}}$$$ where $$${0}\le{t}\le\pi$$$.
Using Product Rule we have that $$$\frac{{{d}{x}}}{{{d}{t}}}={\left({{e}}^{{t}}\right)}'{\cos{{\left({t}\right)}}}+{{e}}^{{t}}{\left({\cos{{\left({t}\right)}}}\right)}'={{e}}^{{t}}{\left({\cos{{\left({t}\right)}}}-{\sin{{\left({t}\right)}}}\right)}$$$ and $$$\frac{{{d}{y}}}{{{d}{t}}}={\left({{e}}^{{t}}\right)}'{\sin{{\left({t}\right)}}}+{{e}}^{{t}}{\left({\sin{{\left({t}\right)}}}\right)}'={{e}}^{{t}}{\left({\cos{{\left({t}\right)}}}+{\sin{{\left({t}\right)}}}\right)}$$$.
Therefore, $$${L}={\int_{{0}}^{\pi}}\sqrt{{{{\left({{e}}^{{t}}{\left({\cos{{\left({t}\right)}}}-{\sin{{\left({t}\right)}}}\right)}\right)}}^{{2}}+{{\left({{e}}^{{t}}{\left({\cos{{\left({t}\right)}}}+{\sin{{\left({t}\right)}}}\right)}\right)}}^{{2}}}}{d}{t}=$$$
$$$={\int_{{0}}^{\pi}}{{e}}^{{t}}\sqrt{{{{\cos}}^{{2}}{\left({t}\right)}+{{\sin}}^{{2}}{\left({t}\right)}-{2}{\sin{{\left({t}\right)}}}{\cos{{\left({t}\right)}}}+{{\sin}}^{{2}}{\left({t}\right)}+{{\cos}}^{{2}}{\left({t}\right)}+{2}{\sin{{\left({t}\right)}}}{\cos{{\left({t}\right)}}}}}{d}{t}=$$$
$$$=\sqrt{{{2}}}{\int_{{0}}^{\pi}}{{e}}^{{t}}{d}{t}=\sqrt{{{2}}}{{e}}^{{t}}{{\mid}_{{0}}^{\pi}}=\sqrt{{{2}}}{\left({{e}}^{\pi}-{1}\right)}$$$.
Example 2. Find length of curve y=sin(x), $$${0}\le{x}\le\pi$$$.
Since $$${y}'={\cos{{\left({x}\right)}}}$$$ then $$${L}={\int_{{0}}^{\pi}}\sqrt{{{1}+{{\cos}}^{{2}}{\left({x}\right)}}}{d}{x}$$$. We can find exact value of this integral, thus, we need to use numeric integration. Let's use Simpson's Rule with n=10.
$$$\Delta{x}=\frac{{\pi-{0}}}{{10}}=\frac{\pi}{{10}}$$$ and $$${f{{\left({x}\right)}}}=\sqrt{{{1}+{{\cos}}^{{2}}{\left({x}\right)}}}$$$.
$$${L}\approx\frac{{\Delta{x}}}{{3}}{\left({f{{\left({0}\right)}}}+{4}{f{{\left(\frac{\pi}{{10}}\right)}}}+{2}{f{{\left(\frac{{{2}\pi}}{{10}}\right)}}}+{4}{f{{\left(\frac{{{3}\pi}}{{10}}\right)}}}+{2}{f{{\left(\frac{{{4}\pi}}{{10}}\right)}}}+{4}{f{{\left(\frac{{{5}\pi}}{{10}}\right)}}}+{2}{f{{\left(\frac{{{6}\pi}}{{10}}\right)}}}\right)}+$$$
$$$+\frac{{\Delta{x}}}{{3}}{\left({4}{f{{\left(\frac{{{7}\pi}}{{10}}\right)}}}+{2}{f{{\left(\frac{{{8}\pi}}{{10}}\right)}}}+{4}{f{{\left(\frac{{{9}\pi}}{{10}}\right)}}}+{f{{\left(\pi\right)}}}\right)}\approx{3.8202}$$$.
Example 3. Find length of curve $$${x}={{y}}^{{\frac{{3}}{{2}}}}$$$, $$${0}\le{y}\le{1}$$$.
Since $$${x}'=\frac{{3}}{{2}}\sqrt{{{y}}}$$$ then $$${L}={\int_{{0}}^{{1}}}\sqrt{{{1}+{{\left(\frac{{3}}{{2}}\sqrt{{{y}}}\right)}}^{{2}}}}{d}{y}={\int_{{0}}^{{1}}}\sqrt{{{1}+\frac{{9}}{{4}}{y}}}{d}{y}=\frac{{1}}{{2}}{\int_{{0}}^{{1}}}\sqrt{{{4}+{9}{y}}}{d}{y}=$$$
$$$=\frac{{1}}{{2}}\cdot\frac{{2}}{{27}}{{\left({9}{y}+{4}\right)}}^{{\frac{{3}}{{2}}}}{{\mid}_{{0}}^{{1}}}=\frac{{1}}{{27}}{\left({{13}}^{{\frac{{3}}{{2}}}}-{8}\right)}$$$.
Example 4. Find the length of one arch of cycloid, $$${x}={r}{\left(\theta-{\sin{{\left(\theta\right)}}}\right)}$$$, $$${y}={r}{\left({1}-{\cos{{\left(\theta\right)}}}\right)}$$$.
One arch of cycloid is described by the parameter interval $$${0}\le\theta\le{2}\pi$$$.
Since $$$\frac{{{d}{x}}}{{{d}\theta}}={r}{\left({1}-{\cos{{\left(\theta\right)}}}\right)}$$$ and $$$\frac{{{d}{y}}}{{{d}\theta}}={r}{\sin{{\left(\theta\right)}}}$$$ then
$$${L}={\int_{{0}}^{{{2}\pi}}}\sqrt{{{{\left({r}{\left({1}-{\cos{{\left(\theta\right)}}}\right)}\right)}}^{{2}}+{{\left({r}{\sin{{\left(\theta\right)}}}\right)}}^{{2}}}}{d}\theta={r}{\int_{{0}}^{{{2}\pi}}}\sqrt{{{1}-{2}{\cos{{\left(\theta\right)}}}+{{\cos}}^{{2}}{\left(\theta\right)}+{{\sin}}^{{2}}{\left(\theta\right)}}}{d}\theta=$$$
$$$=\sqrt{{{2}}}{r}{\int_{{0}}^{{{2}\pi}}}\sqrt{{{1}-{\cos{{\left(\theta\right)}}}}}{d}\theta$$$.
Now we need to use double angle formula $$${1}-{\cos{{\left(\theta\right)}}}={2}{{\sin}}^{{2}}{\left(\frac{\theta}{{2}}\right)}$$$.
Now integral can be rewritten as $$${2}{r}{\int_{{0}}^{{{2}\pi}}}{\left|{\sin{{\left(\frac{\theta}{{2}}\right)}}}\right|}{d}\theta$$$.
Since $$${\sin{{\left(\frac{\theta}{{2}}\right)}}}$$$ is positive on $$${\left[{0},{2}\pi\right]}$$$ then we can drop absolute value bars and now we have following integral:
$$${2}{r}{\int_{{0}}^{{{2}\pi}}}{\sin{{\left(\frac{\theta}{{2}}\right)}}}{d}\theta=-{4}{r}{{\cos{{\left(\frac{\theta}{{2}}\right)}}}_{{0}}^{{{2}\pi}}}=-{4}{r}{\left({\cos{{\left(\pi\right)}}}-{\cos{{\left({0}\right)}}}\right)}=$$$
$$$=-{4}{r}{\left(-{1}-{1}\right)}={8}{r}$$$.
This result says that the length of one arch of a cycloid is eight times the radius of the generating circle.