Intuition
Two matrices of the same shape add entry by entry, and a number scales every entry at once. It is the arithmetic of vectors, carried over to a rectangular block of numbers.
Two monthly timesheets laid over each other give the hours for both months, cell by cell. Paying double for every hour doubles every cell of the sheet.
Sum and scalar multiple
Two matrices are added only when they have the same shape, and then the entries that share a position are added. Multiplying a matrix by a scalar multiplies every one of its entries. Either way the result has the shape the matrices started with. The difference means , and the zero matrix of the right shape changes nothing when it is added.
Rules that follow from the definition
- and , because in each position these are sums of real numbers.
Applications
Practice
Entry by Entry
To add two matrices of the same shape, add the entries in matching positions. To scale a matrix, multiply every entry.
Try it
Let and . What is ?
Only the Entry You Need
One entry of a combination such as can be found without computing the rest: in position it is .
Try it
Let and . What is the entry in row 2, column 1 of ?
Shapes Must Match
Addition pairs up entries in the same position. If one matrix has a position the other lacks, there is nothing to pair it with, and the sum does not exist.
Try it
is and is . What is ?
Try it
Let and . What is ?
Try it
For any two matrices and of the same shape, .
Solving for a Matrix
An equation in an unknown matrix is solved by the same moves as an equation in a number, because each move is made entry by entry.
Try it
Find if .
Try it
Find if .
Try it
is a matrix. What is ?
Try it
If for a scalar , then .
Building a Matrix from Simple Ones
Let be the matrix with in position and everywhere else. Every matrix is a combination of these, with its own entries as the weights.
Try it
Among matrices, has a in row , column and zeros elsewhere. Which matrix is ?
What You Learned
- Matrices of the same shape add entry by entry: .
Final checkpoint
Try it
Let and . What is the entry in row 2, column 3 of ?
Try it
Which rule holds for all matrices , of the same shape and all scalars , ?
Try it
The sum is defined.
Completion
Lesson complete
Great work! You now know how to:
- add and subtract matrices of the same shape;
- multiply a matrix by a scalar;
- compute one entry of a combination without the rest;
- solve simple equations in an unknown matrix.