Linear Algebra, Python, Numpy, Matrix Decomposition, Eigenvectors.
x is any number. Let A be a 3x3 matrix We can set the 𝐿 and 𝑈 matrix as: We can calculate the product LU as: We can confirm, that multiplying these two matrices would give us the original matrix A. import numpy as np l = np.array([[1,0,0],[3,1,0],[2,1,1]]) u = np.array([[1,2,4], [0,2,2],[0,0,3]])