Question

1 (20%) (Linear systems) Given a linear system C1 +33 2 One can convert it into an iterative formula x(n+1) TX(m) + c where

Relevant Information:

Jacobi: X(K+1)=TX(N4 C where T--D1(LHU), C=D-1b, A=l+D+U a bc Gauss-Seidel. X(K+1)--(L+D)1Ux®) + (L+D)1 b = TX(k) + C a bc

1" (20%) (Linear systems) Given a linear system C1 +33 2 One can convert it into an iterative formula x(n+1) TX(m) + c where X(n) = (a (n),X(n), a (n))t įs the approximated solution at the nth iteration, T3x3 is the iterative matrix and caxi is the vector associated with the correspondent iterative method. (a) (5 %) Compute the associated matrix T and vector c associated with Jacobi method. (b) (5 %) Compute (T) and determine if Jacobi method converges. (c) (5 %) Compute the associated matrix T and vector c associated with Gauss-Seidel method. (d) (5 %) Compute ρ(T) and determine if Gauss-Seidel method con- verges.
Jacobi: X(K+1)=TX(N4 C where T--D1(LHU), C=D-1b, A=l+D+U a bc Gauss-Seidel. X(K+1)--(L+D)'1Ux®) + (L+D)'1 b = TX(k) + C a bc u-dx
0 0
Add a comment Improve this question Transcribed image text
Answer #1

the Piot elements euation () Can bc ie-writen a* Ond ho on k+ICom vestort Aralyts af Pickhed The terative Scheme is uxt Eijn valuz in adabas → Dia only dominated-plater> Jacbi ond Sedai m23 1-2 ) 3 Teran on Scheme כל c re OU m 3 (k刑 Х ズ. し26 O o 2 OOxH (b) Radius 〈 arti polyno mial interoょve &Leme does not COnverq e CUL C teraive em e K-r or23 o -3 alres Tan Cangesevalae dl ea Converges 6 100 00 2 -チ ) 2 ek 63 Tae ke

Add a comment
Know the answer?
Add Answer to:
1" (20%) (Linear systems) Given a linear system C1 +33 2 One can convert it into an iterative for...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Consider the linear system 5x1 - 21 + X1 - 22 + x3 = 1 5.22...

    Consider the linear system 5x1 - 21 + X1 - 22 + x3 = 1 5.22 - 23 = 2 22 5 5x3 = 3 (a) Discuss the convergence of the iterative solutions of this system generated by the Jacobi and Gauss-Seidel methods, by considering their iterative matrices. (b) If both methods converge, which one of them converges faster to the exact solution of this system? (c) Starting with the initial approximation x(0) = [0,0,0], find the number of iterations...

  • 2. 3x 25」LX2 (a) Perform three iterations for the following iterative methods using initial guess x0. Compute relative residual for each iteration. (You can use a calculator) · Jacobi method » Gauss...

    2. 3x 25」LX2 (a) Perform three iterations for the following iterative methods using initial guess x0. Compute relative residual for each iteration. (You can use a calculator) · Jacobi method » Gauss-Seidel method · SOR method with ω 1.2 (b) For each iterative method, express its iteration procedure in the following matrix form: In other words, determine B and c for (2). 2. 3x 25」LX2 (a) Perform three iterations for the following iterative methods using initial guess x0. Compute relative...

  • 1. [12 marks] In the following parts of this question, write a MATLAB code to solve a linear syst...

    1. [12 marks] In the following parts of this question, write a MATLAB code to solve a linear system A b (A is a square nonsingular matrix) using Jacobi and Gauss-Seidel algorithms. Do not use the built-in Matlab functions for solving linear systems (a) Write a Matlab function called Jacobi that consumes a square n x n matrix A, and an n x 1 vector b, and uses the Jacobi technique to solve the system Ax-b, starting with the zero...

  • Question 1 (10 marks) For a linear system Ax b with 1 0-1 A-1 2-1 2-13 and b4 18 compute by hand ...

    Question 1 (10 marks) For a linear system Ax b with 1 0-1 A-1 2-1 2-13 and b4 18 compute by hand the first four iterations with the Jacobi method, usg0 Hint: for the ease of calculation, keep to rational fractions rather than decimals. (10 marks) Question 2 For the same linear svstem as in Question 1. compute by hand the first three iterations with the Gauss Seidel method, us0 Hint: for the ease of calculation, keep to rational fractions...

  • Question 1 (10 marks) For a linear system Ax- b with 1 0 -1 A-1 2-1 2 -1 3 b=14 18 and compute by...

    Please do question 5 for me. Thanks Question 1 (10 marks) For a linear system Ax- b with 1 0 -1 A-1 2-1 2 -1 3 b=14 18 and compute by hand the first four iterations with the Jacobi method, using x()0 Hint: for the ease of calculation, keep to rational fractions rather than decimals Question 2 For the same linear system as in Question 1, compute by hand the first three iterations (10 marks) with the Gauss Seidel method,...

  • [-230; -1-2 3; 01-21 *X [160 -40 -160]AT Compute vector X using the following methods a) Jacobi m...

    [-230; -1-2 3; 01-21 *X [160 -40 -160]AT Compute vector X using the following methods a) Jacobi method; up to 12 iterations b) Forward Gauss Seidel method; up to 12 iterations c) Symmetric Gauss Seidel method; up to 12 iterations (6 forward and 6 backward iterations) You can use MATLAB to report the final results. However, it is required to calculate at least 3 iterations by hand. You are also expected to compute the spectral radius of the decisive matrix...

  • I am new to Matlab so details would be appreciated! Use Matlab or any other Language...

    I am new to Matlab so details would be appreciated! Use Matlab or any other Language /Tool to implement the project work Algorithm for Gauss-Seidel Method to solve the linear (n x n) system Ax = b in matrix form is given by x(0) = initial vector x(4+1) = D-1 (b – Lx(k+1) – Ux(k)), k = 0, 1, 2, ...... where A = L+D+U. Here L, D, U are respectively lower, diag- onal and upper matrices constructed from A....

  • Consider the linear system x1 +4x2 = 0 4x1 +x2 = 0 The true solution is...

    Consider the linear system x1 +4x2 = 0 4x1 +x2 = 0 The true solution is x1 = ?1=15, x2 = 4=15. Apply the Jacobi and Gauss-Seidel methods with x(0) = [0; 0]T to the system and nd out which methods diverge more rapidly. Next, interchange the two equations to write the system as 8< : 4x1 +x2 = 0 x1 +4x2 = 0 and apply both methods with x(0) = [0; 0]T . Iterate until jjx?x(k)jj 10?5. Which method...

  • just 1,2,4 Problem 1 Consider the linear system of equations Ax = b, where x €...

    just 1,2,4 Problem 1 Consider the linear system of equations Ax = b, where x € R4X1, and A= 120 b = and h= 0.1. [2+d -1 0 0 1 1 -1 2+d -1 0 h2 0 -1 2 + 1 Lo 0 -1 2+d] 1. Is the above matrix diagonally dominant? Why 2. Use hand calculations to solve the linear system Ax = b with d=1 with the following methods: (a) Gaussian elimination. (b) LU decomposition. Use MATLAB (L,...

  • Consider the linear system A.r = b where A = 1

    Consider the linear system \(A x=b\) where \(A=\left[\begin{array}{rr}2 & -1 \\ -1 & 2\end{array}\right], b=\left[\begin{array}{l}1 \\ 1\end{array}\right], x=\left[\begin{array}{l}1 \\ 1\end{array}\right]\).We showed in class, using the eigenvlaues and eigenvectors of the iteration matrix \(M_{G S}\), that for \(x^{(0)}=\left[\begin{array}{ll}0 & 0\end{array}\right]^{T}\) the error at the \(k^{t h}\) step of the Gauss-Seidel iteration is given by$$ e^{(k)}=\left(\frac{1}{4}\right)^{k}\left[\begin{array}{l} 2 \\ 1 \end{array}\right] $$for \(k \geq 1\). Following the same procedure, derive an analogous expression for the error in Jacobi's method for the same system.

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT