EXERCISES
1
Matrices, ๐ด.
1.1 Matrix Operations
1.- Decide if the following statements are True or False:
• (T/F) If ๐ด = [๐ด1 ๐ด2 ] and ๐ต = [๐ต1 ๐ต2 ] , with ๐ด1 and ๐ด2 the same sizes as ๐ต1 and ๐ต2 , respectively, then ๐ด + ๐ต =
[๐ด1 + ๐ต1 ๐ด2 + ๐ต2 ]
• (T/F) The definition of the matrix-vector product ๐ด๐ฅ is a special case of block multiplication.
• (T/F) If ๐ด =
๐ด11
๐ด21
๐ด12
๐ด22
and ๐ต =
๐ต1
๐ต2
, then the partitions of ๐ด and ๐ต are conformable for block multiplica-
tion.
• (T/F) If ๐ด1 , ๐ด2 , ๐ต1 and ๐ต2 are ๐ × ๐ matrices, ๐ด =
๐ด1
๐ด2
, and ๐ต = [๐ต1 ๐ต2 ] then the product ๐ต๐ด is defined, but
๐ด๐ต is not.
2.- Answer the following questions. The matrix ๐บ , different in each case, is a square matrix partitioned in blocks.
1. Let ๐บ =
๐ต
0
0
๐ถ
, where ๐ต and ๐ถ are square. Show that ๐บ is invertible if and only if both ๐ต and ๐ถ are invertible.
2. Let ๐ด, ๐ต, ๐ถ, ๐ × ๐ matrices, and let:
๐บ=
๐ด 0
๐ถ ๐ต
If ๐ด is not invertible, is ๐บ invertible? Justify your answer. (Hint: Try to compute ๐บ − 1 using blocks.)
3. If ๐ด is invertible find ๐ × ๐ matrices ๐, ๐ , ๐ such that,
๐บ=
๐ด 0
๐ถ ๐ต
=
๐ 0
๐ ๐
๐ด 0
0 ๐ผ
๏ฃฎ ๐ผ 0 0 ๏ฃน ๏ฃฎ ๐ผ 0 0 ๏ฃน
๏ฃบ
๏ฃฏ
๏ฃบ ๏ฃฏ
3.- The inverse of ๏ฃฏ๏ฃฏ ๐ถ ๐ผ 0 ๏ฃบ๏ฃบ is ๏ฃฏ๏ฃฏ ๐ ๐ผ 0 ๏ฃบ๏ฃบ . Find ๐ , ๐ y ๐ .
๏ฃฏ ๐ด ๐ต ๐ผ ๏ฃบ ๏ฃฏ ๐ ๐ ๐ผ ๏ฃบ
๏ฃป ๏ฃฐ
๏ฃป
๏ฃฐ
4.- Le ๐ be a 2๐ × 2๐ orthogonal matrix partitioned in four ๐ × ๐ blocks:
๐11 ๐12
๐=
.
๐21 ๐22
1. If ๐11 is an orthogonal matrix, which are the conditions satisfied by the other blocks?
2. If ๐11 is an orthogonal matrix, which are the conditions satisfied by the other blocks?
5.- This exercise is about the Schur complement. This block operations are relevant for LU factorization in chapter 2.
1. Let ๐ด11 be an invertible matrix. Find ๐ and ๐ such that
๐ด11
๐ด21
๐ด12
๐ด22
=
๐ผ 0
๐ ๐ผ
๐ด11 0
0 ๐
๐ผ ๐
0 ๐ผ
,
−1
where ๐ = ๐ด22 − ๐ด21 ๐ด11
๐ด12 . The matrix ๐ is called the Schur complement of ๐ด11 . Likewise, if ๐ด22 is invertible,
−1
the matrix ๐ด11 − ๐ด12 ๐ด22
๐ด21 is called the Schur complement of ๐ด22 . Such expressions occur frequently in the
theory of systems engineering, and elsewhere.
2. Let ๐ be an ๐ × ๐ data matrix such that ๐ ๐ ๐ is invertible, and let ๐ = ๐ผ ๐ − ๐ (๐ ๐ ๐) − 1 ๐ ๐ . Add a column ๐ฅ0 to the
data and form ๐ = [๐ ๐ฅ0 ] . Compute ๐ ๐ ๐ . The ( 1, 1)−entry is ๐ ๐ ๐ . Show that the Schur complement of ๐ ๐ ๐
can be written in the form ๐ฅ0๐ ๐๐ฅ0 . It can be shown that the quantity (๐ฅ0๐ ๐๐ฅ0 ) − 1 is the ( 2, 2)−entry (๐ ๐ ๐) − 1 .
This entry has a useful statistical interpretation, under appropriate hypotheses.
1.2 Change of basis matrix
1.3 Matrix of a linear transformation
6.- Consider the following bases of R3 :
๐ต1 = {[ 1, 0, 0] ๐ , [1, 1, 0] ๐ , [1, 1, 1] ๐ },
๐ต2 = {[ 1, 1, 0] ๐ , [1, 0, 1] ๐ , [0, 1, 1] ๐ }.
1. Compute both change of basis matrices between them: ๐๐ต1 ,๐ต2 and ๐๐ต2 ,๐ต1
2. Compute the coordinates of the following vectors in both bases, ๐ฃ1 = [ 1, 2, 1] ๐ , ๐ฃ2 = [๐, 1, −1] ๐
3. Let ๐ : R3 −→ R3 be the linear transformation:
๏ฃฎ ๐ฅ1 ๏ฃน
๏ฃฎ ๐ฅ1 − 2๐ฅ2 − 3๐ฅ3 ๏ฃน
๏ฃฏ
๏ฃบ
๏ฃฏ
๏ฃบ
๏ฃฏ
๏ฃบ
๐ ( ๏ฃฏ ๐ฅ2 ๏ฃบ ) = ๏ฃฏ๏ฃฏ ๐ฅ1 + 2๐ฅ2 + 3๐ฅ3 ๏ฃบ๏ฃบ
๏ฃฏ ๐ฅ3 ๏ฃบ
๏ฃฏ 2๐ฅ1 − ๐ฅ2 − 3๐ฅ3 ๏ฃบ
๏ฃฐ
๏ฃป
๏ฃฐ
๏ฃป
Compute ๐ (๐ ) ๐ต1 ,๐ต1 , ๐ (๐ ) ๐ต1 ,๐ต2 and ๐ (๐ ) ๐ต2 ,๐ต2
7.- Let ๐ = {๐ฅ ∈ R3 : ๐ฅ1 − ๐ฅ2 + ๐ฅ3 = 0}
1. Compute two different orthonormal bases of ๐ .
2. Compute both change of basis matrices between them: ๐๐ต1 ,๐ต2 and ๐๐ต2 ,๐ต1
3. Compute the matrix of the orthogonal projection onto ๐ using both bases. Are the matrices the same? Why?
8.- Let ๐ : R3 โฆ→ R3 be a linear transformation. Besides, it’s known that
๏ฃฎ 1 ๏ฃน
๏ฃฎ 1 ๏ฃน
๏ฃฏ ๏ฃบ
๏ฃฏ ๏ฃบ
๐ ( ๏ฃฏ๏ฃฏ 0 ๏ฃบ๏ฃบ ) = ๏ฃฏ๏ฃฏ 0 ๏ฃบ๏ฃบ ,
๏ฃฏ 2 ๏ฃบ
๏ฃฏ 0 ๏ฃบ
๏ฃฐ ๏ฃป
๏ฃฐ ๏ฃป
๏ฃฎ 2 ๏ฃน
๏ฃฎ 2 ๏ฃน
๏ฃฏ ๏ฃบ
๏ฃฏ ๏ฃบ
๐ ( ๏ฃฏ๏ฃฏ 1 ๏ฃบ๏ฃบ ) = ๏ฃฏ๏ฃฏ 1 ๏ฃบ๏ฃบ ,
๏ฃฏ 0 ๏ฃบ
๏ฃฏ 5 ๏ฃบ
๏ฃฐ ๏ฃป
๏ฃฐ ๏ฃป
๏ฃฎ −1 ๏ฃน
๏ฃฎ 0 ๏ฃน
๏ฃฏ
๏ฃบ
๏ฃฏ
๏ฃบ
and ๐ ( ๏ฃฏ๏ฃฏ −1 ๏ฃบ๏ฃบ ) = ๏ฃฏ๏ฃฏ 1 ๏ฃบ๏ฃบ .
๏ฃฏ 0 ๏ฃบ
๏ฃฏ 1 ๏ฃบ
๏ฃฐ
๏ฃป
๏ฃฐ
๏ฃป
1. Find the images ๐ (๐1 ) , ๐ (๐2 ) and ๐ (๐3 ) of the columns vectors ๐1 , ๐2 y ๐3 of the identity matrix ๐ผ3 .
2. Find the canonical matrix, ๐ (๐ ) ๐ธ,๐ธ of ๐ .
๏ฃฎ 0 ๏ฃน
๏ฃฏ ๏ฃบ
3. Does ๏ฃฏ๏ฃฏ 1 ๏ฃบ๏ฃบ belong to Im (๐ ) ?
๏ฃฏ 1 ๏ฃบ
๏ฃฐ ๏ฃป
9.- Let ๐ : R3 โฆ→ R3 be a linear transformation such that:
Nul (๐ ) = Span{[ 1, 1, 0] ๐ , [ 1, 0, −1] ๐ }
and ๐ ( [ 0, 2, 1] ๐ ) = [ 5, 3, 0] ๐ .
1. Find the canonical matrix, ๐ (๐ ) ๐ธ,๐ธ of ๐ .
2. Find the matrix, ๐ (๐ ) ๐ต,๐ต of ๐ with respect to the basis ๐ต = {[ 1, 1, 0] ๐ , [ 1, 0, −1] ๐ , [ 0, 2, 1] ๐ }.
1.4 Norms
10.- Let ๐ฅ = [๐ฅ1 , . . . , ๐ฅ๐ ] ๐ ∈ R๐ , we define the norm-1 as:
โฅ๐ฅ โฅ 1 =
๐
∑๏ธ
|๐ฅ๐ |.
๐=1
1. Prove that โฅ · โฅ 1 satisfies the properties:
(a) โฅ๐ฅ โฅ 1 ≥ 0 ∀๐ฅ ∈ R๐ ,
(b) โฅ๐ผ๐ฅ โฅ 1 = |๐ผ|โฅ๐ฅ โฅ 1
and
โฅ๐ฅ โฅ 1 = 0 ⇐⇒ ๐ฅ = 0
๐
∀๐ฅ ∈ R , ∀๐ผ ∈ C
(c) โฅ๐ฅ + ๐ฆโฅ 1 ≤ โฅ๐ฅ โฅ 1 + โฅ ๐ฆโฅ 1
∀๐ฅ, ๐ฆ ∈ R๐
2. For any vector ๐ฅ find another one ๐ง ∈ R๐ such that
โจ๐ง, ๐ฅโฉ = โฅ๐ฅ โฅ 1 .
3. Using this last result and Cauchy-Schwarz inequality prove that
√
โฅ๐ฅ โฅ 1 ≤
11.- For the matrix
๐ด=
1
1
๐โฅ๐ฅ โฅ 2 .
−2
−1
1. Compute โฅ ๐ดโฅ 1 and โฅ ๐ดโฅ ∞ .
2. Find a vector ๐ข such that โฅ๐ขโฅ 1 = 1 and โฅ ๐ด๐ขโฅ 1 = โฅ๐ดโฅ 1 .
3. Find a vector ๐ฃ such that โฅ๐ฃโฅ ∞ = 1 and โฅ ๐ด๐ฃโฅ ∞ = โฅ ๐ดโฅ ∞ .