You are viewing a public preview
Sign in to save your progress, do assignments, join discussions and get feedback.
Flashcards · Matrix operations and inverses
9 words(m × k)(k × n) = m × n. Inner dimensions must agree; the result has the outer dimensions.
(AB)ᵢⱼ = Σₚ aᵢₚ bₚⱼ: row i of A times column j of B.
Matrix multiplication is not commutative: in general AB ≠ BA. It is associative and distributes over addition.
Ax = x₁a₁ + … + xₙaₙ. Ax = b asks whether b is a weighted combination of the columns of A.
(Aᵀ)ᵢⱼ = aⱼᵢ: rows become columns, m × n becomes n × m. (AB)ᵀ = BᵀAᵀ; (A + B)ᵀ = Aᵀ + Bᵀ; (cA)ᵀ = cAᵀ.
Square A with A⁻¹ such that AA⁻¹ = A⁻¹A = I. The inverse, if it exists, is unique. A matrix without an inverse is singular.
For [[a, b], [c, d]]: A⁻¹ = 1/(ad − bc) · [[d, −b], [−c, a]], provided ad − bc ≠ 0.
Row-reduce [A | I]. If the left block becomes I, the right block is A⁻¹; a zero row in the left block means A is singular.
(AB)⁻¹ = B⁻¹A⁻¹, (Aᵀ)⁻¹ = (A⁻¹)ᵀ, (A⁻¹)⁻¹ = A, (cA)⁻¹ = c⁻¹A⁻¹ for c ≠ 0.
There is no rule for (A + B)⁻¹.
Work through Section 2 of Lab 1 (Linear Algebra with NumPy, MFDS_Lab1_Linear_Algebra.ipynb), attached to the Part I materials lesson at the start of this part.