Professional Documents
Culture Documents
221solutions PDF
221solutions PDF
g rays that
B® > BPA = x(y + 2— AYA, But +z ~ AA = (y~ AYA 2) 492 > 92
‘Substitute to ind A” > xy2 = G? as we wanted to prove. Not easy!
‘There are many proofs of G = (xa esq)" A= (xy bxp beset) /m In
calealus you are maximizing G on the plane x; 34 ~--+%q =m. The maximum
‘occurs when allx's are equa,
31 The columns of the 4 by 4 “Hadamard matrix” (mes 4) are perpendicular unit
vectors:
pari y
afi -aot ar
z]i 1-1 ary:
Parad
82 The commands V = randn (3,30); D = sqrt (diag (V' » ¥)); U = V\D; will give
30 random unit vectors inthe columns of U. Then u' « U is a row matrix of 30 dot
products whose average absolute value may be close to 2/r.6 ‘Solutions to Exercises.
Problem Set 1.3. page 29
1 2s, + 34a + 48s = (2.5.9). The same vector b comes from § times x = (2, 3,4):
(STE (es)-6
2 Thesolutions are y1 = 1, y2 = 0, y3 = 0 (right side = column 1) and y
‘ys = 5, That second example illustrates that the first n odd numbers add to
By ne Bh i o ‘(8
—By +B, =|-1 1 ol] Bs
= +B Lot 1jLm
oo
10] sna at
ot 1
ya
n”
ant
Wty to
nan
x
Teimeneats=[t
4 The combination Ows + Ow + Ows always gives the zero vector, but this problem
{ooks for other zere combinations (ben the vectors are dependent, they ie in & plane):
tw: = (wr: + w)/2 so one combination tha gives ero is $wy — wz + 2s.
5 The rows ofthe 3 by 3 matrix in Problem 4 must also be dependent: >
dri +73)
‘The column and row combinations that produce O are the same: hiss
éuval.
as
[i 2 ‘| ns cola’ = 2 (column 1) + ealume 2
115.
ot
10] tas cotunn3 = ~ eon 1+ colurn2
i
000
a
36
7 All tree rows ae perpendicular to the solution x (the three equations ry =x = O and
ras = Oand ry-x = Otell us this). Then the whole plane ofthe rows is perpendicular
10. (the plane is also perpendicular to all multiples cx).
Brosh nah 190 oyTh,
Bon sh m= bt aftr oolfel ya
Sons a bthehs | |i i 1 olf fa ae
Boneh bth the LLL Td
@ The eclie difference matrix C has line of solution Gi 4 dimensions) to Cx
1 HEM=-t}-——~Sete Bec 1
a-nsb 7 = bi —b—bs 1-1-1) py
Wannabe hob oo 3] [e]-2
carne = oo TJ LS.
11 The forward differences ofthe squares ae (¢ + 1)? —@? = 12 420-4 1-12 = 2641
Differences ofthe nth power ae (¢ + 1)" — eat) oo, The lending
term is the derivative no". The binomial theorem: gives all the terms of (¢+ 1).
12 Centered difference matrices of even size seem tobe invertible. Look at eqns. and 4
(41 HEHE EDEL
19 Odd size: The five centered difference equations lead to by + by + bs = 0.
‘Add equations 13,5
‘The left side ofthe sum is zero
‘The right side is by +b3 + 5
‘There cannot be a solution untess by +B + Bs = 0
146 An example is (a,b) = (3,6) and (c,d) = (1,2). The ratios a/c and b/d are equal.
‘Then ad = be. Then (when you divide by bd) the ratios a/b and c/d are equal!
Problem Set 2.1, page 40
1 The columns are # = (1,0,0) and j = (0,1,0) and & = (0,0,1) and b = (2.3.4) =
2 +3) +4b.
2 The planesare the same: 2x = 4 sx = 2,3) = 9is y = 3,and 4z = 16is7 = 4, The
solution is the same point X = x. The columns are changed; but same combinstion,
13 The solutions not change! The second pane and row 2 of te matrix andl eolumns
ofthe marx (vector inthe com picture) are change
4M: = 2 then xt y = Omnd x—y = 2 give the poin (1.~1,2). Fz
Esty = Gandy = 4 proce (31.0). Halfway between those 6 (3.0.1).
5 Ifx.y.2 sty the fist two equations they also sty the thd equation, Te line
Lot aoluions consins v= (Icl,0) and w = (fl. andu = 40+ fw and
combinations cv + dw withe-+d = I
6 Equation 1+ equation 2~ equation 3is now 0 = —4, Line mises pane no slaion.
7 Column 3 = Column 1 makes the matrix singular. Solutions (x, ,2) = (I, 1:0) oF
(0, 1, 1) and you can add any multiple of (—1,0,1); 6 = (4.6,c) needs ¢ = 10 for
solvailiy (he is in the plae of the colar.
8 Four planes in 4-dimensional space normally meet at a point. The solution to Ax =
G,3,3,2) is. x = (0.0.1.2) if A bas columns (1,0,0,0),(1, 1.0.0), (1, 1, 1,0),
GUD, Theequtonsamsr+y-2tia hy te sia RE Sie Rm
9) AE=(85,0 and) Ax = 6.4.5.5).
thena Solutions wo Erereses
10 Multiplying s linear combinations of the columns gives the same Ax. By rows or by
columns: 9 separate multiplications for 3 by 3.
114 Ax equals (14,22) and (0,0) and (3,7).
12 Ax equals (2,7, ) and (0,0,0) and @,3, 6).
13 (@) x has m components and Ax has m components _(b) Planes from each equation
in Ax = b are in n-dimensional space, but the columns are in m-dimensional space
14 2x + 3y +2451 = Bis Ax = b with the I by 4mavix A = [2 31 5]. The
solutions fill a 3D “plane” in 4 dimensions, Ie could be called a Ayperplane.
s@r-[ t] oe-[ a
seo rain ton A= [2 {foto a= [$9]
O10 081
” - ° jis 2d m0 = 10 8] momen) inte
oe af8
eae
nd E
10 0
=1 1 0] subtract the first component from the second.
oot
Loo 10 0
woe=|0 1 Of ands =| 0 1 0], 2x = 6.4.8) and E-'Eu recovers
ToL 10 1
G43),
so m=[) Sfronse ce seis anh = [9°] pst come
mre [$] mtno= [2]
[2 ~sf]ers coy hese te be
reat wl
22 The dot product Ax = [1 4 al] = (1 by 3)@ by 1) is zero for points (x,¥.2)
‘ona pian in thee dimensions. The columns af A are one-dimensional vectors.
23 A=[1 2; 3 dlandx = [5 -2}" andb =[1 7)/.r =b—Avx prinis.as zero,
24 Any =(3 4 5]! and v! # v= 50, But wa A givesan error message from 3 by 1
times 3by 3,
25 ones(4.4) + ones(4,1) =[4 4 4 4]/:B+w=[10 10 10 10)".
126 The row picture has two lines meeting a the solution (4,2). The colurna picture will
have 41, 1) + 2(-2, 1) = 4¢eolumn 1) + 2column 2) = right side (0,6).
27 The row picture shows 2 planes in 3-dimensional space. ‘The column picture is in
‘dimensional space. The solutions normally ie on aie.Solutions to Exercises 9
28 The row picture shows fous Hes inthe 2D plane, The column picwre i in four