In this section we need to take a look at the equation of a line in R 3 R 3 . As we saw in the previous section the equation y = m x + b y = m x + b does not describe a line in R 3 R 3 , instead it describes a plane. This doesn’t mean however that we can’t write down an equation for a line in 3-D space. We’re just going to need a new way of writing down the equation of a curve. So, before we get into the equations of lines we first need to briefly look at vector functions. We’re going to take a more in depth look at vector functions later. At this point all that we need to worry about is notational issues and how they can be used to give the equation of a curve. The best way to get an idea of what a vector function is and what its graph looks like is to look at an example. So, consider the following vector function. → r ( t ) = ⟨ t , 1 ⟩ r → ( t ) = ⟨ t , 1 ⟩ A vector function is a function that takes one or more variables, one in this case, and returns a...
This section is intended to be a catch all for many of the basic concepts that are used occasionally in working with systems of differential equations. There will not be a lot of details in this section, nor will we be working large numbers of examples. Also, in many cases we will not be looking at the general case since we won’t need the general cases in our differential equations work.
The final matrix operation that we’ll take a look at is matrix multiplication. Here we will start with two matrices, and . Note that must have the same number of columns as has rows. If this isn’t true, then we can’t perform the multiplication. If it is true, then we can perform the following multiplication.
In this last example notice that we could not have done the product BA since the number of columns of does not match the number of row of . It is important to note that just because we can compute doesn’t mean that we can compute . Likewise, even if we can compute both and they may or may not be the same matrix.
Example 3 Find the determinant of each of the following matrices.
You can either use the formula or the short cut to get the determinant of a .
Let’s start with some of the basic notation for matrices. An (this is often called the size or dimension of the matrix) matrix is a matrix with rows and columns and the entry in the row and column is denoted by . A short hand method of writing a general matrix is the following.
The size or dimension of a matrix is subscripted as shown if required. If it’s not required or clear from the problem the subscripted size is often dropped from the matrix.
Special Matrices
There are a few “special” matrices out there that we may use on occasion. The first special matrix is the square matrix. A square matrix is any matrix whose size (or dimension) is . In other words, it has the same number of rows as columns. In a square matrix the diagonal that starts in the upper left and ends in the lower right is often called the main diagonal.
The next two special matrices that we want to look at are the zero matrix and the identity matrix. The zero matrix, denoted , is a matrix all of whose entries are zeroes. The identity matrix is a square matrix, denoted , whose main diagonals are all 1’s and all the other elements are zero. Here are the general zero and identity matrices.
In matrix arithmetic these two matrices will act in matrix work like zero and one act in the real number system.
The last two special matrices that we’ll look at here are the column matrix and the row matrix. These are matrices that consist of a single column or a single row. In general, they are,
We will often refer to these as vectors.
Arithmetic
We next need to take a look at arithmetic involving matrices. We’ll start with addition and subtraction of two matrices. So, suppose that we have two matrices, and . The sum (or difference) of these two matrices is then,
The sum or difference of two matrices of the same size is a new matrix of identical size whose entries are the sum or difference of the corresponding entries from the original two matrices. Note that we can’t add or subtract entries with different sizes.
Next, let’s look at scalar multiplication. In scalar multiplication we are going to multiply a matrix by a constant (sometimes called a scalar) . In this case we get a new matrix whose entries have all been multiplied by the constant, .
Example 1 Given the following two matrices,compute .
There isn’t much to do here other than the work.
We first multiplied all the entries of by 5 then subtracted corresponding entries to get the entries in the new matrix.
We first multiplied all the entries of by 5 then subtracted corresponding entries to get the entries in the new matrix.
The final matrix operation that we’ll take a look at is matrix multiplication. Here we will start with two matrices, and . Note that must have the same number of columns as has rows. If this isn’t true, then we can’t perform the multiplication. If it is true, then we can perform the following multiplication.
The new matrix will have size and the entry in the row and column, , is found by multiplying row of matrix by column of matrix . This doesn’t always make sense in words so let’s look at an example.
Example 2 Givencompute .
The new matrix will have size . The entry in row 1 and column 1 of the new matrix will be found by multiplying row 1 of by column 1 of . This means that we multiply corresponding entries from the row of and the column of and then add the results up. Here are a couple of the entries computed all the way out.
Here’s the complete solution.
Here’s the complete solution.
In this last example notice that we could not have done the product BA since the number of columns of does not match the number of row of . It is important to note that just because we can compute doesn’t mean that we can compute . Likewise, even if we can compute both and they may or may not be the same matrix.
Determinant
The next topic that we need to take a look at is the determinant of a matrix. The determinant is actually a function that takes a square matrix and converts it into a number. The actual formula for the function is somewhat complex and definitely beyond the scope of this review.
The main method for computing determinants of any square matrix is called the method of cofactors. Since we are going to be dealing almost exclusively with matrices and the occasional matrix we won’t go into the method here. We can give simple formulas for each of these cases. The standard notation for the determinant of the matrix is.
Here are the formulas for the determinant of and matrices.
Example 3 Find the determinant of each of the following matrices.
For the there isn’t much to do other than to plug it into the formula.
For the we could plug it into the formula, however unlike the case this is not an easy formula to remember. There is an easier way to get the same result. A quicker way of getting the same result is to do the following. First write down the matrix and tack a copy of the first two columns onto the end as follows.
Now, notice that there are three diagonals that run from left to right and three diagonals that run from right to left. What we do is multiply the entries on each diagonal up and the if the diagonal runs from left to right we add them up and if the diagonal runs from right to left we subtract them.
Here is the work for this matrix.
For the we could plug it into the formula, however unlike the case this is not an easy formula to remember. There is an easier way to get the same result. A quicker way of getting the same result is to do the following. First write down the matrix and tack a copy of the first two columns onto the end as follows.
Now, notice that there are three diagonals that run from left to right and three diagonals that run from right to left. What we do is multiply the entries on each diagonal up and the if the diagonal runs from left to right we add them up and if the diagonal runs from right to left we subtract them.
Here is the work for this matrix.
You can either use the formula or the short cut to get the determinant of a .
If the determinant of a matrix is zero we call that matrix singular and if the determinant of a matrix isn’t zero we call the matrix nonsingular. The matrix in the above example was singular while the matrix is nonsingular.
Matrix Inverse
Next, we need to take a look at the inverse of a matrix. Given a square matrix, , of size n x if we can find another matrix of the same size, such that,
then we call the inverse of and denote it by .
Computing the inverse of a matrix, , is fairly simple. First, we form a new matrix,
and then use the row operations from the previous section and try to convert this matrix into the form,
If we can then is the inverse of . If we can’t then there is no inverse of the matrix .in which the inverse doesn’t exist.
Comments
Post a Comment