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2 z3 z1 x1 2 x1 z1
Then
x1 z1 2 z2 z3
x3 z1 3x1 z1 3( z1 2 z2 z3 )
Now
x3 2 z1 6 z2 3z3
1
x2 z3 x3
and,
x2 z1 3 z2 2 z3
or,
1
1 2
x 1 3
2 z
2 6 3
Also,
x A1 z
1 1 2
adj A
2 3 6
det A
1 2
3
1 2 1
1 3 2
2 6 3
1
This checks with the result obtained using algebraic manipulation.
Problem A.4
x xT x
1/ 2
x1 12 12 22
1/ 2
x2 12 02 22
6 2.45
1/ 2
5 2.24
1
x x2 1 1 2 0 5
2
T
1
1
1 0 2
1 0 2
x1 x 1 1 0 2
2
2 0 4
T
2
1 0 0 1
1
x Ax1 1 1 2 0 2 0 1 1 2 8 1 19
0 0 4 2
2
T
1
T
1
2
3
. Then x1 x3 x3 x3 2 x3
1
2
T
3
Let x3 x3 1 . Then x1 x3 0 x3 1
x3 1 1 1 is orthogonal to x1 .
T
1 1
0 1 3
2 1
2
1
1
(1)( 1)3 2
1 2
1 2
(0)(1) 2 2
3 1
2 1
1 1
2 3
1(1 6) 0 (1)(3 2) 8
Using minors of the third column,
det A (2)(1)13
(1)( 1)33
1 0
1 1
(1)(1) 23
2 3
2 3
1 1
1 0
A I
0 1
1 4
1
4
det( A I ) (4 ) 1 2 4 1 0
Eigenvalues are 1 2 5 and 2 = 2 5 .
The eigenvector v1 v11 v12
0 1
1 4
v11
v11
2
v12
v1
1
v12
0 1 v2
1 4 2 2 5 2
v2
v2
2 0 0
A 0 3 0
0 0 2
corresponding to 1 is given by
Let v11 1
(b)
v12 2 5
T
v1
2 5
corresponding to 2 is
Let
v12 1
v22 2 5
v2
2 5
2 0 0
0 3 0
0 0 2
v11
v1 2
v13
Say v1 1 0 1
v11
v1
v13
0 0 2
v12
v2 3
v23
Say v 2 0 1 0
v21
v2
v23
1
3
The eigenvector v3 corresponding to 3 2 is (by comparison with v1 ) , v3 , v3 arbitrary,
2
and v3 0. Say v3 1 0 1 .
T
Problem A.7
a11
A 2x2 symmetric matrix has the form
a12
a12
a22
a21 a22
Its eigenvalues are the roots of the equation
( a11 )( a22 ) a12 a21 0, or
7
0
1
1
(2)
1 1 0
0 1 1
0 0 2
Now,
UA
(2)
0 0
1 1 0
1
0 1 1 , and L
2 1 0
0 0 2
1 1 1
1 2 3
adj L
1
L
0 1 1
det L
0 0 1
1 0 0
2 1 0
3 1 1
1
1 0 0
b L1b 2 1 0
3 1 1
1 1
1 1
2 0
1 1 0
Ux b 0 1 1
0 0 2
x1 1
x 1
2
x3 0
From row 3, 2 x3 0 x3 0
From row 2, x2 x3 1 x2 1
From row 1, x1 x2 1 x1 2
x 2 1 0
Problem A.9
g 2 x1 x2 4
g1 x12 x22 8,
g / x1 g1 / x2
J 1
g 2 / x1 g 2 / x2
2 x1
2 x2
x
1
Iteration 1:
g11 7
g 12 4
g11
1
g 2
0 2
1 0
J1
J 1x1
8 9
J
4.5 4
2
g12
J x 2
g 2
2
4.94118 5.44118
J3
2.72059 2.47059
4.01168 4.26166
J4
2.13083 2.00584
10
8 8
1
1
. In this case x1 and x2
4
4
J1
cannot be uniquely determined. Thus, 4 4 cannot be used as a starting point for the
Newton-Raphson method.
T
11