Skip to content
Get started

3. Sensitivity and identifiability

Two explanations for one temperature field

Section titled “Two explanations for one temperature field”

Suppose you observe the entire steady field in the previous chapter. Can you recover both the source strength ss and conductivity aa?

Recall the solution on the one-metre square:

u=b+sL22aπ2ψ,ψ(x,y)=sin(πx/L)sin(πy/L),u=b+\frac{sL^2}{2a\pi^2}\,\psi,\qquad \psi(x,y)=\sin(\pi x/L)\sin(\pi y/L),

where L=1mL=1\,\mathrm m. The response depends on the ratio s/as/a. Multiplying both parameters by the same positive factor leaves uu unchanged everywhere. More temperature sensors do not remove this particular ambiguity, even with exact measurements.

Source scale ss in m2\mathrm m^{-2} Conductivity ratio aa Centre temperature, b=0b=0
2π22\pi^2 1 1
4π24\pi^2 2 1
π2\pi^2 0.5 1

These are analytically identical predictions. A numerical search can return one row with an excellent fit while the others remain equally compatible with the data.

A parameter sensitivity is the derivative of the observation with respect to a parameter. At fixed position,

us=L2ψ2aπ2,ua=sL2ψ2a2π2,ub=1.\frac{\partial u}{\partial s}=\frac{L^2\psi}{2a\pi^2},\qquad \frac{\partial u}{\partial a}=-\frac{sL^2\psi}{2a^2\pi^2},\qquad \frac{\partial u}{\partial b}=1.

Let JJ collect these derivatives for all observed positions. For a small parameter change δp\delta p,

δyJδp.\delta y\approx J\delta p.

The source and conductivity columns are proportional: Ja=(s/a)JsJ_a=-(s/a)J_s. In direction δp=(s,a,0)\delta p=(s,a,0), they cancel. The measurements have no first-order response in that direction, consistent with the exact scaling ambiguity above.

Identifiability asks whether observations distinguish the unknown parameters. Column dependence exposes a local ambiguity in a differentiable model. Here we also have the stronger, explicit family of exactly equivalent solutions. The linear-dependence language is developed in Boyd and Vandenberghe, chapter 5 of Introduction to Applied Linear Algebra.

The Poisson script orders its inputs as source, conductivity, boundary value. Replace its direction array with:

python
direction = np.array([2.0 * np.pi**2, 1.0, 0.0], dtype=np.float64)

The program.jvp(direction) call returns the field change in that direction. Predict a near-zero tangent. Compare it with the source-only direction np.array([1.0, 0.0, 0.0], dtype=np.float64), which produces a nonzero field change in the interior. Both experiments reuse the same compiled mathematical component and the same numerical plan.

For a finite change, compare program.evaluate(nominal) with program.evaluate(np.array([4.0 * np.pi**2, 2.0, 0.0], dtype=np.float64)). Their primary fields should agree up to the solution error.

Design an observation that adds information

Section titled “Design an observation that adds information”

Which change helps? An independent conductivity measurement fixes aa, so the field can determine ss. Alternatively measure heat flux as well as temperature. In our normalized model the flux is q=au\boldsymbol q=-a\nabla u, so substitution gives

q=sL22π2ψ.\boldsymbol q=-\frac{sL^2}{2\pi^2}\nabla\psi.

Its dependence on aa has cancelled. A suitably located nonzero flux measurement can determine ss, while temperature then determines aa. A flux measurement at the centre is unhelpful because the gradient vanishes there. The instrument and its placement matter as much as the number of readings.

If bb is also unknown, include information that separates a uniform offset from the sinusoidal response. A boundary-temperature reading directly observes bb; two distinct interior response levels can also separate the offset and amplitude. Repeating the centre reading reduces random noise but does not create a second spatial response pattern.

  1. Derive the three sensitivity formulas without looking at them above.
  2. Give two distinct (s,a)(s,a) pairs with centre temperature 0.75 and b=0b=0.
  3. At (x,y)=(0,0.5)(x,y)=(0,0.5), calculate the normalized outward flux from the analytic solution. Which unknown does it identify? Keep the outward normal sign explicit.
  4. Suppose aa is known but ss and bb are unknown. Compare two centre readings with one centre and one boundary reading by writing their 2×22\times2 Jacobians.
  5. Explain why reducing the optimizer’s stopping tolerance cannot remove the source/conductivity ambiguity.

Check your reasoning: on the left edge at its midpoint the outward flux is sL/(2π)sL/(2\pi) in the normalized units; the normal points in the negative xx direction.

Stephen Boyd and Lieven Vandenberghe, Introduction to Applied Linear Algebra, Cambridge University Press, 2018, chapters 5 and 12. Authors’ book.

Previous: Recovering a heat source · Book map · Next: Differentiating a solved model