Assignment4 Solutions
Assignment4 Solutions
Assignment4 Solutions
Dylan Zwick
Fall 2012
A=(
) B=(
) C=(
)
I 4o-i 7 o
Ll Od
±11w 0
ir’--
i (LIL -
1
2.5.7 (Important) If A has row 1 + row 2 = row 3, show that A is not in-
vertible:
I 0
A ) -
(i 3 fA) -
T ]i zc}
x f
(io l
f
0A) a (fcc/?
6 qV
(ro /of A )D( C’
1E Ct
2
2.5.25 Find A-’ and B-’ (if they exist) by elimination of [ A I ] and
[BI]:
/2 1 i\ (2 —1 —1
A=( 121) B=( —1 2 —1
0 0 iJ \\—1 —1 2
/1 I o)
oio)7 -L
1
I— -
oi/ o°I
ILH 1o
( ooLL)
Oo
? (oo
\ 001/ 0 1
E? 4 zoo4J
OO j-1
00
I -i-i fo z —1 —1 I
io/ 2 -IL
\H -1 od/J
z1 -i [0
C 1)
-‘
0 °61H
3
L
3
1211•- B r
J’ 1
0
O0 0
cr
Nc
C o_
cJ) (
E .1,:
I
-d cç
0 zç
0
LI
0
>
0
U
Ct
E 0.0
(ID
7rJ
o o.—
C’!
—
0
C
OQ —oD
2.5.29 True or false (with a counterexample if false and a reason if true):
(11)
()
JVer) A
(A’)(A-y A
5
2.6 Elimination
- = Factorization: A = LU
2.6.3 Forward elimination changes Ax = b to a triangular Ux = C:
y+z=5
2y + 3z = 7
3y + 6z = 11
x+y+ z=5
y +2z=2
+ 5z = 6
x+y+z=5
y + 2z = 2
z=2
6
2.6.5 What matrix E puts A into triangular form EA = U? Multiply by
1 = L to factor A into LU:
E
/2 1 0
A= ( 0 4 2
6 3 5
0 0
0
/ I °/io
•1 0 1 10 1Q)/o((t)
1 ,1 o /(6J
OLIZ LI)
0ô5
/ 010
100
oI
7
2.6.7 What three elimination matrices ,
21 E
E 32 put A into its upper
31 E
triangular form A 31
2
E 2 = U? Multiply by E’, E’ and Ej’ to
factor A into L times U:
/10 1
A= (2 2 2 L = E’E’E’.
3 4 5
00
( Eo°\r( fI
i o) tt)r/
o 0 )/ I 51
Ii
E -1 ‘°
0
IOO/fo\
•io1 ° I
100 Ii (OoI ( a H / to
OtO
OL
/OtJC/
0 L
OQLJ
O)(
1)
-l L)
C)C)
)/
-
to
() ° °
/ tol
L7
8 15
2.6.13 (Recommended) Compute L and U for the symmetric matrix A:
a a a a
a b b b
A=
a b cc
abcd
o cç -
I o o
C
O cb -b
&
U c- c-b
!Oo 1iooo
(# 00 bj -
I f1 0 C 1 1 1 0 Oo c-bc-b
.‘ l
OQO-c)
9
I—
CN ‘
LID
C
CD
— — —
— ‘.—
2
H
CD
CJD
— 0
CD
—
zz
\ ti II
LI
ii
—
jI)
r
H
c:)
°
II
Cl) II
-\
1
— -d
H
- -r U
I —H
S Cy
I
Cl)
o - Ii
Cl) —
ii
2.7.12 Explain why the dot product of x and y equals the dot product of
Px and Py. Then from (Px)T(Py) = xTy deduce that pTp = I for
any permutation. With x = (1. 2,3) and y 4.2) choose P to show
that Px y is not always x Py.
IyI
ie7 ce
I
9
(
T
) r
(P) T
2
T
p
Jo)
15
f /
oJ
(/ ? )- L(
/)
(z 5 1) f (z tJ
12
ILL/
2.7.19 Suppose R is rectangular (rn by n) and A is symmetric (rn by in).
T T
AYr) A
A
)() (‘) (ej afl
3
fM pu,- ‘
I 4
t*((/ 1?,)
(//1 )- ( ,?
f4
13
2.7.22 Find the PA = LU factorizatiofl (and check them) for
/0 1 1 (/1 2
A= 1 0 1 and A=2 41.
2 3 4 ill
1
o I i o
OoQ1t
7 1 0 / 1
[0 o
O)o)[O\ (ai)
U I I 3 q c) Q 3 Li
° I 10
i o
o ô(oIl
) OH
(
( (00
) = 11
() 7
i oo’IO
/i io)(1 i)
too, LL1)
1zo
oo
0 1
QT QTQ
2.7.40 Suppose equals Q’ (transpose equals inverse, so I):
2
(a) Show that the columns q
,.
1 . , q, are unit vectors: 1.
(b) Show that every two columns of Q are perpendicular: 2
qq 0.
(c) Find a 2 by 2 example with first entry q
11 cos 8.
.e i’ 1y ( T) (1gw I
) -(/4fd)
( (cI(i)Jfl4
I o+
7
‘ A
-
, I
- -
(j
/ )lf)l /
( C05
15