Eigenvalues and Eigenvectors in Mathcad
Eigenvalues and Eigenvectors in Mathcad
A v = c v
Here's an example:
9 2 5
2
A 2 5 2
5
1
2
2
2
1
v 1
1
Since
5
A v 5
5
is equal to
5
5 v 5
5
07feb_Eigenvalues.xmcd
7/29/2011
1
eigenvals ( A) 5
4
The function eigenvecs returns a matrix whose columns are the
corresponding eigenvectors of A.
U eigenvecs ( A)
ORIGIN 1
Doing so starts the numbering of the columns at 1. Next, type U
followed by [Ctrl] 6 to insert the column operator.
U
Finally, type the number of the column in the placeholder to the
right of U. For example, the third column of U is
0.196
3
U 0.784
0.588
07feb_Eigenvalues.xmcd
7/29/2011
0.784
0.784
3
3
A U 3.138 is equal to 4 U 3.138
2.353
2.353
Diagonalizing a Matrix
A square matrix is called a diagonal matrix if its only non-zero
entries are on the main diagonal. For example:
1 0 0
0 5 0
0 0 4
A U = D
9
, rather than as decimals,
2
07feb_Eigenvalues.xmcd
7/29/2011
Diagonalizability Test
1. Type
U eigenvecs ( A)
2. Press [Ctrl] [.], followed by [Enter], to evaluate U with the
symbolic equal sign.
U eigenvecs ( A)
1
3
U 2
1
3
3
1
1 0 0
1
U A U 0 5 0
0 0 4
07feb_Eigenvalues.xmcd
7/29/2011
2 0 1
B 1 2 2
0 0 3
U eigenvecs ( B)
0 1
U 1 3
0 1
07feb_Eigenvalues.xmcd
7/29/2011
07feb_Eigenvalues.xmcd
7/29/2011