## 17Calculus Precalculus - Matrices

##### 17Calculus

Basics of Matrices

Matrices are just tables of numbers (or variables) listed in rows and columns, exactly like a table. For example,

$$\displaystyle{ A = \left[ \begin{array}{ccc} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \\ a & b & c \end{array} \right] }$$

This matrix is a 4x3, with 4 rows and 3 columns. The matrix is called A.
To delineate a matrix, it will usually be written with brackets, like we've done here, or with parentheses. However, we never use straight vertical lines unless we are talking about a determinant.

The main idea with matrices is that not only is the number/variable important, but also the position it occupies. For example, matrices C and D below are not equal, even though they are the same size (2x2) and have the same elements. They are different because some of the numbers are in different positions.

 $$\displaystyle{ C = \left[ \begin{array}{cc} 1 & 2 \\ 3 & 4 \end{array} \right] }$$ $$\displaystyle{ D = \left[ \begin{array}{cc} 2 & 1 \\ 3 & 4 \end{array} \right] }$$

So for two matrices to be equal, the dimensions must be the same and the numbers/variables must be in the same position.
If you are just starting to learn about matrices, these first two videos are for you.

### Khan Academy - Introduction to matrices [11min-50secs]

This second video explains matrices and some basic operations in more depth with plenty of examples.

### MIP4U - Matrix Addition, Subtraction, and Scalar Multiplication [9min-36secs]

video by MIP4U

Overview of Basic Matrix Operations

Addition - - As described in the last video above, matrix addition requires both matrices to have the same number of rows and columns. We just add the corresponding elements.
Scalar Multiplication - - Multiplication of a matrix by a scalar just involves multiplying each element by that scalar.
Subtraction - - Finally, matrix subtraction is just a combination of addition and multiplication by the scalar $$-1$$.
If any of these operations is difficult for you, it will help to go back and watch the last video above and then work some practice problems.

Matrix Multiplication

Unlike with addition, multiplication of two matrices is quite involved and the technique is somewhat counter-intuitive. Here is a good introduction video and example. He explains quite thoroughly how to do matrix multiplication. [More discussion and practice problems on multiplication of matrices can be found on the matrix inverses page.]

### Khan Academy - Matrix multiplication introduction [6min-25secs]

Matrix Division

The next natural question is, what about matrix division? Well, matrix division is even more complicated that matrix multiplication. Let's look at an analogy with numbers.

An Analogy - - If we want to divide 2 into 3, i.e. 3/2, we can think about it this way. We find the (multiplicative) inverse of 2, written either $$1/2$$ or $$2^{-1}$$ and then multiply this inverse to 3, i.e. $$3/2=3(2^{-1})$$.

That is how we do matrix division. We need to find the multiplicative inverse (usually just called the inverse when talking about matrices) of a matrix and then multiply. Finding the inverse is quite involved and we will discuss this on a separate page.

Okay, now you are ready for some practice problems.

Practice

Unless otherwise instructed, perform the indicated operations on these matrices.

Calculate $$\displaystyle{ \left[ \begin{array}{rr} 3 & -1 \\ 2 & 0 \end{array} \right] + \left[ \begin{array}{rr} -7 & 2 \\ 3 & 5 \end{array} \right] }$$

Problem Statement

Calculate $$\displaystyle{ \left[ \begin{array}{rr} 3 & -1 \\ 2 & 0 \end{array} \right] + \left[ \begin{array}{rr} -7 & 2 \\ 3 & 5 \end{array} \right] }$$

Solution

### Khan Academy - 1793 video solution

Log in to rate this practice problem and to see it's current rating.

Calculate $$\displaystyle{\left[\begin{array}{rr} 3 & -1 \\ 2 & 0 \end{array} \right] - \left[\begin{array}{rr} -7 & 2 \\ 3 & 5 \end{array} \right] }$$

Problem Statement

Calculate $$\displaystyle{\left[\begin{array}{rr} 3 & -1 \\ 2 & 0 \end{array} \right] - \left[\begin{array}{rr} -7 & 2 \\ 3 & 5 \end{array} \right] }$$

Solution

### Khan Academy - 1794 video solution

Log in to rate this practice problem and to see it's current rating.

Calculate $$\displaystyle{\left[\begin{array}{rrr} 1 & -7 & 5 \\ 0 & 3 & -10 \end{array} \right] + \left[\begin{array}{rrr} 5 & 0 & 3 \\ 11 & -1 & 7 \end{array} \right] }$$

Problem Statement

Calculate $$\displaystyle{\left[\begin{array}{rrr} 1 & -7 & 5 \\ 0 & 3 & -10 \end{array} \right] + \left[\begin{array}{rrr} 5 & 0 & 3 \\ 11 & -1 & 7 \end{array} \right] }$$

Solution

### Khan Academy - 1795 video solution

Log in to rate this practice problem and to see it's current rating.

Calculate $$\displaystyle{\left[\begin{array}{rr} 0 & 1 \\ 3 & 2 \end{array} \right] - \left[\begin{array}{rr} -1 & 3 \\ 0 & 5 \end{array} \right] }$$

Problem Statement

Calculate $$\displaystyle{\left[\begin{array}{rr} 0 & 1 \\ 3 & 2 \end{array} \right] - \left[\begin{array}{rr} -1 & 3 \\ 0 & 5 \end{array} \right] }$$

Solution

### Khan Academy - 1796 video solution

Log in to rate this practice problem and to see it's current rating.

Calculate $$\displaystyle{\left[\begin{array}{rr} 1 & 2 \\ 3 & 8 \end{array} \right] + \left[\begin{array}{rr} 10 & 0.6 \\ 0.4 & 14 \end{array} \right] }$$

Problem Statement

Calculate $$\displaystyle{\left[\begin{array}{rr} 1 & 2 \\ 3 & 8 \end{array} \right] + \left[\begin{array}{rr} 10 & 0.6 \\ 0.4 & 14 \end{array} \right] }$$

Solution

### PatrickJMT - 1797 video solution

video by PatrickJMT

Log in to rate this practice problem and to see it's current rating.

Calculate $$\displaystyle{\left[\begin{array}{rrr} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{array} \right] + \left[\begin{array}{rrr} 10 & 20 & 30 \\ 40 & 50 & 60 \\ 70 & 80 & 90 \end{array} \right] }$$

Problem Statement

Calculate $$\displaystyle{\left[\begin{array}{rrr} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{array} \right] + \left[\begin{array}{rrr} 10 & 20 & 30 \\ 40 & 50 & 60 \\ 70 & 80 & 90 \end{array} \right] }$$

Solution

### PatrickJMT - 1798 video solution

video by PatrickJMT

Log in to rate this practice problem and to see it's current rating.

Calculate $$\displaystyle{\left[\begin{array}{rr} 2 & 3 \\ 4 & 5 \\ 6 & 7 \end{array} \right] + \left[\begin{array}{rr} 1 & 5 \\ 8 & 9 \\ 3 & 4 \end{array} \right] }$$

Problem Statement

Calculate $$\displaystyle{\left[\begin{array}{rr} 2 & 3 \\ 4 & 5 \\ 6 & 7 \end{array} \right] + \left[\begin{array}{rr} 1 & 5 \\ 8 & 9 \\ 3 & 4 \end{array} \right] }$$

Solution

### PatrickJMT - 1799 video solution

video by PatrickJMT

Log in to rate this practice problem and to see it's current rating.

Calculate $$\displaystyle{ \left[\begin{array}{rr} 1 & 2 \\ 3 & 8 \end{array} \right] - \left[\begin{array}{rr} 10 & 0.6 \\ 0.4 & 14 \end{array} \right] }$$

Problem Statement

Calculate $$\displaystyle{ \left[\begin{array}{rr} 1 & 2 \\ 3 & 8 \end{array} \right] - \left[\begin{array}{rr} 10 & 0.6 \\ 0.4 & 14 \end{array} \right] }$$

Solution

### PatrickJMT - 1800 video solution

video by PatrickJMT

Log in to rate this practice problem and to see it's current rating.

Calculate $$\displaystyle{10 \left[\begin{array}{rr} 2 & 3 \\ 4 & 5 \end{array} \right] }$$

Problem Statement

Calculate $$\displaystyle{10 \left[\begin{array}{rr} 2 & 3 \\ 4 & 5 \end{array} \right] }$$

Solution

### PatrickJMT - 1801 video solution

video by PatrickJMT

Log in to rate this practice problem and to see it's current rating.

Calculate $$\displaystyle{5 \left[\begin{array}{rrr} -1 & 2 & 8 \\ -3 & -7 & 1 \end{array} \right] }$$

Problem Statement

Calculate $$\displaystyle{5 \left[\begin{array}{rrr} -1 & 2 & 8 \\ -3 & -7 & 1 \end{array} \right] }$$

Solution

### MIP4U - 1804 video solution

video by MIP4U

Log in to rate this practice problem and to see it's current rating.

Calculate $$\displaystyle{4 \left[\begin{array}{r} 4 \\ 7 \end{array} \right] + 2 \left[\begin{array}{r} 0 \\ -3 \end{array} \right] }$$

Problem Statement

Calculate $$\displaystyle{4 \left[\begin{array}{r} 4 \\ 7 \end{array} \right] + 2 \left[\begin{array}{r} 0 \\ -3 \end{array} \right] }$$

Solution

### MIP4U - 1805 video solution

video by MIP4U

Log in to rate this practice problem and to see it's current rating.

Calculate $$S+T$$, where

$$\displaystyle{S = \left[\begin{array}{rr} 4 & 7 \\ 2 & -1 \end{array} \right] }$$

$$\displaystyle{T = \left[\begin{array}{rr} -3 & -7 \\ 5 & 6 \end{array} \right] }$$

Problem Statement

Calculate $$S+T$$, where

$$\displaystyle{S = \left[\begin{array}{rr} 4 & 7 \\ 2 & -1 \end{array} \right] }$$

$$\displaystyle{T = \left[\begin{array}{rr} -3 & -7 \\ 5 & 6 \end{array} \right] }$$

Solution

### MIP4U - 1802 video solution

video by MIP4U

Log in to rate this practice problem and to see it's current rating.

Calculate $$T-S$$, where

$$\displaystyle{S = \left[\begin{array}{rr} 4 & 7 \\ 2 & -1 \end{array} \right] }$$

$$\displaystyle{T = \left[\begin{array}{rr} -3 & -7 \\ 5 & 6 \end{array} \right] }$$

Problem Statement

Calculate $$T-S$$, where

$$\displaystyle{S = \left[\begin{array}{rr} 4 & 7 \\ 2 & -1 \end{array} \right] }$$

$$\displaystyle{T = \left[\begin{array}{rr} -3 & -7 \\ 5 & 6 \end{array} \right] }$$

Solution

### MIP4U - 1803 video solution

video by MIP4U

Log in to rate this practice problem and to see it's current rating.

Calculate $$T-3S$$, where

$$\displaystyle{S = \left[\begin{array}{rr} 4 & 7 \\ 2 & -1 \end{array} \right] }$$

$$\displaystyle{T = \left[\begin{array}{rr} -3 & -7 \\ 5 & 6 \end{array} \right] }$$

Problem Statement

Calculate $$T-3S$$, where

$$\displaystyle{S = \left[\begin{array}{rr} 4 & 7 \\ 2 & -1 \end{array} \right] }$$

$$\displaystyle{T = \left[\begin{array}{rr} -3 & -7 \\ 5 & 6 \end{array} \right] }$$

Solution

### MIP4U - 1806 video solution

video by MIP4U

Log in to rate this practice problem and to see it's current rating.

When using the material on this site, check with your instructor to see what they require. Their requirements come first, so make sure your notation and work follow their specifications.

DISCLAIMER - 17Calculus owners and contributors are not responsible for how the material, videos, practice problems, exams, links or anything on this site are used or how they affect the grades or projects of any individual or organization. We have worked, to the best of our ability, to ensure accurate and correct information on each page and solutions to practice problems and exams. However, we do not guarantee 100% accuracy. It is each individual's responsibility to verify correctness and to determine what different instructors and organizations expect. How each person chooses to use the material on this site is up to that person as well as the responsibility for how it impacts grades, projects and understanding of calculus, math or any other subject. In short, use this site wisely by questioning and verifying everything. If you see something that is incorrect, contact us right away so that we can correct it.