Explanation
Welcome to The Grid Fortress
A matrix is a grid of numbers that can transform, rotate and solve whole systems of equations at once. In the Grid Fortress, you'll multiply matrices, compute determinants with shortcuts, and decide in seconds whether a system has one solution, many, or none.
AB defined if columns of A = rows of B · (m ×…
You can multiply A by B only if A's columns match B's rows. A two-by-three times a three-by-four gives a two-by-four.
And order matters: A B is usually not B A.
AB defined if columns of A = rows of B · (m × n)(n × p) = m × p · AB ≠ BA in general
Transpose Aᵀ · symmetric A = Aᵀ · skew-symmetric…
The transpose swaps rows and columns. A symmetric matrix equals its transpose.
A skew-symmetric one equals minus its transpose, which forces zeros on the diagonal.
Transpose Aᵀ · symmetric A = Aᵀ · skew-symmetric A = −Aᵀ (diagonal zero)
|[[a, b], [c, d]]
= ad − bc · 3 × 3: expand along any row or column | "For a two-by-two, the determinant is a d minus b c. For three-by-three, expand along a row, choosing the one with the most zeros.
|[[a, b], [c, d]]
Properties
kA| = kⁿ|A| · |AB| = |A||B| · |Aᵀ| = |A| | "Determinant shortcuts. Swap two rows and the sign flips.
Two equal rows make it zero. Multiply the whole n-by-n matrix by k and the determinant multiplies by k to the n.
Properties: swap two rows → sign flips · two equal rows → 0 ·
A⁻¹ = adj A /
A| (exists iff |A| ≠ 0) · |adj A| = |A|ⁿ⁻¹ · |A⁻¹| = 1/|A| | "The inverse is the adjoint over the determinant, so it exists only when the determinant is non-zero. For a two-by-two, swap a and d, change the signs of b and c, and divide by the determinant.
A⁻¹ = adj A /
AX = B
A| ≠ 0 → unique solution · |A| = 0 → no solution or infinitely many (check further) | "Write a system as A X equals B. A non-zero determinant means exactly one solution.
A zero determinant means either no solution or infinitely many: check whether the equations contradict each other.
AX = B:
Worked example
x + y = 2 and 2x + 2y = 5. |A| = 1·2 − 1·2 = 0.
The second equation says x + y = 2. 5, contradicting the first: no solution.