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

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 VD 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 VD 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: Vs=VD+RIs(eVD/nVT−1), with R = 1 kΩ. That's explicit in VD; the circuit question needs it the other way round.
  • Its slope dVsdVD=1+Rgd is never zero, so by the inverse function theorem VD is a smooth function of Vs with slope 11+Rgd (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 VD.

Predict

f(x)=x3+x has an inverse. What's the slope of the inverse at y = 2 (where x = 1)?

Name it

The inverse function theorem

If f is continuously differentiable near a and f′(a)≠0, then near a, f has a differentiable inverse with

(f−1)′(f(a))=1f′(a)

In n dimensions: if the Jacobian matrix Jf(a) is invertible, f is invertible near a and Jf−1=Jf−1. Where det J = 0 (polar coordinates at r = 0), local invertibility can fail.

The implicit function theorem

If F(x,y)=0 at a point, F is continuously differentiable, and ∂F∂y≠0 there, then near that point the equation defines y as a differentiable function of x, with

dydx=−∂F/∂x∂F/∂y

With many equations F(x,y)=0 for a vector y, the condition is that the Jacobian ∂F/∂y is invertible, and dydx=−(∂F∂y)−1∂F∂x.

In circuits

A circuit's DC equations are F(v,p)=0, with node voltages v and parameters p (supplies, resistor values). The theorem says the operating point moves smoothly with the parameters wherever the Jacobian ∂F/∂v, the matrix Newton's method factors, is invertible, and gives the sensitivities ∂v∂p 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 (VD = 0.6925 V). What's dVDdVs?

Show the solution
  1. Write the circuit as F = 0. F(VD,Vs)=Vs−VDR−Is(eVD/nVT−1)=0
  2. Partials. ∂F∂Vs=1R ∂F∂VD=−1R−gd with gd=I/nVT=0.167 S.
  3. Implicit derivative. dVDdVs=1/R1/R+gd=11+Rgd=1168=0.0060
  4. What it means. A 1 V change in supply moves the diode by 6 mV.

Answer dVDdVs=0.0060: a 1 V change in supply moves the diode voltage by 6 mV.

Worked example

On the circle x2+y2=25, find dydx at (3, 4), and say where the theorem fails.

Show the solution
  1. Set up F. F=x2+y2−25
  2. Implicit derivative. dydx=−2x2y=−34
  3. Where the theorem fails. It fails where ∂F/∂y=2y=0, at (±5, 0): there the circle is vertical and isn't the graph of a function of x.

Answer dydx=−34 at (3, 4), and the theorem fails at (±5, 0).

Worked example

Near (1, 1), F(x,y)=x2+xy+y3−3=0 defines y as a function of x. Find dy/dx there.

Show the solution
  1. Check the hypotheses. F(1,1)=0, and Fy=x+3y2 is 4≠0 there, so the implicit function theorem applies.
  2. Differentiate. Differentiating F(x,y(x))=0 gives Fx+Fyy′=0
  3. Solve for y'. y′=−FxFy=−2x+yx+3y2=−34
  4. What the theorem gives. It guarantees that y(x) exists and is smooth near x = 1 without solving the cubic.
  5. Where it would fail. Where Fy=0, that is, where x=−3y2: there the curve can have a vertical tangent or branch.

Answer dydx=−34 at (1, 1).

Check

For f(x)=x3+x, what's the slope of f−1 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 (nVT = 25.85 mV) fed through 1000 Ω from a supply. What's dVDdVs?

Check

F(x,y)=xy+ey−c 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 (r,θ)↦(rcos⁡θ,rsin⁡θ) at r = 2?

Check

Near which point does x2−y3=0 fail to define y as a differentiable function of x?

Check

F(x,y)=x2+xy+y3−c, with c chosen so F passes through (1, 1).

(a)

What is Fy there?

(b)

What is dy/dx along the curve?

Check

f(x)=x3+x has an inverse g.

Step 1

What is g′(f(a))?

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 the implicit function theorem give a circuit's small-signal gain without solving the circuit again?

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.