 Similar terminology is used dealing with differential, integral and functional equations.For the approximation formula_4 of the solution formula_5 of the equation
the residual can either be the function
or can be said to be the maximum of the norm of this difference
over the domain formula_9, where the function formula_4 is expected to approximate the solution formula_5, or some integral of a function of the difference, for example