D is a linear operator here, in this case a differential operator, and q is some kind of outer load. If we substitute the approximation u_{N} from Eq. 3-1 into Eq. 3-2, the initial equation is not exactly satisfied anymore, and a remainder, also called residual, is generated.