- #1
mathmari
Gold Member
MHB
- 5,049
- 7
Hey!
I am trying to understand the multiple grid method.
The idea is to use at each step different grids to solve a linear system of differential equations, so that we get the best approximation as possible.
It holds that the finer the discretization, the more accurate the solution ist and the coarser the discretization, the faster the process converges.
The multiple grid method combines these two grids, to get an accurate solution with fast convergence.
Is the idea correct? (Wondering)
We consider the boundary problem \begin{align*}-&y''(x)=f(x) \ \ \text{ for } \ x\in \Omega:=(0,\pi) \\ &y(0)=y(\pi)=0\end{align*}
The usual discretization with a step size $h = \frac{\pi }{ n}$ leads to an one-dimensional grid $\Omega_h=\{x_j=jh \mid j=1, \ldots , n-1\}\subset \Omega$ and finally to a linear equation system \begin{equation*}A_hu_h=f_h, \ \ \ A_h:=\frac{1}{h^2}\begin{bmatrix}2 & -1 & & 0 \\ -1 & 2 & \ddots& \\ & \ddots& \ddots & -1 \\ 0 & & -1 & 2\end{bmatrix}, \ \ f_h:=\begin{bmatrix}f(x_1) \\ f(x_2) \\ \vdots \\ f(x_{n-1})\end{bmatrix}\end{equation*} for a vector $u_h=[u_{h;1}, \ldots , u_{h;n-1}]^T$ of approximations $u_{h;j}\approx y(x_j)$ for the exact solution $y$ on the grid $\Omega_h$.
At this part did we used the finite difference method? Or how do we get these relations? (Wondering)
So, at the beginning we apply a one-grid method to get a first approximation of the exact solution, or not? The eigenvalues $\lambda_h^{(k)}$ and the eigenvectors $z_h^{(k)}$ of the matrix $A_h$ are the following:
\begin{align*}&z_h^{(k)}:=[\sin kh, \ \sin 2kh, \ \ldots , \ \sin (n-1)kh]^T \\ &\lambda_h^{(k)}:=\frac{1}{h^2}4\sin^2\frac{kh}{2}=\frac{2}{h^2}(1-\cos kh), \ \ \ k=1, 2, \ldots n-1\end{align*} What exactly is $k$ ? (Wondering)
We consider the components $\sin jkh=\sin \frac{jk\pi}{n}$ of the vectors $z_h^{(k)}$ on the grid points $x_j$ of $\Omega_h$ for $j=1, \ldots , n-1$. $z^{(k)}=z_h^{(k)}$ describe oscillations of increasing "frequency" $k$.
The frequency $k$ gives the number of half waves on $\Omega_h$.
Then we check the error of the above method, or not? According to this we choose the appropriate grid for the next step? Or what do we do here? Could you explain to me this part of the multiple grid method? (Wondering)
I am trying to understand the multiple grid method.
The idea is to use at each step different grids to solve a linear system of differential equations, so that we get the best approximation as possible.
It holds that the finer the discretization, the more accurate the solution ist and the coarser the discretization, the faster the process converges.
The multiple grid method combines these two grids, to get an accurate solution with fast convergence.
Is the idea correct? (Wondering)
We consider the boundary problem \begin{align*}-&y''(x)=f(x) \ \ \text{ for } \ x\in \Omega:=(0,\pi) \\ &y(0)=y(\pi)=0\end{align*}
The usual discretization with a step size $h = \frac{\pi }{ n}$ leads to an one-dimensional grid $\Omega_h=\{x_j=jh \mid j=1, \ldots , n-1\}\subset \Omega$ and finally to a linear equation system \begin{equation*}A_hu_h=f_h, \ \ \ A_h:=\frac{1}{h^2}\begin{bmatrix}2 & -1 & & 0 \\ -1 & 2 & \ddots& \\ & \ddots& \ddots & -1 \\ 0 & & -1 & 2\end{bmatrix}, \ \ f_h:=\begin{bmatrix}f(x_1) \\ f(x_2) \\ \vdots \\ f(x_{n-1})\end{bmatrix}\end{equation*} for a vector $u_h=[u_{h;1}, \ldots , u_{h;n-1}]^T$ of approximations $u_{h;j}\approx y(x_j)$ for the exact solution $y$ on the grid $\Omega_h$.
At this part did we used the finite difference method? Or how do we get these relations? (Wondering)
So, at the beginning we apply a one-grid method to get a first approximation of the exact solution, or not? The eigenvalues $\lambda_h^{(k)}$ and the eigenvectors $z_h^{(k)}$ of the matrix $A_h$ are the following:
\begin{align*}&z_h^{(k)}:=[\sin kh, \ \sin 2kh, \ \ldots , \ \sin (n-1)kh]^T \\ &\lambda_h^{(k)}:=\frac{1}{h^2}4\sin^2\frac{kh}{2}=\frac{2}{h^2}(1-\cos kh), \ \ \ k=1, 2, \ldots n-1\end{align*} What exactly is $k$ ? (Wondering)
We consider the components $\sin jkh=\sin \frac{jk\pi}{n}$ of the vectors $z_h^{(k)}$ on the grid points $x_j$ of $\Omega_h$ for $j=1, \ldots , n-1$. $z^{(k)}=z_h^{(k)}$ describe oscillations of increasing "frequency" $k$.
The frequency $k$ gives the number of half waves on $\Omega_h$.
Then we check the error of the above method, or not? According to this we choose the appropriate grid for the next step? Or what do we do here? Could you explain to me this part of the multiple grid method? (Wondering)