ArticleslgStudy

mathematics

Galerkin method

Galerkin method is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Galerkin method rather than just read about it. In short: In mathematics, in the area of numerical analysis, Galerkin methods are a family of methods for converting a continuous operator problem, such as a differential equation, commonly in a weak formulation, to a discrete problem by applying linear constraints determined by finite sets of basis functions. They are named after the Soviet mathematician Boris Galerkin.

Key takeaways

  • Galerkin method belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Galerkin method to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Galerkin method from memory before moving on to harder problems.

Reference excerpt

In mathematics, in the area of numerical analysis, Galerkin methods are a family of methods for converting a continuous operator problem, such as a differential equation, commonly in a weak formulation, to a discrete problem by applying linear constraints determined by finite sets of basis functions. They are named after the Soviet mathematician Boris Galerkin. Often when referring to a Galerkin method, one also gives the name along with typical assumptions and approximation methods used:

Ritz–Galerkin method (after Walther Ritz) typically assumes symmetric and positive-definite bilinear form in the weak formulation, where the differential equation for a physical system can be formulated via minimization of a quadratic function representing the system energy and the approximate solution is a linear combination of the given set of the basis functions. Bubnov–Galerkin method (after Ivan Bubnov) does not require the bilinear form to be symmetric and substitutes the energy minimization with orthogonality constraints determined by the same basis functions that are used to approximate the solution. In an operator formulation of the differential equation, Bubnov–Galerkin method can be viewed as applying an orthogonal projection to the operator. Petrov–Galerkin method (after Georgii I. Petrov) allows using basis functions for orthogonality constraints (called test basis functions) that are different from the basis functions used to approximate the solution. Petrov–Galerkin method can be viewed as an extension of Bubnov–Galerkin method, applying a projection that is not necessarily orthogonal in the operator formulation of the differential equation. Examples of Galerkin methods are:

the Galerkin method of weighted residuals, the most common method of calculating the global stiffness matrix in the finite element method, the boundary element method for solving integral equations, Krylov subspace methods.

Linear equation in a Hilbert space

Weak formulation of a linear equation Let us introduce Galerkin's method with an abstract problem posed as a weak formulation on a Hilbert space V, namely,

find u∈V such that for all v∈V:a(u,v)=f(v). Here, a(⋅,⋅) is a bilinear form (the exact requirements on a(⋅,⋅) will be specified later) and f is a bounded linear functional on V.

Galerkin dimension reduction Choose a subspace Vn⊂V of dimension n and solve the projected problem:

Find un∈Vn such that for all vn∈Vn,a(un,vn)=f(vn). We call this the Galerkin equation. Notice that the equation has remained unchanged and only the spaces have changed. Reducing the problem to a finite-dimensional vector subspace allows us to numerically compute un as a finite linear combination of the basis vectors in Vn.

Galerkin orthogonality The key property of the Galerkin approach is that the error is orthogonal to the chosen subspaces. Since Vn⊂V, we can use vn as a test vector in the original equation. Subtracting the two, we get the Galerkin orthogonality relation for the error, ϵn=u−un which is the error between the solution of the original problem, u, and the solution of the Galerkin equation, un

a(ϵn,vn)=a(u,vn)−a(un,vn)=f(vn)−f(vn)=0.

Matrix form of Galerkin's equation Since the aim of Galerkin's method is the production of a linear system of equations, we build its matrix form, which can be used to compute the solution algorithmically. Let e1,e2,…,en be a basis for Vn. Then, it is sufficient to use these in turn for testing the Galerkin equation, i.e.: find un∈Vn such that

a(un,ei)=f(ei)i=1,…,n. We expand un with respect to this basis, un=∑j=1nujej and insert it into the equation above, to obtain

a(∑j=1nujej,ei)=∑j=1nuja(ej,ei)=f(ei)i=1,…,n. This previous equation is actually a linear system of equations Au=f, where

Aij=a(ej,ei),fi=f(ei).

Symmetry of the matrix Due to the definition of the matrix entries, the matrix of the Galerkin equation is symmetric if and only if the bilinear form a(⋅,⋅) is symmetric.

Analysis of Galerkin methods Here, we will restrict ourselves to symmetric bilinear forms, that is

a(u,v)=a(v,u). While this is not really a restriction of Galerkin methods, the application of the standard theory becomes much simpler. Furthermore, a Petrov–Galerkin method may be required in the nonsymmetric case. The analysis of these methods proceeds in two steps. First, we will show that the Galerkin equation is a well-posed problem in the sense of Hadamard and therefore admits a unique solution. In the second step, we study the quality of approximation of the Galerkin solution un. The analysis will mostly rest on two properties of the bilinear form, namely

Boundedness: for all u,v∈V holds a(u,v)≤C‖u‖‖v‖ for some constant C>0 Ellipticity: for all u∈V holds a(u,u)≥c‖u‖2 for some constant c>0. By the Lax-Milgram theorem (see weak formulation), these two conditions imply well-posedness of the original problem in weak formulation. All norms in the following sections will be norms for which the above inequalities hold (these norms are often called an energy norm).

Well-posedness of the Galerkin equation Since Vn⊂V, boundedness and ellipticity of the bilinear form apply to Vn. Therefore, the well-posedness of the Galerkin problem is actually inherited from the well-posedness of the original problem.

Quasi-best approximation (Céa's lemma)

The error u−un between the original and the Galerkin solution admits the estimate

‖u−un‖≤Ccinfvn∈Vn‖u−vn‖. This means, that up to the constant C/c, the Galerkin solution un is as close to the original solution u as any other vector in Vn. In particular, it will be sufficient to study approximation by spaces Vn, completely forgetting about the equation being solved.

Proof Since the proof is very simple and the basic principle behind all Galerkin methods, we include it here: by ellipticity and boundedness of the bilinear form (inequalities) and Galerkin orthogonality (equals sign in the middle), we have for arbitrary vn∈Vn:

c‖u−un‖2≤a(u−un,u−un)=a(u−un,u−vn)≤C‖u−un‖‖u−vn‖. Dividing by c‖u−un‖ and taking the infimum over all possible vn yields the lemma.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Galerkin method

Start with the simplest possible case. Write down what Galerkin method claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Galerkin method before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Galerkin method ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Galerkin method

In research
Galerkin method appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Galerkin method in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Galerkin method is common in secondary-school and first-year university syllabi. It links to neighbouring topics Numerical analysis, Numerical differential equations, so understanding it makes those chapters shorter.
In everyday life
Look for Galerkin method outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Galerkin method” →

How to study Galerkin method in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Galerkin method means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Galerkin method out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Galerkin method in simple terms?

In mathematics, in the area of numerical analysis, Galerkin methods are a family of methods for converting a continuous operator problem, such as a differential equation, commonly in a weak formulation, to a discrete problem by applying linear constraints determined by finite sets of basis function…

Why does Galerkin method matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Galerkin method?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Galerkin method.

Tags

  • Numerical analysis
  • Numerical differential equations

Keep exploring