This is a beta course, so its structure, chapters, and examples may continue to change.
Comprehensive Exercises on Matrices
Exercises
Exercise 1
Compute A+B, where A=(142536) and B=(211203)
matrixmatrix operationsdeterminantmatrix addition
Approach:
Use the definition of matrix addition, adding corresponding entries.
Steps:
A+B=(1+24+12+15+23+06+3)=(353739)
Answer: A+B=(353739)
Exercise 2
Compute 2A−3B, where A=(1324) and B=(0110)
matrixmatrix operationsdeterminantmultiplication by a scalar
Approach:
First compute the scalar multiples, then carry out the subtraction.
Steps:
2A=(2648),3B=(0330)
2A−3B=(2648)−(0330)=(2318)
Answer: 2A−3B=(2318)
Exercise 3
Compute AB and BA, where A=(1021) and B=(2103)
matrixmatrix operationsdeterminantmatrix multiplication
Approach:
Use the definition of matrix multiplication, and verify that matrix multiplication is not commutative.
Steps:
AB=(1021)(2103)=(4163)
BA=(2103)(1021)=(2145)
Answer: AB=(4163), BA=(2145)
Note that AB=BA, which verifies that matrix multiplication is not commutative.
Exercise 4
Compute AT, where A=147258369
matrixmatrix operationsdeterminant
Approach:
Interchange the rows and the columns of the matrix.
Steps:
AT=123456789
Answer: AT=123456789
Exercise 5
Decide whether the matrix A=(1324) is invertible, and if so find its inverse.
matrixmatrix operationsdeterminantinverse matrix
Approach:
First compute the determinant, then find the inverse matrix.
Steps:
-
∣A∣=1×4−2×3=−2=0, so it is invertible
-
Compute the algebraic cofactors:
- A11=4, A12=−3
- A21=−2, A22=1
-
A∗=(4−3−21)
-
A−1=−21(4−3−21)=(−21.51−0.5)
Answer: A is invertible, and A−1=(−21.51−0.5)
Exercise 6
Find the inverse of A=100210321 by the adjugate matrix method.
matrixmatrix operationsdeterminantadjugate matrix
Approach:
Use the adjugate matrix method to find the inverse matrix.
Steps:
-
∣A∣=1=0, so it is invertible
-
Compute the algebraic cofactors:
- A11=1, A12=0, A13=0
- A21=−2, A22=1, A23=0
- A31=1, A32=−2, A33=1
-
A∗=100−2101−21
-
A−1=100−2101−21
Answer: A−1=100−2101−21
Exercise 7
Find the inverse of A=(2111) by the elementary row operation method.
matrixmatrix operationsdeterminantelementary row operation
Approach:
Use the elementary row operation method to find the inverse matrix.
Steps:
-
Form the augmented matrix: (2111∣∣1001)
-
R1↔R2: (1211∣∣0110)
-
R2−2R1: (101−1∣∣011−2)
-
R2×(−1): (1011∣∣0−112)
-
R1−R2: (1001∣∣1−1−12)
Answer: A−1=(1−1−12)
Exercise 8
Find the adjugate matrix of the matrix A=(1324).
matrixmatrix operationsdeterminantalgebraic cofactor
Approach:
Compute the algebraic cofactor of each entry.
Steps:
-
Compute the algebraic cofactors:
- A11=4, A12=−3
- A21=−2, A22=1
-
Arrange them in the transposed positions: A∗=(4−3−21)
Answer: A∗=(4−3−21)
Exercise 9
Find the rank of the matrix A=121241361.
matrixmatrix operationsdeterminantelementary transformation
Approach:
Reduce to row echelon form by elementary transformations and count the nonzero rows.
Steps:
121241361
R2−2R1:
101201301
R3−R1:
10020−130−2
R2↔R3:
1002−103−20
There are 2 nonzero rows, so r(A)=2.
Answer: r(A)=2
Exercise 10
Find the rank of the matrix A=121241361481.
matrixmatrix operationsdeterminantelementary transformation
Approach:
Reduce to row echelon form by elementary transformations and count the nonzero rows.
Steps:
121241361481
R2−2R1:
101201301401
R3−R1:
10020−130−240−3
R2↔R3:
1002−103−204−30
There are 2 nonzero rows, so r(A)=2.
Answer: r(A)=2
Exercise 11
Decide whether the matrices A=(1324) and B=(2648) are equivalent.
matrixmatrix operationsdeterminantrank of a matrix
Approach:
Compute the rank of each matrix and check whether they are equal.
Steps:
-
A=(1324), ∣A∣=−2=0, so r(A)=2
-
B=(2648), B=2A, so r(B)=r(A)=2
-
The two matrices have the same rank, so they are equivalent.
Answer: A and B are equivalent
Exercise 12
Compute the determinant of the block matrix (AOBC), where both A and C are invertible matrices.
matrixmatrix operationsdeterminantblock matrix
Approach:
Use the determinant property for block matrices.
Steps:
For the block matrix (AOBC), we have A12=O, so:
∣A∣=∣A11∣⋅∣A22∣=∣A∣⋅∣C∣
Answer: (AOBC)=∣A∣⋅∣C∣
Exercise 13
Solve the matrix equation AX=B, where:
A=(1324),B=(5768)
matrixmatrix operationsdeterminant
Approach:
First find A−1, then compute X=A−1B.
Steps:
-
A−1=(−21.51−0.5)
-
X=A−1B=(−21.51−0.5)(5768)
-
=(−34−45)
Answer: X=(−34−45)
Exercise 14
Solve the system of linear equations:
{x+2y=53x+4y=7
matrixmatrix operationsdeterminantinverse matrix
Approach:
Write the system in matrix form and solve it with the inverse matrix.
Steps:
-
Write the system in matrix form: AX=b, where:
A=(1324),X=(xy),b=(57)
-
A−1=(−21.51−0.5)
-
X=A−1b=(−21.51−0.5)(57)=(−34)
Answer: x=−3, y=4
Exercise 15
Prove that: if A is an n-th order square matrix with A2=A, then the rank of A equals the trace of A.
matrixmatrix operationsdeterminantrank
Approach:
Use the properties of idempotent matrices and the properties of the rank.
Steps:
-
Because A2=A, the matrix A is idempotent
-
For an idempotent matrix, r(A)=tr(A)
-
This is because the eigenvalues of an idempotent matrix can only be 0 or 1, and the number of eigenvalues equal to 1 is the rank of the matrix
-
The trace of a matrix equals the sum of its eigenvalues, so r(A)=tr(A)
Answer: the proof is complete