Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the problem 0 an-1 bn-1 Cn-1 where n is much greater than one. The matrix is tridiagonal, only the elements indicated by ak, bk

image text in transcribed

Consider the problem 0 an-1 bn-1 Cn-1 where n is much greater than one. The matrix is tridiagonal, only the elements indicated by ak, bk and ck are non-zero. In compact form the problem is where B is known and X must be found. The matrix A is also diagonally dominant, lak! > 0, Icel > 0 and bk > Iakl + Ick! > 0, and it has the property that if di = bi then dk = bk-Akck-l/dk-i > 0 for k 2,3, . . . , n. These conditions imply that A-1 exists and also that none of the elements of A-1 is zero (you are not required to prove either of these two statements) 1. Assuming we have A, how many operations does it take to compute X? (Only count multiplications and divisions as operations.) 2. Show that there is a (unique) LU factorisation di 00...0 l2 d2 0 1 u2 0 0 u-1 n- 00 ln dn by explicitly calculating the Lk, dk and uk in terms of the ak, bk and ck. How many operations does it take to compute this factorisation? 3. Write the factorisation as A = LU and (1) as LUX 3. Show that it is possible to find X in O(n) operations, by solving the problem in two stages. 4. Use the previous results to show that it is possible to compute A-1 using O(n2) operations, but that it is still always more efficient to use the LU algorithm, described in (2) and (3), to solve problem (1) rather than matrix inversion. Consider the problem 0 an-1 bn-1 Cn-1 where n is much greater than one. The matrix is tridiagonal, only the elements indicated by ak, bk and ck are non-zero. In compact form the problem is where B is known and X must be found. The matrix A is also diagonally dominant, lak! > 0, Icel > 0 and bk > Iakl + Ick! > 0, and it has the property that if di = bi then dk = bk-Akck-l/dk-i > 0 for k 2,3, . . . , n. These conditions imply that A-1 exists and also that none of the elements of A-1 is zero (you are not required to prove either of these two statements) 1. Assuming we have A, how many operations does it take to compute X? (Only count multiplications and divisions as operations.) 2. Show that there is a (unique) LU factorisation di 00...0 l2 d2 0 1 u2 0 0 u-1 n- 00 ln dn by explicitly calculating the Lk, dk and uk in terms of the ak, bk and ck. How many operations does it take to compute this factorisation? 3. Write the factorisation as A = LU and (1) as LUX 3. Show that it is possible to find X in O(n) operations, by solving the problem in two stages. 4. Use the previous results to show that it is possible to compute A-1 using O(n2) operations, but that it is still always more efficient to use the LU algorithm, described in (2) and (3), to solve problem (1) rather than matrix inversion

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2008 Comprehensive Concepts And Techniques

Authors: Gary B. Shelly, Corinne Hoisington

1st Edition

1423927168, 978-1423927167

More Books

Students also viewed these Databases questions