A521 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 sin⁡θ≈θ 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 ex and the dashed line its tangent at a.
  • Move the test point x away from a. How fast does the gap between curve and tangent grow?
  • Compare the error readout with 12ea(x−a)2.

Predict

Using the tangent line to x at x=100, what is the estimate for 101?

Name it

The tangent line as an approximation

Near x=a,

f(x)≈L(x)=f(a)+f′(a)(x−a)

L is the linearization of f at a. Its error is roughly 12f′′(a)(x−a)2: 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 x (in radians where it matters):

FunctionLinear approximation
(1+x)n1+nx
1+x1+x/2
ex1+x
ln⁡(1+x)x
sin⁡x, tan⁡xx
cos⁡x1 (to first order; 1−x2/2 to second)

Differentials

Writing dx for a small change in x, the matching change in y=f(x) is about

dy=f′(x)dx

This is A1's rule for small relative changes, now derived: for P=V2/R, dP=2VRdV, so dPP=2dVV.

Small-signal models

Around an operating point, a nonlinear part acts like a linear one for small changes. A diode at current I has dIdV=IVT, so a small voltage change v gives a small current change

i≈IVTv

The diode acts like a resistor of VT/I for the signal, while the bias sets the operating point. That's the whole idea behind small-signal analysis of amplifiers.

Worked example

Estimate 1.0210 without a calculator, and check.

Show the solution
  1. Linear estimate. Use (1+x)n≈1+nx with x=0.02 and n=10: 1.0210≈1+0.2=1.2
  2. Check. The true value is 1.2190, so the error is 0.019.
  3. Second-order term. The error is close to n(n−1)2x2=45×0.0004=0.018
  4. 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 (VT = 25.85 mV). A 1 mV signal is added to its voltage. Estimate the change in current.

Show the solution
  1. Linear estimate. i≈IVTv=1mA25.85mV×1mV=38.7μA
  2. Exact value. i=I(ev/VT−1)=1mA×(e0.0387−1)=39.4μA
  3. 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 sin⁡31° from sin⁡30° with a linear approximation.

Show the solution
  1. Work in radians. The slope of sin⁡x is cos⁡x, but only when x is in radians. One degree is π180=0.01745rad
  2. Linear approximation. sin⁡31°≈sin⁡30°+cos⁡30°×0.01745=0.5+0.866×0.01745=0.51511
  3. Check. The true value is 0.515 04, so the estimate is off by 0.000 07.
  4. Why radians matter. Forgetting to convert to radians would have added 0.866, a nonsense answer.

Answer sin⁡31°≈0.51511, against a true value of 0.515 04.

Check

Using the linearization of x at x = 9, estimate 9+0.2.

Check

Using (1+x)n≈1+nx, estimate (1+0.02)3.

Check

A diode biased at 2 mA (VT = 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 sin⁡θ≈θ is used at θ = 0.1 rad. By what percent does it overestimate?

Check

Write the linearization of ex at x = 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 f(x)=1/x near x = 4.

(a)

What does the linear approximation give for f(4+0.1)?

(b)

What is the exact value?

(c)

What is the exact value minus the approximation?

Check

Derive the approximation (1+x)n≈1+nx from the tangent line at x=0.

Step 1

What is the slope of (1+x)n at x=0?

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°.

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?

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.