due Thursday April 16
Problem 1
It is also possible to derive this equation (and many useful others ...) by writing down a related homogeneous square system of linear equations with a nontrivial solution, and thinking about what that says of the determinant of the associated matrix. But you don't need to do that derivation.
A:= stack(v1,v2,v3,v4)
may be used to construct a matrix A with rows v1, v2, v3, and v4.
Problem 2
A:= matrix(2,2,[[-1,3],[-2,4];])
w := vector([1,0]);
for i from 1 to 10 do
w := evalm(A &* w);
w_len := evalf(sqrt(dotprod(w,w))):
w := map(evalf,evalm(1/w_len * w)):
print(w):
od:
( You can use the key option-return instead of return to insert a
new line without generating a Maple prompt. )
and
,
check
whether the power method as above seems to be approaching an eigenvector of
the matrix
.
If
so, which eigenvector ? How long does each take to compute a unit eigenvector to two decimal places ?
.
Explain why your result differs from part c) above.. Will the power method
produce an eigenvector in this case ?
For problem 3 you may wish to use the following Maple commands
(on top of the ones you already know).
B :=submatrix(A, [1,2], [2,3]); (B is the respective sub-matrix of A)
nullspace(A); (calculate the null-space of matrix of A)
rank(A); (calculate the rank of matrix of A)
charpoly(A,lambda); (calculate the characteristic polynomial of matrix of A
in the unknown
)
solve(pol=0,x);(find the roots of the polynomial pol with respect to the unknown x)
Problem 3
Consider the matrix
Clearly the dimension of the eigenspace to the eigenvalue -2 is at least one. It is the purpose of what follows to find conditions on a, b and c so that this eigenspace has dimension two or dimension three.
Note that Maple takes a,b and c to be arbitrary numbers, so that it finds that A+2I has rank two, meaning that the eigenspace of -2 is of dimension one. This should be interpreted in the following sense: ``The eigenspace has at least dimension one, and for typical a,b,c it has dimension exactly one''. In other words, the Maple rank command does not give you the desired conditions on a, b and c.