LightMySky

Weak Solutions and Test Functions

Multiply the equation by a smooth test function, integrate by parts, and the derivative moves off the unknown. A function with a corner can then solve an equation that in the classical sense it cannot.

No account needed. Progress saves in this browser.

What a learner can do afterwards

  • Move a derivative onto a test function and say why the boundary terms vanish
  • Show that a piecewise linear function solves a problem weakly but not classically
  • Say what a Sobolev space collects and why its completeness is the point

1 · Read

Multiply the equation by a smooth helper, integrate by parts, and the derivative moves off the unknown onto the helper. The price is a boundary bracket, but test functions are smooth helpers engineered to vanish near the boundary, so the bracket dies every time. So for every test function phi, the integral of u prime phi equals minus the integral of u phi prime, and that identity defines u prime when u has no classical derivative. Doing it twice moves two derivatives, and the two minus signs cancel. What remains is the weak formulation: an equation that asks less of u yet means the same whenever u is smooth.

Try it together

Take u(x) equals the absolute value of x on (negative 3, 3). From the left the slope is negative 1 and from the right it is 1, so no single tangent exists at 0 and u is not classically differentiable there. Its weak derivative is the sign function: negative 1 on (negative 3, 0) and 1 on (0, 3). A weak derivative is only fixed up to single points, so its value at 0 does not matter. A tent peaking at 2 over (negative 2, 2) works the same way, with weak derivative 1 on (negative 2, 0) and negative 1 on (0, 2).

|x|: slope -1, then 1no tangent at x = 0weak derivative: sign(x)value at 0 does not matter

A Sobolev space collects the functions whose weak derivatives stay square-integrable: it keeps u plus its weak derivatives in L2. The point of these spaces is completeness, so limits of approximating sequences stay inside and computations converge to real members. In one dimension every H1 function has a continuous representative, so tents are welcome but jumps are not. The step function is in L2 yet has no L2 weak derivative, since differentiating its jump gives a point mass.

For smooth functions the weak machinery changes nothing: x squared has weak second derivative 2, matching the classical one. The absolute value shows the limit: its first weak derivative jumps from negative 1 to 1, and differentiating that jump concentrates a point mass at the kink. So it has no weak second derivative in L2. When moving derivatives, always check which side of the kink you stand on.

Test functions absorb the derivatives, so kinked functions can solve equations that classical sense forbids.

Readings 'Trading one derivative for another', 'The boundary bracket' and 'Where classical derivatives end' are original to this dataset. All 10 extra questions are original to this dataset.

2 · Watch

Take it off screen

Print a worksheetA4 with an answer key page for grown-ups. No screen, no internet.

Where it sits

Then practise

18 questions wait behind this lesson, each with its answer explained. Every answer feeds the sky: stars light as they are learned, and dim when it is time to come back.

Spotted a problem on this page? Tell us
Weak Solutions and Test Functions · Mathematics, ages 22 to 24 · LightMySky