Linear Systems, Matrix Rank, and the Matrix Eigenvalue Problem
This course guides learners from setting up and solving linear systems of equations using Gaussian elimination to analyzing vector independence and matrix rank. Learners will also determine matrix eigenvalues and eigenvectors, characterize algebraic and geometric multiplicities, and diagonalize square matrices via modal transformations.
Before you start: High school algebra and polynomial factorization; Basic 2D and 3D coordinate geometry; Familiarity with matrices, basic matrix multiplication, and determinants.
Your path through this module
- Systems of Linear Equations and Matrix Representations: A set of linear relationships can be packaged into a single matrix equation Ax = b whose solvability corresponds to the geometric intersection of hyperplanes.
- Elementary Row Operations and Gaussian Elimination: Elementary row operations transform a system into an equivalent upper triangular form that is readily solved from the bottom up.
- Row Echelon Form, Matrix Rank, and Linear Independence: The number of non-zero rows in echelon form defines the rank, which directly counts independent relationships and dictates solution behavior.
- The Matrix Eigenvalue Problem and Characteristic Equations: Eigenvalues are roots of the characteristic polynomial det(A - lambda I) = 0, identifying scalar factors by which matrix transformation acts purely as stretching.
- Eigenspaces, Multiplicity, and Diagonalization: When a matrix has a full set of linearly independent eigenvectors, it can be factored into a pure diagonal matrix through a change of basis.
- Gaussian Elimination and Physical Network Modeling: Physical networks governed by linear conservation laws convert directly into augmented matrices that yield branch currents via triangular elimination.
- Solving Systems with Infinite Solutions, Inconsistencies, and Free Parameters: Zero rows either indicate redundant equations giving rise to free parameters or, when paired with nonzero constants, signal total inconsistency.
- Determining Matrix Rank and Vector Independence: Evaluating whether vectors are linearly independent reduces to computing the echelon rank of the matrix formed by those vectors.
- Computing Eigenvalues and Eigenvectors of 2x2 and 3x3 Matrices: Solving (A - lambda I)x = 0 for each root lambda of the characteristic polynomial isolates the invariant directional axes of the matrix.
- Repeated Eigenvalues, Defect, and Complex Spectra: A repeated root may yield a multi-dimensional eigenspace or fewer eigenvectors than its multiplicity, indicating an incomplete or defective set of axes.
- Matrix Diagonalization and Modal Transformations: Multiplying A by its modal matrix X and its inverse transforms the matrix into a pure diagonal array of its eigenvalues.
Systems of Linear Equations and Matrix Representations
In algebra, you solved pairs of equations by substituting variables by hand. In engineering, problems like balancing forces in a bridge truss or analyzing electrical grids involve hundreds of simultaneous equations, requiring a compact and systematic bookkeeping method: matrices.
A linear equation relates variables raised only to the first power, such as . When several linear equations share the same set of unknowns, they form a system of linear equations. Instead of writing out variable names repeatedly, we extract their numerical weights into a rectangular grid called the coefficient matrix, denoted by .
We place the unknown variables into a vertical list called a column vector, , and the right-hand constants into another column vector, . The entire system is then written in the compact matrix form . If the constant vector consists purely of zeros (), the system is homogeneous; otherwise, it is nonhomogeneous.
To prepare a system for systematic calculation, we append the constant column to the coefficient matrix, separated by a vertical divider. This combined table is the augmented matrix, written as . It contains every essential number from the equations without the clutter of variable symbols.
Geometrically, each equation in a two-variable system represents a straight line on a plane. The solution to the system is the point where these lines meet. Three geometric cases can occur:
- Intersecting lines: The lines cross at a single point, yielding exactly one unique solution.
- Parallel lines: The lines have the same slope but different intercepts; they never meet, yielding no solution.
- Coincident lines: The equations describe the exact same line; they touch everywhere, yielding infinitely many solutions.
Worked example
Consider the system:
-
Identify the coefficients and constants. The coefficients multiplying are and ; the coefficients multiplying are and . The constants on the right are and .
-
Form the matrix equation . Group the coefficients into , unknowns into , and constants into :
-
Assemble the augmented matrix . Place and together:
-
Classify geometrically. Rewriting both equations in slope-intercept form gives and . The slopes ( and ) are distinct, meaning the lines intersect at exactly one point, , giving a unique solution.
Remember
- The matrix equation condenses a system of equations by separating coefficients, variables, and constants.
- The augmented matrix records all coefficients and targets in one array ready for calculation.
- In two dimensions, linear systems correspond to lines that are intersecting (unique solution), parallel (no solution), or coincident (infinite solutions).
Elementary Row Operations and Gaussian Elimination
In the previous lesson, we packed systems of linear equations into compact augmented matrices. Now, we need a systematic way to untangle those equations and find the unknowns without changing the true solution.
Imagine a mobile hanging from a ceiling. If every hanging piece is tangled with every other piece, finding the balance points is messy. But if you can isolate the lowest piece so it hangs freely, you can balance it first and easily work your way upward. Gaussian elimination untangles a system in precisely this way: it clears variables out of equations row by row until the system is straightforward to resolve.
Two matrices are row equivalent if one can be turned into the other using steps that preserve the original solution set. These allowable moves are called elementary row operations, and there are only three:
- Row interchange (): Swap two rows, which corresponds to reordering the equations.
- Row scaling (, with ): Multiply an entire row by a non-zero number, which scales both sides of an equality.
- Row replacement (): Add a multiple of one row to another, which eliminates a variable.
By systematically using row replacement from left to right, we place zeros beneath the first non-zero entry of each row. This organizes the matrix into an upper triangular form, where all entries below the main diagonal are zero. From this form, the bottom equation contains only the final variable. We find its value immediately and use back substitution—substituting known values upward into earlier equations—to find all remaining unknowns.
Worked example
Solve the system using Gaussian elimination:
-
Write the augmented matrix:
This organizes all coefficients and constants into rows and columns.
-
Eliminate the -term from the second row: Apply . We choose because , giving a zero beneath the leading entry:
The system is now in upper triangular form.
-
Solve the bottom equation: Row 2 reads . Dividing by yields .
-
Back-substitute to find the remaining variable: Substitute into Row 1 ():
The unique solution is and .
Remember
- The three elementary row operations (swap, scale, replace) produce row-equivalent systems with identical solutions.
- Gaussian elimination drives lower-left entries to zero to create an upper triangular system.
- Back substitution solves the triangular system sequentially from the bottom row up to the top.
Row Echelon Form, Matrix Rank, and Linear Independence
In the previous lesson, you used Gaussian elimination to simplify systems into an upper triangular shape. Now, we formalize this staircase layout to identify redundant equations and determine exactly when a system has solutions.
A matrix is in row echelon form when its non-zero rows form a descending staircase: the first non-zero number in each row—called the pivot or leading entry—sits strictly to the right of the pivot in the row above it, and any all-zero rows rest at the bottom.
Imagine combining recipes: if you already have flour and sugar, a pre-mixed bag of flour and sugar gives you no new ingredients. A set of vectors is linearly independent if no vector in the set can be written as a linear combination (a sum of scalar multiples) of the others. If one vector can be built from the rest, the set is linearly dependent and carries redundant information.
The rank of a matrix , written , is the number of pivots in its row echelon form. It counts the number of truly independent rows—or columns—in the matrix. Remarkably, a matrix always has the same number of independent columns as independent rows, so .
To know if has a solution, compare the rank of the coefficient matrix to the rank of the augmented matrix . A system is consistent (solvable) if and only if . If adding the target vector creates a new pivot in the final column, it describes an impossible equation like . If consistent and the rank equals the number of variables , the solution is unique; if , there are free parameters (degrees of freedom), yielding infinitely many solutions.
Worked example
Determine the consistency and number of solutions for the system represented by .
- Row-reduce to find pivots: Subtract twice the first row from the second () to eliminate the leading entry in row 2. This yields .
- Arrange in row echelon form: Swap rows 2 and 3 so all-zero rows are at the bottom: . The pivots are the leading entries in columns 1 and 2.
- Compare ranks and find degrees of freedom: The coefficient matrix has 2 pivots, so . The augmented matrix introduces no new pivot, so . Because both ranks match, the system is consistent. With variables and rank , there is degree of freedom, giving infinitely many solutions.
Remember
- The rank is the count of non-zero rows in row echelon form and equals the number of linearly independent rows or columns.
- A system is consistent if and only if .
- A consistent system has a unique solution if , or infinitely many solutions with free variables if .
The Matrix Eigenvalue Problem and Characteristic Equations
Until now, you used matrices to solve static systems , finding an unknown vector that maps to a specific target . Now, consider what happens when a square matrix acts as an operator that transforms space by rotating and stretching vectors.
Imagine stretching a rubber sheet in two directions. Most arrows drawn on the sheet tilt and change direction, but along specific axes, arrows simply stretch or shrink while pointing along their original line. A non-zero vector that does not rotate when multiplied by is an eigenvector. The scaling factor is its corresponding eigenvalue. We write this relationship as the eigenvalue problem:
Rearranging this into a homogeneous system gives , where is the identity matrix. From your work on matrix rank, a non-trivial solution exists if and only if the matrix is singular. Therefore, its determinant must equal zero:
This is the characteristic equation. Expanding the determinant produces the characteristic polynomial in . For an matrix, the coefficients are matrix invariants—quantities that remain constant regardless of coordinate choices. For a matrix, the equation simplifies to , where is the trace (the sum of the main diagonal elements) and . For a matrix, it expands to , where is the sum of the principal minors and .
The collection of all eigenvalues of is called the spectrum of . The largest absolute value in the spectrum is the spectral radius, denoted . It tells an engineer the maximum amplification factor that can apply to any invariant vector.
Worked example
Find the spectrum and spectral radius of .
- Form the characteristic matrix: Subtract along the main diagonal to get .
- Set the determinant to zero: Calculate , which simplifies to . Note that and .
- Solve for the eigenvalues: Factor the quadratic to get , yielding and .
- Determine the spectrum and spectral radius: The spectrum is the set . The spectral radius is .
Remember
- An eigenvector satisfies ; its direction is preserved under multiplication by .
- Eigenvalues are the roots of the characteristic equation .
- The spectrum is the set of all eigenvalues; the spectral radius is the largest magnitude among them.
Eigenspaces, Multiplicity, and Diagonalization
In the previous lesson, we found the individual eigenvalues and eigenvectors that describe the axes along which a matrix purely scales space. Now, we assemble those directions into a unified coordinate system that uncouples matrix operations completely.
Imagine stretching a sheet of rubber diagonally. Along the stretch axes, points move straight outward without rotating. The collection of all eigenvectors belonging to a specific eigenvalue , combined with the zero vector, forms an eigenspace. An eigenspace is a vector subspace—a line, plane, or higher-dimensional region through the origin—on which the matrix acts purely as multiplication by .
When finding eigenvalues from , a root may repeat. The number of times an eigenvalue appears as a root is its algebraic multiplicity (). The number of linearly independent eigenvectors you can actually find for that eigenvalue—the dimension of its eigenspace—is its geometric multiplicity (). The geometric multiplicity never exceeds the algebraic multiplicity (). If , the difference is called the defect, .
An matrix is diagonalizable if and only if every eigenvalue has zero defect, providing total linearly independent eigenvectors. Packaging these vectors side by side as columns forms the modal matrix . Because its columns are independent, is invertible, and changing coordinates untangles into a pure diagonal matrix:
where the diagonal entries of are the eigenvalues. This representation simplifies repeated matrix multiplication, since , where is computed simply by raising each diagonal entry to the -th power.
Worked example
Diagonalize the matrix and determine .
- Find eigenvalues and multiplicities: Solve . Factoring gives and . Each root appears once, so . Because , both geometric multiplicities equal . The defect is zero, so is diagonalizable.
- Find independent eigenvectors: Solve for each eigenvalue. For , yields . For , yields .
- Construct and : Place eigenvectors into columns to form , which sets . Inverting gives .
- Compute : Calculate the diagonal power , then transform back: .
Remember
- Algebraic multiplicity counts root occurrences, while geometric multiplicity counts independent eigenvectors; a defect occurs when .
- A matrix is diagonalizable if and only if total defect is zero, allowing columns of independent eigenvectors to form an invertible modal matrix .
- Powers decouple under diagonalization via , where simply raises each diagonal entry to the power .
Gaussian Elimination and Physical Network Modeling
Equipped with the rules of linear equations and Gaussian elimination, you can now apply them to basic systems and circuit loop analysis. Physical networks governed by linear conservation laws convert directly into augmented matrices that yield branch currents via triangular elimination.
The idea
A system of linear equations in unknowns is written in matrix form as , where the coefficient matrix holds the multipliers of the unknowns, is the column vector of unknowns, and is the column vector of right-hand side constants:
To solve the system without repeatedly writing the variable names, we append the column to the right of to form the augmented matrix :
Applying elementary row operations reduces to an upper triangular form, where all entries below the main diagonal are zero. Once the system is triangular, we apply back substitution: we solve the last nonzero equation for its single unknown, then substitute that value upward row by row to find the remaining unknowns.
Physical networks produce linear systems directly from conservation laws. In direct-current (DC) electrical circuits, Kirchhoff's current law (KCL) states that the algebraic sum of currents meeting at any node is zero, and Kirchhoff's voltage law (KVL) states that the sum of voltage drops around any closed loop equals the sum of voltage sources in that loop. Writing KCL for every node and KVL for every loop often gives an overdetermined consistent system—more equations than unknowns—where redundant node equations naturally reduce to zero rows () during elimination.
Worked example
Given: Three linear systems: Case (i) and ; Case (ii) and ; Case (iii) and . Find: The geometric interpretation, existence, and uniqueness of the solution for each case.
- Interpret each equation in and as a straight line in the -plane, because a pair solves the system if and only if the point lies on both lines.
- Plot Case (i) ( and ): the lines have different slopes, so they intersect at a single point, giving precisely one unique solution.
- Plot Case (ii) ( and ): the second equation is twice the first, so the two lines coincide and every point on the line is a solution, giving infinitely many solutions.
- Plot Case (iii) ( and ): the lines have the same slope but different intercepts, so they are parallel and never meet, giving no solution (which can never happen if the system is homogeneous with ).
Answer: Case (i) has precisely one solution (intersecting lines); Case (ii) has infinitely many solutions (coincident lines); Case (iii) has no solution (parallel lines).
More problems
Problem 2: Back substitution on a triangular system
Given: The upper triangular system and . Find: The values of and .
- Divide the second equation by to get , since it contains only one unknown.
- Substitute into the first equation to get , which simplifies to and yields .
Answer: , .
Problem 3: Gauss elimination on a 2x2 system
Given: The linear system and . Find: The solution using Gauss elimination.
- Write the augmented matrix .
- Perform to eliminate from the second row, giving .
- Translate back to the triangular system and .
- Solve the bottom equation for , then substitute into the top equation to get .
Answer: , .
Problem 4: Unknown currents in a two-loop circuit
Given: A two-loop DC circuit with nodes and , resistors , , , and sources , . Find: The unknown branch currents , , and .
- Apply Kirchhoff's current law at nodes and to get and .
- Apply Kirchhoff's voltage law to the right and left loops to get and .
- Set and form the augmented matrix .
- Add to and subtract from to eliminate below the first pivot.
- Move the resulting zero second row to the bottom so the nonzero rows sit in rows 2 and 3: .
- Apply to reach upper triangular form .
- Solve row 3 () to get , then substitute into row 2 () to get .
- Substitute and into row 1 () to find .
Watch out. In step 4, the operation eliminating from the fourth row () is written in the step label as , but it actually acts on before the zero row in is swapped to the bottom.
Answer: , , .
Solving Systems with Infinite Solutions, Inconsistencies, and Free Parameters
You already know how to reduce an augmented matrix to upper triangular form and solve for a unique set of unknowns. Here we practice interpreting Gaussian elimination when entire rows of coefficients vanish, either producing arithmetic contradictions or leaving free parameters that generate infinitely many solutions.
The idea
When you apply elementary row operations—interchanging rows, multiplying a row by a nonzero constant, or adding a multiple of one row to another—you create a row-equivalent system. By the row equivalence theorem, row-equivalent systems share the exact same set of solutions. However, elimination does not always end with a neat triangle of nonzero pivots.
If elimination produces a row of all zeros on the coefficient side paired with a nonzero constant on the right—an equation of the form where —the system contains a contradiction condition. No values of the unknowns can make zero equal a nonzero number, so the system is inconsistent and has no solution.
Conversely, if a row becomes entirely zero including the constant (), that equation was redundant and drops out. When fewer nonzero rows remain than there are unknowns, the system is underdetermined. The unknowns without leading pivots are free variables: you can assign them arbitrary parameters (such as ) and express the remaining variables in terms of these parameters, yielding infinitely many solutions. In a homogeneous system (where all right-hand constants are zero), is always a trivial solution, while free variables generate infinitely many non-trivial solutions.
Worked example
Given: A linear system with the augmented matrix . Find: The solution set of the linear system.
-
Subtract of Row 1 from Row 2 () and subtract times Row 1 from Row 3 () to eliminate below the first pivot:
-
Subtract times Row 2 from Row 3 () to eliminate from the third row:
-
Translate the reduced rows back into algebraic equations:
- Interpret the bottom equation: because is a false statement, no values of can satisfy the system.
Answer: The system is inconsistent and has no solutions.
More problems
Problem 1: Three-variable system with a unique solution
Given: The linear system , , and . Find: The values of (denoted as ).
-
Write the augmented matrix for the system:
-
Apply to eliminate the first variable from Row 3:
-
Divide Row 2 and Row 3 by to simplify the arithmetic:
-
Apply to reach upper triangular form:
-
Solve the third row to get .
-
Substitute into the second row to get , so .
-
Substitute and into the first row to find .
Watch out. In step 5, dividing by gives (used in step 6), even if the minus sign is easy to drop on the first line.
Answer: , , .
Problem 2: Homogeneous system with non-trivial solutions
Given: The homogeneous augmented matrix . Find: The parameterized solution set for .
-
Apply and to clear the first column:
-
Scale Row 2 by and Row 3 by to simplify the rows:
-
Apply , reducing Row 3 to all zeros:
-
Write the remaining equations and , giving .
-
Substitute into the first equation: , so .
-
Set the free parameter to avoid fractions, which yields and .
Answer: , , , where is arbitrary.
Problem 3: Three equations in four unknowns (decimal coefficients)
Given: The augmented matrix . Find: The general solution in terms of free parameters.
-
Apply and to eliminate below Row 1:
-
Apply , turning Row 3 into a complete row of zeros:
-
Write the two nonzero equations: and .
-
Divide the second equation by to isolate .
-
Substitute into the first equation: , giving .
-
Assign arbitrary parameters and to express the infinite solution set.
Watch out. In step 4, has a coefficient of on ; take care not to drop the when copying the final summary ( vs. ).
Answer: , (or ), , , with arbitrary.
Problem 4: Four-unknown system requiring a row interchange
Given: The augmented matrix . Find: The general solution of the system.
-
Interchange Row 1 and Row 3 to place a nonzero pivot in the top-left corner:
-
Apply to eliminate the first entry in Row 2:
-
Multiply Row 2 by to get a leading in the second row:
-
Apply to eliminate Row 3 completely:
-
Solve the second row by back substitution to get .
-
Substitute into the first row : , so .
-
Let the free variables be and .
Solution summary. The two non-pivot variables are free parameters; the pivot variables depend on them.
Variable Role Value Pivot variable Pivot variable Free variable Free variable Here, and are arbitrary real numbers.
Determining Matrix Rank and Vector Independence
With Gaussian elimination mastered, you can already reduce any system of equations to an upper staircase structure and identify free parameters. Now we use row echelon reduction as a direct measurement tool to find the rank of a matrix and test whether a set of vectors is linearly independent.
The idea
A linear combination of vectors is a weighted sum using scalar multipliers . The vectors form a linearly independent set if the vector equation holds only when every scalar is zero. If the equation can be satisfied with scalars not all zero, the vectors are linearly dependent, meaning at least one vector is a redundant combination of the others.
Testing whether vectors are linearly independent reduces to computing the echelon rank of the matrix formed by those vectors. The rank of a matrix , written , is the maximum number of linearly independent row vectors (or column vectors, since ). Because elementary row operations only combine existing rows without creating or destroying independent directions, row-equivalent matrices have the exact same rank. In row echelon form, all zero rows sit at the bottom, and the leftmost nonzero entry (pivot) in each nonzero row lies strictly to the right of the pivot in the row above it. Thus, is simply the count of nonzero rows in row echelon form. If vectors are stacked as rows of a matrix , they are linearly independent if , and linearly dependent if (which always happens when the number of vectors exceeds the number of components ).
By the Fundamental Theorem for Linear Systems, a system with unknowns is consistent if and only if the coefficient matrix and the augmented matrix share the same rank . It has a unique solution when , and infinitely many solutions with arbitrary parameters when . A homogeneous system is always consistent with the trivial solution , and possesses nontrivial solutions if and only if .
Worked example
Given: Three vectors , , and . Find: Whether the set of vectors is linearly independent.
-
Stack the three given vectors as the rows of a matrix so that row reduction tests for redundant linear combinations among them.
-
Swap Row 1 and Row 2 to place a nonzero pivot in the top-left entry , yielding .
-
Observe that the leftmost nonzero entry in each row now shifts strictly to the right of the previous row, which matches the general row echelon structure:
- Count the nonzero rows in this echelon matrix to find , and compare it to the number of vectors ; because , no row can be eliminated as a combination of the others.
Answer: , so the vectors are linearly independent.
More problems
Problem 1(iii): Independence of vectors containing a zero vector
Given: Vectors , , and . Find: Whether the vectors are linearly independent.
- Form the matrix with the three given vectors as rows.
- Swap Row 2 and Row 3 to move the all-zero row to the bottom.
- Eliminate the first entry of the new Row 2 using Row 1, leaving two nonzero rows in echelon form.
- Compare with the number of vectors to conclude dependence.
Answer: , so the vectors are linearly dependent.
Problem (Unnumbered): Rank of a matrix
Given: Matrix . Find: The rank of (and verify whether its rows are dependent).
- Apply and to clear column 1 below the first pivot.
- Write the intermediate matrix .
- Apply to eliminate the third row completely, leaving two nonzero rows.
- Note that , confirming the three rows are linearly dependent.
Watch out. The final echelon matrix on page 18 writes the entry as instead of , a handwriting slip after has already zeroed out Row 3; the rank remains .
Answer: .
Problem (i): Rank of a matrix
Given: Matrix . Find: The rank of matrix .
- Swap Row 1 and Row 3 to bring a nonzero pivot to the top-left corner: .
- Apply to zero the entry, yielding .
- Apply to obtain with three nonzero rows.
Answer: .
Problem 1(i): Independence of three 4-component vectors
Given: Vectors , , and . Find: Whether the vectors are linearly independent.
- Form the matrix and swap Row 1 with Row 3 for a unit pivot.
- Apply and to get .
- Scale Row 2 by and Row 3 by to simplify: .
- Apply to zero out Row 3 completely, leaving .
Answer: , so the given vectors are linearly dependent.
Problem (ii): Rank of a matrix
Given: Matrix . Find: The rank of matrix .
- Divide every row by to simplify arithmetic: .
- Apply , , and to clear column 1.
- Write the resulting matrix .
- Apply to eliminate the entry, giving row 4 as .
- Swap Row 3 and Row 4 to reach echelon form with four nonzero rows.
Answer: .
Computing Eigenvalues and Eigenvectors of 2x2 and 3x3 Matrices
Now that solving homogeneous systems is routine, we use that technique to extract the specific direction vectors scaled by matrix transformations. Solving for each root of the characteristic polynomial isolates the invariant directional axes of the matrix.
The idea
An eigenvalue (or characteristic value or latent root) is a scalar for which has a nonzero solution vector , called an eigenvector (or characteristic vector). The set of all eigenvalues of is its spectrum, and the largest absolute value among them is the spectral radius. Rewriting the equation as shows that the characteristic matrix must be singular for a nonzero eigenvector to exist. Thus, its characteristic determinant must equal zero.
Instead of expanding from scratch every time, we can build the characteristic polynomial directly from matrix invariants. For a matrix, the characteristic equation is , where is the sum of the main diagonal elements and is the determinant. For a matrix, the formula is . Here, is the sum of the main diagonal elements, is the sum of the minors of the main diagonal elements, and .
To solve a cubic characteristic equation, test small integer values to find one root , then use synthetic division to divide the cubic polynomial by and reduce it to a factorable quadratic. Once all eigenvalues are known, substitute each one at a time into , apply row reduction to create a zero row, and assign a convenient value to the free variable to find the corresponding eigenvector.
Worked example
Given: Matrix . Find: The eigenvalues (or spectrum) of .
- Write the characteristic equation , because its roots are the eigenvalues where .
- Compute the trace by summing the main diagonal elements.
- Compute the determinant .
- Substitute and into the formula to get .
- Factor the quadratic into to isolate the roots.
Answer: .
More problems
Problem 2: Spectrum of a 2x2 Matrix
Given: Matrix . Find: The spectrum of .
- Compute the sum of the main diagonal elements .
- Compute the determinant .
- Form the characteristic equation .
- Factor the polynomial as to find the roots .
Answer: Spectrum of .
Problem 3: Eigenvectors of a 2x2 Matrix
Given: Matrix with characteristic equation and eigenvalues . Find: The eigenvectors of .
- Set up the homogeneous system to solve for each .
- Substitute to get and row-reduce to .
- Solve to get , and choose to obtain the first eigenvector.
- Substitute to get , which yields or .
- Choose the free variable so that for the second eigenvector.
Answer: Eigenvectors are for , and for .
Problem 4: Eigenvalues and Eigenvectors by Direct Determinant
Given: Matrix . Find: The eigenvalues and eigenvectors of .
- Set .
- Expand to and apply the quadratic formula to get .
- For , form .
- Apply to get , yielding or .
- Choose so that for the first eigenvector.
- For , form .
- Apply to get , yielding ; choose so .
Watch out. When substituting a negative eigenvalue like into , you are subtracting a negative number, so becomes .
Answer: Eigenvalues ; eigenvectors for , and for .
Problem 5: Eigenvalues of a 3x3 Matrix
Given: Matrix . Find: The eigenvalues of .
- Compute the sum of the main diagonal elements .
- Sum the diagonal minors: .
- Compute the determinant .
- Form the cubic characteristic equation .
- Test integer roots: gives , while gives .
- Use synthetic division with on coefficients to get the depressed quadratic .
- Factor to find the remaining roots .
Synthetic division by .
Row coefficient coefficient coefficient Constant Coefficients Products — Quotient / remainder
Answer: .
Problem 6: Eigenvalues and Eigenvectors of a 3x3 Matrix
Given: Matrix . Find: The eigenvalues and eigenvectors of .
- Compute the invariants , , and .
- Write and verify that is a root since .
- Divide by synthetically to get , which factors to give .
- For , swap rows of and apply to get .
- Back-substitute into to get , and choose .
- For , apply on to get and .
- Substitute to find , and choose to get the second eigenvector.
- For , swap of and eliminate using and to get and .
Answer: Eigenvalues ; eigenvectors for , for , and for .
Repeated Eigenvalues, Defect, and Complex Spectra
Having found eigenvectors for simple distinct real roots, we now handle degeneracies such as repeated roots and complex rotation values. A repeated root may yield a multi-dimensional eigenspace or fewer eigenvectors than its multiplicity, indicating an incomplete or defective set of axes.
The idea
When two eigenvectors and share the same eigenvalue , any non-zero linear combination or scalar multiple is also an eigenvector for . Together with the zero vector, all eigenvectors for a fixed form a vector subspace called the eigenspace of corresponding to . The number of times appears as a root of the characteristic polynomial is its algebraic multiplicity . The number of linearly independent eigenvectors associated with is its geometric multiplicity , which equals the number of free variables in , or . The difference is the defect of . When , the repeated root provides a full set of independent axes; when , the matrix is defective and lacks enough eigenvectors to span that dimension.
Even when roots are repeated or come in complex conjugate pairs () representing rotations, the same elimination process applies using complex arithmetic. Throughout all calculations, you can verify your roots using key spectral properties: the sum of all eigenvalues equals the trace (the sum of the main diagonal entries), and their product equals the determinant . Furthermore, the transpose shares the exact same eigenvalues as , and for any eigenvalue of , the matrices , , , and have eigenvalues , , , and respectively.
Worked example
Given: The matrix (Problem 1, page 41). Find: The eigenvalues and corresponding eigenvectors of .
- Compute the trace and the determinant to form the characteristic equation .
- Solve to obtain the purely imaginary conjugate eigenvalues .
- Substitute into the homogeneous system , which gives .
- Apply the complex row operation to eliminate the second row, leaving and the single equation , or .
- Set the free parameter so that , giving the first complex eigenvector .
- Substitute the second root into to get , and apply to reduce it to .
- Solve for and choose to obtain the conjugate eigenvector .
Answer: Eigenvalues ; eigenvectors for and for .
More problems
Problem Q: Repeated root with two independent eigenvectors
Given: The matrix . Find: All eigenvalues and linearly independent eigenvectors of .
- Compute , , and to write the characteristic equation .
- Factor out by synthetic division to get , giving eigenvalues .
- For , set up as and apply and .
- Scale the reduced rows to obtain and , which yield and .
- Set to find the first eigenvector for .
- For the repeated root , form as and reduce with and to get two zero rows.
- Solve the remaining equation by choosing and then to get two independent eigenvectors.
Synthetic division by .
Row coefficient coefficient coefficient Constant Coefficients Products — Quotient / remainder
Watch out. The given matrix has and , which gives , , and for , whereas the worked solution switches those entries to and (making and ) and writes .
Answer: Eigenvalues ; eigenvectors for , and , for .
Problem 1: Triple root with a two-dimensional eigenspace
Given: The matrix . Find: All eigenvalues and eigenvectors of .
- Calculate the trace , sum of minors , and determinant .
- Write the characteristic equation and test by synthetic division.
- Factor the quotient to find the triple eigenvalue .
- Substitute into to obtain the system .
- Eliminate the second and third proportional rows to leave a single plane equation , or .
- Choose and to get ; choose and to get ; or choose and to get .
Synthetic division by .
Row coefficient coefficient coefficient Constant Coefficients Products — Quotient / remainder
Watch out. Because , the eigenspace has geometric multiplicity , so only two of the three listed vectors are linearly independent; also note that the final line writes instead of and instead of .
Answer: Eigenvalues ; eigenvectors , , and .
Problem 2: Defective triple root with one eigenvector
Given: The matrix . Find: The eigenvalues and eigenvectors of .
- Compute , , and to form .
- Rewrite the polynomial as to obtain the triple root ().
- Substitute into to form and swap Row 1 with Row 3.
- Apply and , then to reach the echelon matrix .
- Since the echelon form has rank 2, there is only free variable (defect ): .
- Substitute into to get , and set to find the single independent eigenvector.
Answer: Eigenvalues ; eigenvector .
Matrix Diagonalization and Modal Transformations
You already know how to compute eigenvalues, find their corresponding eigenvectors, and check whether those eigenvectors form a complete basis. With full sets of eigenvectors in hand, we complete our study by transforming matrices into simple diagonal forms. Multiplying a matrix by its modal matrix and its inverse transforms into a pure diagonal array of its eigenvalues.
The idea
When an matrix has linearly independent eigenvectors , we can package them side by side as columns into a single square matrix called the modal matrix, . Because for each column, multiplying by simply scales each column of by its corresponding eigenvalue: , where is the diagonal matrix containing the eigenvalues on its main diagonal.
Since the eigenvectors are linearly independent, the modal matrix has full rank and is invertible. Multiplying both sides of on the left by gives the similarity transformation . In words: to diagonalize a matrix , assemble its independent eigenvectors into columns of , compute , and multiply to isolate the eigenvalues along the diagonal of .
To find , you can either use the adjugate formula or apply Gauss-Jordan elimination, where elementary row operations reduce the augmented matrix to . Once is diagonalized, higher matrix powers become effortless: because middle terms cancel (), raising to a power gives for , where simply raises each diagonal eigenvalue to the -th power.
Worked example
Given: The matrix . Find: The modal matrix , its inverse , and the diagonal matrix .
- Set up the characteristic equation to find the eigenvalues. Here, the trace is and the determinant is , giving , so .
- Solve for to get the first eigenvector: row-reducing via gives , so choosing yields .
- Solve for to get the second eigenvector: the system gives , so choosing yields and .
- Assemble the eigenvectors as columns to form the modal matrix .
- Compute so we can apply the similarity transformation: the determinant is , and swapping diagonal entries while negating off-diagonal entries gives , so .
- Multiply to verify diagonalization: first compute , then multiply on the right by to get .
Answer: , , and .
More problems
Problem 2: Diagonalizing a 3x3 matrix
Given: The matrix . Find: The modal matrix , its inverse , and the diagonal matrix .
- Form the characteristic equation with , , and .
- Factor via synthetic division at to get .
- For , solve : and , so gives .
- For , reduce to get and , so gives .
- For , reduce to get , so gives .
- Assemble , where .
- Row-reduce via Gauss-Jordan elimination (or compute ) to obtain .
- Multiply to produce the diagonal matrix of eigenvalues.
Watch out. When solving for , do not drop the negative sign: (matching the first column of ), and remember to write rather than because is not orthogonal.
Answer: , , and .