PDEresidualer
PDEresidualer are the discrepancies that arise when a candidate function is substituted into a partial differential equation (PDE). For a PDE written as L[u] = s on a domain Ω with boundary conditions B[u] = g on ∂Ω, the residual for an approximate solution û is r(x) = L[û](x) − s(x) in the domain, together with a boundary residual r_B(x) = B[û](x) − g(x) on the boundary. If û were an exact solution, these residuals would be zero; in practice they are generally nonzero and quantify how well the PDE is satisfied by the approximation.
Residuals can be categorized by form. A strong residual is evaluated pointwise and is common in collocation
Applications of PDE residuals include assessing solution quality, guiding error estimation, and driving adaptive refinement. The
Common examples illustrate the concept. For the heat equation u_t − κΔu = 0, the strong residual is