Section 17

Operations on matrices

[29/79%]
Show
LaTeX
Problem 17.1

Multiply the matrices:

?
(a)

(1n01)⋅(1m01)\left(\begin{array}{cc}1 & n \\ 0 & 1\end{array}\right) \cdot \left(\begin{array}{cc}1 & m \\ 0 & 1\end{array}\right);

(b)

(cos⁡α−sin⁡αsin⁡αcos⁡α)⋅(cos⁡β−sin⁡βsin⁡βcos⁡β)\left(\begin{array}{rr}\cos \alpha & -\sin \alpha \\ \sin \alpha & \cos \alpha \end{array}\right) \cdot \left(\begin{array}{rr}\cos \beta & -\sin \beta \\ \sin \beta & \cos \beta \end{array}\right);

(c)

(3−452−313−5−1)⋅(3292180−3)\left(\begin{array}{rrr}3 & -4 & 5 \\ 2 & -3 & 1 \\ 3 & -5 & -1\end{array}\right) \cdot \left(\begin{array}{cc}3 & 29 \\ 2 & 18 \\ 0 & -3\end{array}\right);

(d)

(1532−31)⋅(2−35−14−23−11)\left(\begin{array}{rrr}1 & 5 & 3 \\ 2 & -3 & 1\end{array}\right) \cdot \left(\begin{array}{rrr}2 & -3 & 5 \\ -1 & 4 & -2 \\ 3 & -1 & 1\end{array}\right);

(e)

(121313121)⋅(131212131)\left(\begin{array}{lll}1 & 2 & 1 \\ 3 & 1 & 3 \\ 1 & 2 & 1\end{array}\right) \cdot \left(\begin{array}{lll}1 & 3 & 1 \\ 2 & 1 & 2 \\ 1 & 3 & 1\end{array}\right);

(f)

(1−13−11−32−26)⋅(15203−121−1)\left(\begin{array}{rrr}1 & -1 & 3 \\ -1 & 1 & -3 \\ 2 & -2 & 6\end{array}\right) \cdot \left(\begin{array}{rrr}1 & 5 & 2 \\ 0 & 3 & -1 \\ 2 & 1 & -1\end{array}\right);

(g)

(1200210000130031)⋅(11001100001−100−11)\left(\begin{array}{llll}1 & 2 & 0 & 0 \\ 2 & 1 & 0 & 0 \\ 0 & 0 & 1 & 3 \\ 0 & 0 & 3 & 1\end{array}\right) \cdot \left(\begin{array}{rrrr}1 & 1 & 0 & 0 \\ 1 & 1 & 0 & 0 \\ 0 & 0 & 1 & -1 \\ 0 & 0 & -1 & 1\end{array}\right);

(h)

(1100120000310011)⋅(11001300001200−31)\left(\begin{array}{llll}1 & 1 & 0 & 0 \\ 1 & 2 & 0 & 0 \\ 0 & 0 & 3 & 1 \\ 0 & 0 & 1 & 1\end{array}\right) \cdot \left(\begin{array}{rrrr}1 & 1 & 0 & 0 \\ 1 & 3 & 0 & 0 \\ 0 & 0 & 1 & 2 \\ 0 & 0 & -3 & 1\end{array}\right).

Problem 17.2

Carry out the operations:

?
(a)

(302001212300)⋅(1−222−11−11−222−1)+(−20−306−35−28)\left(\begin{array}{llll}3 & 0 & 2 & 0 \\ 0 & 1 & 2 & 1 \\ 2 & 3 & 0 & 0\end{array}\right) \cdot \left(\begin{array}{rrr}1 & -2 & 2 \\ 2 & -1 & 1 \\ -1 & 1 & -2 \\ 2 & 2 & -1\end{array}\right)+\left(\begin{array}{rrr}-2 & 0 & -3 \\ 0 & 6 & -3 \\ 5 & -2 & 8\end{array}\right);

(b)

(302013220010)⋅(12−12−2−1122112)+(0−46122−5−22−2641301)\left(\begin{array}{lll}3 & 0 & 2 \\ 0 & 1 & 3 \\ 2 & 2 & 0 \\ 0 & 1 & 0\end{array}\right) \cdot \left(\begin{array}{rrrr}1 & 2 & -1 & 2 \\ -2 & -1 & 1 & 2 \\ 2 & 1 & 1 & 2\end{array}\right)+\left(\begin{array}{rrrr}0 & -4 & 6 & 1 \\ 2 & 2 & -5 & -2 \\ 2 & -2 & 6 & 4 \\ 1 & 3 & 0 & 1\end{array}\right).

Problem 17.3

Compute:

?
(a)

(12221−22−21)2\left(\begin{array}{rrr}1 & 2 & 2 \\ 2 & 1 & -2 \\ 2 & -2 & 1\end{array}\right)^{2};

(b)

(0100001000010000)2\left(\begin{array}{llll}0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \\ 0 & 0 & 0 & 0\end{array}\right)^{2};

(c)

(111111−1−11−11−11−1−11)2\left(\begin{array}{rrrr}1 & 1 & 1 & 1 \\ 1 & 1 & -1 & -1 \\ 1 & -1 & 1 & -1 \\ 1 & -1 & -1 & 1\end{array}\right)^{2};

(d)

(0100002000030000)2\left(\begin{array}{llll}0 & 1 & 0 & 0 \\ 0 & 0 & 2 & 0 \\ 0 & 0 & 0 & 3 \\ 0 & 0 & 0 & 0\end{array}\right)^{2}.

Problem 17.4

Compute:

?
(a)

(cos⁡αsin⁡α−sin⁡αcos⁡α)n\left(\begin{array}{rr}\cos \alpha & \sin \alpha \\ -\sin \alpha & \cos \alpha \end{array}\right)^{n};

(b)

(λ10λ)n\left(\begin{array}{cc}\lambda & 1 \\ 0 & \lambda \end{array}\right)^{n};

(c)

(2153)⋅(1011)⋅(3−1−52)n\left(\begin{array}{ll}2 & 1 \\ 5 & 3\end{array}\right) \cdot \left(\begin{array}{ll}1 & 0 \\ 1 & 1\end{array}\right) \cdot \left(\begin{array}{rr}3 & -1 \\ -5 & 2\end{array}\right)^{n}.

Problem 17.5

Compute the value of the polynomial f(x)f(x) at the matrix AA:

?
(a)

f(x)=x3−2x2+1,A=(210020111)f(x)=x^{3}-2 x^{2}+1, \quad A=\left(\begin{array}{ccc}2 & 1 & 0 \\ 0 & 2 & 0 \\ 1 & 1 & 1\end{array}\right);

(b)

f(x)=x3−3x+2,A=(211121112)f(x)=x^{3}-3 x+2, \quad A=\left(\begin{array}{lll}2 & 1 & 1 \\ 1 & 2 & 1 \\ 1 & 1 & 2\end{array}\right).

Problem 17.6

Prove that if the matrices AA and BB commute, then

(A+B)n=∑i=0n(ni)AiBn−i (A+B)^{n}=\sum _{i=0}^{n}\binom {n}{i} A^{i} B^{n-i}

Give an example of two matrices A,BA, B for which this formula fails.

?
Problem 17.7

Compute the powers of the square matrix

H=[010…0001…0……………000…1000…0] H=\left[\begin{smallmatrix} 0 & 1 & 0 & \ldots & 0 \\ 0 & 0 & 1 & \ldots & 0 \\ \ldots & \ldots & \ldots & \ldots & \ldots \\ 0 & 0 & 0 & \ldots & 1 \\ 0 & 0 & 0 & \ldots & 0 \end{smallmatrix}\right]
?
Problem 17.8

Let a square matrix

J=[λ10…000λ1…00………………000…λ1000…0λ] J=\left[\begin{smallmatrix} \lambda & 1 & 0 & \ldots & 0 & 0 \\ 0 & \lambda & 1 & \ldots & 0 & 0 \\ \ldots & \ldots & \ldots & \ldots & \ldots & \ldots \\ 0 & 0 & 0 & \ldots & \lambda & 1 \\ 0 & 0 & 0 & \ldots & 0 & \lambda \end{smallmatrix}\right]

of size nn be given. Prove that if f(x)f(x) is a polynomial, then

f(J)=[f(λ)f′(λ)1!f′′(λ)2!…f(n−2)(λ)(n−2)!f(n−1)(λ)(n−1)!0f(λ)f′(λ)1!…f(n−3)(λ)(n−3)!f(n−2)(λ)(n−2)!………………………………………………………………f′(λ)1!000…f(λ)f′(λ)1!000…0f(λ)]. f(J)=\left[\begin{smallmatrix} f(\lambda ) & \frac{f^{\prime }(\lambda )}{1!} & \frac{f^{\prime \prime }(\lambda )}{2!} & \ldots & \frac{f^{(n-2)}(\lambda )}{(n-2)!} & \frac{f^{(n-1)}(\lambda )}{(n-1)!} \\ 0 & f(\lambda ) & \frac{f^{\prime }(\lambda )}{1!} & \ldots & \frac{f^{(n-3)}(\lambda )}{(n-3)!} & \frac{f^{(n-2)}(\lambda )}{(n-2)!} \\ \ldots \ldots \ldots \ldots \ldots \ldots \ldots \ldots \ldots \ldots \ldots \ldots \ldots \ldots \ldots \ldots \ldots \ldots & \ldots \ldots \ldots \ldots \ldots \ldots & \frac{f^{\prime }(\lambda )}{1!} \\ 0 & 0 & 0 & \ldots & f(\lambda ) & \frac{f^{\prime }(\lambda )}{1!} \\ 0 & 0 & 0 & \ldots & 0 & f(\lambda ) \end{smallmatrix}\right].
?
Problem 17.9

Let C,AC, A be square matrices of the same size and let f(x)f(x) be a polynomial. Prove that f(CAC−1)=Cf(A)C−1f\left(C A C^{-1}\right)=C f(A) C^{-1}.

?
Problem 17.10

Compute eAe^{A}, where:

?
(a)

A=(21−4−2)A=\left(\begin{array}{rr}2 & 1 \\ -4 & -2\end{array}\right);

(b)

A=(012006000)A=\left(\begin{array}{lll}0 & 1 & 2 \\ 0 & 0 & 6 \\ 0 & 0 & 0\end{array}\right).

Problem 17.11

Compute ln⁡A\ln A, where:

?
(a)

A=(31−4−1)A=\left(\begin{array}{rr}3 & 1 \\ -4 & -1\end{array}\right);

(b)

A=(110…0011…0……………000…1)A=\left(\begin{array}{ccccc}1 & 1 & 0 & \ldots & 0 \\ 0 & 1 & 1 & \ldots & 0 \\ \ldots & \ldots & \ldots & \ldots & \ldots \\ 0 & 0 & 0 & \ldots & 1\end{array}\right).

Problem 17.12

Let A=(aij)A=\left(a_{i j}\right) be a matrix of size m×nm \times n. Prove that

A=∑i,jaijEij A=\sum _{i, j} a_{i j} E_{i j}

where EijE_{i j} are the matrix units.

?
Problem 17.13

Prove that EijEpq=δjpEiqE_{i j} E_{p q}=\delta_{j p} E_{i q}.

?
Problem 17.14

Let AA be an arbitrary matrix. Compute EijAE_{i j} A.

?
Problem 17.15

Let AA be an arbitrary matrix. Compute AEijA E_{i j}.

?
Problem 17.16

Let AA be a square matrix such that EijA=AEijE_{i j} A=A E_{i j} for all matrix units EijE_{i j}. Prove that A=λEA=\lambda E for some scalar λ\lambda.

?
Problem 17.17

Let AA be a square matrix such that EiiA=AEiiE_{i i} A=A E_{i i} for all ii. Prove that the matrix AA is diagonal.

?
Problem 17.18

Let a square matrix AA commute with all nonsingular matrices. Prove that A=λEA=\lambda E.

?
Problem 17.19

Find all matrices AA of order nn such that tr⁡AX=0\operatorname {tr} A X=0 for any matrix XX of order nn.

?
Problem 17.20

Prove that the trace of the product of two matrices does not depend on the order of the factors.

?
Problem 17.21

Prove that if CC is a nonsingular matrix, then for any matrix AA of the same order tr⁡CAC−1=tr⁡A\operatorname {tr} C A C^{-1}=\operatorname {tr} A.

?
Problem 17.22

For which λ\lambda does the equation

[X,Y]=λE [X, Y]=\lambda E

have a solution ([X,Y][X, Y] is the commutator of the matrices XX and YY)?

?
Problem 17.23

Prove that for any square matrices A,B,CA, B, C the following equalities hold:

?
(a)

[A,BC]=[A,B]C+B[A,C][A, B C]=[A, B] C+B[A, C];

(b)

[[A,B],C]+[[B,C],A]+[[C,A],B]=0[[A, B], C]+[[B, C], A]+[[C, A], B]=0.

Problem 17.24

Prove that for any matrices of order 2 the equality [[A,B]2,C]=0\left[[A, B]^{2}, C\right]=0 holds.

?
Problem 17.25

Let A,B,…,D1A, B, \ldots , D_{1} be square matrices of the same order. Express the product of the matrices

[ABCD]⋅[A1B1C1D1] \left[\begin{smallmatrix} A & B \\ C & D \end{smallmatrix}\right] \cdot \left[\begin{smallmatrix} A_{1} & B_{1} \\ C_{1} & D_{1} \end{smallmatrix}\right]

in terms of the given matrices.

?
Problem 17.26

Let AA be a real triangular matrix commuting with tA{ }^{t} A. Prove that the matrix AA is diagonal.

?
Problem 17.27

Let A=(aij)∈Mn(R)A=\left(a_{i j}\right) \in \mathbf{M}_{n}(\mathbb {R}) be a symmetric nonsingular matrix such that there exists k<nk<n for which aij=0a_{i j}=0 whenever ∣i−j∣⩾k\left|i-j\right| \geqslant k. Suppose that A=tB⋅BA={ }^{t} B \cdot B, where B=(bij)B=\left(b_{i j}\right) is an upper triangular matrix. Prove that bij=0b_{i j}=0 if j−i⩾kj-i \geqslant k.

?
Problem 17.28

Prove that any matrix with trace 0 is a sum of commutators of matrices with trace 0.

?
Problem 17.29

For the matrix

[010…0001…0……………000…1000…0] \left[\begin{smallmatrix} 0 & 1 & 0 & \ldots & 0 \\ 0 & 0 & 1 & \ldots & 0 \\ \ldots & \ldots & \ldots & \ldots & \ldots \\ 0 & 0 & 0 & \ldots & 1 \\ 0 & 0 & 0 & \ldots & 0 \end{smallmatrix}\right]

find matrices AA and BB such that

[A,X]=X,[A,B]=−B,[X,B]=A [A, X]=X, \quad [A, B]=-B, \quad [X, B]=A
?