Linear System of ODEs Solver (3x3) Notes
These Linear System of ODEs Solver (3x3) Notes explain how to solve three differential equations that feed into each other, with the working shown line by line. Written in matrix form the system asks which directions keep their shape as time passes, and those directions are exactly the eigenvectors of the matrix. Each eigenvalue supplies the exponential that rides along its own eigenvector, and the three combine into the general solution. Following the same pattern every time keeps each eigenvector paired with the right eigenvalue.
Step-by-step method
- Set up the problem.
- Write the method.
- Find the eigenvalues and eigenvectors.
- Build a solution from each eigenvalue.
- Write the general solution.
Formula: Eigenvector Solution
Each eigenvalue λ and eigenvector v of A gives a solution v e^(λt). Adding three such solutions with constants gives the general solution.
Useful Tips to Remember
Every eigenvalue gives a solution of the form \(\mathbf{v}e^{\lambda t}\), where \(\mathbf{v}\) is its eigenvector. Complex eigenvalues come in pairs, and the real and imaginary parts of one solution give two real solutions, so the other eigenvalue adds nothing new. A repeated eigenvalue with too few eigenvectors needs a generalized eigenvector \(\mathbf{w}\) with \((A - \lambda I)\mathbf{w} = \mathbf{v}\). The general solution has one constant for each unknown function.
Required knowledge
- How to find the eigenvalues and eigenvectors, covered in the Eigenvector of a 3×3 Matrix Calculator.
- How to solve for a generalized eigenvector, covered in the System of Equations Calculator.
- How the 2×2 case works, covered in the Linear System ODE Solver Calculator.
Where Are Linear Systems of Differential Equations Used?
Three coupled equations appear whenever three quantities affect each other, such as three connected tanks, three masses joined by springs or a chain of radioactive decays. In chemistry they model reactions where one substance turns into another and then a third. The eigenvalues decide how fast each part settles, which matters in control and stability problems.
- Radioactive decay chains
- Three connected tanks
- Chains of chemical reactions
- Three masses joined by springs
- Compartment models in medicine
Linear System 3×3 ODE Practice Problems
Example 1 uses a diagonal matrix, where each equation can be solved on its own, and Example 2 uses an upper triangular matrix. Examples 3 and 4 give you two more problems of the same kind to try. Find the eigenvalues and eigenvectors, then build the solution.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the method.
- Find the eigenvalues and eigenvectors.
- Build a solution from each eigenvalue.
- Write the general solution.
Formula
Formula: Eigenvector Solution
Each eigenvalue λ and eigenvector v of A gives a solution v e^(λt). Adding them with constants gives the general solution.
Step 1
Step 1 - Set up the problem.
In this problem: We are solving the system \(\begin{bmatrix} x_{1}' \\ x_{2}' \\ x_{3}' \end{bmatrix} = \begin{bmatrix} 2 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 4 \end{bmatrix}\begin{bmatrix} x_{1} \\ x_{2} \\ x_{3} \end{bmatrix}\), where each \(x_{i}\) is a function of \(t\).
Step 2
Step 2 - Write the method.
In this problem: If \(\mathbf{v}\) is an eigenvector of A with eigenvalue \(\lambda\), then \(\mathbf{v}e^{\lambda t}\) solves the system, because differentiating it multiplies it by \(\lambda\), and so does multiplying by A. Adding one such solution for each independent eigenvector, each times a constant, gives the general solution.
Step 3
Step 3 - Find the eigenvalues and eigenvectors.
In this problem: The eigenvalues and eigenvectors of A, covered in the Eigenvector of a 3×3 Matrix Calculator, give the building blocks of the solution.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the eigenvalues.
- Find the eigenvector for each eigenvalue.
Formula
Formula: Eigenvector Equation
This equation gives the eigenvectors of A. For each eigenvalue, find the nonzero vectors that \(A - \lambda I\) sends to zero.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the eigenvectors of \(A = \begin{bmatrix} 2 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 4 \end{bmatrix}\), the nonzero vectors \(\mathbf{v}\) that A only stretches or shrinks, so that \(A\mathbf{v} = \lambda\mathbf{v}\).
Step 2
Step 2 - Write the formula.
In this problem: Moving \(\lambda\mathbf{v}\) to the left gives this equation, so each eigenvector is a nonzero solution for its own eigenvalue.
Step 3
Step 3 - Find the eigenvalues.
In this problem: The eigenvalues come first, covered in the Eigenvalue of a 3×3 Matrix Calculator, which gives \(\lambda_{1} = 2,\; \lambda_{2} = 3,\; \lambda_{3} = 4\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Subtract lambda from the main diagonal.
- Work out the determinant.
- Solve for the eigenvalues.
Formula
Formula: Characteristic Equation
This equation gives the eigenvalues of A. Subtract lambda from the main diagonal, take the determinant and set it equal to 0.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the eigenvalues of \(A = \begin{bmatrix} 2 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 4 \end{bmatrix}\), the numbers \(\lambda\) for which \(A\mathbf{v} = \lambda\mathbf{v}\) has a nonzero solution.
Step 2
Step 2 - Write the formula.
In this problem: An eigenvalue makes \(A - \lambda I\) squash some nonzero vector to zero, and that happens exactly when its determinant is 0.
Step 3
Step 3 - Subtract lambda from the main diagonal.
In this problem: Taking \(\lambda\) away from each entry on the main diagonal gives \(A - \lambda I = \begin{bmatrix} 2 - \lambda & 0 & 0 \\ 0 & 3 - \lambda & 0 \\ 0 & 0 & 4 - \lambda \end{bmatrix}\).
Step 4
Step 4 - Work out the determinant.
In this problem: Expanding along the top row, covered in the Determinant of a 3×3 Matrix Calculator, multiplies each top entry by the 2 by 2 determinant left when its row and column are covered. Terms with a top entry of 0 drop out. Multiplying out gives the characteristic polynomial \(- \lambda^{3} + 9 \lambda^{2} - 26 \lambda + 24\).
Step 5
Step 5 - Solve for the eigenvalues.
In this problem: The eigenvalues are the solutions of \(- \lambda^{3} + 9 \lambda^{2} - 26 \lambda + 24 = 0\). Multiplying by -1 gives \(\lambda^{3} - 9 \lambda^{2} + 26 \lambda - 24 = 0\). Trying factors of the constant term, \(\lambda = 2\) makes it 0, so \(\left(\lambda - 2\right)\) is a factor. Dividing it out, covered in the Synthetic Division Calculator, leaves \(\lambda^{2} - 7 \lambda + 12\). This factorises as \(\left(\lambda - 3\right)\left(\lambda - 4\right) = 0\), so \(\lambda = 3\) or \(\lambda = 4\).
Final Answer
Step 4
Step 4 - Find the eigenvector for each eigenvalue.
In this problem: Each eigenvalue is put back into \((A - \lambda I)\mathbf{v} = \mathbf{0}\) in turn.
Step 4a
Step 4a - Find the eigenvector for the first eigenvalue.
In this problem: Putting \(\lambda = 2\) into \(A - \lambda I\) gives \(\begin{bmatrix} 0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 2 \end{bmatrix}\). Row reducing it gives \(\begin{bmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{bmatrix}\), whose rows give \(y = 0\) and \(z = 0\). \(x\) is free, so taking \(x = 1\) and clearing any fractions gives \(\mathbf{v}_{1} = \begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}\).
Step 4b
Step 4b - Find the eigenvector for the second eigenvalue.
In this problem: Putting \(\lambda = 3\) into \(A - \lambda I\) gives \(\begin{bmatrix} -1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1 \end{bmatrix}\). Row reducing it gives \(\begin{bmatrix} 1 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{bmatrix}\), whose rows give \(x = 0\) and \(z = 0\). \(y\) is free, so taking \(y = 1\) and clearing any fractions gives \(\mathbf{v}_{2} = \begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}\).
Step 4c
Step 4c - Find the eigenvector for the third eigenvalue.
In this problem: Putting \(\lambda = 4\) into \(A - \lambda I\) gives \(\begin{bmatrix} -2 & 0 & 0 \\ 0 & -1 & 0 \\ 0 & 0 & 0 \end{bmatrix}\). Row reducing it gives \(\begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0 \end{bmatrix}\), whose rows give \(x = 0\) and \(y = 0\). \(z\) is free, so taking \(z = 1\) and clearing any fractions gives \(\mathbf{v}_{3} = \begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}\).
Final Answer
Step 4
Step 4 - Build a solution from each eigenvalue.
In this problem: Each eigenvalue gives its own solutions.
Step 4a
Step 4a - Build solution 1.
In this problem: The eigenvalue \(\lambda = 2\) has eigenvector \(\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}\), which gives the solution \(\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}e^{2 t}\).
Step 4b
Step 4b - Build solution 2.
In this problem: The eigenvalue \(\lambda = 3\) has eigenvector \(\begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}\), which gives the solution \(\begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}e^{3 t}\).
Step 4c
Step 4c - Build solution 3.
In this problem: The eigenvalue \(\lambda = 4\) has eigenvector \(\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}\), which gives the solution \(\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}e^{4 t}\).
Step 5
Step 5 - Write the general solution.
In this problem: Adding the solutions, each times its own constant, and reading off each component gives the general solution.
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the method.
- Find the eigenvalues and eigenvectors.
- Build a solution from each eigenvalue.
- Write the general solution.
Formula
Formula: Eigenvector Solution
Each eigenvalue λ and eigenvector v of A gives a solution v e^(λt). Adding them with constants gives the general solution.
Step 1
Step 1 - Set up the problem.
In this problem: We are solving the system \(\begin{bmatrix} x_{1}' \\ x_{2}' \\ x_{3}' \end{bmatrix} = \begin{bmatrix} 1 & 1 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 3 \end{bmatrix}\begin{bmatrix} x_{1} \\ x_{2} \\ x_{3} \end{bmatrix}\), where each \(x_{i}\) is a function of \(t\).
Step 2
Step 2 - Write the method.
In this problem: If \(\mathbf{v}\) is an eigenvector of A with eigenvalue \(\lambda\), then \(\mathbf{v}e^{\lambda t}\) solves the system, because differentiating it multiplies it by \(\lambda\), and so does multiplying by A. Adding one such solution for each independent eigenvector, each times a constant, gives the general solution.
Step 3
Step 3 - Find the eigenvalues and eigenvectors.
In this problem: The eigenvalues and eigenvectors of A, covered in the Eigenvector of a 3×3 Matrix Calculator, give the building blocks of the solution.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the eigenvalues.
- Find the eigenvector for each eigenvalue.
Formula
Formula: Eigenvector Equation
This equation gives the eigenvectors of A. For each eigenvalue, find the nonzero vectors that \(A - \lambda I\) sends to zero.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the eigenvectors of \(A = \begin{bmatrix} 1 & 1 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 3 \end{bmatrix}\), the nonzero vectors \(\mathbf{v}\) that A only stretches or shrinks, so that \(A\mathbf{v} = \lambda\mathbf{v}\).
Step 2
Step 2 - Write the formula.
In this problem: Moving \(\lambda\mathbf{v}\) to the left gives this equation, so each eigenvector is a nonzero solution for its own eigenvalue.
Step 3
Step 3 - Find the eigenvalues.
In this problem: The eigenvalues come first, covered in the Eigenvalue of a 3×3 Matrix Calculator, which gives \(\lambda_{1} = 1,\; \lambda_{2} = 2,\; \lambda_{3} = 3\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Subtract lambda from the main diagonal.
- Work out the determinant.
- Solve for the eigenvalues.
Formula
Formula: Characteristic Equation
This equation gives the eigenvalues of A. Subtract lambda from the main diagonal, take the determinant and set it equal to 0.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the eigenvalues of \(A = \begin{bmatrix} 1 & 1 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 3 \end{bmatrix}\), the numbers \(\lambda\) for which \(A\mathbf{v} = \lambda\mathbf{v}\) has a nonzero solution.
Step 2
Step 2 - Write the formula.
In this problem: An eigenvalue makes \(A - \lambda I\) squash some nonzero vector to zero, and that happens exactly when its determinant is 0.
Step 3
Step 3 - Subtract lambda from the main diagonal.
In this problem: Taking \(\lambda\) away from each entry on the main diagonal gives \(A - \lambda I = \begin{bmatrix} 1 - \lambda & 1 & 0 \\ 0 & 2 - \lambda & 0 \\ 0 & 0 & 3 - \lambda \end{bmatrix}\).
Step 4
Step 4 - Work out the determinant.
In this problem: Expanding along the top row, covered in the Determinant of a 3×3 Matrix Calculator, multiplies each top entry by the 2 by 2 determinant left when its row and column are covered. Terms with a top entry of 0 drop out. Multiplying out gives the characteristic polynomial \(- \lambda^{3} + 6 \lambda^{2} - 11 \lambda + 6\).
Step 5
Step 5 - Solve for the eigenvalues.
In this problem: The eigenvalues are the solutions of \(- \lambda^{3} + 6 \lambda^{2} - 11 \lambda + 6 = 0\). Multiplying by -1 gives \(\lambda^{3} - 6 \lambda^{2} + 11 \lambda - 6 = 0\). Trying factors of the constant term, \(\lambda = 1\) makes it 0, so \(\left(\lambda - 1\right)\) is a factor. Dividing it out, covered in the Synthetic Division Calculator, leaves \(\lambda^{2} - 5 \lambda + 6\). This factorises as \(\left(\lambda - 2\right)\left(\lambda - 3\right) = 0\), so \(\lambda = 2\) or \(\lambda = 3\).
Final Answer
Step 4
Step 4 - Find the eigenvector for each eigenvalue.
In this problem: Each eigenvalue is put back into \((A - \lambda I)\mathbf{v} = \mathbf{0}\) in turn.
Step 4a
Step 4a - Find the eigenvector for the first eigenvalue.
In this problem: Putting \(\lambda = 1\) into \(A - \lambda I\) gives \(\begin{bmatrix} 0 & 1 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 2 \end{bmatrix}\). Row reducing it gives \(\begin{bmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{bmatrix}\), whose rows give \(y = 0\) and \(z = 0\). \(x\) is free, so taking \(x = 1\) and clearing any fractions gives \(\mathbf{v}_{1} = \begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}\).
Step 4b
Step 4b - Find the eigenvector for the second eigenvalue.
In this problem: Putting \(\lambda = 2\) into \(A - \lambda I\) gives \(\begin{bmatrix} -1 & 1 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1 \end{bmatrix}\). Row reducing it gives \(\begin{bmatrix} 1 & -1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{bmatrix}\), whose rows give \(x - y = 0\) and \(z = 0\). \(y\) is free, so taking \(y = 1\) and clearing any fractions gives \(\mathbf{v}_{2} = \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}\).
Step 4c
Step 4c - Find the eigenvector for the third eigenvalue.
In this problem: Putting \(\lambda = 3\) into \(A - \lambda I\) gives \(\begin{bmatrix} -2 & 1 & 0 \\ 0 & -1 & 0 \\ 0 & 0 & 0 \end{bmatrix}\). Row reducing it gives \(\begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0 \end{bmatrix}\), whose rows give \(x = 0\) and \(y = 0\). \(z\) is free, so taking \(z = 1\) and clearing any fractions gives \(\mathbf{v}_{3} = \begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}\).
Final Answer
Step 4
Step 4 - Build a solution from each eigenvalue.
In this problem: Each eigenvalue gives its own solutions.
Step 4a
Step 4a - Build solution 1.
In this problem: The eigenvalue \(\lambda = 1\) has eigenvector \(\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}\), which gives the solution \(\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}e^{t}\).
Step 4b
Step 4b - Build solution 2.
In this problem: The eigenvalue \(\lambda = 2\) has eigenvector \(\begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}\), which gives the solution \(\begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}e^{2 t}\).
Step 4c
Step 4c - Build solution 3.
In this problem: The eigenvalue \(\lambda = 3\) has eigenvector \(\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}\), which gives the solution \(\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}e^{3 t}\).
Step 5
Step 5 - Write the general solution.
In this problem: Adding the solutions, each times its own constant, and reading off each component gives the general solution.
Final Answer
See Example 3 Hide Example 3
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the method.
- Find the eigenvalues and eigenvectors.
- Build a solution from each eigenvalue.
- Write the general solution.
Formula
Formula: Eigenvector Solution
Each eigenvalue λ and eigenvector v of A gives a solution v e^(λt). Adding them with constants gives the general solution.
Step 1
Step 1 - Set up the problem.
In this problem: We are solving the system \(\begin{bmatrix} x_{1}' \\ x_{2}' \\ x_{3}' \end{bmatrix} = \begin{bmatrix} 1 & 0 & 0 \\ 0 & -2 & 0 \\ 0 & 0 & 5 \end{bmatrix}\begin{bmatrix} x_{1} \\ x_{2} \\ x_{3} \end{bmatrix}\), where each \(x_{i}\) is a function of \(t\).
Step 2
Step 2 - Write the method.
In this problem: If \(\mathbf{v}\) is an eigenvector of A with eigenvalue \(\lambda\), then \(\mathbf{v}e^{\lambda t}\) solves the system, because differentiating it multiplies it by \(\lambda\), and so does multiplying by A. Adding one such solution for each independent eigenvector, each times a constant, gives the general solution.
Step 3
Step 3 - Find the eigenvalues and eigenvectors.
In this problem: The eigenvalues and eigenvectors of A, covered in the Eigenvector of a 3×3 Matrix Calculator, give the building blocks of the solution.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the eigenvalues.
- Find the eigenvector for each eigenvalue.
Formula
Formula: Eigenvector Equation
This equation gives the eigenvectors of A. For each eigenvalue, find the nonzero vectors that \(A - \lambda I\) sends to zero.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the eigenvectors of \(A = \begin{bmatrix} 1 & 0 & 0 \\ 0 & -2 & 0 \\ 0 & 0 & 5 \end{bmatrix}\), the nonzero vectors \(\mathbf{v}\) that A only stretches or shrinks, so that \(A\mathbf{v} = \lambda\mathbf{v}\).
Step 2
Step 2 - Write the formula.
In this problem: Moving \(\lambda\mathbf{v}\) to the left gives this equation, so each eigenvector is a nonzero solution for its own eigenvalue.
Step 3
Step 3 - Find the eigenvalues.
In this problem: The eigenvalues come first, covered in the Eigenvalue of a 3×3 Matrix Calculator, which gives \(\lambda_{1} = -2,\; \lambda_{2} = 1,\; \lambda_{3} = 5\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Subtract lambda from the main diagonal.
- Work out the determinant.
- Solve for the eigenvalues.
Formula
Formula: Characteristic Equation
This equation gives the eigenvalues of A. Subtract lambda from the main diagonal, take the determinant and set it equal to 0.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the eigenvalues of \(A = \begin{bmatrix} 1 & 0 & 0 \\ 0 & -2 & 0 \\ 0 & 0 & 5 \end{bmatrix}\), the numbers \(\lambda\) for which \(A\mathbf{v} = \lambda\mathbf{v}\) has a nonzero solution.
Step 2
Step 2 - Write the formula.
In this problem: An eigenvalue makes \(A - \lambda I\) squash some nonzero vector to zero, and that happens exactly when its determinant is 0.
Step 3
Step 3 - Subtract lambda from the main diagonal.
In this problem: Taking \(\lambda\) away from each entry on the main diagonal gives \(A - \lambda I = \begin{bmatrix} 1 - \lambda & 0 & 0 \\ 0 & - \lambda - 2 & 0 \\ 0 & 0 & 5 - \lambda \end{bmatrix}\).
Step 4
Step 4 - Work out the determinant.
In this problem: Expanding along the top row, covered in the Determinant of a 3×3 Matrix Calculator, multiplies each top entry by the 2 by 2 determinant left when its row and column are covered. Terms with a top entry of 0 drop out. Multiplying out gives the characteristic polynomial \(- \lambda^{3} + 4 \lambda^{2} + 7 \lambda - 10\).
Step 5
Step 5 - Solve for the eigenvalues.
In this problem: The eigenvalues are the solutions of \(- \lambda^{3} + 4 \lambda^{2} + 7 \lambda - 10 = 0\). Multiplying by -1 gives \(\lambda^{3} - 4 \lambda^{2} - 7 \lambda + 10 = 0\). Trying factors of the constant term, \(\lambda = -2\) makes it 0, so \(\left(\lambda + 2\right)\) is a factor. Dividing it out, covered in the Synthetic Division Calculator, leaves \(\lambda^{2} - 6 \lambda + 5\). This factorises as \(\left(\lambda - 1\right)\left(\lambda - 5\right) = 0\), so \(\lambda = 1\) or \(\lambda = 5\).
Final Answer
Step 4
Step 4 - Find the eigenvector for each eigenvalue.
In this problem: Each eigenvalue is put back into \((A - \lambda I)\mathbf{v} = \mathbf{0}\) in turn.
Step 4a
Step 4a - Find the eigenvector for the first eigenvalue.
In this problem: Putting \(\lambda = -2\) into \(A - \lambda I\) gives \(\begin{bmatrix} 3 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 7 \end{bmatrix}\). Row reducing it gives \(\begin{bmatrix} 1 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{bmatrix}\), whose rows give \(x = 0\) and \(z = 0\). \(y\) is free, so taking \(y = 1\) and clearing any fractions gives \(\mathbf{v}_{1} = \begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}\).
Step 4b
Step 4b - Find the eigenvector for the second eigenvalue.
In this problem: Putting \(\lambda = 1\) into \(A - \lambda I\) gives \(\begin{bmatrix} 0 & 0 & 0 \\ 0 & -3 & 0 \\ 0 & 0 & 4 \end{bmatrix}\). Row reducing it gives \(\begin{bmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{bmatrix}\), whose rows give \(y = 0\) and \(z = 0\). \(x\) is free, so taking \(x = 1\) and clearing any fractions gives \(\mathbf{v}_{2} = \begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}\).
Step 4c
Step 4c - Find the eigenvector for the third eigenvalue.
In this problem: Putting \(\lambda = 5\) into \(A - \lambda I\) gives \(\begin{bmatrix} -4 & 0 & 0 \\ 0 & -7 & 0 \\ 0 & 0 & 0 \end{bmatrix}\). Row reducing it gives \(\begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0 \end{bmatrix}\), whose rows give \(x = 0\) and \(y = 0\). \(z\) is free, so taking \(z = 1\) and clearing any fractions gives \(\mathbf{v}_{3} = \begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}\).
Final Answer
Step 4
Step 4 - Build a solution from each eigenvalue.
In this problem: Each eigenvalue gives its own solutions.
Step 4a
Step 4a - Build solution 1.
In this problem: The eigenvalue \(\lambda = -2\) has eigenvector \(\begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}\), which gives the solution \(\begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}e^{- 2 t}\).
Step 4b
Step 4b - Build solution 2.
In this problem: The eigenvalue \(\lambda = 1\) has eigenvector \(\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}\), which gives the solution \(\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}e^{t}\).
Step 4c
Step 4c - Build solution 3.
In this problem: The eigenvalue \(\lambda = 5\) has eigenvector \(\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}\), which gives the solution \(\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}e^{5 t}\).
Step 5
Step 5 - Write the general solution.
In this problem: Adding the solutions, each times its own constant, and reading off each component gives the general solution.
Final Answer
See Example 4 Hide Example 4
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the method.
- Find the eigenvalues and eigenvectors.
- Build a solution from each eigenvalue.
- Write the general solution.
Formula
Formula: Eigenvector Solution
Each eigenvalue λ and eigenvector v of A gives a solution v e^(λt). Adding them with constants gives the general solution.
Step 1
Step 1 - Set up the problem.
In this problem: We are solving the system \(\begin{bmatrix} x_{1}' \\ x_{2}' \\ x_{3}' \end{bmatrix} = \begin{bmatrix} 2 & 1 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 1 \end{bmatrix}\begin{bmatrix} x_{1} \\ x_{2} \\ x_{3} \end{bmatrix}\), where each \(x_{i}\) is a function of \(t\).
Step 2
Step 2 - Write the method.
In this problem: If \(\mathbf{v}\) is an eigenvector of A with eigenvalue \(\lambda\), then \(\mathbf{v}e^{\lambda t}\) solves the system, because differentiating it multiplies it by \(\lambda\), and so does multiplying by A. Adding one such solution for each independent eigenvector, each times a constant, gives the general solution.
Step 3
Step 3 - Find the eigenvalues and eigenvectors.
In this problem: The eigenvalues and eigenvectors of A, covered in the Eigenvector of a 3×3 Matrix Calculator, give the building blocks of the solution.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the eigenvalues.
- Find the eigenvector for each eigenvalue.
Formula
Formula: Eigenvector Equation
This equation gives the eigenvectors of A. For each eigenvalue, find the nonzero vectors that \(A - \lambda I\) sends to zero.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the eigenvectors of \(A = \begin{bmatrix} 2 & 1 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 1 \end{bmatrix}\), the nonzero vectors \(\mathbf{v}\) that A only stretches or shrinks, so that \(A\mathbf{v} = \lambda\mathbf{v}\).
Step 2
Step 2 - Write the formula.
In this problem: Moving \(\lambda\mathbf{v}\) to the left gives this equation, so each eigenvector is a nonzero solution for its own eigenvalue.
Step 3
Step 3 - Find the eigenvalues.
In this problem: The eigenvalues come first, covered in the Eigenvalue of a 3×3 Matrix Calculator, which gives \(\lambda_{1} = 1,\; \lambda_{2} = 2,\; \lambda_{3} = 3\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Subtract lambda from the main diagonal.
- Work out the determinant.
- Solve for the eigenvalues.
Formula
Formula: Characteristic Equation
This equation gives the eigenvalues of A. Subtract lambda from the main diagonal, take the determinant and set it equal to 0.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the eigenvalues of \(A = \begin{bmatrix} 2 & 1 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 1 \end{bmatrix}\), the numbers \(\lambda\) for which \(A\mathbf{v} = \lambda\mathbf{v}\) has a nonzero solution.
Step 2
Step 2 - Write the formula.
In this problem: An eigenvalue makes \(A - \lambda I\) squash some nonzero vector to zero, and that happens exactly when its determinant is 0.
Step 3
Step 3 - Subtract lambda from the main diagonal.
In this problem: Taking \(\lambda\) away from each entry on the main diagonal gives \(A - \lambda I = \begin{bmatrix} 2 - \lambda & 1 & 0 \\ 0 & 3 - \lambda & 0 \\ 0 & 0 & 1 - \lambda \end{bmatrix}\).
Step 4
Step 4 - Work out the determinant.
In this problem: Expanding along the top row, covered in the Determinant of a 3×3 Matrix Calculator, multiplies each top entry by the 2 by 2 determinant left when its row and column are covered. Terms with a top entry of 0 drop out. Multiplying out gives the characteristic polynomial \(- \lambda^{3} + 6 \lambda^{2} - 11 \lambda + 6\).
Step 5
Step 5 - Solve for the eigenvalues.
In this problem: The eigenvalues are the solutions of \(- \lambda^{3} + 6 \lambda^{2} - 11 \lambda + 6 = 0\). Multiplying by -1 gives \(\lambda^{3} - 6 \lambda^{2} + 11 \lambda - 6 = 0\). Trying factors of the constant term, \(\lambda = 1\) makes it 0, so \(\left(\lambda - 1\right)\) is a factor. Dividing it out, covered in the Synthetic Division Calculator, leaves \(\lambda^{2} - 5 \lambda + 6\). This factorises as \(\left(\lambda - 2\right)\left(\lambda - 3\right) = 0\), so \(\lambda = 2\) or \(\lambda = 3\).
Final Answer
Step 4
Step 4 - Find the eigenvector for each eigenvalue.
In this problem: Each eigenvalue is put back into \((A - \lambda I)\mathbf{v} = \mathbf{0}\) in turn.
Step 4a
Step 4a - Find the eigenvector for the first eigenvalue.
In this problem: Putting \(\lambda = 1\) into \(A - \lambda I\) gives \(\begin{bmatrix} 1 & 1 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 0 \end{bmatrix}\). Row reducing it gives \(\begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0 \end{bmatrix}\), whose rows give \(x = 0\) and \(y = 0\). \(z\) is free, so taking \(z = 1\) and clearing any fractions gives \(\mathbf{v}_{1} = \begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}\).
Step 4b
Step 4b - Find the eigenvector for the second eigenvalue.
In this problem: Putting \(\lambda = 2\) into \(A - \lambda I\) gives \(\begin{bmatrix} 0 & 1 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & -1 \end{bmatrix}\). Row reducing it gives \(\begin{bmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{bmatrix}\), whose rows give \(y = 0\) and \(z = 0\). \(x\) is free, so taking \(x = 1\) and clearing any fractions gives \(\mathbf{v}_{2} = \begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}\).
Step 4c
Step 4c - Find the eigenvector for the third eigenvalue.
In this problem: Putting \(\lambda = 3\) into \(A - \lambda I\) gives \(\begin{bmatrix} -1 & 1 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & -2 \end{bmatrix}\). Row reducing it gives \(\begin{bmatrix} 1 & -1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{bmatrix}\), whose rows give \(x - y = 0\) and \(z = 0\). \(y\) is free, so taking \(y = 1\) and clearing any fractions gives \(\mathbf{v}_{3} = \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}\).
Final Answer
Step 4
Step 4 - Build a solution from each eigenvalue.
In this problem: Each eigenvalue gives its own solutions.
Step 4a
Step 4a - Build solution 1.
In this problem: The eigenvalue \(\lambda = 1\) has eigenvector \(\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}\), which gives the solution \(\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}e^{t}\).
Step 4b
Step 4b - Build solution 2.
In this problem: The eigenvalue \(\lambda = 2\) has eigenvector \(\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}\), which gives the solution \(\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}e^{2 t}\).
Step 4c
Step 4c - Build solution 3.
In this problem: The eigenvalue \(\lambda = 3\) has eigenvector \(\begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}\), which gives the solution \(\begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}e^{3 t}\).
Step 5
Step 5 - Write the general solution.
In this problem: Adding the solutions, each times its own constant, and reading off each component gives the general solution.
Final Answer
Calculator and Practice Mode
Want to check your own working? The 3×3 Linear System ODE Solver Calculator solves any problem you type in and shows every step, so you can compare it line by line with your answer and find exactly where a mistake crept in. When you are ready to test yourself, 3×3 Linear System ODE Solver Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode for this calculator is available on the Pro plan.