variational analysis
Galerkin Methods
You should know: sobolev spaces, hilbert spaces fa
Overview
Galerkin methods approximate the weak solution of a PDE by projecting the problem onto a finite-dimensional subspace V_h of the Sobolev space V. The Galerkin approximation u_h in V_h satisfies a(u_h, v_h) = L(v_h) for all v_h in V_h — the same weak formulation but restricted to a finite-dimensional space. The Cea lemma gives the best-approximation error estimate: ||u - u_h|| <= (M/alpha) inf_{v_h in V_h} ||u - v_h||. Finite element methods are the most important special case.
Intuition
Galerkin methods convert an infinite-dimensional problem (find u in V) into a finite-dimensional one (find u_h in V_h) by only testing against functions in V_h. The key insight is that even though we test with fewer functions, the error ||u - u_h|| is controlled by how well V_h approximates u. The Galerkin approximation is the best approximation from V_h in the energy norm (up to a constant), making it highly efficient when V_h is chosen to match the local structure of the solution.
Formal Definition
Given the weak problem: find u in V with a(u,v) = L(v) for all v in V, the Galerkin approximation for a subspace V_h subset V is: find u_h in V_h with a(u_h, v_h) = L(v_h) for all v_h in V_h. Since V_h is finite-dimensional with dim V_h = N, this is equivalent to an N x N linear system. If V_h = span{phi_1,...,phi_N}, then u_h = sum_j u_j phi_j where the u_j satisfy the stiffness matrix equation: A u = b, where A_{ij} = a(phi_j, phi_i) and b_i = L(phi_i).
Notation
| Notation | Meaning |
|---|---|
| Finite-dimensional approximation subspace | |
| Galerkin approximation to u | |
| Stiffness matrix entries | |
| Mesh parameter (in finite element context) |
Theorems
Worked Examples
- 1
Weak formulation: integral_0^1 u'v' = integral_0^1 fv for all v in H^1_0[0,1]. Here a(u,v) = integral u'v'.
- 2
Basis: phi_1 = sin(pi x), phi_2 = sin(2 pi x). Stiffness matrix A_{ij} = integral phi_j' phi_i'.
- 3
Compute: A_{11} = integral_0^1 (pi cos(pi x))^2 dx = pi^2/2. A_{22} = integral_0^1 (2pi cos(2pi x))^2 dx = 2pi^2. A_{12} = A_{21} = 0 (orthogonality of different sine modes).
- 4
The system is diagonal: u_1 = b_1/(pi^2/2) = (2/pi^2)integral_0^1 f sin(pi x) dx, and u_2 = b_2/(2pi^2) = (1/(2pi^2))integral_0^1 f sin(2pi x) dx.
✓ Answer
For V_h = span{sin(pi x), sin(2pi x)}, the Galerkin system decouples by orthogonality of sine functions, giving u_h = u_1 sin(pi x) + u_2 sin(2pi x) with coefficients determined by projecting f onto these modes.
Practice Problems
Prove Cea's lemma: ||u - u_h||_V <= (M/alpha) inf_{v_h in V_h} ||u - v_h||_V.
Explain why the stiffness matrix A_{ij} = a(phi_j, phi_i) is sparse for finite element bases with local support.
Quiz
Summary
- Galerkin methods find u_h in V_h subset V satisfying a(u_h,v_h) = L(v_h) for all v_h in V_h.
- Galerkin orthogonality: a(u - u_h, v_h) = 0; the error is a-orthogonal to V_h.
- Cea's lemma: ||u - u_h|| <= (M/alpha) inf_{v_h in V_h}||u - v_h||.
- Finite element methods are Galerkin methods with piecewise polynomial basis functions on a mesh.
- The stiffness matrix A_{ij} = a(phi_j, phi_i) is sparse for FEM bases with local support.
References
- BookBrenner, S. & Scott, L.R. — The Mathematical Theory of Finite Element Methods (3rd ed.), Springer, 2008
- BookErn, A. & Guermond, J.-L. — Theory and Practice of Finite Elements, Springer, 2004
- Websiteen.wikipedia.org
Mathematics