A14 · Lesson 44 · The inverse and implicit function theorems
When an equation defines one variable as a function of another, and how fast it changes
A diode in series with a resistor: as the supply voltage changes, how does the diode's voltage change? There's no formula for in terms of the supply; the circuit only gives an equation linking them. The implicit function theorem says that, as long as a certain derivative isn't zero, that equation still defines as a smooth function of the supply, and it gives the derivative directly. That derivative is the small-signal gain. The same theorem underlies sensitivity analysis, explains when Newton's method behaves near a root, and marks the exact points where a system can jump, like a Schmitt trigger's thresholds.
- The curve shows the supply voltage needed for each diode voltage: , with R = 1 kΩ. That's explicit in ; the circuit question needs it the other way round.
- Its slope is never zero, so by the inverse function theorem is a smooth function of with slope (readout), with no formula for the function itself needed.
- At the marked point the diode conducts a few milliamps and the gain is tiny: changing the supply barely moves .
Predict
has an inverse. What's the slope of the inverse at y = 2 (where x = 1)?
: , and the inverse's slope is the reciprocal, at the matching x. You never need a formula for , which here would be messy.
Name it
The inverse function theorem
If f is continuously differentiable near a and , then near a, f has a differentiable inverse with
In n dimensions: if the Jacobian matrix is invertible, f is invertible near a and . Where det J = 0 (polar coordinates at r = 0), local invertibility can fail.
The implicit function theorem
If at a point, F is continuously differentiable, and there, then near that point the equation defines y as a differentiable function of x, with
With many equations for a vector y, the condition is that the Jacobian is invertible, and .
In circuits
A circuit's DC equations are , with node voltages v and parameters p (supplies, resistor values). The theorem says the operating point moves smoothly with the parameters wherever the Jacobian , the matrix Newton's method factors, is invertible, and gives the sensitivities by one more linear solve. Where it's singular, the operating point can jump or split: the thresholds of a latch or a Schmitt trigger.
Worked example
A 1 kΩ resistor feeds a diode at 4.31 mA ( = 0.6925 V). What's ?
Show the solution
- Write the circuit as F = 0.
- Partials. with S.
- Implicit derivative.
- What it means. A 1 V change in supply moves the diode by 6 mV.
Answer : a 1 V change in supply moves the diode voltage by 6 mV.
Worked example
On the circle , find at (3, 4), and say where the theorem fails.
Show the solution
- Set up F.
- Implicit derivative.
- Where the theorem fails. It fails where , at (±5, 0): there the circle is vertical and isn't the graph of a function of x.
Answer at (3, 4), and the theorem fails at (±5, 0).
Worked example
Near (1, 1), defines y as a function of x. Find dy/dx there.
Show the solution
- Check the hypotheses. , and is there, so the implicit function theorem applies.
- Differentiate. Differentiating gives
- Solve for y'.
- What the theorem gives. It guarantees that y(x) exists and is smooth near x = 1 without solving the cubic.
- Where it would fail. Where , that is, where : there the curve can have a vertical tangent or branch.
Answer at (1, 1).
Check
For , what's the slope of at y = f(2)?
Check
On the circle through (5, 4) centered at the origin, what's dy/dx there?
Check
A diode carries 4.31 mA ( = 25.85 mV) fed through 1000 Ω from a supply. What's ?
Check
defines y as a function of x near (1, 1). What's dy/dx there?
Check
What's the Jacobian determinant of the polar map at r = 2?
Check
Near which point does fail to define y as a differentiable function of x?
Check
, with c chosen so F passes through (1, 1).
(a)
What is there?
(b)
What is dy/dx along the curve?
Check
has an inverse g.
Step 1
What is ?
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
What is , using ?
Explain why
Why does the implicit function theorem give a circuit's small-signal gain without solving the circuit again?
At the operating point, the circuit's equations hold. If a parameter p changes slightly, the operating point must change so the equations still hold, and to first order the change satisfies . When the Jacobian is invertible, this has the unique solution : the sensitivities, or small-signal gains. That Jacobian is exactly the linearized circuit (diodes as conductances ), so one linear solve of the small-signal circuit gives every sensitivity, without re-solving the nonlinear equations.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.