《Matrix Methods in Data Analysis, Signal Processing, and Machine Learning》MIT Course Number:18.065课程习题答案
LEC2. Multiplying and Factoring Matrices
Problems of Lecture 2 (from textbook Section I.2)
2 Suppose a and b are column vectors with components
a
1
{a_1}
a1,…,
a
m
{a_m}
am and
b
1
{b_1}
b1,…,
b
p
{b_p}
bp .Can you multiply a times
b
T
{b^T}
bT (yes or no)? What is the shape of the answer
a
b
T
a{b^T}
abT?What number is in row i, column j of ab
a
b
T
a{b^T}
abT? What can you say about
a
a
T
a{a^T}
aaT?
6 If A has columns
a
1
,
a
2
,
a
3
{a_1, a_2, a_3}
a1,a2,a3 and B = I is the identity matrix, what are the rank one matrices
a
1
b
1
∗
a
n
d
a
2
b
2
∗
a
n
d
a
3
b
3
∗
{a_1b_1^\ast \ and\ a_2b_2^\ast\ and\ a_3b_3^\ast}
a1b1∗ and a2b2∗ and a3b3∗? They should add to AI = A.
Solutions to Lecture 2
2 yes.
a
b
T
a{b^T}
abTis an m by n matrix.The number
a
i
b
j
{a_ib_j}
aibj is is in row i, column j of
a
b
T
a{b^T}
abT. If b=a, then
a
a
T
a{a^T}
aaT is a symmetric matrix.
6 B = I has rows
b
1
,
b
2
,
b
3
{b_1,\ b_2,\ b_3}
b1, b2, b3 = (1, 0, 0), (0, 1, 0), (0, 0, 1). The rank-1 matrices are
a
1
b
1
{a_1b_1}
a1b1 =
[
a
1
0
0
]
{\begin{bmatrix}a_1&\textbf{0}&\textbf{0}\end{bmatrix}}
[a100]
a
2
b
2
{a_2b_2}
a2b2 =
[
0
a
2
0
]
{\begin{bmatrix}\textbf{0}&a_2&\textbf{0}\end{bmatrix}}
[0a20]
a
3
b
3
{a_3b_3}
a3b3 =
[
0
0
a
3
]
{\begin{bmatrix}\textbf{0}&\textbf{0}&a_3\end{bmatrix}}
[00a3] .
The sum of those rank-1 matrices is AI=A.