Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Let A be a n times n band matrix of the following form. (2 1 0 0 0 ctdot 0 b_1 2

ID: 3402973 • Letter: L

Question

Let A be a n times n band matrix of the following form. (2 1 0 0 0 ctdot 0 b_1 2 1 0 0 ctdot 0 c_1 b_2 2 1 0 ctdot vellip 0 c_2 dtdot dtdot dtdot dtdot vellip 0 0 dtdot dtdot dtdot dtdot 0 vellip vellip dtdot c_n minus 1 b_n minus2 2 1 0 0 ctdot 0 c_n minus 2 b_n minus1 2)Write an efficient algorithm (fully exploiting the sparsity pattern) which generates the upper-triangular result of applying Gaussian elimination to A. You may assume that pivoting is unnecessary. Let t_n be the total number of floating point arithmetic operations (additions, subtractions, multiplications, and divisions combined) performed when the algorithm in part (a) is executed; write a formula for t_n.

Explanation / Answer

Since diagonal elements are = 2 divide all rows first by 2 to make diagonal elements as 1.

Step II: R2-b2/2 R1 = R2 and R3-c/2 R1 = R3 makes I column fully 0 except diagonal element 1.

Step III: Now in II column pivot diagonal element =1

Hence make other elements below II row in the column by suitable operations to make 1.

Step 4: Now in III column pivot diagonal element is 1. Make suitable row operations to make all elements in III column below diagonal to become 0

Continue this till last

Then the matrix would have become upper triangular.

-------------------------------------------------------------

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote