v1 · padrão canônico
Lesson 31 — Introduction to Matrices
Matrix as a rectangular table of numbers. Notation, dimensions, equality, special types.
Used in: 1.º ano EM (15 anos) · Equiv. Math II japonês · Equiv. Klasse 10 alemã · Pré-cálculo norte-americano §11.5
Choose your door
Rigorous notation, full derivation, hypotheses
Definition and types
Special types
| Type | Definition |
|---|---|
| Square | |
| Row | |
| Column | |
| Diagonal | square with for |
| Identity | diagonal with |
| Zero | all entries zero |
| Upper triangular | for |
| Lower triangular | for |
| Symmetric | , that is |
| Skew-symmetric | , that is |
| Scalar | diagonal with constant |
Diagonal of a square matrix
The main diagonal is . Trace: .
Construction rule
Often is defined via a formula . Examples:
- (Kronecker delta — produces the identity)
Exercise list
46 exercises · 11 with worked solution (25%)
Application 26Understanding 6Modeling 10Challenge 3Proof 1
- Ex. 31.1ApplicationIdentify the dimension of . (Ans: .)
- Ex. 31.2ApplicationWrite a identity matrix.
- Ex. 31.3ApplicationWrite a zero matrix.
- Ex. 31.4ApplicationFor , identify . (Ans: .)
- Ex. 31.5ApplicationAnswer keyConstruct such that .
- Ex. 31.6ApplicationAnswer keyConstruct such that .
- Ex. 31.7ApplicationAnswer keyCheck whether is symmetric. (Ans: yes.)
- Ex. 31.8ApplicationCheck whether is skew-symmetric.
- Ex. 31.9ApplicationAnswer keyTrace of . (Ans: .)
- Ex. 31.10ApplicationFor which is ?
- Ex. 31.11ApplicationAnswer keyConstruct any upper-triangular matrix.
- Ex. 31.12ApplicationConstruct a diagonal matrix with diagonal entries . Compute the trace. (Ans: .)
- Ex. 31.13ApplicationIdentify entry of . (Ans: .)
- Ex. 31.14ApplicationFor with , what class is the matrix?
- Ex. 31.15ApplicationAnswer keyHow many entries does a matrix have? (Ans: .)
- Ex. 31.16ApplicationConstruct with .
- Ex. 31.17ApplicationVerify whether is the identity.
- Ex. 31.18ApplicationAnswer keyConstruct with .
- Ex. 31.19ApplicationDecide: is the matrix symmetric?
- Ex. 31.20ApplicationAnswer keyConstruct a identity matrix. How many zeros does it have? (Ans: .)
- Ex. 31.21ApplicationConstruct with . Is it symmetric?
- Ex. 31.22ApplicationConstruct with (Kronecker delta). What matrix is this?
- Ex. 31.23ApplicationHow many non-zero entries does have? (Ans: .)
- Ex. 31.24ApplicationConstruct a lower-triangular matrix with if .
- Ex. 31.25ApplicationIdentify whether is symmetric.
- Ex. 31.26ApplicationFind so that . (Ans: .)
- Ex. 31.27UnderstandingShow that a symmetric matrix must be square.
- Ex. 31.28UnderstandingAnswer keyShow that a skew-symmetric matrix has zero diagonal.
- Ex. 31.29UnderstandingShow that if is symmetric, then for all .
- Ex. 31.30UnderstandingHow many symmetric matrices exist with entries in ? (Ans: — 6 independent entries are chosen.)
- Ex. 31.31UnderstandingShow that any square matrix can be written as the sum of a symmetric + skew-symmetric matrix: .
- Ex. 31.32UnderstandingVerify the decomposition above for .
- Ex. 31.33ModelingAnswer keyGrades of 3 students in 4 subjects: build a matrix with made-up data.
- Ex. 31.34ModelingAnswer keyDistances between 4 cities: symmetric matrix with zero diagonal.
- Ex. 31.35Modelinggrayscale image. Each entry from 0 (black) to 255 (white). Construct an example.
- Ex. 31.36ModelingPrice table by store × product: build a matrix (3 stores, 4 products).
- Ex. 31.37ModelingIn ML, dataset with samples × features: what is the matrix dimension?
- Ex. 31.38ModelingLinear system — write the coefficient matrix and the augmented matrix.
- Ex. 31.39ModelingAdjacency matrix of a 4-vertex graph with edges .
- Ex. 31.40ModelingIn finance, correlation matrix among stocks: symmetric, diagonal . How many unique values? (Ans: .)
- Ex. 31.41ModelingIn production, costquantity matrix: each entry is the total cost of that combination.
- Ex. 31.42ModelingIn control, state with dynamics matrix . How many entries?
- Ex. 31.43ChallengeShow that the dimension of the space of symmetric matrices is .
- Ex. 31.44ChallengeShow that the dimension of the space of skew-symmetric matrices is .
- Ex. 31.45ChallengeConstruct such that . Recognize the pattern? (Pascal rows — shifted Hilbert matrix.)
- Ex. 31.46ProofProve that if is simultaneously symmetric and skew-symmetric, then .
Sources
- Linear Algebra Done Right — Sheldon Axler · 2024, 4th ed · EN · CC-BY-NC · ch. 3: matrices. Primary source.
- A First Course in Linear Algebra — Robert A. Beezer · 2022 · EN · GFDL · ch. M.
- Álgebra linear — Wikibooks · alive · PT-BR · CC-BY-SA.