Matrix operations
Matrix products are computed "row times column". Once products are routine, learn how to find inverses and solve matrix equations.
Basic, Standard, Advanced: University Year 1 · 1st semester
Math problem generator
Sums, scalar multiples and products
Sums, differences and scalar multiples are computed entry by entry. The entry of is row of times column of :
In general . An matrix times an matrix is ; if the inner sizes differ, the product is not defined.
The transpose swaps rows and columns, and .
Finding inverses
For larger matrices use row reduction: reduce until the left half is the identity ; the right half is then . You can also use the adjugate: .
Solve by multiplying on the left by : . For , multiply on the right: .
Cayley–Hamilton and $A^n$
This writes as a combination of and , so and can be reduced too. For , compute and to find a pattern, or diagonalize using its eigenvalues.
Worked examples
For the matrices and below, compute .
Hint
A scalar multiplies every entry; sums and differences combine entries in the same position.
Answer
Solution
Entry by entry,
Find the inverse of the matrix.
Hint
Row-reduce ; when the left half becomes , the right half is .
Answer
Solution
Form :
Row-reduce until the left half is the identity; the right half is the inverse.
(Check: and .)
For the matrices and below, find the matrix with .
Hint
Multiply both sides of on the right by (mind the order).
Answer
Solution
The inverse of is
Multiplying both sides on the right by ,
Practice problems
For the matrices below, compute (where is the transpose of ).
Hint
The transpose swaps rows and columns. You can also use .
Answer
Solution
First,
Hence
For the matrix below, find .
Hint
Compute and and look for a pattern.
Answer
Solution
Computing a few powers reveals the pattern:
With ,
Find the values of the constant for which the matrix has no inverse.
Hint
A matrix has no inverse exactly when its determinant is .
Answer
Solution
The determinant is
This is when