Fundamentals / Numerical mathematics / Inverse problems and least squares

Project · Which thermometer should the laboratory buy?

Separate an unknown common temperature, a calibration contrast and temporal drift. Design a measurement that improves the weakly determined quantity and check whether a small residual signals a trustworthy reconstruction.

Resolve two independent directions

Two calibrated outputs in orthogonal data coordinates are \(d_1=x_1+\eta_1\), \(d_2=0.02x_2+\eta_2\). Both noise standard deviations are 0.01 °C. The observed outputs are 1.00 and 0.03. Compute the unregularised estimates and their standard deviations. Which parameter does the experiment measure reliably?

Work through the solution

The estimates are 1 and 1.5. Independent noise standard deviations propagate by division by the sensitivities, giving 0.01 and 0.5. Both fitted data residuals are zero. Sensor fit alone has hidden the factor of fifty between parameter uncertainties.

Explore the related calculation with adjustable inputs. Change the parameters in the corresponding calculation and compare its independently recomputed values with the equation derived in this solution.

Separate an assumption from a measurement

With \(\lambda=0.02\) apply the zero-centred Tikhonov penalty. Calculate both fitted parameters, their predicted data and the residual. Compare with the regularisation path. Its three-channel test adds a middle sensitivity of 0.2. Set the weak-channel error to 0.010 for the same weak observation and compare the weak-channel prediction. The third sensor changes the total residual norm. Would another identical weak measurement halve the unregularised standard deviation?

Work through the solution

The first estimate is \(1/1.0004\approx0.9996\). The second gain is \(0.02/(0.0004+0.0004)=25\), hence \(x_2=0.75\). The two predicted data are about 0.9996 and 0.015. Subtracting these from the observed data gives residuals 0.0004 and 0.015, with Euclidean norm about 0.0150. Two independent readings at the same design divide standard deviation by \(\sqrt 2\). A change of sensitivity from 0.02 to 0.04 would halve it directly.

Reuse the sensors over time

For a common temperature whose prior variance is 0.04 °C², a time step adds process variance 0.01 °C². A new independent reading has variance 0.04 °C² and lies 0.3 °C above prediction. Calculate the posterior mean shift and standard deviation. Use the temperature filter to predict what increasing process variance does to lag.

Work through the solution

The predicted variance is 0.05. Gain is \(0.05/(0.05+0.04)=5/9\), hence the mean shifts by 0.1667 °C. The posterior variance is \(0.05(4/9)=0.02222\), giving standard deviation 0.1491 °C. Larger process variance gives a higher gain, tending to reduce lag while allowing more measurement variability into the estimate.

Audit the purchase decision

A cheaper replacement responds to \(x_2^2\) with very low noise. Is it a good replacement when the sign of the calibration contrast decides whether to add or subtract a correction? Explore the signed measurement experiment.

Work through the solution

A precise squared measurement alone still cannot distinguish equal positive and negative contrasts under a symmetric prior. A weak signed reading can split the two explanations. Evaluate loss in the corrected temperature and the cost of choosing the wrong sign before choosing hardware.