---
title: Arc length and surface area
heading: How much longer is a sagging power line?
eyebrow: A6 · Lesson 13 · Arc length and surface area
xp: 40
---

::: hook
A power line strung between towers 200 m apart sags several meters in the middle. How much longer is the cable than the span? Linemen need that number: a cable that's too short pulls with enormous tension, and one that's too long sags into trees. The cable hangs in a curve called a catenary, and its length comes from adding up tiny straight pieces along it, an integral built from Pythagoras.
:::

::: play
- The curve is a cable hanging between towers 200 m apart, $y = a\cosh(x/a) - a$. The parameter $a$ is set by the tension: a tighter cable has a bigger $a$.
- Loosen the cable (lower $a$). How fast does the extra length grow compared with the sag?
- Find the setting where the sag is about 5 m. How much extra cable is that?
:::
:::

```sim plot
view: graph
x: x = -100..100 m
y: y = 0..8 m
slider: a = 150..3000 step 10 = 1000 m
plot: a*cosh(x/a) - a | label: cable
readout: sag = a*cosh(100/a) - a m | digits: 4
readout: cable length = 2*a*sinh(100/a) m | digits: 6
readout: extra length = (2*a*sinh(100/a) - 200)*100 cm | digits: 4
```

::: predict
## A cable spanning 200 m sags 5 m in the middle. Roughly how much longer than 200 m is it?

- [ ] About 10 m
- [ ] About 5 m
- [ ] About 1 m
- [x] About 30 cm

::: reveal
About 33 cm. The cable is nearly flat, so each little piece is only slightly longer than its horizontal run. For a shallow sag $s$ over a span $S$, the extra length is close to $\frac{8s^2}{3S}$, so it grows with the square of the sag. Turned around, a small change in length makes a big change in sag.
:::
:::

::: nameit
## Arc length

Over a tiny step $dx$, the curve $y = f(x)$ rises $dy = f'(x)\,dx$. The little piece of curve is the hypotenuse:

$$ds = \sqrt{dx^2 + dy^2} = \sqrt{1 + f'(x)^2}\,dx$$

so the length from $a$ to $b$ is

$$L = \int_a^b\sqrt{1 + f'(x)^2}\,dx$$

The square root makes most of these integrals hard; many have no closed form and are done numerically (lesson 11). A few come out neatly, such as $y = x^{3/2}$ and the catenary.

## The catenary

A uniform cable hanging under its own weight takes the shape $y = a\cosh(x/a)$, where $a$ is the horizontal tension divided by the cable's weight per meter. Since $\frac{d}{dx}\cosh(x/a) = \sinh(x/a)$ and $1 + \sinh^2 = \cosh^2$,

$$L = \int_{-S/2}^{S/2}\cosh\frac{x}{a}\,dx = 2a\sinh\frac{S}{2a}$$

## Surface area of revolution

Spinning the curve around the $x$ axis, each little piece $ds$ sweeps a thin band of circumference $2\pi f(x)$:

$$A = 2\pi\int_a^b f(x)\sqrt{1 + f'(x)^2}\,dx$$
:::

::: example
## Find the length of $y = x^{3/2}$ from $x = 0$ to $x = 4$.

::: solution
1. **Square the slope.**
   $$\begin{aligned} f'(x) &= \frac{3}{2}x^{1/2} \\ 1 + f'^2 &= 1 + \frac{9}{4}x \end{aligned}$$
2. **Substitute $u = 1 + \frac{9}{4}x$.** It runs from 1 to 10:
   $$\begin{aligned} L &= \int_0^4\sqrt{1 + \tfrac{9}{4}x}\,dx \\ &= \frac{4}{9}\cdot\frac{2}{3}\Big[u^{3/2}\Big]_1^{10} \\ &= \frac{8}{27}(10^{3/2} - 1) \\ &= 9.07 \end{aligned}$$
3. **Compare with a straight line.** The line between the endpoints, $(0, 0)$ and $(4, 8)$, would be $\sqrt{80} = 8.94$: the curve is a little longer, as it must be.

**Answer:** the length is 9.07.
:::
:::

::: example
## A cable spans 200 m with $a$ = 1000 m. How much does it sag, and how long is it?

::: solution
1. **Sag.**
   $$\begin{aligned} s &= a\cosh\frac{100}{a} - a \\ &= 1000(\cosh 0.1 - 1) \\ &= 5.00\ \text{m} \end{aligned}$$
2. **Length.**
   $$\begin{aligned} L &= 2a\sinh\frac{100}{a} \\ &= 2000\sinh 0.1 \\ &= 200.33\ \text{m} \end{aligned}$$
3. **Check with the shallow-sag estimate.** It predicts the extra length over the 200 m span, and it agrees:
   $$\begin{aligned} \frac{8s^2}{3S} &= \frac{8 \times 25.0}{600} \\ &= 0.333\ \text{m} \end{aligned}$$

**Answer:** the cable sags 5.00 m and is 200.33 m long.
:::
:::

::: example
## Find the length of the parabola $y = x^2/2$ from $x = 0$ to $x = 1$.

::: solution
1. **Set up the integral.** The slope is $y' = x$:
   $$L = \int_0^1\sqrt{1 + x^2}\,dx$$
2. **Integrate.**
   $$\begin{aligned} L &= \frac12\left[x\sqrt{1 + x^2} + \sinh^{-1}x\right]_0^1 \\ &= \frac{\sqrt2 + \sinh^{-1}1}{2} \\ &= 1.148 \end{aligned}$$
3. **Compare with a straight line.** The line from $(0, 0)$ to $(1, 0.5)$ is $\sqrt{1.25} = 1.118$, so the curve is 2.7% longer.

**Answer:** the length is 1.148, 2.7% longer than the straight line.
:::
:::

::: check
given: m = 2 | 3; a = 1 | 4
answer: a*sqrt(1 + m^2)
tolerance: 0.5%

## Use the arc-length integral to find the length of $y = \given{m}x$ from $x = 0$ to $x = \given{a}$.

::: right
Right. $\int_0^a\sqrt{1 + m^2}\,dx = a\sqrt{1 + m^2}$ = {answer}, the hypotenuse of a right triangle, as it should be.
:::

::: misses
- [a*(1 + m)] Under the root, square the slope: $\sqrt{1 + m^2}$.
- [a*m] That's the rise. The length includes the run too.
- [any] Not yet. $f' = \given{m}$, a constant.
:::
:::

::: check
given: b = 1 | 4 | 5
answer: 8/27*((1 + 9*b/4)^(3/2) - 1)
tolerance: 0.5%

## Find the length of $y = x^{3/2}$ from $x = 0$ to $x = \given{b}$.

::: right
Right. $\frac{8}{27}\left[(1 + \frac{9}{4}x)^{3/2}\right]_0^{\given{b}}$ = {answer}.
:::

::: misses
- [b^(3/2)] That's the height of the end point.
- [any] Not yet. $\sqrt{1 + \frac{9}{4}x}$, substituting $u = 1 + \frac{9}{4}x$.
:::
:::

::: check
given: a = 500 | 1000 | 2000; S = 100 | 300
answer: a*cosh(S/(2*a)) - a
unit: m
tolerance: 0.5%

## A cable spans {S} m with catenary parameter $a$ = {a} m. How much does it sag in the middle?

::: right
Right. $a\cosh\frac{S}{2a} - a$ = {answer}.
:::

::: misses
- [a*cosh(S/a) - a] The towers are at $\pm S/2$, so use $\frac{S}{2a}$.
- [any] Not yet. The height at $x = S/2$ minus the height at the middle.
:::
:::

::: check
given: a = 300 | 500 | 1000; S = 200 | 400
answer: (2*a*sinh(S/(2*a)) - S)*100
unit: cm
tolerance: 0.5%

## A cable spans {S} m with $a$ = {a} m. How much longer than the span is the cable, in cm?

::: right
Right. $2a\sinh\frac{S}{2a} - S$, in centimeters: {answer}.
:::

::: misses
- [2*a*sinh(S/(2*a))*100] Subtract the span: the question asks for the extra length.
- [any] Not yet. $L = 2a\sinh\frac{S}{2a}$, then subtract $S$.
:::
:::

::: check
given: R = 2 | 3; h = 4 | 6
answer: pi*R*sqrt(R^2 + h^2)
tolerance: 0.5%

## Spin $y = \frac{\given{R}}{\given{h}}x$, from $x = 0$ to $x = \given{h}$, around the $x$ axis. What is the area of the cone's curved surface?

::: right
Right. $2\pi\int_0^h\frac{R}{h}x\sqrt{1 + \frac{R^2}{h^2}}\,dx = \pi R\sqrt{R^2 + h^2}$ = {answer}.
:::

::: misses
- [pi*R^2] That's the flat base.
- [pi*R*h] Use the slant length $\sqrt{R^2 + h^2}$, not the height.
- [any] Not yet. $A = 2\pi\int f\sqrt{1 + f'^2}\,dx$.
:::
:::

::: check
given: R = 1 | 2 | 5
answer: 4*pi*R^2
tolerance: 0.5%

## Spin $y = \sqrt{\given{R}^2 - x^2}$ around the $x$ axis. What surface area does the sphere have?

::: right
Right. Here $f\sqrt{1 + f'^2} = R$ exactly, so $A = 2\pi R \times 2R$ = {answer}.
:::

::: misses
- [4*pi*R^3/3] That's the volume.
- [2*pi*R^2] Integrate from $-R$ to $R$: the length of the interval is $2R$.
- [any] Not yet. Simplify $f\sqrt{1 + f'^2}$ first.
:::
:::

::: check
kind: parts
given: k = 1 | 2 | 3

## Find the length of $y = \frac{\given{k}}{2}x^2$ from $x = 0$ to $x = 1$.

::: part
answer: (k*sqrt(1 + k^2) + ln(k + sqrt(1 + k^2)))/(2*k)
tolerance: 0.5%

### What is it?

::: misses
- [any] $\int_0^1\sqrt{1 + k^2x^2}\,dx$; substitute $u = kx$.
:::
:::

::: part
answer: sqrt(1 + k^2/4)
tolerance: 0.5%

### How long is the straight chord between the ends?

::: misses
- [any] From $(0, 0)$ to $(1, k/2)$.
:::
:::
:::

::: check
kind: derivation
vars: a = 0.5..5, x = 0..3

## Derive the arc-length integrand for a catenary $y = a\cosh(x/a)$.

::: step
answer: sinh(x/a)

### What is $y'$?
:::

::: step
answer: cosh(x/a)

### Simplify $\sqrt{1 + y'^2}$ using $\cosh^2 - \sinh^2 = 1$.
:::

::: step
answer: 2*a*sinh(x/a)

### The length from $-x$ to $x$ is the integral of that. What is it?
:::

::: right
Right. A catenary's length is $2a\sinh(x/a)$: the hyperbolic identity makes its arc length exact.
:::
:::

::: explain
## Why does the arc-length formula have $\sqrt{1 + f'(x)^2}$ in it?

::: model
Over a very short step $dx$ the curve is nearly straight, so the piece of curve is the hypotenuse of a tiny right triangle with run $dx$ and rise $f'(x)\,dx$. By Pythagoras its length is $\sqrt{dx^2 + (f'\,dx)^2} = \sqrt{1 + f'^2}\,dx$. Adding up those pieces from one end to the other gives the integral. A flat curve has $f' = 0$ and the length is just the run; a steep one gets a big factor from the slope.
:::
:::

::: practice

::: check
given: R = 1..20 int
answer: 2*pi*R
tolerance: 0.5%

## The upper half of a circle of radius {R} has length $\pi R$. Use that to give the full circumference.

::: misses
- [pi*R] That's half of it.
- [any] Double the half circle.
:::
:::

::: check
given: s = 2 | 5; S = 100 | 200
answer: 8*s^2/(3*S)*100
unit: cm
tolerance: 0.5%

## A cable sags {s} m over a span of {S} m. Using the shallow-sag estimate $\frac{8s^2}{3S}$, how much extra cable is that, in cm?

::: misses
- [8*s^2/(3*S)] Convert meters to centimeters.
- [any] $\frac{8s^2}{3S}$ meters.
:::
:::

::: check
given: a = 1..6 int
answer: a*sinh(1/a)*2
tolerance: 0.5%

## Find the length of $y = \given{a}\cosh(x/\given{a})$ from $x = -1$ to $x = 1$.

::: misses
- [any] $\int\cosh(x/a)\,dx = a\sinh(x/a)$.
:::
:::
:::
