Matrix Diagonalization:
where D is a diagonal matrix and P is an invertible matrix.
From: | To: |
Matrix diagonalization is the process of finding a diagonal matrix D and an invertible matrix P such that A = PDP⁻¹. A matrix is diagonalizable if it has n linearly independent eigenvectors, where n is the dimension of the matrix.
The calculator finds the diagonalization using the formula:
Where:
Explanation: The calculator first finds eigenvalues and eigenvectors, then constructs P and D matrices.
Details: Diagonalization simplifies matrix operations, makes matrix powers easy to compute, and reveals important properties about linear transformations.
Tips: Enter your square matrix using comma-separated values within rows and semicolon-separated rows. For example, "1,2;3,4" represents a 2×2 matrix.
Q1: What matrices can be diagonalized?
A: A matrix is diagonalizable if it has n linearly independent eigenvectors (where n is the matrix size). All symmetric matrices are diagonalizable.
Q2: What if my matrix isn't diagonalizable?
A: The calculator will indicate if the matrix cannot be diagonalized. Such matrices may still be put in Jordan form.
Q3: How are eigenvalues calculated?
A: Eigenvalues are found by solving the characteristic equation det(A - λI) = 0.
Q4: What's the complexity of diagonalization?
A: For an n×n matrix, eigenvalue calculation is O(n³) in general. The exact complexity depends on the algorithm used.
Q5: Can I diagonalize non-square matrices?
A: No, diagonalization is only defined for square matrices. Rectangular matrices have singular value decomposition instead.