# IB Mathematics SL/Matrices

# Topic 4: MatricesEdit

## IntroductionEdit

The numbers in the matrix are called **entries** or **elements**

The **order** of a matrix defines its shape. For example, 2×1 matrix. First digit defines number of rows, second digit defines number of columns.

Matrices of order n×1 with just one column, are called **column matrices**:

For example:

Matrices of order 1×n with just one row, are called **row matrices**

For example:

A **zero matrix** is a matrix with all entries equal to zero.

For example:

An **identity matrix** is a square matrix with entries of 1 on the leading diagonal (from top left to bottom right) and entries of zero everywhere else.

For example:

### Adding and subtracting matricesEdit

Two or more matrices of identical dimensions and can be added. Given m-by-n matrices A and B, their sum A + B is the m-by-n matrix computed by adding corresponding elements For example:

### Multiplying a matrix by a numberEdit

To multiply a matrix by a number, multiply every element by the number. For example:

## Matrix multiplicationEdit

In order for matrix multiplication to occur, the number of columns in the first matrix must equal the number of rows in the second matrix. Consider Matrix A and B below:

Thus, the 2x3 and 3x2 matrices can be multiplied either way in this example. For this example, a 2x2 matrices will result. Note that if the 3x2 was multiplied by the 2x3, a 3x3 matrice would result. Proceed by multiplying the 1st row of Matrix A with the first column of Matrix B and summing the results. This will be your first element of the 2x2. Multiply the first row of Matrix A with the second column of Matrix B. This will be the element in the first row and second column of the resulting 2x2 matrix. This process is shown below.

Continuing with Matrix A and B from above

note that matrix multiplication is not cummutative. so MxN is not equal to NxM

The 2x3 matrix is the most complex hand calculation the IBO will require on any examination, with subsequent matrices (3x3, 3x4, 4x4) being done through use of a GDC.

## 2×2 matricesEdit

Similar to the process shown above, only simpler. A 2x2 mulitplied by a 2x2 will always yield a 2x2 matrix. Consider Matrix A and B below:

## 3×3 matricesEdit

It is not advised by the IBO for SL students to calculate by hand 3x3 matrices, as it is merely a complex extension of multiplying 2x2 matrices. Instead, the IBO recommends the use of a GDC (Graphing Display Calculator), and the Matrix function on it.