The Galerkin method

Collocation = differentiation, Galerkin = integration

Weak Solution: if u(x) is a function that satisfies the weak form for all valid ψ(x), then u is a weak solution

ba[c(x)u(x)ψ(x)+s(x)u(x)ψ(x)]dx=baf(x)ψ(x)dx.