A5 · Lesson 21 · Linear approximation
Every smooth curve is a straight line up close
A transistor amplifier is wildly nonlinear: its current is an exponential of its input voltage. Yet for small signals it behaves almost perfectly linearly, with a gain you can calculate. The reason is the same one that makes for small angles: zoom in far enough on any smooth curve and it looks like its tangent line. Replacing a function by its tangent line near a working point is the linear approximation, and the small-signal models of C5 and C6 are built entirely on it.
- The curve is and the dashed line its tangent at .
- Move the test point away from . How fast does the gap between curve and tangent grow?
- Compare the error readout with .
Predict
Using the tangent line to at , what is the estimate for ?
10.05. The slope of is at 100, so moving 1 to the right adds about 0.05. The true value is 10.0499, so the estimate is off by about one part in 100,000.
Name it
The tangent line as an approximation
Near ,
is the linearization of at . Its error is roughly : it shrinks with the square of the distance, so halving the distance quarters the error. (A6 makes this precise with Taylor series.)
Approximations worth knowing
For small (in radians where it matters):
| Function | Linear approximation |
|---|---|
| , | |
| (to first order; to second) |
Differentials
Writing for a small change in , the matching change in is about
This is A1's rule for small relative changes, now derived: for , , so .
Small-signal models
Around an operating point, a nonlinear part acts like a linear one for small changes. A diode at current has , so a small voltage change gives a small current change
The diode acts like a resistor of for the signal, while the bias sets the operating point. That's the whole idea behind small-signal analysis of amplifiers.
Worked example
Estimate without a calculator, and check.
Show the solution
- Linear estimate. Use with and :
- Check. The true value is 1.2190, so the error is 0.019.
- Second-order term. The error is close to
- When it's good enough. For a quick sense of size the linear estimate is fine; for a 1% answer here you'd need the next term.
Answer about 1.2 by the linear estimate; the true value is 1.2190.
Worked example
A diode is biased at 1 mA ( = 25.85 mV). A 1 mV signal is added to its voltage. Estimate the change in current.
Show the solution
- Linear estimate.
- Exact value.
- Compare. The linear model is within 2% for a 1 mV signal; at 10 mV it would be off by 20%, which is where "small signal" stops being small.
Answer the current rises by about 38.7 µA (39.4 µA exactly).
Worked example
Estimate from with a linear approximation.
Show the solution
- Work in radians. The slope of is , but only when is in radians. One degree is
- Linear approximation.
- Check. The true value is 0.515 04, so the estimate is off by 0.000 07.
- Why radians matter. Forgetting to convert to radians would have added 0.866, a nonsense answer.
Answer , against a true value of 0.515 04.
Check
Using the linearization of at = 9, estimate .
Check
Using , estimate .
Check
A diode biased at 2 mA ( = 25.85 mV) gets a small signal of 0.5 mV. Using the small-signal model, how many microamps does its current change by?
Write units the way you normally would: 1.5 µA, 1500 nA and 0.0015 mA are the same answer.
Check
Using differentials, estimate how much the power in a 10 Ω resistor changes when its voltage goes from 5 V up by 0.1 V.
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
Check
The approximation is used at = 0.1 rad. By what percent does it overestimate?
Check
Write the linearization of at = 3.
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Check
Approximate near = 4.
(a)
What does the linear approximation give for ?
(b)
What is the exact value?
(c)
What is the exact value minus the approximation?
Check
Derive the approximation from the tangent line at .
Step 1
What is the slope of at ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
Write the tangent line at 0.
Step 3
The next term is with . What is ?
Explain why
Why does a linear approximation get so much better as you move closer to the point, and what does that mean for "small-signal" analysis?
The gap between a smooth curve and its tangent grows like the square of the distance from the point of tangency. Halving the distance cuts the error to a quarter, and a tenth of the distance cuts it a hundredfold. In small-signal analysis, the signal is a small swing around a bias point, so the nonlinear part behaves almost exactly like its tangent line: a linear element whose gain is the slope at the bias point. The approximation holds as long as the swing stays small enough that the squared term is negligible.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.