---
title: The binomial series
heading: Small changes to powers
eyebrow: A6 · Lesson 40 · The binomial series
xp: 40
---

::: hook
A resistor warms up and its value rises 2%. The current through it, $V/R$, falls by about 2%. The power, $V^2/R$, also falls about 2%, and a quantity that goes as $1/\sqrt{R}$ falls about 1%. Engineers make these estimates all day without a calculator, and all of them come from one series: $(1 + x)^k \approx 1 + kx$ for small $x$. The full version, the **binomial series**, tells you the next correction and when the estimate is good enough.
:::

::: play
- The blue curve is $(1 + x)^k$. The other curves are the approximations $1 + kx$ and $1 + kx + \frac{k(k - 1)}{2}x^2$.
- Try $k = \frac{1}{2}$ (a square root) and $k = -1$ (a reciprocal). Near $x = 0$ all three curves agree.
- How far from 0 can you go before the straight line is off by 1%? How much farther with the quadratic?
:::
:::

```sim plot
view: graph
x: x = -0.9..2
y: y = -0.5..4
slider: k = -2..3 step 0.5 = 0.5
slider: x0 = -0.8..1.5 step 0.05 = 0.2
plot: (1 + x)^k | label: (1 + x)ᵏ
plot: 1 + k*x | label: 1 + kx | color: ch2
plot: 1 + k*x + k*(k - 1)/2*x^2 | label: with the x² term | color: ch3
marker: x = x0 | label: x₀
readout: exact at x0 = (1 + x0)^k | digits: 5
readout: linear at x0 = 1 + k*x0 | digits: 5
readout: quadratic at x0 = 1 + k*x0 + k*(k - 1)/2*x0^2 | digits: 5
```

::: predict
## Using $(1 + x)^k \approx 1 + kx$, estimate $\sqrt{1.04}$.

- [ ] 1.04
- [x] 1.02
- [ ] 1.002
- [ ] 1.2

::: reveal
1.02. With $k = \frac{1}{2}$ and $x = 0.04$, $1 + \frac{1}{2}(0.04) = 1.02$. The true value is 1.0198039, so the estimate is off by 0.0002, about $\frac{x^2}{8}$, which is the next term of the series.
:::
:::

::: nameit
## The binomial series

For any real power $k$ and $|x| < 1$,

$$(1 + x)^k = 1 + kx + \frac{k(k - 1)}{2!}x^2 + \frac{k(k - 1)(k - 2)}{3!}x^3 + \cdots = \sum_{n=0}^\infty\binom{k}{n}x^n$$

where $\binom{k}{n} = \frac{k(k - 1)\cdots(k - n + 1)}{n!}$. It's the Taylor series of $(1 + x)^k$ about 0.

When $k$ is a whole number the factor $(k - k)$ eventually appears, every later coefficient is zero, and the series stops: it's the binomial theorem from algebra. For any other $k$ it goes on forever and converges for $|x| < 1$.

## The working approximations

| Quantity | First order | Next term |
|---|---|---|
| $\sqrt{1 + x}$ | $1 + \frac{x}{2}$ | $-\frac{x^2}{8}$ |
| $\frac{1}{1 + x}$ | $1 - x$ | $+x^2$ |
| $\frac{1}{\sqrt{1 + x}}$ | $1 - \frac{x}{2}$ | $+\frac{3x^2}{8}$ |
| $(1 + x)^2$ | $1 + 2x$ | $+x^2$ |

## Percent changes

If a quantity goes as $R^k$ and $R$ changes by a small fraction $x$, the quantity changes by about $kx$. A 2% rise in $R$ gives about $-2\%$ in $1/R$, $-1\%$ in $1/\sqrt{R}$, and $+4\%$ in $R^2$. The error of the estimate is about $\frac{k(k - 1)}{2}x^2$: for a 2% change that's a few hundredths of a percent.

## Far-field approximations

Physics uses the binomial series to see what a distant observer measures. Two opposite charges a distance $d$ apart, seen from distance $r \gg d$ along their axis, give a potential proportional to

$$\frac{1}{r - d/2} - \frac{1}{r + d/2} = \frac{1}{r}\left[\left(1 - \frac{d}{2r}\right)^{-1} - \left(1 + \frac{d}{2r}\right)^{-1}\right] \approx \frac{1}{r}\cdot\frac{d}{r} = \frac{d}{r^2}$$

That's the dipole's $1/r^2$ falloff, which B2 builds on.
:::

::: example
## Estimate $\sqrt{1.1}$ with three terms of the binomial series.

::: solution
1. **Take three terms.** With $k = \frac{1}{2}$ and $x = 0.1$:
   $$\begin{aligned} \sqrt{1.1} &\approx 1 + \frac{1}{2}(0.1) + \frac{\frac{1}{2}(-\frac{1}{2})}{2}(0.01) \\ &= 1 + 0.05 - 0.00125 \\ &= 1.04875 \end{aligned}$$
2. **Compare.** The true value is 1.0488088. The next term, $\frac{x^3}{16} = 0.0000625$, is about the size of the error, 0.0000588.

**Answer:** $\sqrt{1.1} \approx 1.04875$, against the true value 1.0488088.
:::
:::

::: example
## How far from a dipole, in multiples of its spacing $d$, is $\frac{d}{r^2}$ within 1% of the exact $\frac{1}{r - d/2} - \frac{1}{r + d/2}$?

::: solution
1. **Expand the exact expression.** It is $\frac{d}{r^2 - d^2/4}$, and the binomial series expands it:
   $$\begin{aligned} \frac{d}{r^2 - d^2/4} &= \frac{d}{r^2}\left(1 - \frac{d^2}{4r^2}\right)^{-1} \\ &\approx \frac{d}{r^2}\left(1 + \frac{d^2}{4r^2}\right) \end{aligned}$$
2. **Find the error.** The relative error is about $\frac{d^2}{4r^2}$, which is 1% when $r = 5d$.
3. **Conclude.** Beyond five spacings, the far-field formula is good to better than 1%.

**Answer:** from five spacings out ($r = 5d$), $\frac{d}{r^2}$ is within 1%.
:::
:::

::: example
## Estimate $1/\sqrt{1.2}$ with three terms of the binomial series.

::: solution
1. **Write the series.**
   $$(1 + x)^{-1/2} = 1 - \frac12x + \frac38x^2 - \cdots$$
2. **Evaluate at $x = 0.2$.**
   $$1 - 0.1 + 0.015 = 0.915$$
3. **Compare.** The true value is 0.9129, so three terms are good to 0.2%.
4. **Add the next term.** It is $-\frac{5}{16}x^3 = -0.0025$, which brings the estimate to 0.9125.

**Answer:** $1/\sqrt{1.2} \approx 0.915$, good to 0.2% (the true value is 0.9129).
:::
:::

::: check
given: k = 0.5 | -0.5 | -2 | 1.5
answer: k*(k - 1)/2
tolerance: 0.5%

## What is the coefficient of $x^2$ in the binomial series for $(1 + x)^{\given{k}}$?

::: right
Right. $\frac{k(k - 1)}{2!}$ = {answer}.
:::

::: misses
- [k*(k - 1)] Divide by $2!$.
- [k^2/2] It's $k(k - 1)$, not $k^2$: each factor steps down by one.
- [any] Not yet. $\binom{k}{2} = \frac{k(k - 1)}{2}$.
:::
:::

::: check
given: x = 0.04 | 0.1 | 0.2
answer: 1 + x/2 - x^2/8
tolerance: 0.0005%

## Estimate $\sqrt{1 + \given{x}}$ with three terms of the binomial series.

::: right
Right. $1 + \frac{x}{2} - \frac{x^2}{8}$ = {answer}.
:::

::: misses
- [1 + x/2 + x^2/8] The $x^2$ coefficient is $\frac{\frac{1}{2}(-\frac{1}{2})}{2} = -\frac{1}{8}$.
- [1 + x/2] That's two terms.
- [any] Not yet. $1 + kx + \frac{k(k - 1)}{2}x^2$ with $k = \frac{1}{2}$.
:::
:::

::: check
given: k = -0.5 | 1.5 | 3; p = 1 | 2
answer: k*p

## A quantity goes as $R^{\given{k}}$. $R$ rises by {p}%. To first order, by what percent does the quantity change? (Negative for a fall.)

::: right
Right. $(1 + x)^k \approx 1 + kx$, so the change is about $k \times$ {p}% = {answer}%.
:::

::: misses
- [p] Multiply by the power, {k}.
- [-k*p] Check the sign: a positive power rises with $R$.
- [any] Not yet. $(1 + x)^k \approx 1 + kx$.
:::
:::

::: check
given: n = 2 | 5 | 10
answer: 100*(1/(1 - 1/(4*n^2)) - 1)
tolerance: 1%

## At a distance of {n} spacings from a dipole ($r = \given{n}d$), by what percent does the far-field formula $\frac{d}{r^2}$ fall short of the exact value?

::: right
Right. The exact value is $\frac{d}{r^2}\left(1 - \frac{1}{4n^2}\right)^{-1}$, so the shortfall is about {answer}%.
:::

::: misses
- [100/n^2] The correction is $\frac{d^2}{4r^2}$: include the 4.
- [any] Not yet. Compare $\frac{d}{r^2 - d^2/4}$ with $\frac{d}{r^2}$.
:::
:::

::: check
kind: expression
answer: 1 - x/2 + 3*x^2/8
vars: x = -0.5..0.5

## Write the binomial series of $\dfrac{1}{\sqrt{1 + x}}$ up to the $x^2$ term.

::: right
Right. $k = -\frac{1}{2}$: $\frac{k(k - 1)}{2} = \frac{(-\frac{1}{2})(-\frac{3}{2})}{2} = \frac{3}{8}$.
:::

::: misses
- [1 + x/2 - x^2/8] That's $\sqrt{1 + x}$. Here $k = -\frac{1}{2}$.
- [1 - x/2 - 3*x^2/8] Check the sign of $\frac{(-1/2)(-3/2)}{2}$.
- [any] Not yet. Use $k = -\frac{1}{2}$.
:::
:::

::: check
kind: choice

## For which $x$ does the binomial series for $(1 + x)^{1/3}$ converge?

- [x] $|x| < 1$ (and possibly the endpoints)
- [ ] All $x$
- [ ] $|x| < \frac{1}{3}$
- [ ] Only $x \ge 0$

::: right
Right. For a power that isn't a whole number, the radius of convergence is 1.
:::

::: misses
- [2] Only whole-number powers give a finite polynomial that works everywhere.
- [3] The power doesn't change the radius; it's 1 for every non-whole $k$.
- [any] Use the ratio test on $\binom{k}{n}x^n$: the ratio tends to $|x|$.
:::
:::

::: check
kind: parts
given: k = -0.5 | 0.5 | 3; x = 0.05 | 0.2

## Use the binomial series for $(1 + x)^{\given{k}}$.

::: part
answer: 1 + k*x + k*(k - 1)/2*x^2
tolerance: 0.01%

### What do three terms give at $x$ = {x}?

::: misses
- [1 + k*x] That's two terms. Add $\frac{k(k - 1)}{2}x^2$.
- [any] $1 + kx + \frac{k(k - 1)}{2}x^2$.
:::
:::

::: part
answer: (1 + x)^k
tolerance: 0.01%

### What is the exact value?

::: misses
- [any] Compute it.
:::
:::
:::

::: check
kind: derivation
vars: k = -2..3, x = -0.3..0.3

## Derive the first terms of $(1 + x)^k$.

::: step
answer: k

### What is $f'(0)$?
:::

::: step
answer: k*(k - 1)

### What is $f''(0)$?
:::

::: step
answer: 1 + k*x + k*(k - 1)*x^2/2

### Write the series to the $x^2$ term.
:::

::: right
Right. The binomial series works for any power $k$, not only whole numbers.
:::
:::

::: explain
## Why does the binomial series stop after a few terms when $k$ is a whole number, but go on forever otherwise?

::: model
The $n$th coefficient is $\frac{k(k - 1)(k - 2)\cdots(k - n + 1)}{n!}$. When $k$ is a whole number, the factor $(k - k) = 0$ appears in every coefficient from $n = k + 1$ onward, so all those terms vanish and the series is the ordinary polynomial $(1 + x)^k$. When $k$ isn't a whole number, none of the factors $k - m$ is ever zero, so every coefficient is nonzero and the series continues forever.
:::
:::

::: practice

::: check
given: x = 0.01 | 0.02 | 0.05 | 0.08 | 0.1 | 0.15
answer: 1 - x + x^2
tolerance: 0.001%

## Estimate $\dfrac{1}{1 + \given{x}}$ with three terms.

::: misses
- [1 + x + x^2] For $k = -1$ the signs alternate.
- [any] $1 - x + x^2$.
:::
:::

::: check
given: p = 1 | 2 | 3 | 4 | 5 | 6
answer: -p/2

## The current through a resistor fed from a constant power source goes as $R^{-1/2}$. $R$ rises by {p}%. By about what percent does the current change?

::: misses
- [-p] The power is $-\frac{1}{2}$, so the change is halved.
- [any] $k \times$ {p}% with $k = -\frac{1}{2}$.
:::
:::

::: check
given: k = 3..9 int
answer: k*(k - 1)*(k - 2)/6

## What is the coefficient of $x^3$ in $(1 + x)^{\given{k}}$?

::: misses
- [any] $\binom{k}{3} = \frac{k(k - 1)(k - 2)}{6}$.
:::
:::
:::
