## Matrices

A matrix is just an array of numbers for which operations can be defined.

A matrix’s size is always described as rows by columns, the size of a matrix restricts which matrices it can be added to or multiplied by. A has two rows and two columns which is a two by two matrix.

A matrix with rows that are the same length as columns is known as a square matrix.

## Matrix Arithmetic

Let’s take a quick look at some basic matrix operations.

- If we times the matrix A by a factor k, we can only expand it by multiplying each element in the matrix by k

- If we have a matrix B it will only equal A if it is the same size and each element is the same that is a=e, b = f, c = g and d = h

** **

- If we wish to add or subtract matrices they must be the same size like A and B which are both two by two matrices. The order which we add them makes no difference.

**A+B=B+A**

- The order of matrix in matrix multiplication is important

**A×B≠B×A**

- Matrix multiplication is only possible if the columns of the first matrix match the rows of the second.

A is a 2×2 matrix and C is a 3×2 matrix, therefore we cannot multiply A by C since there are 2 A columns and 3 C Rows

** A×C**

(2×2)(3×2)

However we can multiply C by A since there are 2 C columns and 2 A rows

** C×A**

(3×2)(2×2)

- When multiplying the matrices together our first step is to work out the size of the new matrix. Step two is we follow the rule of moving across the row of the first matrix and multiply it by moving down the column of the second matrix.

- A special type of matrix is the Identity matrix, if two matrices are multiplied together and they equal the identity matrix then they are said to be an inverse of each other.

- An inverse of a two by two matrix is calculated by the formula. Finding the inverse of matrices greater than 2×2, is not need in maths methods 3&4.

- The determinant is calculated by:

There are a lot of rules to remember when dealing with matrices, but the best way to learn them is through practice.

## Example

Lets practice multiplying matrix A by B

**A×B=?**

We can see that A can be multiplied by B since A is a two by three matrix and B is a three by two matrix therefore the columns of match the rows of b and we will get a two by two matrix.

## Feedback

Want to suggest an edit? Have some questions? General comments? Let us know how we can make this resource more useful to you.