Estimate a probe requirement
A smooth pressure profile on a 2 m pipe satisfies \(|p''|\leq24\) kPa/m². Each probe has absolute uncertainty 0.01 kPa. Bound the total error of piecewise linear interpolation. Find the largest equal spacing consistent with 0.04 kPa total error and the smallest number of probes including the two endpoints.
Worked solution
Between measured nodes the interpolation error of exact samples is bounded by \(24h^2/8=3h^2\) kPa. The two sample errors enter with nonnegative weights summing to one, adding at most 0.01 kPa. The requirement \(3h^2+0.01\leq0.04\) gives \(h\leq0.10\) m. Twenty intervals on a 2 m pipe require 21 probes.
This calculation controls worst-case pressure values and assumes the curvature estimate holds on every panel. A single unnoticed discontinuity would invalidate its use on that panel.
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.
Predict beyond the sensors
Two sensors at positions 0 and 1 m each have error at most 0.5 K. Compute the interpolation weights at 0.4 m and the extrapolation weights at 1.5 m. Find the largest change to each predicted temperature and provide a sign pattern attaining each bound.
Worked solution
At 0.4 the weights are 0.6 and 0.4. Equal positive errors produce the worst-case rise of 0.5 K. At 1.5 the weights are \(-0.5\) and \(1.5\). Taking the first error negative and the second positive yields
Even for a perfectly affine true profile the second estimate is more sensitive to data noise. If the true profile is curved, extrapolation adds an entirely separate approximation error.
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.
Construct a minimax nodal factor
Choose two symmetric nodes \(\pm c\) on \([-1,1]\). Find the maximum magnitude of their monic nodal polynomial and minimise it over \(0\leq c\leq1\). Use the result to bound the interpolation error when \(|f''|\leq4\).
Worked solution
The nodal polynomial is \(x^2-c^2\); its negative extreme is \(-c^2\) at zero and positive extremes occur at the endpoints with value \(1-c^2\). Thus its norm is \(\max(c^2,1-c^2)\), minimised at \(c^2=1/2\). The nodes are \(\pm1/\sqrt2\) and the best monic norm is \(1/2\).
The Lagrange remainder yields maximum error at most \(4(1/2)/2=1\). For endpoints as nodes the same reasoning gives a bound of 2. The change improves this worst-case bound even though the endpoint readings themselves are no longer sampled.
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.
How close can a pole move before the degree budget fails?
For the same rational family, a changed physical parameter gives \(q=1/2\). Locate the pole and find the smallest truncation degree giving uniform error at most 0.002. Compare with \(q=1/3\) at that tolerance. Explain why increasing the density of a plot cannot establish a smaller worst-case error than the derived tail.
Worked solution
The pole is \((1/2+2)/2=1.25\), closer to the interval than \(5/3\). The exact tail is \(2^{1-n}\). At degree nine it is \(1/256\approx0.00391\). At ten it is \(1/512\approx0.00195\). Thus ten is the first sufficient degree.
For \(q=1/3\), degrees five and six give \(1/243\) and \(1/729\), so six suffices. The four extra degrees are explained by the slower coefficient decay. The endpoint \(x=1\) attains the tail exactly, regardless of how densely interior points are plotted.
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.
Revisit chapter 2 · Predict the degree from the nearest complex singularity.