A least‐square application to relaxation techniques is presented wherein the mean‐square error is minimized in considering any corrections to a given set of values for the unknown function. A systematic procedure is, therefore, devised for weighting errors at various points of the lattice. The process has general applicability to various forms of equations and definitions of corresponding difference equations. As illustrations, Laplace's and the biharmonic equations are considered.