A web-based tool to perform LDU matrix factorization and verify the decomposition using matrix multiplication. Built using pure HTML, CSS, and JavaScript, this project provides an interactive and visual approach to understanding numerical linear algebra concepts.
Supports n ร n matrices (2 โค n โค 5)
Computes LDU decomposition such that A=LรDรU
Displays:
Lower Triangular Matrix (L)
Diagonal Matrix (D)
Upper Triangular Matrix (U)
Verification module reconstructs the original matrix using LรDรU
Clean and responsive dashboard-style UI
No external libraries or frameworks used
HTML โ Structure
CSS โ Styling & layout
JavaScript โ Matrix operations and logic
๐ Project Structure LDU-Factorization-Calculator/ โ โโโ LDUhome.html # Main HTML file โโโ style.css # Styling and layout โโโ script.js # LDU logic & verification
Clone or download this repository
Open index.html in any modern web browser
Select matrix size and enter values
Click Factorize to view L, D, U matrices and verification result
LDU factorization decomposes a square matrix into:
L: Unit lower triangular matrix
D: Diagonal matrix
U: Unit upper triangular matrix
This method is widely used in numerical methods, engineering, and scientific computing.
Learning and visualizing matrix decomposition
Academic assignments and lab demonstrations
Interview and resume projects in mathematics & CS
Numerical computation practice
Step-by-step decomposition explanation
Fraction-based output
Matrix inversion and determinant calculation
Export results as PDF
Alok Raj (Undergraduate Student)