62
Solution
(a)
>> A = [1 0 -1 2;2 1 0 -2;0 3 1 -1;-1 0 2 3]; b = [-2;4;2;-2]; d = det(A);
>> A1=A; A1(:,1)=b; d1=det(A1);
>> A2=A; A2(:,2)=b; d2=det(A2);
13. Solve using Cramer’s rule:
1
2
3
4
110 3 2
021 1 2
, , ,
1031 4
112 0 1
x
x
x
x
½
ªº ½
°°
«» °°
°° °°
«»
®¾ ®¾
«»
°° °°
«»
°° °°
¬¼ ¯¿
¯¿
Ax b A x b
Solution
Since
33 0D zA
we proceed to calculate 12 3 4
0, 33, 33, 33DD D D
, hence
14. Show that any matrix with distinct eigenvalues is non-defective.
Solution
Since the eigenvalues are assumed distinct, each has
AM 1
. But
GM AMd
so that each eigenvalue also has
15.(a) Find all eigenvalues and eigenvectors of
120
030
112
ªº
«»
«»
«»
¬¼
A
(b) Repeat in MATLAB.
Solution
(a)
A
is block lower triangular, hence its eigenvalues are those of the upper-left corner block and the single block