Length of a Curve

Formulas, Derivations, Worked Examples with Collapsible Solutions, and References

Formula of Length of a Curve

For a function \( f \) that is continuous and differentiable on the interval \( [a, b] \), the length of the curve \( y = f(x) \) from \( a \) to \( b \) is given by [1] [2] [3]:

\[ L = \int_{a}^{b} \sqrt{1 + \left( \dfrac{df}{dx} \right)^2} \, dx \]
Arc Length
Fig.1 - Length of a Curve From the Point \( (a, f(a)) \) to the Point \( (b, f(b)) \)

Examples and Solutions

Click on each example to view its detailed step-by-step solution.

Example 1: Find the length of the arc of the parabola \( y = 0.1x^2 + 2 \) between the points \( (-15, 24.5) \) and \( (10, 12) \).
Arc Length of a Parabola
Fig.2 - Arc Length of a Parabola

Solution to Example 1:

We first calculate the derivative:

\[ \dfrac{dy}{dx} = 0.2x \]

Use the formula for the arc length:

\[ L = \int_{-15}^{10} \sqrt{1 + (0.2x)^2} \, dx \]

Use trigonometric substitution \( \tan u = 0.2x \). Taking the derivative of both sides gives:

\[ \sec^2 u \, du = 0.2 \, dx \implies dx = 5\sec^2 u \, du \]

Solving \( \tan u = 0.2x \) for \( u \) gives \( u = \arctan(0.2x) \). The limits of integration after substitution are:

  • \( u_1 = \arctan(0.2(-15)) = \arctan(-3) \approx -1.24904 \) (when \( x = -15 \))
  • \( u_2 = \arctan(0.2(10)) = \arctan(2) \approx 1.10714 \) (when \( x = 10 \))

Substituting into the integral:

\[ L = 5 \int_{-1.24904}^{1.10714} \sqrt{1 + \tan^2 u} \sec^2 u \, du \]

Using the identity \( \sqrt{1 + \tan^2 u} = |\sec u| \):

\[ L = 5 \int_{-1.24904}^{1.10714} |\sec u| \sec^2 u \, du \]

Since \( \sec u > 0 \) on the interval \( [-1.24904, 1.10714] \), \( |\sec u| = \sec u \), yielding:

\[ L = 5 \int_{-1.24904}^{1.10714} \sec^3 u \, du \]

Using the integral of \( \sec^3 u \):

\[ L = \left[ \dfrac{5}{2} \left( \sec u \tan u + \ln|\sec u + \tan u| \right) \right]_{-1.24904}^{1.10714} \approx 43.05 \]
Example 2: Find the length of the arc along the curve \( f(x) = \ln(\sin x) \) between the points \( \left(\dfrac{\pi}{4}, f\left(\dfrac{\pi}{4}\right)\right) \) and \( \left(\dfrac{\pi}{2}, f\left(\dfrac{\pi}{2}\right)\right) \).
Arc Length Along the Curve y = ln(sin(x))
Fig.3 - Arc Length Along the Curve \( y = \ln(\sin x) \)

Solution to Example 2:

Calculate the derivative:

\[ \dfrac{df}{dx} = \dfrac{d}{dx}[\ln(\sin x)] = \dfrac{\cos x}{\sin x} = \cot x \]

Applying the formula for arc length:

\[ L = \int_{\frac{\pi}{4}}^{\frac{\pi}{2}} \sqrt{1 + (\cot x)^2} \, dx \]

Use the trigonometric identity \( 1 + \cot^2 x = \csc^2 x \):

\[ L = \int_{\frac{\pi}{4}}^{\frac{\pi}{2}} \sqrt{\csc^2 x} \, dx = \int_{\frac{\pi}{4}}^{\frac{\pi}{2}} |\csc x| \, dx \]

Since \( \csc x > 0 \) on the closed interval \( \left[\dfrac{\pi}{4}, \dfrac{\pi}{2}\right] \), \( |\csc x| = \csc x \):

\[ L = \int_{\frac{\pi}{4}}^{\frac{\pi}{2}} \csc x \, dx \]

Using the standard integral formula \( \displaystyle \int \csc x \, dx = \ln\left|\tan\left(\dfrac{x}{2}\right)\right| + C \):

\[ L = \left[ \ln\left|\tan\left(\dfrac{x}{2}\right)\right| \right]_{\frac{\pi}{4}}^{\frac{\pi}{2}} = \ln(1) - \ln\left(\tan\left(\dfrac{\pi}{8}\right)\right) \approx 0 - (-0.88137) \approx 0.88137 \]
Example 3: Find the length of the arc along the half circle given by \( f(x) = 2 + \sqrt{9 - (x+2)^2} \) between the points \( (-4, f(-4)) \) and \( (0, f(0)) \).
Arc Length Along Half a Circle
Fig.4 - Arc Length Along the Half Circle \( y = 2 + \sqrt{9 - (x+2)^2} \)

Solution to Example 3:

Calculate the derivative using the chain rule:

\[ \dfrac{df}{dx} = \dfrac{-2(x+2)}{2\sqrt{9 - (x+2)^2}} = -\dfrac{x+2}{\sqrt{9 - (x+2)^2}} \]

Applying the arc length formula:

\[ L = \int_{-4}^{0} \sqrt{1 + \left( -\dfrac{x+2}{\sqrt{9 - (x+2)^2}} \right)^2} \, dx \]

Simplify the integrand:

\[ 1 + \dfrac{(x+2)^2}{9 - (x+2)^2} = \dfrac{9 - (x+2)^2 + (x+2)^2}{9 - (x+2)^2} = \dfrac{9}{9 - (x+2)^2} \]

Taking the square root:

\[ L = \int_{-4}^{0} \dfrac{3}{\sqrt{9 - (x+2)^2}} \, dx \]

Using substitution \( u = x+2 \), \( du = dx \). When \( x = -4 \), \( u = -2 \); when \( x = 0 \), \( u = 2 \):

\[ L = \int_{-2}^{2} \dfrac{3}{\sqrt{9 - u^2}} \, du = 3 \left[ \arcsin\left(\dfrac{u}{3}\right) \right]_{-2}^{2} \] \[ = 3 \left( \arcsin\left(\dfrac{2}{3}\right) - \arcsin\left(-\dfrac{2}{3}\right) \right) = 6 \arcsin\left(\dfrac{2}{3}\right) \approx 4.38 \]

More References and Links

  1. University Calculus - Early Transcendentals - Joel Hass, Maurice D. Weir, George B. Thomas, Jr., Christopher Heil - ISBN-13: 978-0134995540
  2. Calculus - Gilbert Strang - MIT - ISBN-13: 978-0961408824
  3. Calculus - Early Transcendentals - James Stewart - ISBN-13: 978-0-495-01166-8