Solution by Diagonalization
Solving Linear Systems by Diagonalization
Diagonalization changes coordinates, not the system's meaning
For a homogeneous linear system x′ = Ax, if A has enough linearly independent eigenvectors, place them as columns of P and place the corresponding eigenvalues in diagonal matrix D.
Then A = PDP−1. With x = Pz, the system becomes z′ = Dz, so each coordinate zi evolves independently as a constant times eλᵢt.
The method fails in this simple form when the needed independent eigenvectors are absent; that is a property to check, not an inconvenience to ignore.
Keep eigenpairs paired
The order of columns in P must match the order of diagonal entries in D. Reordering both together changes nothing, but reordering only one breaks A = PDP−1 as soon as the eigenvalues involved differ.
Initial conditions are handled in eigenvector coordinates: solve P c = x(0), then x(t) is the sum of cieλᵢtvi. Each coefficient belongs to one eigenvector–eigenvalue pair.
Verify by substitution
A solution assembled from eigenmodes should be checked in two ways: at t = 0 it must equal the initial vector, and differentiating it should reproduce A times the vector.
These checks catch swapped eigenvectors, incorrect coefficients, and a sign error in an exponent. Distinct real eigenvalues guarantee diagonalizability over the reals, while repeated eigenvalues need an explicit independent-eigenvector check.
A system x′ = Ax has eigenpairs λ1 = 2 with v1 = (1,1) and λ2 = −1 with v2 = (1,−2). If x(0) = (4,1), which solution is correct?
In a diagonalization A = PDP−1, P has columns v1, v2, v3 corresponding respectively to eigenvalues λ1, λ2, λ3. Which expression is guaranteed to give the correctly paired D for all eigenvalue values consistent with these eigenpairs?