Tutorials › Calculus II › Choosing Exact or Numerical Arc-Length Methods

Arc Length and Curve Length · Tutorial 424 of 998

Choosing Exact or Numerical Arc-Length Methods

Choose an exact antiderivative or numerical quadrature for an arc-length problem, then use geometry to assess the result.

Intermediate 9 min read

What You'll Learn

  • Set up arc length for graph and parametric descriptions.
  • Evaluate a quadratic graph’s length using an exact antiderivative.
  • Derive the exact length of one cycloid arch from its speed.
  • Approximate an ellipse circumference using Simpson’s rule.
  • Check computed lengths against geometric bounds.
  • Avoid sign errors when simplifying a speed involving a square root.

Choosing a Method for Arc Length

Arc-length problems do not all end in the same kind of answer. Some speed functions have manageable antiderivatives, so an exact expression is practical. Others lead to integrals that are best represented by a special function or approximated with numerical quadrature. The important first step is to set up the length correctly; the next is to choose a method suited to the resulting integral.

In each case, a geometric check provides an independent way to assess whether the answer is plausible. A curve joining two points must be at least as long as the straight segment between them. Bounds based on horizontal and vertical change can also give a useful upper estimate.

Definition: If a smooth parametric curve is given by \(x=x(t)\), \(y=y(t)\) for \(a\le t\le b\), its arc length is $$ L=\int_a^b \sqrt{(x'(t))^2+(y'(t))^2}\,dt. $$ For a graph \(y=f(x)\), where \(f\) is continuously differentiable on \([a,b]\), this becomes $$ L=\int_a^b \sqrt{1+(f'(x))^2}\,dx. $$

The expression under the integral is the speed of the parametrized curve, or the graph’s length factor with respect to \(x\). Once this integrand is identified, ask whether it has a useful elementary antiderivative. If so, exact evaluation is usually the clearest route. If not, a definite integral can still define the length exactly, but numerical quadrature may be the practical way to obtain a decimal estimate.

Worked Example: A Quadratic Graph

Worked Example: Exact Length of \(y=x^2\)

Find the length of \(y=x^2\) for \(-1\le x\le 1\). Differentiate the graph function: \(y'=2x\). The graph formula gives

$$ L=\int_{-1}^{1}\sqrt{1+4x^2}\,dx. $$

Here an exact antiderivative is available. To derive it, set \(u=2x\), so \(dx=du/2\). Then use integration by parts on \(\int\sqrt{1+u^2}\,du\), taking the factors \(\sqrt{1+u^2}\) and \(du\):

$$ \int\sqrt{1+u^2}\,du =u\sqrt{1+u^2}-\int\frac{u^2}{\sqrt{1+u^2}}\,du. $$

Since \(u^2=(1+u^2)-1\), the remaining integral is \(\int\sqrt{1+u^2}\,du-\int(1+u^2)^{-1/2}\,du\). Solving for the original integral and using \(\int(1+u^2)^{-1/2}\,du=\operatorname{asinh}(u)\) gives

$$ \int\sqrt{1+u^2}\,du =\frac{u\sqrt{1+u^2}+\operatorname{asinh}(u)}{2}+C. $$

Returning to \(x\), an antiderivative is

$$ F(x)=\frac{x}{2}\sqrt{1+4x^2}+\frac{\operatorname{asinh}(2x)}{4}. $$

Therefore, using the endpoint values,

$$ L=F(1)-F(-1) =\sqrt{5}+\frac{\operatorname{asinh}(2)}{2} =\sqrt{5}+\frac{\ln(2+\sqrt{5})}{2} \approx 2.958. $$

Check by differentiation: differentiating the first term of \(F\) gives \(\frac12\sqrt{1+4x^2}+\frac{2x^2}{\sqrt{1+4x^2}}\). Differentiating the second gives \(\frac{1}{2\sqrt{1+4x^2}}\). Combining these terms yields \(\frac{1+4x^2}{\sqrt{1+4x^2}}=\sqrt{1+4x^2}\), as required.

Geometric check: the endpoints are \((-1,1)\) and \((1,1)\), so their straight-line distance is \(2\). The curve’s total horizontal change is \(2\), and its total vertical variation is \(2\), because it falls from height \(1\) to \(0\) and rises back to \(1\). Since length is at least the endpoint distance and at most the sum of these total changes, \(2\le L\le4\). The result \(2.958\) satisfies these bounds.

Worked Example: One Cycloid Arch

Worked Example: Exact Length of a Cycloid Arch

Consider the parametrized cycloid \(x=a(t-\sin t)\), \(y=a(1-\cos t)\), where \(a>0\) and \(0\le t\le2\pi\). This parameter interval traces one arch, from the cusp at \((0,0)\) to the next cusp at \((2\pi a,0)\). Differentiate both coordinates:

$$ x'=a(1-\cos t),\qquad y'=a\sin t. $$

The speed simplifies as follows:

$$ \sqrt{(x')^2+(y')^2} =a\sqrt{(1-\cos t)^2+\sin^2t} =a\sqrt{2-2\cos t} =2a\sin(t/2). $$

The last equality uses \(2-2\cos t=4\sin^2(t/2)\) and the fact that \(\sin(t/2)\ge0\) for \(0\le t\le2\pi\). Thus the length is

$$ L=\int_0^{2\pi}2a\sin(t/2)\,dt =\left[-4a\cos(t/2)\right]_0^{2\pi} =8a. $$

Check: differentiating \(-4a\cos(t/2)\) gives \(2a\sin(t/2)\), the speed. The arch’s endpoints are \(2\pi a\) apart, so its length must be at least \(2\pi a\). Also, the total horizontal change is \(2\pi a\), and the total vertical variation is \(2a\): the curve rises from \(0\) to \(2a\) and returns to \(0\). Hence \(2\pi a\le L\le2\pi a+2a\). Since \(2\pi a\le8a\le2\pi a+2a\), the exact result passes the check.

Worked Example: Numerical Length of an Ellipse

Worked Example: Approximating the Circumference of an Ellipse

Take the ellipse parametrized by \(x=5\cos t\), \(y=3\sin t\), for \(0\le t\le2\pi\). Its speed is \(\sqrt{25\sin^2t+9\cos^2t}\). Symmetry makes the full circumference four times the first-quadrant length, so

$$ C=4\int_0^{\pi/2}\sqrt{25\sin^2t+9\cos^2t}\,dt =4\int_0^{\pi/2}\sqrt{9+16\sin^2t}\,dt. $$

This integral is an elliptic integral; a convenient elementary antiderivative is not available. We can retain the definite integral as an exact description, or estimate it by numerical quadrature. For illustration, apply Simpson’s rule with four equal subintervals, so \(h=\pi/8\). Set \(f(t)=\sqrt{9+16\sin^2t}\). The five function values are

$$ \begin{aligned} f(0)&=3,\\ f(\pi/8)&=\sqrt{11.34314575\ldots},\\ f(\pi/4)&=\sqrt{17},\\ f(3\pi/8)&=\sqrt{22.65685425\ldots},\\ f(\pi/2)&=5. \end{aligned} $$

Using the exact trigonometric values at these points, Simpson’s approximation for the quarter circumference is

$$ \begin{aligned} Q&\approx\frac{h}{3}\left[f(0)+f(\pi/2)+4\bigl(f(\pi/8)+f(3\pi/8)\bigr)+2f(\pi/4)\right]\\ &=\frac{\pi}{24}\left[8+4\left(\sqrt{11.34314575\ldots}+\sqrt{22.65685425\ldots}\right)+2\sqrt{17}\right]\\ &\approx 6.382372. \end{aligned} $$

Thus \(C\approx4Q\approx25.529\), reported to three decimal places. The definite integral, rather than this rounded estimate, is the exact circumference. A more accurate decimal estimate can be obtained by refining the quadrature and checking its error.

Geometric check: the ellipse passes through the four axis endpoints. The four straight segments between consecutive endpoints each have length \(\sqrt{5^2+3^2}=\sqrt{34}\), so the circumference is at least \(4\sqrt{34}\approx23.324\). For an upper bound, each quadrant’s arc length is no greater than the sum of its horizontal and vertical changes, \(5+3=8\). Therefore \(4\sqrt{34}\le C\le32\), and the estimate \(25.529\) lies within this interval.

How to Choose: Exact Expression or Quadrature?

The examples illustrate a practical distinction. For the quadratic graph, the speed integral has an elementary antiderivative, so evaluating it exactly is straightforward. For the cycloid arch, simplification makes the speed elementary and its definite integral exact. For the ellipse, the integral is still an exact mathematical description, but its antiderivative belongs to the theory of elliptic integrals; numerical quadrature is a useful way to obtain a decimal circumference.

Takeaway: “No convenient elementary antiderivative” does not mean “no exact answer.” A definite integral or a named special function can be exact. Numerical quadrature is appropriate when a decimal value is needed, with the precision and error checked separately.

Geometric checks do not replace an antiderivative check or an error analysis. They can, however, expose a wrong setup, an impossible sign, or an implausible numerical result. For example, any proposed length smaller than the distance between the endpoints is certainly incorrect.

A Common Sign Mistake

When simplifying a square root, remember that \(\sqrt{u^2}=|u|\), not \(u\) in general. In the cycloid example, writing \(\sqrt{2-2\cos t}=2\sin(t/2)\) is valid on the one-arch interval \(0\le t\le2\pi\), because \(\sin(t/2)\ge0\) there. It is not valid across multiple arches without considering the sign.

For example, on \(0\le t\le4\pi\), the speed is \(2a|\sin(t/2)|\). The incorrect calculation that drops the absolute value gives

$$ \int_0^{4\pi}2a\sin(t/2)\,dt =\left[-4a\cos(t/2)\right]_0^{4\pi} =0, $$

which cannot be a curve length. The correction is to retain the absolute value, or split the integral at \(t=2\pi\). Each arch has length \(8a\), so the two-arch length is \(16a\), which is positive and consistent with the geometry.

Check Your Understanding

Use the formulas and checks from this tutorial to answer the following questions.

  1. For a graph \(y=f(x)\), what condition on \(f\) is used in the stated arc-length formula?
  2. Why is \(2a\sin(t/2)\) a valid expression for the cycloid speed on one arch, but not on two arches without an absolute value?
  3. What is the difference between an exact definite-integral description and a decimal estimate obtained by quadrature?
  4. For the ellipse with semiaxes \(5\) and \(3\), why must its circumference be at least \(4\sqrt{34}\)?
  5. What basic geometric inequality can immediately reveal that a proposed curve length is wrong?

Test yourself: Calculus II final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon