Matrix Algebra

Notation

Notation

A matrix is a rectangular array with rows and columns. The entry in the th row and th column is denoted by .

Which is abbreviated as when the size is known. The set of all matrices with real entries is denoted by .

Equality

Definition

Two matrices are equal if for all

Matrices Equal Theorem

Theorem

Let . If for all , then

See vectors

Square Matrix

Definition

A matrix is square is . That is, it has the same number of rows and columns.

Zero Matrix

Definition

The matrix with zero entries is called the zero matrix, denoted by , or sometimes just if the size is clear.

Matrix Addition

Definition

Scalar Multiplication

Definition

Transpose

Definition

Denoted by , is the matrix where . That is, the rows and columns are switched

Properties

Let and

  1. !!!
Solve for A if

Symmetry

Symmetry

Definition

A matrix is symmetric if . That is, if its transpose is the same as itself.

To be symmetrical, a matrix must be a square matrix.

Matrix Multiplication

Also see: Power of Matrix

Matrix Multiplication

Definition

Let and . The matrx product is the matrix

In general,

(See transpose, matrix-vector product)

To see what matrix multiplication represents, see Composition of Linear Transformations.

Remark

Matrix multiplication is actually the composition of two linear transformation. While this note only covers calculation, it's a good idea to go see composition of linear transformations for a conceptual understanding as to what it going on.

Example

Let
This means
Then

We also observe that:

Properties

Non-commutative

  1. Identity matrix
  2. Associative
  3. Distributive (order matters)
  • Associative with scalar:
  • Transpose , which works for any number of variables
Important

Matrix multiplication is NOT commutative. Order matters. Why? Think about geometric transformations. If we rotate counter-clockwise 90 degrees, and then reflect on the x-axis, that's a different result than reflecting on the x-axis first, then rotating 90 degrees. Visualize this.