ArticleslgStudy

mathematics

Multigrid method

Multigrid 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 Multigrid method rather than just read about it. In short: In numerical analysis, a multigrid method (MG method) is an algorithm for solving differential equations using a hierarchy of discretizations. They are an example of a class of techniques called multiresolution methods, very useful in problems exhibiting multiple scales of behavior.

Multigrid method — main illustration
Multigrid method — illustration

Key takeaways

  • Multigrid 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 Multigrid method to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Multigrid method from memory before moving on to harder problems.

Reference excerpt

In numerical analysis, a multigrid method (MG method) is an algorithm for solving differential equations using a hierarchy of discretizations. They are an example of a class of techniques called multiresolution methods, very useful in problems exhibiting multiple scales of behavior. For example, many basic relaxation methods exhibit different rates of convergence for short- and long-wavelength components, suggesting these different scales be treated differently, as in a Fourier analysis approach to multigrid. MG methods can be used as solvers as well as preconditioners. The main idea of multigrid is to accelerate the convergence of a basic iterative method (known as relaxation, which generally reduces short-wavelength error) by a global correction of the fine grid solution approximation from time to time, accomplished by solving a coarse problem. The coarse problem, while cheaper to solve, is similar to the fine grid problem in that it also has short- and long-wavelength errors. It can also be solved by a combination of relaxation and appeal to still coarser grids. This recursive process is repeated until a grid is reached where the cost of direct solution there is negligible compared to the cost of one relaxation sweep on the fine grid. This multigrid cycle typically reduces all error components by a fixed amount bounded well below one, independent of the fine grid mesh size. The typical application for multigrid is in the numerical solution of elliptic partial differential equations in two or more dimensions. Multigrid methods can be applied in combination with any of the common discretization techniques. For example, the finite element method may be recast as a multigrid method. In these cases, multigrid methods are among the fastest solution techniques known today. In contrast to other methods, multigrid methods are general in that they can treat arbitrary regions and boundary conditions. They do not depend on the separability of the equations or other special properties of the equation. They have also been widely used for more-complicated non-symmetric and nonlinear systems of equations, like the Lamé equations of elasticity or the Navier-Stokes equations.

Algorithm

There are many variations of multigrid algorithms, but the common features are that a hierarchy of discretizations (grids) is considered. The important steps are:

Smoothing – reducing high frequency errors, for example using a few iterations of the Gauss–Seidel method. Residual Computation – computing residual error after the smoothing operation(s). Restriction – downsampling the residual error to a coarser grid. Interpolation or prolongation – interpolating a correction computed on a coarser grid into a finer grid. Correction – Adding prolongated coarser grid solution onto the finer grid. There are many choices of multigrid methods with varying trade-offs between speed of solving a single iteration and the rate of convergence with said iteration. The 3 main types are V-Cycle, F-Cycle, and W-Cycle. These differ in which and how many coarse-grain cycles are performed per fine iteration. The V-Cycle algorithm executes one coarse-grain V-Cycle. F-Cycle does a coarse-grain V-Cycle followed by a coarse-grain F-Cycle, while each W-Cycle performs two coarse-grain W-Cycles per iteration. For a discrete 2D problem, F-Cycle takes 83% more time to compute than a V-Cycle iteration while a W-Cycle iteration takes 125% more. If the problem is set up in a 3D domain, then a F-Cycle iteration and a W-Cycle iteration take about 64% and 75% more time respectively than a V-Cycle iteration ignoring overheads. Typically, W-Cycle produces similar convergence to F-Cycle. However, in cases of convection-diffusion problems with high Péclet numbers, W-Cycle can show superiority in its rate of convergence per iteration over F-Cycle. The choice of smoothing operators are extremely diverse as they include Krylov subspace methods and can be preconditioned. Any geometric multigrid cycle iteration is performed on a hierarchy of grids and hence it can be coded using recursion. Since the function calls itself with smaller sized (coarser) parameters, the coarsest grid is where the recursion stops. In cases where the system has a high condition number, the correction procedure is modified such that only a fraction of the prolongated coarser grid solution is added onto the finer grid.

Computational cost

This approach has the advantage over other methods that it often scales linearly with the number of discrete nodes used. In other words, it can solve these problems to a given accuracy in a number of operations that is proportional to the number of unknowns. Assume that one has a differential equation which can be solved approximately (with a given accuracy) on a grid i {\displaystyle i} with a given grid point density N i {\displaystyle N_{i}} . Assume furthermore that a solution on any grid N i {\displaystyle N_{i}} may be obtained with a given effort W i = ρ K N i {\displaystyle W_{i}=\rho KN_{i}} from a solution on a coarser grid i + 1 {\displaystyle i+1} . Here, ρ = N i + 1 / N i < 1 {\displaystyle \rho =N_{i+1}/N_{i}<1} is the ratio of grid points on "neighboring" grids and is assumed to be constant throughout the grid hierarchy, and K {\displaystyle K} is some constant modeling the effort of computing the result for one grid point. The following recurrence relation is then obtained for the effort of obtaining the solution on grid k {\displaystyle k} :

… excerpt ends here. Continue reading the full article.

Illustrations

Multigrid method: Assuming a 2-dimensional problem setup, the computation moves across grid hierarchy differently for various multigrid cycles.
Assuming a 2-dimensional problem setup, the computation moves across grid hierarchy differently for various multigrid cycles.
Multigrid method: Example of Convergence Rates of Multigrid Cycles in comparison to other smoothing operators.
Example of Convergence Rates of Multigrid Cycles in comparison to other smoothing operators.

Worked examples

Example 1 — a first encounter with Multigrid method

Start with the simplest possible case. Write down what Multigrid 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 Multigrid 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 Multigrid 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 Multigrid method

In research
Multigrid 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 Multigrid 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
Multigrid method is common in secondary-school and first-year university syllabi. It links to neighbouring topics Numerical analysis, Partial differential equations, Wavelets, so understanding it makes those chapters shorter.
In everyday life
Look for Multigrid 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.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Multigrid method in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Multigrid 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 Multigrid method out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Multigrid method in simple terms?

In numerical analysis, a multigrid method (MG method) is an algorithm for solving differential equations using a hierarchy of discretizations. They are an example of a class of techniques called multiresolution methods, very useful in problems exhibiting multiple scales of behavior.

Why does Multigrid 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 Multigrid 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 Multigrid method.

Tags

  • Numerical analysis
  • Partial differential equations
  • Wavelets

Keep exploring