Please wait while we prepare your calculator
Please wait while we prepare your calculator
Institutional linear algebra and matrix decomposition workstation. Solve systems of linear equations Ax = b, verify span and linear independence, compute matrix inverses and condition numbers, evaluate eigenvalues/eigenvectors, and perform Singular Value Decomposition (SVD) and Principal Component Analysis (PCA).
Institutional linear algebra and matrix decomposition workstation. Solve systems of linear equations Ax = b, verify span and linear independence, compute matrix inverses and condition numbers, evaluate eigenvalues/eigenvectors, and perform Singular Value Decomposition (SVD) and Principal Component Analysis (PCA).
Matrix transformations, span, Gaussian RREF, eigensystem spectrum, SVD geometry, and PCA dimensionality reduction.
A linear transformation is a mathematical mapping T: ℝⁿ → ℝᵐ preserving vector addition and scalar multiplication: T(u + v) = T(u) + T(v) and T(cu) = cT(u). By the foundational representation theorem of linear algebra, every linear transformation between finite-dimensional spaces can be represented uniquely by an m × n matrix A, such that T(x) = Ax.
The product \(Ax\) has two complementary interpretations:
The fundamental problem of linear algebra is solving the linear system \(Ax = b\). Based on the Rouché-Capelli Theorem, the augmented matrix \([A \mid b]\) determines the exact nature of the solution space:
rank(A) = rank[A | b] = n. The determinant det(A) ≠ 0; the matrix is invertible, and x = A⁻¹b.
rank(A) = rank[A | b] = r < n. There are n - r free variables, yielding a parametric affine subspace.
rank(A) < rank[A | b]. The target vector b does not lie in the column space Col(A).
For any linear transformation represented by an m × n matrix A, the domain ℝⁿ and codomain ℝᵐ split into Gilbert Strang's four fundamental subspaces:
The celebrated Rank-Nullity Theorem formalizes this conservation of dimension:
When a matrix A acts on most vectors, it changes both their length and direction. However, certain special non-zero vectors v maintain their directional axis, undergoing pure scaling by a scalar factor λ:
Non-trivial solutions exist if and only if the characteristic polynomial vanishes: det(A - λ I) = 0. If A possesses n linearly independent eigenvectors, it can be diagonalized as A = P D P⁻¹, where D is a diagonal matrix of eigenvalues. Diagonalization allows computing high matrix powers effortlessly: Aᵏ = P Dᵏ P⁻¹.
While eigendecomposition requires square, diagonalizable matrices, the Singular Value Decomposition (SVD) exists for any real or complex m × n matrix A:
Here, U is an m × m orthogonal matrix of left singular vectors (eigenvectors of A Aᵀ), V is an n × n orthogonal matrix of right singular vectors (eigenvectors of Aᵀ A), and Σ is an m × n diagonal matrix containing non-negative singular values σ₁ ≥ σ₂ ≥ ... ≥ σ_r > 0.
Geometrically, SVD reveals that every linear transformation can be decomposed into: (1) an orthogonal rotation Vᵀ, (2) coordinate stretching along principal axes by σ_i, and (3) a second orthogonal rotation U. By the Eckart-Young-Mirsky Theorem, truncating the SVD to the top k singular values yields the provably optimal rank-k approximation of matrix A under Frobenius and spectral norms.
In modern machine learning and high-dimensional data science, Principal Component Analysis (PCA) is the unsupervised technique for discovering the orthogonal directions of maximum variance. For a mean-centered data matrix X̃, the sample covariance matrix is:
The eigenvectors of C define the principal component directions w₁, w₂, ..., w_p, and the corresponding eigenvalues λ_i quantify the variance explained along each axis. The explained variance ratio λ_i / ∑ λ_k provides the quantitative justification for compressing hundreds of raw features into a compact, uncorrelated feature embedding with minimal information loss.
Matrix transformations, span, Gaussian RREF, eigensystem spectrum, SVD geometry, and PCA dimensionality reduction.
A linear transformation is a mathematical mapping T: ℝⁿ → ℝᵐ preserving vector addition and scalar multiplication: T(u + v) = T(u) + T(v) and T(cu) = cT(u). By the foundational representation theorem of linear algebra, every linear transformation between finite-dimensional spaces can be represented uniquely by an m × n matrix A, such that T(x) = Ax.
The product \(Ax\) has two complementary interpretations:
The fundamental problem of linear algebra is solving the linear system \(Ax = b\). Based on the Rouché-Capelli Theorem, the augmented matrix \([A \mid b]\) determines the exact nature of the solution space:
rank(A) = rank[A | b] = n. The determinant det(A) ≠ 0; the matrix is invertible, and x = A⁻¹b.
rank(A) = rank[A | b] = r < n. There are n - r free variables, yielding a parametric affine subspace.
rank(A) < rank[A | b]. The target vector b does not lie in the column space Col(A).
For any linear transformation represented by an m × n matrix A, the domain ℝⁿ and codomain ℝᵐ split into Gilbert Strang's four fundamental subspaces:
The celebrated Rank-Nullity Theorem formalizes this conservation of dimension:
When a matrix A acts on most vectors, it changes both their length and direction. However, certain special non-zero vectors v maintain their directional axis, undergoing pure scaling by a scalar factor λ:
Non-trivial solutions exist if and only if the characteristic polynomial vanishes: det(A - λ I) = 0. If A possesses n linearly independent eigenvectors, it can be diagonalized as A = P D P⁻¹, where D is a diagonal matrix of eigenvalues. Diagonalization allows computing high matrix powers effortlessly: Aᵏ = P Dᵏ P⁻¹.
While eigendecomposition requires square, diagonalizable matrices, the Singular Value Decomposition (SVD) exists for any real or complex m × n matrix A:
Here, U is an m × m orthogonal matrix of left singular vectors (eigenvectors of A Aᵀ), V is an n × n orthogonal matrix of right singular vectors (eigenvectors of Aᵀ A), and Σ is an m × n diagonal matrix containing non-negative singular values σ₁ ≥ σ₂ ≥ ... ≥ σ_r > 0.
Geometrically, SVD reveals that every linear transformation can be decomposed into: (1) an orthogonal rotation Vᵀ, (2) coordinate stretching along principal axes by σ_i, and (3) a second orthogonal rotation U. By the Eckart-Young-Mirsky Theorem, truncating the SVD to the top k singular values yields the provably optimal rank-k approximation of matrix A under Frobenius and spectral norms.
In modern machine learning and high-dimensional data science, Principal Component Analysis (PCA) is the unsupervised technique for discovering the orthogonal directions of maximum variance. For a mean-centered data matrix X̃, the sample covariance matrix is:
The eigenvectors of C define the principal component directions w₁, w₂, ..., w_p, and the corresponding eigenvalues λ_i quantify the variance explained along each axis. The explained variance ratio λ_i / ∑ λ_k provides the quantitative justification for compressing hundreds of raw features into a compact, uncorrelated feature embedding with minimal information loss.