5.1, 5.2 - Multiplying matrices and the identity matrix
Use a matrix to organise numbers and carry out a calculation in a fixed order. In 5.1 you will multiply by a scalar, multiply a matrix by a column and multiply two matrices; in 5.2 you will discover the special matrix that leaves every input unchanged.
Rows, columns and scalar multiplication
Which four entries make a matrix leave every pair of numbers unchanged when you multiply? Four ones might sound promising, but the answer is more selective. First, learn how to read the grid.
A matrix keeps numbers or expressions in fixed positions. Those positions matter: swapping two entries usually changes what the matrix does.
Matrix and its order
A matrix is a rectangular array of entries inside brackets. Its order states rows first, then columns. For example, has two horizontal rows and two vertical columns, so its order is . A column has order ; it is not a row.
We use bold capital letters, such as , to name matrices. Equality of two matrices means that their orders agree and every corresponding entry agrees. Thus gives and .
A scalar is a single number multiplying a matrix. Unlike matrix multiplication, it acts separately on each entry.
Multiplication by a scalar
For a real scalar ,
This does not change the matrix's order. The scalar may be negative, fractional or zero.
Not on the formulae sheet: learn it.
Multiply every entry, including zeros and negative entries. Keep the result in the same position.
Worked example 1: a positive scalar
Question. . Work out .
Plan. Multiply all four entries by .
Why this step? A scalar multiplies the whole matrix, so no row or column is exempt.
Answer. .
Check. Dividing each new entry by recovers .
Worked example 2 changes only the scalar. A negative fraction reverses signs and halves magnitudes.
Worked example 2: a negative fractional scalar
Question. For the same , work out .
Plan. Multiply each entry by , retaining exact fractions.
Why this step? The top-right product has two negative factors, so its result is positive.
Answer. .
Check. Multiplying the answer by recovers every entry of .
A zero scalar gives the zero matrix, whose entries are all zero. The zero matrix and the identity matrix are different; we will see why in the final part.
Watch out
Wrong: . Only one entry was multiplied. Right: multiply every entry to get .
Try a new matrix and a negative whole-number scalar.
Multiplying a matrix by a column
A matrix times a column combines the input entries: each row produces one output by multiplying matching entries and adding the products.
For example, the row acting on gives . This is a row-times-column calculation, not a pair of separate outputs.
A matrix times a column
For a matrix and a column,
The first row produces the top output; the second row produces the bottom output. The result has order .
Not on the formulae sheet: learn it.
Keep the column on the right. The two entries in each row match the two entries in that column.
Worked example 3: calculating an output column
Question. Work out .
Plan. Use the first row for the top output and the second row for the bottom output.
Why this step? Each output uses a whole row, so the negative input affects both calculations.
Answer. .
Check. The two output rules are and ; at , , they give and .
Worked example 4 changes the direction of the task: the output is given and the input is unknown. The same multiplication rule now creates two equations.
Worked example 4: recovering an input
Question. . Work out and .
Plan. Multiply symbolically, equate corresponding entries and solve the two linear equations.
Why this step? Matrix equality gives two scalar equations. Write those equations explicitly before solving.
Answer. , .
Check. , and , recovering the supplied output.
This course uses only and matrices. A column cannot multiply a matrix from the left: its rows contain only one entry, so the row and column lengths do not match.
Watch out
Wrong: . This ignores two entries. Right: , using both products in each row.
Use new coefficients to recover an input yourself.
Multiplying two matrices
To multiply two matrices, treat each column of the right-hand matrix as a separate input column.
The first column produces the first output column; the second produces the second. Equivalently, the entry in row , column of the product comes from row of the left matrix multiplied by column of the right matrix.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account