Courses / Physics I
Linear Algebra and Geometry

Matrices and Matrix Operations

Physics I 205 words Free to read

Matrix Basics

A matrix is a rectangular array of numbers arranged in rows and columns. An m×nm \times n matrix has mm rows and nn columns.

A=(a11a12a21a22)A = \begin{pmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{pmatrix}

Every matrix represents a linear map between vector spaces. Transformations compose in order, so matrix multiplication depends strictly on factor sequence.

OperationConditionDefinition
SumSame size(A+B)ij=aij+bij(A+B)_{ij} = a_{ij} + b_{ij}
ScalarAny size(αA)ij=αaij(\alpha A)_{ij} = \alpha a_{ij}
ProductCols AA = Rows BB(AB)ij=kaikbkj(AB)_{ij} = \sum_k a_{ik} b_{kj}

Rules and Pitfalls

Matrix arithmetic follows strict algebraic laws. The identity matrix InI_n acts as a neutral element such that AI=IA=AAI = IA = A.

The transpose operation flips a matrix across its main diagonal, defined by (AT)ij=aji(A^T)_{ij} = a_{ji}. Multiplication is associative, meaning (AB)C=A(BC)(AB)C = A(BC).

PropertyRule
Associativity(AB)C=A(BC)(AB)C = A(BC)
CommutativityABBAAB \neq BA in general
Common pitfall: Matrix multiplication is not commutative (ABBAAB \neq BA). Rotate-then-reflect differs from reflect-then-rotate. Never swap factors casually.
Placeholder: Matrices and Matrix Operations

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

14practice questions
2interactive scenes

Linear Algebra and Geometry