---
title: Linearization and small-signal approximations
heading: Every smooth curve is a straight line, up close
eyebrow: A6 · Lesson 42 · Linearization
xp: 40
---

::: hook
A diode's current grows exponentially with its voltage: add 60 mV and the current goes up ten times. That's hopeless for the simple linear circuit analysis you'll learn in C1. Yet audio amplifiers built from transistors, which share the same exponential law, are designed with nothing but linear circuit analysis. The trick is to bias the device at a steady point and then look only at small wiggles around it, where the curve is nearly straight.

::: play
- The curve is a silicon diode's current, $I = I_s(e^{V/V_T} - 1)$, in mA. The dashed line is its tangent at the bias voltage $V_0$.
- A small signal $\pm\Delta v$ moves the voltage either side of $V_0$. Compare where the curve and the tangent put the current at each end.
- Grow $\Delta v$ until the two disagree noticeably. How many millivolts is that? Then move $V_0$: does the slope of the tangent change?
:::
:::

```sim plot
view: graph
x: V = 0.6..0.74 V
y: I = 0..20 mA
slider: V0 = 0.62..0.72 step 0.002 = 0.68 V
slider: dv = 0..30 step 1 = 10 mV
plot: 1e-11*(exp(V/0.02585) - 1) | label: diode current
plot: 1e-11*exp(V0/0.02585) + 1e-11*exp(V0/0.02585)/0.02585*(V - V0) | dashed | color: ch2 | label: tangent
point: V0 + dv/1000, 1e-11*exp((V0 + dv/1000)/0.02585) | color: ch3
point: V0 + dv/1000, 1e-11*exp(V0/0.02585)*(1 + dv/1000/0.02585) | color: ch2
readout: bias current in mA = 1e-11*exp(V0/0.02585)
readout: small-signal resistance in Ω = 0.02585/(1e-14*exp(V0/0.02585))
readout: tangent's error = 100*(1 - (1 + dv/1000/0.02585)/exp(dv/1000/0.02585)) %
```

::: predict
## The thermal voltage $V_T$ is about 26 mV. For which signal sizes does the tangent line describe the diode well?

- [ ] Any size, as long as the bias is right
- [x] Signals much smaller than 26 mV
- [ ] Signals larger than 26 mV
- [ ] Only signals of exactly 26 mV

::: reveal
Signals much smaller than 26 mV. The exponential's curvature is set by $V_T$: over a few millivolts it's nearly straight, and the tangent's error grows roughly as $\tfrac12(\Delta v/V_T)^2$. At 5 mV that's under 2%; at 26 mV, over 25%. "Small signal" in electronics means small compared with $V_T$.
:::
:::

::: nameit
## The tangent line as an approximation

Near a point $x_0$, the first two terms of the Taylor series give the **linearization**:

$$f(x_0 + \Delta x) \approx f(x_0) + f'(x_0)\,\Delta x$$

The change in output is the slope times the change in input. The error is about $\tfrac12 f''(x_0)\Delta x^2$, so it shrinks fast as $\Delta x$ does.

**Small-signal analysis** splits every voltage and current into a steady **bias** part and a small **signal** part riding on it, $v = V_0 + \Delta v$, and replaces each nonlinear device by its tangent at the bias point. For the diode,

$$\frac{dI}{dV} = \frac{I_s}{V_T}e^{V/V_T} \approx \frac{I}{V_T}$$

so to small signals the diode looks like a resistor of

$$r_d = \frac{V_T}{I_D}$$

At 1 mA that's about 26 Ω; at 10 mA, 2.6 Ω. The bias current sets the small-signal resistance. A transistor's key small-signal parameter, its transconductance $g_m = I_C/V_T$, comes from exactly the same derivative.

**Sensitivity.** The same idea estimates how much a result moves when a part changes. A resistor's power $P = V^2/R$ changes by $\Delta P \approx \frac{2V}{R}\Delta V$ for a small change in voltage: 1% more voltage gives about 2% more power.
:::

::: example
## A diode biased at 1 mA gets a 1 mV signal. Compare the linear prediction with the exact current change.

::: solution
1. **Small-signal resistance.**
   $$\begin{aligned} r_d &= \frac{V_T}{I} \\ &= 25.85\ \Omega \end{aligned}$$
2. **Linear prediction.**
   $$\frac{1\ \text{mV}}{25.85\ \Omega} = 38.7\ \mu\text{A}$$
3. **Exact change.**
   $$\begin{aligned} &I(e^{v/V_T} - 1) \\ &= 1\ \text{mA} \times (e^{1/25.85} - 1) \\ &= 39.4\ \mu\text{A} \end{aligned}$$
4. **Compare.** The linear estimate is 2% low; the error grows with the square of the signal, so at 0.1 mV it would be 0.2%.

**Answer:** the linear model predicts 38.7 µA and the exact change is 39.4 µA, so the linear estimate is 2% low.
:::
:::

::: example
## A 100 Ω resistor has 10 V across it. Linearize its power to estimate the power at 10.3 V.

::: solution
1. **Power and its slope at 10 V.**
   $$\begin{aligned} P &= \frac{V^2}{R} \\ &= 1\ \text{W} \\ \frac{dP}{dV} &= \frac{2V}{R} \\ &= 0.2\ \text{W/V} \end{aligned}$$
2. **Linear estimate.**
   $$\begin{aligned} P &\approx 1 + 0.2 \times 0.3 \\ &= 1.06\ \text{W} \end{aligned}$$
3. **Compare with the exact value.**
   $$\frac{10.3^2}{100} = 1.0609\ \text{W}$$

**Answer:** the linear estimate is 1.06 W, against the exact 1.0609 W.
:::
:::

::: example
## A thermistor follows $R = R_0e^{B(1/T - 1/T_0)}$ with $B$ = 3950 K and $T_0$ = 298.15 K. Linearize it near 25 °C.

::: solution
1. **Differentiate.**
   $$\frac{dR}{dT} = R\cdot\left(-\frac{B}{T^2}\right)$$
2. **Find the relative slope at $T_0$.**
   $$\begin{aligned} -\frac{B}{T_0^2} &= -\frac{3950}{298.15^2} \\ &= -0.0444\ \text{per kelvin} \end{aligned}$$
   about $-4.4\%$ per degree.
3. **Write the linear model.** Near 25 °C,
   $$R \approx R_0(1 - 0.0444\,\Delta T)$$
   good for a few degrees; over 20 degrees the exponential's curvature matters.

**Answer:** near 25 °C, $R \approx R_0(1 - 0.0444\,\Delta T)$, about $-4.4\%$ per degree.
:::
:::

::: check
given: I = 0.5m..20m sig 2 A
answer: 0.02585/I
unit: Ω
tolerance: 1%

## A diode is biased at {I}. Taking $V_T$ = 25.85 mV, what is its small-signal resistance?

::: right
Right. $r_d = V_T/I_D$ = {answer}.
:::

::: misses
- [I/0.02585] That's the conductance, $dI/dV$. The resistance is its reciprocal.
- [0.7/I] That's the large-signal ratio $V/I$, which isn't the slope.
- [25.85/I] $V_T$ is 0.02585 V; check the prefix.
- [any] Not yet. Use $r_d = V_T/I_D$.
:::
:::

::: check
given: I = 1m..10m sig 2 A; dv = 1..5 int
answer: I*dv/1000/0.02585
unit: A
tolerance: 1%

## A diode at {I} gets a small signal of {dv} mV. By how much does its current change, to first order?

::: right
Right. $\Delta I \approx \Delta v/r_d = \Delta v \cdot I/V_T$ = {answer}.
:::

::: misses
- [I*dv/0.02585] The signal is in millivolts; use volts.
- [dv/1000/0.02585] Multiply by the bias current: the slope is $I/V_T$.
- [any] Not yet. $\Delta I = \Delta v / r_d$, with $r_d = V_T/I$.
:::
:::

::: check
given: V0 = 5..24 int; R = 10..100 sig 2; d = 1 | 2 | 5
answer: 2*V0*(V0*d/100)/R
unit: W
tolerance: 1%

## A resistor of {R} Ω has {V0} V across it. Using the linearization, by how much does its power rise if the voltage goes up by {d}%?

::: right
Right. $\Delta P \approx \frac{2V_0}{R}\Delta V$ = {answer}: a {d}% rise in voltage gives about twice that in power.
:::

::: misses
- [V0*d/100/R*V0] That's half the change: the slope of $V^2/R$ is $2V/R$.
- [any] Not yet. Use $\Delta P \approx \frac{dP}{dV}\Delta V$ with $\frac{dP}{dV} = 2V/R$.
:::
:::

::: check
kind: choice

## Why is the diode's small-signal resistance smaller at higher bias currents?

- [x] The exponential curve gets steeper as the current rises, so a small change in voltage changes the current more
- [ ] Higher currents heat the diode
- [ ] The thermal voltage falls
- [ ] It isn't; it's the same at every bias

::: right
Right. The slope $dI/dV$ is $I/V_T$, proportional to the current itself, and the small-signal resistance is its reciprocal.
:::

::: misses
- [2] Heating does change a diode, but the effect here comes from the shape of the exponential.
- [3] $V_T$ depends on temperature, not on the bias current.
- [4] The tangent's slope changes with the bias point: it's $I/V_T$.
:::
:::

::: check
kind: parts
given: B = 3435 | 3950; dT = 2 | 5 | 20

## A thermistor has $R = R_0e^{B(1/T - 1/T_0)}$, $T_0$ = 298.15 K, $B$ = {B} K.

::: part
answer: -B/298.15^2*dT*100
tolerance: 0.5%

### What percentage change does the linearization predict for a {dT} K rise?

::: misses
- [B/298.15^2*dT*100] The resistance falls as it warms.
- [any] Relative slope $-B/T_0^2$.
:::
:::

::: part
answer: (exp(B*(1/(298.15 + dT) - 1/298.15)) - 1)*100
tolerance: 0.5%

### What is the exact percentage change?

::: misses
- [any] Compute $R/R_0 - 1$.
:::
:::
:::

::: check
kind: derivation
vars: B = 3000..4500, T = 250..350, T0 = 290..310

## Linearize $R = R_0e^{B(1/T - 1/T_0)}$ about $T_0$.

::: step
answer: -B/T^2

### What is $\frac{1}{R}\frac{dR}{dT}$?
:::

::: step
answer: -B/T0^2

### Evaluate it at $T_0$.
:::

::: right
Right. The relative slope at $T_0$ is $-B/T_0^2$, about $-4.4\%$ per kelvin for $B$ = 3950 K.
:::
:::

::: explain
## What does "small signal" mean for a diode, and why does it make linear circuit analysis possible?

::: model
It means a variation in voltage much smaller than the thermal voltage, about 26 mV, around a steady bias point. Over such a small range the exponential curve is very nearly its tangent line, so the current's variation is proportional to the voltage's variation, like a resistor of $V_T/I$. With every device replaced by such a resistor (or its equivalent), the circuit's response to the signal obeys linear equations, which can be solved with the methods for ordinary resistor circuits.
:::
:::

::: practice

::: check
given: I = 0.1m..50m sig 2 A
answer: I/0.02585
unit: S
tolerance: 1%

## A transistor is biased at a collector current of {I}. What is its transconductance $g_m = I_C/V_T$, with $V_T$ = 25.85 mV?

::: misses
- [0.02585/I] That's a resistance, $V_T/I$. Transconductance is the reciprocal.
- [any] $g_m = I_C/V_T$, in siemens (A/V).
:::
:::

::: check
given: x0 = 1..3 int; dx = 0.05 | 0.1
answer: sqrt(x0^2) + dx/(2*x0)
tolerance: 0.0001%

## Linearize $\sqrt{x}$ at $x = \given{x0}^2$ to estimate $\sqrt{\given{x0}^2 + \given{dx}}$.

::: misses
- [sqrt(x0^2 + dx)] That's the exact value; use the tangent line.
- [any] $\sqrt{a^2 + \Delta} \approx a + \Delta/(2a)$.
:::
:::

::: check
given: V0 = 5..24 int; R = 10..100 sig 2; d = 1 | 2 | 5
answer: 2*d
unit: %
tolerance: 0.5%

## The voltage across a resistor rises by {d}%. To first order, by what percentage does its power rise?

::: misses
- [d] Power goes as the square of the voltage, which doubles the percentage.
- [any] $\Delta P/P \approx 2\,\Delta V/V$.
:::
:::
:::
