Weak formulation (source code)

= Weak formulation
{wiki=Weak_formulation}

A weak formulation multiplies a differential equation by a <test function>, integrates, and uses <integration by parts> to move derivatives away from the unknown function. Natural boundary conditions appear in the resulting boundary terms.