Skip to main content
Partial differential equations II
Lesson 28 of 75
Standard practice

Weak solutions

Objective. Derive weak formulations by integration by parts.

  1. 1. Learn
  2. 2. Worked example
  3. 3. Practice
  4. 4. Feedback
  5. 5. Continue

Learn: the key idea

Weak solutions extend the notion of solving a PDE to functions that need not be differentiable in the classical sense, by requiring an integral identity to hold against all smooth test functions. Starting from a PDE like −u'' = f, multiply by a test function φ vanishing at the boundary and integrate by parts to move a derivative off u onto φ, giving ∫u'φ' dx = ∫fφ dx, which makes sense even if u' has jumps. A function u satisfying this identity for every admissible φ is called a weak solution, and it coincides with the classical solution whenever the classical solution exists and is smooth enough. Example: a piecewise-linear u with a kink can be a weak solution of −u'' = f even though u'' fails to exist classically at the kink.

Worked example

Derive the weak formulation of −u''(x) = f(x) on (0,1) with u(0) = u(1) = 0, for test functions φ vanishing at both endpoints.

0 … 1
Illustrated card showing 0 … 1
  1. 1Multiply the equation by φ and integrate: −∫₀¹ u''φ dx = ∫₀¹ fφ dx.
  2. 2Integrate the left side by parts: −∫₀¹ u''φ dx = −[u'φ]₀¹ + ∫₀¹ u'φ' dx.
  3. 3Since φ(0) = φ(1) = 0, the boundary term −[u'φ]₀¹ vanishes identically.
  4. 4The weak formulation is therefore ∫₀¹ u'φ' dx = ∫₀¹ fφ dx for all such φ.

Answer: ∫₀¹ u′φ′ dx = ∫₀¹ fφ dx

Concept mastery

Based on your past attempts at this lesson — the question types to practise again come first.

Complete a practice set to see your concept breakdown here.

Practice

Practice happens on its own screen, one question at a time. Answers stay hidden until you submit yours, and you can stop and pick up at the same question later.

Start practising

Common mistake. Students often integrate by parts and drop the boundary terms without checking that the test function actually vanishes there; if φ does not vanish at the boundary, the boundary contribution must stay in the weak formulation.

Your progress

Tick each step as you finish it. Your exact reading position is saved automatically, so Continue drops you back on the same line.

0 of 5 steps complete

Your place saves automatically as you read.

My dashboard