Linear Algebra
![Question 44, GATE 2025: A real 3×3 system PX=Q has an LU factorization P=LU. L is unit lower triangular, L=[[1,0,0],[l21,1,0],[l31,l32,1]], and U is upper triangular with diagonal u11,u22,u33. Select true statements.
A. Solve LY=Q first, then UX=Y, to solve PX=Q.
B. If P is invertible, both L and U are invertible.
C. If P is singular, some diagonal entry of U is zero.
D. If P is symmetric, both L and U are symmetric.](../../assets/questions/CS-2025-S2-Q44-1.webp)
Answer & solution
Official answer: A, B, C
Since PX=LU X, introduce Y=UX. The system becomes LY=Q followed by UX=Y, so A is valid. L has diagonal ones and is always invertible, making the first system solvable by forward substitution. The second is solved by backward substitution when U is nonsingular; if U is singular, its equations instead determine consistency and any free variables. A does not imply every original system has a unique solution.
The determinant of a triangular matrix is the product of its diagonal entries. Thus det L=1 and det P=det L·det U=u11u22u33. If P is invertible, this product is nonzero and both factors are invertible, proving B. If P is singular, the product is zero, so at least one diagonal entry of U is zero, proving C.
For D, take L=[[1,0,0],[1,1,0],[0,0,1]] and U=[[1,1,0],[0,1,0],[0,0,1]]. Their product P=[[1,1,0],[1,2,0],[0,0,1]] is symmetric, but L and U are not symmetric. Symmetry may relate suitable factors to each other's transposes; it does not make each triangular factor symmetric. Select A,B,C.