Question #60840

b) Set up the Gaussi-Jacobi iteration scheme in matrix form for the linear system of equations

4 3
4 2
4 3
2 3
1 2 3
1 2
− + =
− + − =
− =
x x
x x x
x x

Show that the iteration scheme is convergent. Hence find the rate of convergence of this
method.
1

Expert's answer

2016-07-20T10:26:02-0400

Answer on Question #60840 – Math – Algorithms | Quantitative Methods

Question

b) Set up the Gaussi-Jacobi iteration scheme in matrix form for the linear system of equations

```

4 3

4 2

4 3

2 3

1 2 3

1 2

- + =

- + - =

- =

x x

x x x

x x

```

Show that the iteration scheme is convergent. Hence find the rate of convergence of this method.

Solution

We have the system of equations Ax=bAx = b:


(410141014)(x1x2x3)=(323)\left( \begin{array}{ccc} 4 & -1 & 0 \\ -1 & 4 & -1 \\ 0 & -1 & 4 \end{array} \right) \left( \begin{array}{c} x_1 \\ x_2 \\ x_3 \end{array} \right) = \left( \begin{array}{c} 3 \\ 2 \\ 3 \end{array} \right)


By Gauss-Jacobi method we split AA into:


A=DLUA = D - L - U


We have


D=(400040004),L=(000100010),U=(010001000)D = \left( \begin{array}{ccc} 4 & 0 & 0 \\ 0 & 4 & 0 \\ 0 & 0 & 4 \end{array} \right), \quad L = \left( \begin{array}{ccc} 0 & 0 & 0 \\ 1 & 0 & 0 \\ 0 & 1 & 0 \end{array} \right), \quad U = \left( \begin{array}{ccc} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{array} \right)


Then


x(k+1)=D1(L+U)x(k)+D1bx^{(k+1)} = D^{-1}(L + U) x^{(k)} + D^{-1} b


At the first iteration x(0)=(000)x^{(0)} = \begin{pmatrix} 0 \\ 0 \\ 0 \end{pmatrix}:


x(1)=D1(L+U)x(0)+D1b=D1b=(400040004)1(323)=(1/40001/40001/4)(323)x^{(1)} = D^{-1}(L + U) x^{(0)} + D^{-1} b = D^{-1} b = \left( \begin{array}{ccc} 4 & 0 & 0 \\ 0 & 4 & 0 \\ 0 & 0 & 4 \end{array} \right)^{-1} \left( \begin{array}{c} 3 \\ 2 \\ 3 \end{array} \right) = \left( \begin{array}{ccc} 1/4 & 0 & 0 \\ 0 & 1/4 & 0 \\ 0 & 0 & 1/4 \end{array} \right) \left( \begin{array}{c} 3 \\ 2 \\ 3 \end{array} \right)


Then


x(1)=(0.750.50.75)x ^ {(1)} = \left( \begin{array}{c} 0.75 \\ 0.5 \\ 0.75 \end{array} \right)


At the second iteration


x(2)=D1(L+U)x(1)+D1b=(0.250000.250000.25)(010101010)(0.750.50.75)+(0.750.50.75)==(00.2500.2500.2500.250)(0.750.50.75)+(0.750.50.75)=(0.1250.18750.125)+(0.750.50.75)=(0.8750.68750.875)\begin{array}{l} x ^ {(2)} = D ^ {- 1} (L + U) x ^ {(1)} + D ^ {- 1} b = \left( \begin{array}{c c c} 0.25 & 0 & 0 \\ 0 & 0.25 & 0 \\ 0 & 0 & 0.25 \end{array} \right) \left( \begin{array}{c c c} 0 & 1 & 0 \\ 1 & 0 & 1 \\ 0 & 1 & 0 \end{array} \right) \left( \begin{array}{c} 0.75 \\ 0.5 \\ 0.75 \end{array} \right) + \left( \begin{array}{c} 0.75 \\ 0.5 \\ 0.75 \end{array} \right) = \\ = \left( \begin{array}{c c c} 0 & 0.25 & 0 \\ 0.25 & 0 & 0.25 \\ 0 & 0.25 & 0 \end{array} \right) \left( \begin{array}{c} 0.75 \\ 0.5 \\ 0.75 \end{array} \right) + \left( \begin{array}{c} 0.75 \\ 0.5 \\ 0.75 \end{array} \right) = \left( \begin{array}{c} 0.125 \\ 0.1875 \\ 0.125 \end{array} \right) + \left( \begin{array}{c} 0.75 \\ 0.5 \\ 0.75 \end{array} \right) = \left( \begin{array}{c} 0.875 \\ 0.6875 \\ 0.875 \end{array} \right) \\ \end{array}


At the third iteration


x(3)=D1(L+U)x(2)+D1b=(0.250000.250000.25)(010101010)(0.8750.68750.875)+(0.750.50.75)=(0.218750.343750.21875)+(0.750.50.75)=(0.968750.842750.96875)\begin{array}{l} x ^ {(3)} = D ^ {- 1} (L + U) x ^ {(2)} + D ^ {- 1} b = \left( \begin{array}{c c c} 0.25 & 0 & 0 \\ 0 & 0.25 & 0 \\ 0 & 0 & 0.25 \end{array} \right) \left( \begin{array}{c c c} 0 & 1 & 0 \\ 1 & 0 & 1 \\ 0 & 1 & 0 \end{array} \right) \left( \begin{array}{c} 0.875 \\ 0.6875 \\ 0.875 \end{array} \right) + \left( \begin{array}{c} 0.75 \\ 0.5 \\ 0.75 \end{array} \right) = \\ \left( \begin{array}{c} 0.21875 \\ 0.34375 \\ 0.21875 \end{array} \right) + \left( \begin{array}{c} 0.75 \\ 0.5 \\ 0.75 \end{array} \right) = \left( \begin{array}{c} 0.96875 \\ 0.84275 \\ 0.96875 \end{array} \right) \\ \end{array}


As we see it converges to


x=(111)x = \left( \begin{array}{c} 1 \\ 1 \\ 1 \end{array} \right)


The scheme is convergent, because the matrix A=(410141014)A = \begin{pmatrix} 4 & -1 & 0 \\ -1 & 4 & -1 \\ 0 & -1 & 4 \end{pmatrix} is positive-definite by Sylvester's criterion.

Indeed,


Δ1=4>0,Δ2=4114=44(1)(1)=161=15>0,Δ3=410141014=44114+1104=4154=56>0\begin{array}{l} \Delta_ {1} = 4 > 0, \Delta_ {2} = \left| \begin{array}{c c} 4 & - 1 \\ - 1 & 4 \end{array} \right| = 4 \cdot 4 - (- 1) \cdot (- 1) = 16 - 1 = 15 > 0, \\ \Delta_ {3} = \left| \begin{array}{c c c} 4 & - 1 & 0 \\ - 1 & 4 & - 1 \\ 0 & - 1 & 4 \end{array} \right| = 4 \left| \begin{array}{c c} 4 & - 1 \\ - 1 & 4 \end{array} \right| + \left| \begin{array}{c c} - 1 & - 1 \\ 0 & 4 \end{array} \right| = 4 \cdot 15 - 4 = 56 > 0 \\ \end{array}


It follows from


x(k+1)=D1(L+U)x(k)+D1bx ^ {(k + 1)} = D ^ {- 1} (L + U) x ^ {(k)} + D ^ {- 1} b


that


x(k+1)=Tx(k)+c, where k0,x ^ {(k + 1)} = T x ^ {(k)} + c, \text { where } k \geq 0,T=D1(L+U)=(400040004)1((000100010)+(010001000))=(140001400014)(010101010)==(01/401/401/401/40),c=D1b=(400040004)1(323)=(1/40001/40001/4)(323)=(0.750.50.75).\begin{array}{l} T = D^{-1}(L + U) = \left( \begin{array}{ccc} 4 & 0 & 0 \\ 0 & 4 & 0 \\ 0 & 0 & 4 \end{array} \right)^{-1} \cdot \left( \left( \begin{array}{ccc} 0 & 0 & 0 \\ 1 & 0 & 0 \\ 0 & 1 & 0 \end{array} \right) + \left( \begin{array}{ccc} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{array} \right) \right) = \left( \begin{array}{ccc} \frac{1}{4} & 0 & 0 \\ 0 & \frac{1}{4} & 0 \\ 0 & 0 & \frac{1}{4} \end{array} \right) \cdot \left( \begin{array}{ccc} 0 & 1 & 0 \\ 1 & 0 & 1 \\ 0 & 1 & 0 \end{array} \right) = \\ = \left( \begin{array}{ccc} 0 & 1/4 & 0 \\ 1/4 & 0 & 1/4 \\ 0 & 1/4 & 0 \end{array} \right), \\ c = D^{-1}b = \left( \begin{array}{ccc} 4 & 0 & 0 \\ 0 & 4 & 0 \\ 0 & 0 & 4 \end{array} \right)^{-1} \left( \begin{array}{c} 3 \\ 2 \\ 3 \end{array} \right) = \left( \begin{array}{ccc} 1/4 & 0 & 0 \\ 0 & 1/4 & 0 \\ 0 & 0 & 1/4 \end{array} \right) \left( \begin{array}{c} 3 \\ 2 \\ 3 \end{array} \right) = \left( \begin{array}{c} 0.75 \\ 0.5 \\ 0.75 \end{array} \right). \end{array}


Eigenvalues of matrix TT are λ1=122\lambda_1 = -\frac{1}{2\sqrt{2}}, λ2=122\lambda_2 = \frac{1}{2\sqrt{2}}, λ3=0\lambda_3 = 0, hence the spectral radius is


ρ(T)=max{λ1,λ2,λ3}=122<1.\rho(T) = \max \{ |\lambda_1|, |\lambda_2|, |\lambda_3| \} = \frac{1}{2\sqrt{2}} < 1.


Choose a matrix norm and calculate


T2=i=13j=13tij2=(14)2+(14)2+(14)2+(14)2=4(14)2=214=12<1.\|T\|_2 = \sqrt{ \sum_{i=1}^{3} \sum_{j=1}^{3} |t_{ij}|^2 } = \sqrt{ \left( \frac{1}{4} \right)^2 + \left( \frac{1}{4} \right)^2 + \left( \frac{1}{4} \right)^2 + \left( \frac{1}{4} \right)^2 } = \sqrt{ 4 \cdot \left( \frac{1}{4} \right)^2 } = 2 \cdot \frac{1}{4} = \frac{1}{2} < 1.


The following error bound hold:


xx(k)Tkx(0)x,\|x - x^{(k)}\| \leq \|T\|^k \|x^{(0)} - x\|,xx(k)Tk1Tx(1)x(0).\|x - x^{(k)}\| \leq \frac{ \|T\|^k }{1 - \|T\|} \|x^{(1)} - x^{(0)}\|.


If Tk<ε\|T\|^k < \varepsilon, then k<log(ε)log(T)k < \frac{\log(\varepsilon)}{\log(\|T\|)}.

Asymptotically the error vector eke_k behaves at worst like (ρ(T))k(\rho(T))^k, where ek=xx(k)e_k = x - x^{(k)}, e0=xx(0)e_0 = x - x^{(0)}.

www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS