Eigenvalues and eigenvectors
Find the eigenvalues and eigenvectors of a matrix, with the exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, plus what to write in the exam.
To find eigenvalues, solve the characteristic equation ; to find an eigenvector for each , row-reduce and read the solution of the equation it gives. The TI-Nspire has direct eigVl and eigVc commands. The TI-84 Plus CE, Casio fx-CG50 and fx-CG100 have none, so use the polynomial solver and the rref or Rref command.
Example
Find the eigenvalues of , and an eigenvector for each eigenvalue.
The trace is and the determinant is , so the characteristic equation is , which factorises as . The eigenvalues are and . Row-reducing gives the eigenvector , and gives . Check one: .
Choose your calculator
How to find eigenvalues and eigenvectors on a TI-84 Plus CE
No eigenvalue command: characteristic equation and rref | |
Press 2nd x⁻¹ (MATRIX), press ▶ to the EDIT menu and choose 1:[A]. Enter the size, 2 enter 2 enter, then the entries row by row, pressing enter after each: 6, 2, 1, 5. Press 2nd mode (QUIT) to leave the editor. |
MATRIX[A] 2 ×2 [ 6 2 ] [ 1 5 ] |
The manual lists no eigenvalue or eigenvector command for this calculator, so the eigenvalues come from the characteristic equation. For a matrix it is . Here the trace is and the determinant is , so it is . Press apps and choose PlySmlt2, press any key, then choose 1:Polynomial Root Finder. Set ORDER to 2, press graph under NEXT, and enter the coefficients 1 enter, (−) 1 1 enter, 2 8 enter. Press graph under SOLVE. The eigenvalues are and . |
X1=4 X2=7 |
For an eigenvector, row-reduce . Quit the app, then on the home screen press 2nd x⁻¹ (MATRIX), ▶ to MATH, and choose B:rref(. Type [A] from 2nd x⁻¹ (MATRIX) 1:[A], then − 7 ×, and choose 5:identity( from the same MATH menu, followed by 2 ) ) and enter. This is rref([A]-7*identity(2)) for . Each row of the result is an equation in and . means , so and an eigenvector for is . Repeat with in place of : the result means , so an eigenvector is . |
rref([A]-7*identity(2)) [[1 -2] [0 0]] |
Any non-zero multiple of an eigenvector is also an eigenvector, so (2, 1) and (4, 2) are equally correct. The identity size must match the matrix: identity(2) for a 2 by 2.
How to find eigenvalues and eigenvectors on a Casio fx-CG50
No eigenvalue command: characteristic equation and Rref | |
Press MENU and choose Run-Matrix. Type the matrix with SHIFT ( ([) and SHIFT ) (]) as [[6,2][1,5]], then press →, OPTN, F2 (MAT/VCT), F1 (Mat), type the letter A with ALPHA, and press EXE. This stores the matrix as Mat A. |
[[6,2][1,5]]→Mat A |
The manual lists no eigenvalue or eigenvector command for this calculator, so the eigenvalues come from the characteristic equation. For a matrix it is . Here the trace is and the determinant is , so it is . Press MENU and choose Equation, press F2 (POLY), then F1 (2) for degree 2. Enter the coefficients, pressing EXE after each: 1, (−) 1 1, 2 8. Press F1 (SOLVE). The eigenvalues are and . |
x1=4 x2=7 |
For an eigenvector, row-reduce . Back in Run-Matrix, press OPTN, F2 (MAT/VCT), F6, F5 (Rref), then F6, F1 (Mat), type A with ALPHA, and continue − 7, OPTN, F2, F6, F1 (Identity) 2. Press EXE. This is Rref (Mat A-7 Identity 2) for . Each row of the result is an equation in and . means , so and an eigenvector for is . Repeat with in place of : the result means , so an eigenvector is . |
Rref (Mat A-7 Identity 2) [[1,-2] [0,0]] |
Row reduction can lose accuracy through dropped digits, so use exact eigenvalues like these, or check the eigenvector by multiplying: M times the vector should be the eigenvalue times the vector.
How to find eigenvalues and eigenvectors on a Casio fx-CG100
No eigenvalue command: characteristic equation and Rref | |
The manual lists no eigenvalue or eigenvector command for this calculator, so the eigenvalues come from the characteristic equation. For a matrix it is . Here the trace is and the determinant is , so it is . Press HOME and choose Equation. On the Type tab choose Polynomial and press OK. On the Degree tab choose the quadratic form, press OK, and on the Editor tab type the coefficients, pressing EXE after each: 1, SHIFT − 1 1, 2 8. Press OK to solve. The eigenvalues are and . |
x=4 x=7 |
For an eigenvector, row-reduce . For , subtract 7 from each entry on the leading diagonal of to get . Press HOME and choose Calculate, then press CATALOG and choose Matrix → Rref. Choose the m×n template from the TOOLS menu, give 2 rows and 2 columns, and fill it in with the four entries. Press EXE. Each row of the result is an equation in and . means , so and an eigenvector for is . Repeat with in place of : the result means , so an eigenvector is . |
Rref([[-1,2][1,-2]]) [[1,-2] [0,0]] |
The Rref command takes a matrix, so subtract the eigenvalue from the leading diagonal first. Check an eigenvector by multiplying: M times the vector should be the eigenvalue times the vector.
How to find eigenvalues and eigenvectors on a TI-Nspire CX
eigVl and eigVc (direct commands) | |
On a Calculator page type The eigenvalues are and . |
eigVl([6 2;1 5]) {4,7} |
Type |
|
The columns are scaled so that the squares of their entries add to 1, so the eigenvector for appears as about and , and the eigenvector for as about and . Only the direction matters: divide a column by its smaller entry to get a whole-number vector, and . |
|
From the characteristic equation | |
The eigenvalues are also the roots of . Find them with | |
Check the order: the first column of eigVc belongs to the first eigenvalue in the eigVl list. The columns may come with the opposite sign to the one you expect, which is still the same eigenvector direction.
Sources. Key presses follow the manufacturers' documentation: the TI-84 Plus CE eGuide, the TI-Nspire eGuide, the Casio fx-CG50 Software User's Guide (version 3.30) and the Casio fx-CG100 online manual.
What to write in the exam
- Write the characteristic equation. Show , or , then the eigenvalues. Do not write the key presses.
- Show the equation behind each eigenvector. For example leads to . Any non-zero multiple of an eigenvector is correct.
- Check each pair by multiplying: should equal .
- Keep the order straight. Match each eigenvector to its own eigenvalue, particularly from the TI-Nspire's eigVc, where column 1 belongs to the first eigenvalue in the eigVl list.
- Check which papers allow a calculator. In AI HL a calculator is allowed on every paper (check your syllabus).
Long-run state of a transition matrix
For a transition matrix the eigenvalue 1 gives the long-run state. Find its eigenvector, then divide each entry by their total so that the entries add to 1. To see the long-run state by multiplying instead, see matrix powers and Markov chains. For the matrix entry steps, see matrix operations and solving systems.
Error messages and what to do
| Calculator | Message | Usual cause | What to try |
|---|---|---|---|
| TI-84 Plus CE | ERR:DIMENSION MISMATCH | The identity matrix is a different size from the matrix, for example identity(3) with a 2 by 2 matrix. | Use identity(2) for a 2 by 2 matrix. |
| TI-84 Plus CE | NO REAL ROOTS FOUND | The characteristic equation has no real root, so the eigenvalues are complex, and the Polynomial Root Finder is in Real mode. | Change the mode to a+bi to see the complex eigenvalues. |
| Casio fx-CG50 | Dimension ERROR | The identity matrix is a different size from the matrix, for example Identity 3 with a 2 by 2 matrix. | Use Identity 2 for a 2 by 2 matrix. |
Common mistakes
- Using the wrong coefficients in the characteristic equation. The middle coefficient is minus the trace, not the trace. For trace 11 it is .
- Subtracting from every entry. Subtract it only from the leading diagonal: , not .
- Mixing up which eigenvector goes with which eigenvalue. Row-reduce once for each eigenvalue and label the results.
- Expecting the same vector as the mark scheme. Eigenvectors can be scaled, and a calculator may give a normalised one. Only the direction matters.
- Writing key presses as working. Write the characteristic equation, the eigenvalues and the eigenvectors. The examiner needs the method, not the keys.
Try it yourself
Real questions from the IB Maths Help question bank. Type your answer and press Mark it: the worked solution and mark scheme then appear. Use your calculator to find the eigenvalues.
Practise with your calculator
Choose your course to see the practice sets that use this skill. You can also try practice mode or browse every GDC guide.
Quick questions
How do I find eigenvalues on a calculator?
On the TI-Nspire type eigVl( followed by the matrix. On the TI-84 Plus CE, Casio fx-CG50 and Casio fx-CG100 there is no eigenvalue command, so find the trace and determinant, then solve with the polynomial solver.
How do I find an eigenvector on a calculator?
On the TI-Nspire use eigVc( followed by the matrix: each column belongs to an eigenvalue. On the other calculators, row-reduce with rref or Rref for each eigenvalue, then solve the first row for the vector.
Why is my eigenvector different from the mark scheme?
An eigenvector can be multiplied by any non-zero number. The TI-Nspire scales its eigenvectors so that the squares of the entries add to 1. Both are correct if they point in the same direction.
Do I write the calculator steps in my exam working?
No. Write the characteristic equation, the eigenvalues and the eigenvectors, and say you used your calculator. Examiners look for the method, not the key presses.