Science, Numerical Analysis, Ritz.
original equation, we seek an approximation in the form of Equation 12, so by moving all the terms of the original equation to one side and equating it to zero then replacing u(x) with it’s approximation Uₙ(x) the new equation is not exactly equal to zero (can you figure out why?), meaning that