10.3. A heat-equation residual
Return to the separated heat profile from the parabolic chapter:
u(t,x)=e^{-t}\sin x.
It keeps its sine shape while its amplitude decays. Differentiating once in
time and twice in space gives the same expression,
\partial_t u=-e^{-t}\sin x=\partial_{xx}u,
so the heat-equation residual is zero. On a rod with endpoints at 0 and
\pi, the profile also vanishes at both ends. At time zero it is the sine
profile. We have checked the differential identity, the boundary values, and
the initial value separately. A uniqueness argument would tell us whether
another solution with the same data is possible in the chosen solution class.
The initial-value check is essential even when the residual is exactly zero.
For any constant \delta, the profile
\widetilde u(t,x)=(1+\delta)e^{-t}\sin x has the same zero residual
and homogeneous boundary values, but its initial value differs from the
prescribed sine by \delta\sin x. We use this simple example to keep track
of what a calculation has established: an equation, its data, and a
uniqueness or stability theorem each answer a different part of the PDE
problem.
We have already used this kind of calculation for harmonic polynomials,
transport, and the rotation and shear flows. The same
calculator supports those proofs. For this profile we can follow the
derivatives by eye. Longer formulas involve the same rules, with more terms
and more conditions to track. The cas tactics
prove supported exact identities, derivatives, and antiderivatives; cega
proves numerical bounds from exact rational interval computations or applies
an existing certificate, such as a Taylor or quadrature certificate with its
analytic hypotheses.
The fixed-point chapter gives one
quantitative connection. For a contraction T with constant q<1
and fixed point u, a candidate v satisfies
\|u-v\|\leq\|T(v)-v\|/(1-q). A certified defect becomes a solution-error
bound through this stability estimate. For a PDE, the norm, boundary
conditions, and inverse-operator estimate in that argument come from the
analysis of the problem, not from the residual computation.
For a real residual R, the certificate relation ResidualBound R Ω ε
means |R(p)|\le\varepsilon for every p\in\Omega. At
\varepsilon=0 it gives the exact equation R=0 on that domain.
At positive tolerance it gives uniform control of the residual.
We justify the exact transformations with the soundness of normalization theorem and the numerical bounds with the soundness of interval evaluation theorem.

