Question: In this problem we will test the performance of linear conjugate gradient method for minimizing quadratic function f(x) = {x:Az - b'x, where A is

 In this problem we will test the performance of linear conjugate

In this problem we will test the performance of linear conjugate gradient method for minimizing quadratic function f(x) = {x:"Az - b'x, where A is symmetric and positive definite. Program CG Algorithm 5.2 in the textbook. Apply your program on a syinmetric and positive definite matrix A of dimension 103 x 103 with eigenvalues uniformly distributed between 10 and 103. Test the convergence of the algorithm and compare your numerical findings with the theoretical result shown in formula (5.36) in the textbook. (To set up matrix A with the desired properties, you can follow this procedure: 1) apply QR factorization to create a "random" orthogonal matrix Q using Matlab command [Q.R] = qr(rand(n1.n)), where n is the dimension of the matrix. 2) set A = Q DQ, where D is a diagonal matrix with diagonal entries being the desired eigenvalues.) Change the distribution of eigenvalues of A so that some eigenvalues are distributed between 9 and 11, the rest of eigenvalues are distributed between 999 and 1001, i.e., two clusters around 10 and 1000 with radius 1. Test the convergence performance on such matrix. Extra points if you can explain your numerical findings using the theoretical convergence results discussed in the lecture. In this problem we will test the performance of linear conjugate gradient method for minimizing quadratic function f(x) = {x:"Az - b'x, where A is symmetric and positive definite. Program CG Algorithm 5.2 in the textbook. Apply your program on a syinmetric and positive definite matrix A of dimension 103 x 103 with eigenvalues uniformly distributed between 10 and 103. Test the convergence of the algorithm and compare your numerical findings with the theoretical result shown in formula (5.36) in the textbook. (To set up matrix A with the desired properties, you can follow this procedure: 1) apply QR factorization to create a "random" orthogonal matrix Q using Matlab command [Q.R] = qr(rand(n1.n)), where n is the dimension of the matrix. 2) set A = Q DQ, where D is a diagonal matrix with diagonal entries being the desired eigenvalues.) Change the distribution of eigenvalues of A so that some eigenvalues are distributed between 9 and 11, the rest of eigenvalues are distributed between 999 and 1001, i.e., two clusters around 10 and 1000 with radius 1. Test the convergence performance on such matrix. Extra points if you can explain your numerical findings using the theoretical convergence results discussed in the lecture

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!