Putting Taylor Series to Work

Taylor series turn otherwise-intractable limits and integrals into polynomial arithmetic, and the binomial series \((1+x)^k = \sum_{n=0}^{\infty} \binom{k}{n} x^n\) extends the binomial theorem to any real exponent — as long as \(|x| < 1\).

By the end you'll be able to evaluate a stubborn limit or integral by substituting a series and working term by term, and approximate roots like \(\sqrt{1.1}\) with the first few terms of the binomial series.

Predict: with three terms, the estimate for \(\sqrt{1.1}\) is 1.04875 — a hair under the true value. Add one more binomial term — does the estimate over- or under-shoot? Slide Terms to 4 to check.

Each dot is a partial sum of the binomial series for \(\sqrt{1+x}\) with \(k = \tfrac12\). The highlighted dot is your current truncation; the dashed target line is the true \(\sqrt{1+x}\). Drag x toward 1 and watch convergence slow down — the series only converges for \(|x| < 1\). Hover or tab to any dot for the exact value, the term it added, and the error.

3 terms at x = 0.10: estimate 1.048750 vs true √1.10 ≈ 1.048809 — undershoots by 0.000059

Partial sums of \((1+x)^{1/2}\) — each added term hops across the dashed true value, then the hops shrink
partial sums current truncation true √(1+x)

Within its interval of convergence, a power series behaves exactly like a polynomial — so limits, integrals, and roots that resist every closed-form technique fall to term-by-term arithmetic on coefficients.

Limits and integrals, the series way

Applied

Some integrals simply have no elementary antiderivative — \(\int \frac{\sin x}{x}\,dx\) and \(\int e^{-x^2}\,dx\) are the classics. But replace the integrand with its Maclaurin series and you can integrate term by term. From \(\sin x = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots\), divide by \(x\): \[\frac{\sin x}{x} = 1 - \frac{x^2}{3!} + \frac{x^4}{5!} - \frac{x^6}{7!} + \cdots,\] then integrate each power: \[\int \frac{\sin x}{x}\,dx = C + x - \frac{x^3}{3\cdot 3!} + \frac{x^5}{5\cdot 5!} - \frac{x^7}{7\cdot 7!} + \cdots,\] valid for all \(x\). Don't drop the constant of integration \(C\) — pin it down with a known value, like the integral being 0 at \(x = 0\). The same substitution trick cracks limits: it replaces four rounds of L'Hopital's rule in the worked example below with one line of algebra.

The binomial series

Algebraic

For any real \(k\) and \(|x| < 1\), \[(1+x)^k = \sum_{n=0}^{\infty} \binom{k}{n} x^n, \qquad \binom{k}{n} = \frac{k(k-1)(k-2)\cdots(k-n+1)}{n!}.\] This is nothing more than the Maclaurin series of \(f(x) = (1+x)^k\): since \(f^{(n)}(0) = k(k-1)\cdots(k-n+1)\), the Taylor coefficient formula collapses exactly to the generalized binomial coefficient. When \(k\) is a nonnegative integer, \(\binom{k}{n} = 0\) for \(n > k\) and the series terminates — recovering the ordinary binomial theorem. For negative or fractional \(k\) it's a genuine infinite series, and it only converges for \(|x| < 1\). When \(k\) is negative or fractional, expand the product \(k(k-1)\cdots(k-n+1)\) one factor at a time — guessing the sign pattern is the classic way to slip up.

Worked example — a limit via series

Evaluate \(\displaystyle\lim_{x\to 0}\frac{\cos x - 1 + \frac{x^2}{2}}{x^4}\). Using \(\cos x = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \cdots\), the constant and quadratic terms cancel: \[\cos x - 1 + \frac{x^2}{2} = \frac{x^4}{4!} - \frac{x^6}{6!} + \cdots,\] so \[\frac{\cos x - 1 + \frac{x^2}{2}}{x^4} = \frac{1}{24} - \frac{x^2}{720} + \cdots \;\longrightarrow\; \frac{1}{24} \text{ as } x \to 0.\]

Worked example — √1.1 by binomial series

Take \(k = \tfrac12\). The first coefficients are \(\binom{1/2}{0} = 1\), \(\binom{1/2}{1} = \tfrac12\), \(\binom{1/2}{2} = \frac{\frac12 \cdot (-\frac12)}{2!} = -\tfrac18\), so \[\sqrt{1+x} = 1 + \frac{x}{2} - \frac{x^2}{8} + \frac{x^3}{16} - \cdots, \qquad |x| < 1.\] At \(x = 0.1\), three terms give \[1 + \frac{0.1}{2} - \frac{0.1^2}{8} = 1 + 0.05 - 0.00125 = \textbf{1.04875},\] close to the true \(\sqrt{1.1} \approx 1.04881\) — the value the dashed line marks in the demo above.

Your turn — √1.2 with three terms

Same series, new input: approximate \(\sqrt{1.2} = \sqrt{1 + 0.2}\). Term one is \(1\); term two is \(\frac{0.2}{2} = 0.1\); term three is \(-\frac{0.2^2}{8} = \) ____. Add them up: \(\sqrt{1.2} \approx\) ____

Reveal the answer

Term three is \(-\frac{0.04}{8} = -0.005\), so \(\sqrt{1.2} \approx 1 + 0.1 - 0.005 = \) 1.095, vs the true \(\sqrt{1.2} \approx 1.0954\). Set x = 0.20 and Terms = 3 in the demo above and hover the highlighted dot to see this exact estimate and its error.

More info — why the hops alternate around the target

For \(k = \tfrac12\) and \(x > 0\), every coefficient after \(\binom{1/2}{1}\) flips sign: \(-\frac18, +\frac{1}{16}, -\frac{5}{128}, \dots\) So from the third term on, each new term alternately subtracts and adds a shrinking amount — the partial sums hop back and forth across the true value, landing under, then over, then under, each time closer. That's exactly the over/undershoot pattern the Predict question asks about, and it echoes what you saw with the alternating series for \(e^{-x}\) and \(\sin x\) among the standard series: truncating an alternating series leaves an error smaller than (and opposite in direction to) the first term you dropped. For another angle on the same expansion, see the Binomial Series link in Dive deeper below.

Check your understanding

Question 1 of 4

Use the binomial series with \(k = 1/2\) to approximate \(\sqrt{0.9} = \sqrt{1 + (-0.1)}\) with the first three terms. What do you get?

Question 2 of 4

For \(k = 1/2\), on which set of \(x\) values does the binomial series \((1+x)^k = \sum_{n=0}^{\infty} \binom{k}{n} x^n\) converge, and does it terminate?

Question 3 of 4

Using \(\sin x = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots\), evaluate \(\displaystyle\lim_{x\to 0}\frac{x - \sin x}{x^3}\).

Question 4 of 4

Start from the standard Maclaurin series \(\sin t = t - \frac{t^3}{3!} + \frac{t^5}{5!} - \cdots\). After dividing by \(t\) and integrating term by term, what is the coefficient of \(x^5\) in the series for \(\int_0^x \frac{\sin t}{t}\,dt\)?

Recap

  • Within its interval of convergence, substitute a Taylor series and work term by term — integrate series when the antiderivative isn't elementary, cancel leading terms to evaluate limits without repeated L'Hopital's rule.
  • When integrating a series, keep the constant of integration and fix it with a known value.
  • Binomial series: \((1+x)^k = \sum_{n=0}^{\infty} \binom{k}{n} x^n\) with \(\binom{k}{n} = \frac{k(k-1)\cdots(k-n+1)}{n!}\), valid for \(|x| < 1\) and any real \(k\).
  • The series terminates only when \(k\) is a nonnegative integer (recovering the binomial theorem); otherwise it's a genuine infinite series and you use the first few terms to approximate — e.g. \(\sqrt{1.1} \approx 1 + \frac{0.1}{2} - \frac{0.1^2}{8} = 1.04875\).

Dive deeper

Sources

  • Applications of Taylor Series — Limits, Integrals, and the Binomial Series