Unit 4
Power Series & Taylor Expansions
A power series turns a function into an infinite polynomial. Polynomials are the only functions we can really compute with — add, multiply, differentiate, integrate — so this unit is how every other function becomes tractable. For an electrical engineer it is also the entire justification for small-signal analysis and for phasors.
1 · Power series and radius of convergence
There are exactly three possibilities, and no others:
- Converges only at \(x=a\) (\(R = 0\))
- Converges for all real \(x\) (\(R = \infty\))
- Converges on \(|x-a| < R\), diverges outside it, and behaves unpredictably at the two endpoints
Finding \(R\)
Apply the ratio test to the series with \(x\) carried along, then solve \(L < 1\) for \(x\).
The ratio test gives \(L = 1\) at both endpoints and says nothing there. Substitute each endpoint into the original series and test it by hand — usually the alternating series test on one side and a p-series comparison on the other. The interval can be open, closed, or half-open, and only this check tells you which. Losing marks here is routine and entirely avoidable.
The radius is the distance from the centre to the nearest point where the function misbehaves. \(1/x\) expanded about \(a=1\) has \(R=1\), because there is a singularity at \(x=0\), exactly distance 1 away. No series centred at 1 could possibly reach past it.
2 · Building series from known ones
Deriving a Taylor series from scratch — differentiating \(n\) times and spotting the pattern — is slow and error-prone. Almost always, manipulate a series you already know. All of these operations are legal inside the radius of convergence:
| Operation | Example | New radius |
|---|---|---|
| Substitute for \(x\) | \(e^{-x^2} = \sum \dfrac{(-x^2)^n}{n!}\) | Adjust: \(u = -x^2\) must stay in range |
| Multiply by a power | \(x\sin x = \sum \dfrac{(-1)^n x^{2n+2}}{(2n+1)!}\) | Unchanged |
| Differentiate term by term | \(\dfrac{1}{(1-x)^2} = \sum n x^{n-1}\) | Same \(R\) (endpoints may change) |
| Integrate term by term | \(\ln(1-x) = -\sum \dfrac{x^{n+1}}{n+1}\) | Same \(R\) (endpoints may change) |
The workhorse is the geometric series \(\dfrac{1}{1-x} = \sum x^n\). Substituting \(-x\) gives \(1/(1+x)\); substituting \(-x^2\) and integrating gives \(\arctan x\). A great many series come from that one identity plus a substitution.
3 · Taylor and Maclaurin series
The idea: match the function's value, slope, curvature, and every higher derivative at a single point \(a\). The \(n!\) is exactly what makes the \(n\)th derivative of the series come out right — differentiating \(x^n\) that many times produces \(n!\), which the denominator cancels.
4 · The seven series worth memorising
These cover essentially every problem you will be handed.
| Function | Series | Valid for |
|---|---|---|
| \(\dfrac{1}{1-x}\) | \(1 + x + x^2 + x^3 + \cdots = \displaystyle\sum_{n=0}^{\infty} x^n\) | \(|x| < 1\) |
| \(e^{x}\) | \(1 + x + \dfrac{x^2}{2!} + \dfrac{x^3}{3!} + \cdots = \displaystyle\sum_{n=0}^{\infty}\frac{x^n}{n!}\) | all \(x\) |
| \(\sin x\) | \(x - \dfrac{x^3}{3!} + \dfrac{x^5}{5!} - \cdots = \displaystyle\sum_{n=0}^{\infty}\frac{(-1)^n x^{2n+1}}{(2n+1)!}\) | all \(x\) (odd powers only) |
| \(\cos x\) | \(1 - \dfrac{x^2}{2!} + \dfrac{x^4}{4!} - \cdots = \displaystyle\sum_{n=0}^{\infty}\frac{(-1)^n x^{2n}}{(2n)!}\) | all \(x\) (even powers only) |
| \(\ln(1+x)\) | \(x - \dfrac{x^2}{2} + \dfrac{x^3}{3} - \cdots\) | \(-1 < x \le 1\) |
| \(\arctan x\) | \(x - \dfrac{x^3}{3} + \dfrac{x^5}{5} - \cdots\) | \(|x| \le 1\) |
| \((1+x)^{k}\) | \(1 + kx + \dfrac{k(k-1)}{2!}x^2 + \cdots\) | \(|x| < 1\) (binomial series) |
\(\sin\) is odd, so its series has only odd powers; \(\cos\) is even, so only even powers. If your sine series produces an \(x^2\), you have made an error — no computation needed to know that.
5 · Taylor's theorem and error bounds
Truncating after the \(n\)th-degree term leaves a remainder, and Taylor's theorem says exactly what it looks like:
Read the structure: error shrinks fast as you move closer to the centre (the power of \(|x-a|\)) and fast as you add terms (the factorial). Both levers are available, and near the centre the first is dramatically more effective.
6 · What series are actually for
Integrals with no closed form
Expand the integrand and integrate term by term. This is how \(\int e^{-x^2}dx\), \(\int \frac{\sin x}{x}dx\), and every other "impossible" integral gets evaluated in practice.
Limits without L'Hôpital
Replace each function by its first few terms and cancel. Often faster and much less error-prone than three rounds of differentiation:
Approximation — the engineering use
Keep one or two terms and get a formula you can reason about. These five appear constantly in circuit analysis:
| Exact | Small-\(x\) approximation | Where it shows up |
|---|---|---|
| \(\sin x\) | \(x\) | Small-angle phase, pendulum, PLL analysis |
| \(\cos x\) | \(1 - \tfrac{x^2}{2}\) | Second-order phase error, power factor near unity |
| \(\dfrac{1}{1+x}\) | \(1 - x\) | Loop gain, loading corrections, tolerance stack-up |
| \(\sqrt{1+x}\) | \(1 + \tfrac{x}{2}\) | Impedance magnitude near resonance |
| \(e^{x}\) | \(1 + x\) | Diode equation, thermal drift |
7 · Small-signal linearisation
This section is the reason Taylor series appear in an EE curriculum at all. Nearly every real device is nonlinear. Every analysis technique you know — superposition, phasors, transfer functions — requires linearity. Taylor series is the bridge between those two facts.
Expand about a bias point (operating point, Q-point) \(V_Q\), and keep only the linear term:
Worked case: the diode
The Shockley equation is thoroughly nonlinear:
Differentiate and evaluate at the bias point:
So the small-signal resistance is \(r_d = V_T/I_D \approx 26\,\text{mV}/I_D\). At 1 mA bias that is 26 Ω.
\(r_e = 26\,\text{mV}/I_E\) for a BJT is the same first-order Taylor coefficient, and \(g_m = I_C/V_T\) is its reciprocal. These are not empirical rules of thumb — they are the linear term of a Maclaurin expansion, and the "small signal" condition (\(v \ll 26\) mV) is precisely the condition that makes the quadratic remainder negligible.
That also tells you when the model fails: push the amplitude up and the \(x^2/2\) term stops being negligible. Its effect is second-harmonic distortion. Taylor series does not just give you the model — it predicts the distortion when you exceed it.
8 · Euler's formula
Take the series for \(e^{x}\), substitute \(x = i\theta\), and sort the terms by whether they carry an \(i\). Using \(i^2 = -1\), \(i^3 = -i\), \(i^4 = 1\):
Group the real terms and the imaginary terms:
Those are exactly the cosine and sine series from the table above:
It converts trigonometry into algebra. Multiplying complex exponentials adds their exponents, so phase shifts become addition rather than angle-sum identities. That is the whole reason phasors work: a sinusoid \(V\cos(\omega t + \phi)\) becomes a static complex number \(Ve^{j\phi}\), differentiation becomes multiplication by \(j\omega\), and differential equations collapse into ordinary algebra.
It also gives you the inverse forms, which turn up whenever you integrate a product of sinusoids:
Notation warning: electrical engineers write \(j\), not \(i\), because \(i\) is current. Mathematicians write \(i\). Same object; expect to switch between conventions constantly.
9 · Worked examples
1. Radius and interval of convergence
Find the interval of convergence of \(\displaystyle\sum_{n=1}^{\infty}\frac{(x-2)^n}{n\,3^n}\).
Ratio test, carrying \(x\):
Now the endpoints, one at a time.
\(x = 5\): the series becomes \(\sum \frac{3^n}{n\,3^n} = \sum \frac1n\) — the harmonic series, divergent.
\(x = -1\): it becomes \(\sum \frac{(-3)^n}{n\,3^n} = \sum \frac{(-1)^n}{n}\) — alternating harmonic, convergent (conditionally).
Half-open, the most common outcome and the one you can only get by checking. Reporting \((-1,5)\) or \([-1,5]\) both lose marks.
2. Build a series by substitution and integration
Find the Maclaurin series for \(\arctan x\), starting from the geometric series.
Step 1. Start from \(\frac{1}{1-u} = \sum u^n\) and substitute \(u = -x^2\):
Step 2. That is exactly the derivative of \(\arctan\), so integrate term by term:
The constant of integration is 0 because \(\arctan 0 = 0\). Radius: \(u = -x^2\) needs \(|x^2| < 1\), so \(R = 1\).
A famous consequence: at \(x = 1\) this gives \(\frac{\pi}{4} = 1 - \tfrac13 + \tfrac15 - \cdots\) — the Leibniz formula. Beautiful, and useless for computing \(\pi\): by the alternating-series bound you would need about \(10^6\) terms for six digits.
3. Approximate an integral to a stated accuracy
Estimate \(\displaystyle\int_0^1 e^{-x^2}dx\) with error below \(0.001\).
Expand by substituting \(-x^2\) into the \(e^x\) series:
Integrate term by term from 0 to 1:
It alternates, so the error is under the first omitted term. Since \(1/1320 \approx 0.00076 < 0.001\), stopping just before it suffices — keep through \(1/216\):
True value \(0.74682\), so the actual error is \(0.00067\) — within tolerance and consistent with the bound. Compare Exam 1 question 7, where Simpson's rule gave \(0.74685\) on the same integral: two completely different methods, same answer.
4. Error bound for a sine approximation
How accurate is \(\sin x \approx x - x^3/6\) for \(|x| \le 0.5\) rad? And \(\sin x \approx x\) for \(|x| \le 0.1\)?
First part. The approximation is \(T_3\), but since the \(x^4\) coefficient is zero it is also \(T_4\) — use \(n=4\) for a sharper bound. All derivatives of sine are bounded by \(M = 1\):
Better than four decimal places from two terms.
Second part. \(\sin x \approx x\) is \(T_2\) (again the \(x^2\) term vanishes):
A relative error near 0.17%, which is why the small-angle approximation is used so freely below about 0.1 rad (roughly 6°). Note how sharply the bound depends on the interval: at \(x = 0.5\) the same one-term approximation would have error about \(0.02\), a hundredfold worse.
5. EE — linearising the diode equation
A diode is biased at \(I_D = 2\) mA. Find its small-signal resistance, and estimate the error the linear model makes for a 5 mV signal.
How good is the linear model? Write \(x = v/V_T\) and expand:
For a 5 mV signal, \(x = 5/26 = 0.192\). Compare the term you keep against the first one you drop:
So the quadratic term is nearly 10% of the linear term — the "small signal" is not small enough. That 9.6% shows up as second-harmonic distortion.
Design consequence: to hold distortion under 1% you need \(x/2 < 0.01\), i.e. \(v < 0.02(26\ \text{mV}) \approx 0.5\) mV. That is a hard, quantitative limit on input swing, and it came straight out of a Taylor remainder. This is the difference between "I memorised \(r_e = 26/I_E\)" and "I know when it stops being true."
6. A limit by series
Evaluate \(\displaystyle\lim_{x\to 0}\frac{e^{x} - 1 - x}{x^2}\).
This is \(0/0\). L'Hôpital works but needs two rounds. Series is one step:
The general principle: for a \(0/0\) limit at a point, expand everything about that point and cancel the common power. It also tells you more than the limit does — the \(x/6\) term shows how the ratio approaches \(\tfrac12\), which L'Hôpital never reveals.
Checklist
- I find \(R\) with the ratio test and then check both endpoints by hand.
- I build new series by substituting into known ones rather than differentiating \(n\) times.
- I know all seven series in the table, including where each is valid.
- I know sine has only odd powers and cosine only even ones, and I use that as a check.
- I can bound a truncation error with \(M|x-a|^{n+1}/(n+1)!\).
- I can derive Euler's formula from the three series, not just quote it.
- I can explain small-signal linearisation as a first-order Taylor expansion, and say when it breaks.