v1 · padrão canônico
Lesson 32 — Matrix Operations
Sum, scalar multiplication, matrix product. Multiplication as composition of linear transformations.
Used in: 1.º ano EM (álgebra linear elementar) · Equiv. Math I japonês cap. matrizes · Equiv. Klasse 11 alemã (Matrizen)
Choose your door
Rigorous notation, full derivation, hypotheses
Operations
Sum and difference
For matrices of the same dimension:
Scalar multiplication
Matrix product
Defined only when the number of columns of = number of rows of :
Properties
| Operation | Property |
|---|---|
| Sum | commutative, associative, identity |
| Scalar | distributive: |
| Product | associative: |
| Product | distributive: |
| Product | NOT commutative in general |
| Identity | |
| Zero |
Why the matrix product is "weird"
Because it corresponds to composition of linear transformations: applying first and then is the same as applying . Order matters because composition matters.
Powers
( times), . Defined only for square matrices.
Exercise list
46 exercises · 11 with worked solution (25%)
Application 27Understanding 5Modeling 10Challenge 3Proof 1
- Ex. 32.1ApplicationCompute . (Ans: .)
- Ex. 32.2ApplicationAnswer keyCompute .
- Ex. 32.3ApplicationCompute . (Ans: .)
- Ex. 32.4ApplicationCompute — what do you get?
- Ex. 32.5ApplicationAnswer keyCompute .
- Ex. 32.6ApplicationMultiply a matrix by a — what is the result's dimension? (Ans: .)
- Ex. 32.7ApplicationCompute . (Ans: .)
- Ex. 32.8ApplicationVerify for , .
- Ex. 32.9ApplicationAnswer keyfor . (Ans: .)
- Ex. 32.10ApplicationCompute and . When do they coincide? (When .)
- Ex. 32.11ApplicationCompute .
- Ex. 32.12ApplicationMultiply by . (Ans: .)
- Ex. 32.13ApplicationAnswer keyCompute the product .
- Ex. 32.14ApplicationVerify distributivity: for , of your choice.
- Ex. 32.15ApplicationFor and , dimension of ? And ? ( does not exist.)
- Ex. 32.16ApplicationCompute .
- Ex. 32.17ApplicationAnswer keyShow that the product of two diagonal matrices is diagonal — compute explicitly.
- Ex. 32.18ApplicationCompute .
- Ex. 32.19ApplicationCompute — find a general formula in terms of . (Ans: .)
- Ex. 32.20ApplicationAnswer keyFor which does hold? (Idempotent — projection.) Give two examples.
- Ex. 32.21ApplicationCompute .
- Ex. 32.22ApplicationCompute — outer product, dimension .
- Ex. 32.23ApplicationAnswer keyCompute — inner product, dimension . (Ans: .)
- Ex. 32.24ApplicationCompute for . (Ans: .)
- Ex. 32.25ApplicationFind for . And ? (Nilpotent.)
- Ex. 32.26ApplicationVerify for , .
- Ex. 32.27ApplicationCompute — verify it gives a rotation by .
- Ex. 32.28UnderstandingShow that multiplying by the identity matrix does not change the matrix. (Direct from the definition.)
- Ex. 32.29UnderstandingShow that the zero matrix multiplied gives the zero matrix.
- Ex. 32.30UnderstandingShow that if is diagonal and is diagonal, is diagonal and the diagonal entries multiply.
- Ex. 32.31UnderstandingAnswer keyShow that if is upper-triangular and is upper-triangular, is upper-triangular.
- Ex. 32.32UnderstandingShow that even when .
- Ex. 32.33ModelingOn a team, players score goals and assists . Score: goal + assist . Model as a matrix product.
- Ex. 32.34ModelingIn a neural network, layer . For , what is the dimension of and ?
- Ex. 32.35ModelingMarkov chain: distribution = . If and , compute .
- Ex. 32.36ModelingRotation in the plane: rotates by . Apply it to with .
- Ex. 32.37ModelingAnswer keyPageRank iterates with stochastic. What is the eigenvector of used for?
- Ex. 32.38ModelingIn CG, 2D affine transformation: . How can it be represented via a matrix applied to ?
- Ex. 32.39ModelingAnswer keyIn economics, input-output matrix: ⟹ . What computational cost?
- Ex. 32.40ModelingAnswer keyIn finance, returns where is the matrix of returns by asset × scenario. Model.
- Ex. 32.41ModelingRGB image . Conversion to grayscale: . How to express it as a matrix product?
- Ex. 32.42ModelingIn control, system . After 3 steps, as a function of .
- Ex. 32.43ChallengeFind and such that (matrix zero divisors).
- Ex. 32.44ChallengeFind such that (non-trivial involution).
- Ex. 32.45ChallengeShow that if for square , then as well (not trivial — depends on finite dimensionality).
- Ex. 32.46ProofProve associativity: via and switching order of sums.
Sources
- A First Course in Linear Algebra — Robert A. Beezer · 2022 · EN · GFDL · ch. M and MM. Primary source.
- Linear Algebra Done Right — Sheldon Axler · 2024, 4th ed · EN · CC-BY-NC · ch. 3.
- Álgebra linear — Wikibooks · alive · PT-BR · CC-BY-SA.