GATE / CS ARCHIVE

SIMILAR QUESTIONS / ENGINEERING MATHEMATICS & OTHER TOPICS

Use triangular factorization and forward/back substitution

2 questions solved the same way, newest first. Back to Engineering Mathematics & Other Topics

How these are solved

Mention 2015 specifies unit diagonal U and asks one L entry; 2022 asks L/U entries plus a solution coordinate and does not explicitly state a normalization.

2 marks · MCQ
Report issue

Linear Algebra

Question 45, GATE 2022: Solve x1+x2−2x3=4, x1+3x2−x3=7, 2x1+x2−5x3=7 using A=LU, lower/upper triangular L/U. Which tuple (L32,U33,x1) is intended? A (2,−1/2,−1); B (2,2,−1); C (−1/2,2,0); D (−1/2,−1/2,0). No diagonal normalization is explicitly stated in the source.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Our answer: D for unit-diagonal L; C also possible without normalization

Gaussian elimination with unit diagonal L gives L=[[1, 0, 0],[1, 1, 0],[2,−1/2, 1]] and U=[[1, 1,−2],[0, 2, 1],[0, 0,−1/2]]. Solving gives (x1, x2, x3)=(0, 2,−1), so L32=−1/2, U33=−1/2, x1=0, official D. However the source does not specify a unit diagonal for L. Replacing L33 by −1/4 and U33 by 2 keeps LU equal to the original coefficient matrix and leaves L32=−1/2, x1=0. That realizes option C as well. Thus uniqueness depends on the unstated Doolittle normalization; the key is retained with that ambiguity open.

Elimination details: R2←R2−R1 gives [0,2,1|3]; R3←R3−2R1 gives [0,−1,−1|−1]. Then R3←R3+(1/2)R2 gives [0,0,−1/2|1/2]. Back substitution yields x3=−1, x2=2, x1=0. The multipliers 1,2,−1/2 populate a unit-diagonal L only if that convention is imposed.

Original paper, page 30 · Answer key

1 mark · NAT
Report issue

Linear Algebra

Question 33, GATE 2015: A=[[2,2],[4,9]]=LU, where L is lower triangular and both U diagonal entries equal 1. Find L's lower diagonal entry l22.
Tap to enlarge
Answer & solution

Official answer: 5

Write L=[[a,0],[b,c]] and U=[[1,d],[0,1]]. Their product is [[a,ad],[b,bd+c]]. Matching entries gives a=2, 2d=2, b=4, and 4d+c=9, hence d=1,c=5. The unit diagonal is imposed on U, not L; assuming the common alternative convention of unit-diagonal L would solve a different decomposition.

Solution: Let L=[[a, 0],[b, c]] and U=[[1, d],[0, 1]]. Equating LU with[[2, 2],[4, 9]] gives a=2, d=1, b=4, c=9−4=5. Thus l22=5.

Original paper, page 12 · Answer key