Systems of Linear Equations and Matrices

Size: px
Start display at page:

Download "Systems of Linear Equations and Matrices"

Transcription

1 Chapter 2 Systems of Linear Equations and Matrices 2.1 Systems of Linear Equations - Introduction We have already solved a small system of linear equations when we found the intersection point of two lines. This is a linear system with two equations and two unknowns. Let s go over all the possibilities of a system of two equations and two unknowns: y 1. The two lines intersect. The solution of the system is the single point of intersection. x y 2. The two lines are the same. There are an infinite number of solutions for the system. x y 3. The two lines are parallel. There is no solution to the system. x We have already solved systems like the first one in section 1.4. How about one like the second kind? example - find the solution to the system of equations: x +2y = 1 2x+4y = 2 0 c Janice Epstein 1998, 1999, These notes may not be distributed for profit

2 2.1 Systems of Linear Equations - Introduction 2 we can start by solving the first equation for x and find x = 1 2y. Put this into the second equation and find: 2( 1 2y)+4y= 2 4y+4y= 2+2 0=0 This is TRUE, not very helpful, but it is true. When that happens it means that there was really only one equation so we have only one piece of information. The solution to the system is every point on the line. We can also rewrite the equations in slope-intercept form and see they are both y = 1/2 x/2. This system is called dependent. While you can t find a point, you can find the value of one variable in terms of another. This is called a parametric solution. We can consider x as a parameter, and when we are given the value for x we can find the y value that goes with it. We can write the solution as a pair of points, (x, 1/2 x/2). Sometimes the book likes to give the parameter the name t, in which case our solution would look like (t, 1/2 t/2). There is not a unique way of writing the solution. If I had written the equation in the form x = 1 2y (say because I hate fractions I thought this looked prettier), then the solution would look like ( 1 2y,y) or ( 1 2t, t). Here y (or t) is the parameter. BOTH SOLUTIONS ARE CORRECT. Each way gives points along the single line that is the solution. Notice each way of writing has only one parameter as there is only one piece of information needed to determine a point. You may find in larger systems that there are two or more parameters. If x and y are the only variables, please use y as the parameter. If we have x, y and z, please use z as the parameter. An example of the third kind of system is x 2y = 1 x+2y = 4 Take the first equation and solve it for x, x =1+2y, and then put this back into the second equation, (1 + 2y)+2y=4 2y+2y=4+1 0=5 This is a FALSE statement. When you get a false statement, that means that both of the equations can t be true at the same time and so there is NO SOLUTION. A way to check these equations is to write them both in slopeintercept form. The first equation is y =.5x 1/2 and the second equation is y =.5x +2Youwillfindthat they have the same slope (here.5) and different intercepts (here -1/2 and 2) therefore they are parallel and never intersect. When we have 3 linear equations with 3 unknowns the graphs are planes. Again we can have three different cases: 1. The three planes intersect at a point. The solution of the system is the single point of intersection.

3 2.1 Systems of Linear Equations - Introduction 3 2. The three planes intersect along a line. There are an infinite number of solutions for the system corresponding to the line where they intersect. We could also have all three planes the same and then all the points on the plane would be the solution. 3. The three planes are parallel. There is no solution to the system. An important aspect of this chapter is WORD PROBLEMS. In this section we will be setting up the equations for problems that we will solve later. Example - An apartment complex is being developed that has one-, two- and three-bedroom units. The developer has decided that there will be a total of 192 units. The number of family units (two and three bedrooms) will equal the number of one-bedroom units. Finally, the number of one-bedroom units will be three times the number of three-bedroom units. How many units of each type will there be? Answer - The first step in any word problem is to decide what it is you are trying to find. Here we want to find how many units of each type. Next you want to define a set of variables that will answer the question. Here we will choose x = number of one-bedroom units y = number of two-bedroom units z = number of three-bedroom units This is the MOST IMPORTANT step - DEFINE YOUR VARIABLES!!!!!!!!! Next we will change the sentences into equations: x + y + z = 192 This is the total number of units. y + z = x The number of family units equals the number of one-bedroom units. x =3z Ratio equation.

4 2.2 Solving Systems of Linear Equations I 4 The number of one-bedroom units is three times as many as the number of three-bedroom units. This kind of equation is called a RATIO equation and they can be tricky to figure out. You know that the 3 goes on one side or the other - but which side?? The best thing to do is look at the English and decide which quantity is larger by the way it reads. From the question I read that there are more one-bedroom units than three bedroom units. Next I will try a sample case to see if that is what my equation is saying. I would expect that if the complex had 1 three-bedroom unit, it would have 3 one-bedroom units. Let s check if I use z =1(1 three-bedroom unit) what comes out for x: x =3z=3 1=3. So it works. 2.2 Solving Systems of Linear Equations I When you want to solve a system of linear equations there are three operations you can perform on the system of equations that does not change the answer to the system (it is an equivalent system). You may: 1. Interchange any of the two equations. 2. Multiply an equation by a non-zero constant. 3. Add a multiple of one equation to another. As long as we follow these three rules we can try to change the system from one which has lots variables in all the equations to a system that looks like x = a, y = b, etc. It can get quite tedious to write x, y, +,, =, etc. each time you rewrite the equations. So we will agree to always have x in the first position and y in the second position and the constants in the last position and then we can write the system of equations in an augmented matrix: 2x y =6 x+2y = 2 [ 2 1 ] Each line of the matrix represents and equation and the vertical line is the equals sign. The first column has the x coefficients, the y is in the second column and the last column is the constants. We can now take our three rules for finding an equivalent system and restate them in terms of rows of the augmented matrix. 1. Any two rows may be interchanged. 2. A row may be multiplied by a non-zero constant. 3. A multiple of one row may be added to another row. So what we want to use these rules for is to change a system from the way it looks initially (messy) to an equivalent system (i.e., same solution) that looks nice, like x = c 1 y = c 2 In matrix form this would be [ ] 1 0 c1 0 1 c 2

5 2.2 Solving Systems of Linear Equations I 5 This form of the augmented matrix is called row-reduced echelon form (RREF). The idea is we want to have a 1 in the upper left position (x has a coefficient of 1) and no other variables in the top row (equations). Then we will want a 1 in the second row, second column (y has a coefficient of 1) and zeros for the rest of the variables. The systematic reduction of the initial (messy) augmented matrix to the nice neat final matrix is called Gauss-Jordan (G-J). Example - find the solution to the system above using the Gauss-Jordan elimination method: 1. Start by making the upper left coefficient equal to 1 by multiplying the top row by the necessary factor (the reciprical of the upper left element - if the upper left element is a zero, you will have to swap it with another row to get started). Here we have a 2 in the upper left corner, so I will multiply the top row by (1/2). We can do these row operations in the calculator using the ROWOPS program. Start by putting the matrix in as matrix [A] in the calculator. Notice it is a 2 3 matrix because the constants make the final column. To put a matrix into the calculator you go to the MATRX button and over to the edit menu. Then select the name of the matrix you want. You will then be in the edit mode. You put in the size of the matrix (rows first). Here we have a 3 2. Do 3 enter then 2 enter and you find it makes you a matrix of zeros that we will over write. You then enter the data. If you hit enter, the cursor moves to the right and then at the end of the row it moves to the next row. However, you can use the arrow buttons to move wherever you wish in the matrix. Just in case I have an accident, I will save the matrix in matrix [B] before I get started changing matrix [A]. Now run ROWOPS by going to PRGM and hitting the number for program ROWOPS. This will put you back on the home screen and then hit ENTER to run the program. You are given a choice of which matrix to operate on. We have our matrix in [A], so I will hit enter. You can see then if that is the correct matrix and then choose your operation. Notice these are all allowed operation according to our list of rules. I will choose *row as I want to multiply row 1 by (1/2)

6 2.2 Solving Systems of Linear Equations I 6 Now we have a 1 in the upper left corner. 2. We now want to eliminate x from the other equation. That means we want a 0 s in the rest of the first column. To change that 1 in the lower left corner to a zero I must multiply row 1 by 1 and add it to row 2. So this time the operation I will do is *row+. This multiplies a row by a number and adds it to another row. The program prompts you for which row and what factor: We have now eliminated x from the second row (equation). 3. Now we want y to have a coefficient of 1 in the second equation. This means we want the number 1 in the second row, second column. It currently has a (5/2), so if we multiply row 2 by (2/5) we will have a 1 there. The calculator program takes care of all the row arithmetic - you just need to look at the one element you are trying to change. Choose the *row option: Wenowhaveacoefficientof1forthey(and in fact we now know that y = 2) 4. Finally we need to eliminate y from the top row (equation). To do this we need to multiply row 2 by (1/2) and add it to row 1. This will change the -1/2 to 0. Choose the *row+ option:

7 2.3 Solving Systems of Linear Equations II 7 The process we just went thru can also be called PIVOTING. When you PIVOT on an element in a matrix you make that element a 1 and the rest of the column that the element is in is changed to zeros using row operations. You can pivot on any element in a matrix. The Gauss-Jordan process requires you to pivot on elements to put the matrix in RREF. When a matrix is in RREF that is as far as Gauss-Jordan can take you and you must write out the equations and see what you have. [ 1 0 ] x+0y =2 0x+1y = 2 Or, the solution is x =2and y = 2. We can automate this somewhat with a button on the ti-83. Under the MATRX MATH menu, way way down there is a button called rref(: There are some restrictions to the rref( function on the ti-83. The number of rows must be smaller than the number of columns. That is, rref( worked on our 2 3 matrix, but it will not work on a 3 2 matrix. You should be sure you can recognize a matrix when it is in RREF form. In RREF form the matrix follows these rules: 1. Each row consisting entirely of zeros lies below any row with non-zero entries. 2. The first non-zero entry in any row is a 1 (called a leading 1). 3. In any two successive non-zero rows, the leading 1 in the lower row lies to the right of the leading 1 in the upper row. 4. If a column contains a leading 1 then the other entries in that column are zero. You need to recognize if a matrix is in RREF form (follows the listed rules). Also, you need to be able to do the gauss-jordan method on any calculator. The student calculator manual and pp in the book will give you some help if you don t have a ti Solving Systems of Linear Equations II Here we will continue to use the Gauss-Jordan method. Example:

8 2.3 Solving Systems of Linear Equations II 8 Enter the augmented matrix and put it in RREF: x +2y+z = x 3y z = x+4y+2z = Now check is this in RREF? (This is just for practice, I know the calculator did it right.). Go through our list of rules: 1. yes, the rows of all zeros is below the non-zero rows. 2. yes, the first non-zero entry in any row is a yes, the leading 1 s go down in a diagonal. 4. yes, if a column has a leading 1 then the rest of the column is zero. Next step is writing out the equations to see what we have. We are not going to have a numerical value for each of the variables like we did in the last section! x+0y z =4 0x+y+z = 3 0x+0y+0z =0 What does this mean?? The last statement is 0=0which is true, so we can ignore it. The other two equations say x z =4 y+z = 3 We had two equations and three variables - we didn t have enough data to get a single value for each variable. The solution is PARAMETRIC. We need to let one of the variables be our parameter and solve the system in terms of the parameter (like the case where we had a single line). The convention is that the variable in the last column (here that is z) will be our parameter. We solve for the other variables in terms of this last one: x y =4+z = 3 z Now for any value you pick for z we can find values for x and y. We always state our answer in the form (x, y, z), so in this case the answer looks like (4 + z, 3 z, z) or (4 + t, 3 t, t)

9 2.3 Solving Systems of Linear Equations II 9 Example: x + y 2z = x y +3z = x 2y+5z = Enter the augmented matrix and put it in RREF, Now check is this in RREF? (This is just for practice, I know the calculator did it right.). Go through our list of rule: 1. yes, the rows of all zeros is below the non-zero rows. 2. yes, the first non-zero entry in any row is a yes, the leading 1 s go down in a diagonal. 4. yes, if a column has a leading 1 then the rest of the column is zero. So we are left with writing out the equations to see what we have /3 0 x+0y+1/3z = /3 0 0x+y 7/3z = x+0y+0z =1 What does this mean?? The last statement is 0=1which is FALSE, so the answer is NO SOLUTION. So when your RREF matrix has 0 s on one side and a non-zero number on the other, you can straightaway say there is no solution. Now we can do some examples where the coefficient matrix is not square. When the matrix of coefficents is square we have the same number of variables as equations. When the number of variables is more or less than the number of equations we have a theorem to help us out: 1. If the number of equations is greater than or equal to the number of variables in a linear system then one of the following is true: The system has no solution The system has exactly one solution The system has infinitely many solutions 2. If there are fewer equations than variables then the system has no solution or infinitely many solutions.

10 2.3 Solving Systems of Linear Equations II 10 Example: Solve the following system (more variables than equations): x 1 +2x 2 +4x 3 =2 x 1 +x 2 +2x 3 =1 Answer: This is like case 2 - we can have no solution or a parametric solution, but there is not enough information to get a single numerical value for each variable. Put this matrix in as matrix [A] and use the RREF button to find: This is as far as RREF can take us. We write out the equations that we have: x 1 =0from the top row x 2 +2x 3 = 1 from the bottom row. We will let the last variable (here it is x 3 ) be the parameter, so solve x 2 =1 2x 3. Now express the answer as a triplet, (x 1,x 2,x 3 )=(0,1 2x 3,x 3 ) Example: Solve the following system (more equations than variables): Put into the calculator and do RREF: 4x +6y =8 3x 2y = 7 x+3y =5 2x+6y =10 It failed. When there are more rows than columns you cannot use the RREF button. It doesn t happen often, but it does happen. In that case, you must do the steps of G-J by hand (GJ program): 1. Make the top left element of the augmented matrix a 1. If there is a 0 in this spot, you must use rowswap to put a non-zero element in the upper left position. Here we have 4, so I need to multiply by 1/4 to change this into a 1. Remember, we are multiplying the whole row (equation) by 1/4 with the goal of having a coefficient of 1 in front of the x.

11 2.3 Solving Systems of Linear Equations II Now use that 1 to eliminate the other numbers in the first column. Remember, the first column is the x column and we want x to only be in the first equation. Looking at the second row it has a 3 in the first column. We can multiply row 1 by -3 and add it to row 2. This fixes the second row. The third row has a 1 in the first column. We can multiply row 1 by -1 and add it to row 3. Finally, the fourth row has a 2, so we multiply row 1 by 2 and add it to row 4: Now we have the first column just the way we want it. 3. We now want y to have a coefficient of 1 in the second row. You always work down and to the right and so we work on the second row, second column number. Multiply row 2 by -2/13: 4. Now use the 1 in row 2 column 2 to make the rest of the y column be zeros (so we have y only in the second equation). Do row 1 first - multiply row 2 by -3/2 and add it to row 1. Then multiply row 2 by -3/2 and add it to row 3. Finally multiply row 2 by -3 and add it to row 4: So now we have gone as far as possible and it is in RREF:

12 2.3 Solving Systems of Linear Equations II 12 Now we write out the equations: So this one had a solution!! x = 1 y =2 0 = 0 0 = 0 So when you have a system of equations to solve, look at the following list: 1. Set up the system with the x,y,z,... and constants all lined up in columns. 2. Put the augmented matrix in to the calculator as matrix [A] 3. Use RREF. If RREF works, write out the matrix as equations and see what you have (can have a single solution, parametric solution or no solution). 4. If RREF fails on the calculator, you must do Gauss-Jordan by using the GJ program to get the matrix into RREF form by hand. Then write out the equations as above.

13 2.4 Matrices Matrices A matrix is a compact way of organizing and displaying data. Matrices will also help us to solve linear equations (that why they are in the same chapter!). A matrix is often denoted by a capital letter such as M or A. A matrix has m rows and n columns and is called an m n matrix. Notice that the row dimension is first. Some sample matrices are 1 1 is a 3 1 matrix. A 1 3 matrix looks like [ ] These two matrices are NOT EQUAL. Even if two 2 matrices have the same numbers in them, they are not equal unless the arrangement of the numbers is identical. A[ matrix ] is called square if it has the same number of rows and columns. Here A is a 2 2 square matrix A 1 2 = 3 4 We can specify the location of a single element in the matrix by it s row and column number. Element a ij is the element in the ith row and jth column of matrix A. Notice again that the row number is first. So in our matrix A we have a 11 =1(this is NOT element eleven!!!), a 12 =2,a 21 =3and a 22 =4 When we use a matrix to hold real data, we want to be sure to LABEL the rows and columns so that we know what we are reading. Example - There are three stores. In the first week store I sold 88 loaves of bread, 48 quarts of milk, 16 jars of peanut butter and 112 pounds of cold cuts. At the same time, store II sold 105 loaves of bread, 72 quarts of milk, 21 jars of peanut butter and 147 pounds of cold cuts. Store III sold 60 loaves of bread, 40 quarts of milk, 0 jars of peanut butter and 50 pounds of cold cuts. Organize this data in a 3 4 matrix. answer - we are told to make the matrix 3 4. That means that each of the three rows will be a store and each of the four columns will be a food item. You are sometimes given the dimensions, in which case be sure to size it right (remember - rows first), or you have to determine the dimensions yourself. bread milk p.b. c.c. store I store II store III MATRIX ALGEBRA We will need to do some algebra with our matrices. Most of the rules here are very straightforward: Equality - two matrices are equal if and only if each pair of corresponding elements are equal. [ ] [ ] 1 b a 1 example - Find the values of a, b, c, d given = 3 0 c d answer - since we are told the matrices are equal, we can match the elements and find a =1, b = 1, c =3and d =0. Addition - two matrices are added by adding the pairs of elements in each location. We can do this on the calculator or by hand.

14 2.4 Matrices 14 example - find A + B where A = 0 5 B = To add matrices, them must be the same size! We can return to the home screen and look at matrix [A] + [B]. There is no key on the calculator for the matrix, we must go to MATRX then we choose the NAME of the matrix. If you want to save this matrix, you must do so now or it will get lost. (often you just need to write down the answer, not save it for later use). To save a matrix you go to STO and then you put in a matrix name by going to MATRX NAME. I picked [C]. Then hit enter and it will be stored into matrix [C]. Transpose - The transpose of a matrix is found by switching the rows and columns of the matrix. The calculator can do this under the matrix math menu. [ ] A T = Scalar multiplication - A scalar is a number (as opposed to a matrix). You can multiply a matrix by a scalar by multiplying every element in the matrix by the scalar. Example - find 2 A. Answer - we can simply multiply each element in matrix [A] by -2, or we can let the calculator do the multiplication:

15 2.5 Multiplication of Matrices Multiplication of Matrices To multiply two matrices is somewhat more difficult than multiplying a matrix by a constant. The calculator will do the bulk of the arithmetic; however, you MUST understand what and why it is doing what it does. Let us start with an example: Example - Say a flower shop sells 96 roses, 250 carnations and 130 daisies in a week. The roses sell for $2 each, the carnations for $1 each and the daisies for $.50 each. Find the revenue of the shop during the week using matrices. Answer - We will express the number of flowers in a 1 3 matrix: A = roses carnations daisies [ number ] We can think of this as a number type matrix. Next express the price as a 3 1 matrix: price roses 2 B = carnations 1 daisies.50 We can think of this as a type price matrix. To find the revenue we would multiply the number of a kind of flower by it s price each and then add up all the kinds of flowers: R = = a 11 b 11 + a 12 b 21 + a 13 b 31 = A B = = 507 In general, if A is 1 n (that is, has one row and n columns) and B is n 1 (one column and n rows) the product of these two matrices is b 11 b 21 AB = [ a 11 a a 1n ]. = a 11b 11 + a 12 b a 1n b n1 b n1 The answer is a 1 1 matrix (a single number). You can see that the number of columns in the left matrix has to be the same as the number of rows in the right side matrix or we would run out of numbers to multiply together before being added. This kind of rule holds for larger matrices too. If A is a m n matrix and B is a n p matrix, then the product matrix AB = C is m p. In general, your calculator will tell you DIM MISMATCH if you try to multiply incorrectly. You should still be aware that the number of columns in the left-side matrix has to be the same as the number of rows in the right-side matrix. Matrix multiplication is not commutative. That means, in general, that AB BA (there are some exceptions we will discuss). Let s take a look at how this will work.

16 2.5 Multiplication of Matrices 16 Example - Let A = [ ] [ ] and B =. Find the products AB and BA. Are they the same? Answer - Put these in as [A] and [B] in your calculator. In the home screen, do the products: If you look back at the flower problem, if we had multiplied in the other order, we would have a 3 3 matrix that was not relevent to finding the revenue. One special matrix is called the identity matrix, I. It is a square matrix with 1 s on the diagonal and zeros elsewhere, I = The notation I 2 is a 2 2 identity matrix and I n is an n n identity matrix. It has the property that if it can be multiplied by a matrix A (of course A has the correct dimensions for the multiplication), it returns the matrix A. In this way it is like multiplying a number by the number 1. Example - multiply our [A] from the last example by I. A I = A = I A Answer - [A] is 2 2 and so our identity matrix will be 2 2 and I will put it into [C], Sometimes in a matrix word problem there is more than one way to set it up or to multiply the matrices. In this case we will need to check if our multiplication is doing what we want. Remember the flower shop example? The matrix multiplication was doing exactly the multiplying and adding we wanted to do to get the total revenue. You will not have to multiply all of both matrices to see if what you are doing is right - you need only check the product that gives you the correct upper left element. To find this element, you multiply across the top row of the left matrix times the left column of the right matrix and add the products:

17 2.5 Multiplication of Matrices 17 b 11 b a 11 a 12...a 1n [ ] a 21 a b 21 b = a11 b 11 + a 12 b a 1n b n b n So (ab) 11 = a 11 b 11 + a 12 b a 1n b n1 and that is the element that you need to write out to see if it is correct. Let s do an example. It is really easier to use than it looks. You go across the top row of A and down the left side of B to find the upper left element of the product AB. Example - Cost Analysis - The Mundo Candy Company makes three types of chocolate candy: cheery cherry (cc), mucho mocha (mm) and almond delight (ad). The company produces its candy in San Diego (SD), Mexico City (MC) and Managua (Ma) using two main ingredients, sugar (su) and chocolate (choc). (a) Each kilogram (kg) of cheery cherry requires.5 kg of sugar and.2 kg of chocolate. Each kilogram of mucho mocha requires.4 kg of sugar and.3 kg of chocolate. Each kilogram of almond delight requires.3 kg of sugar and.3 kg of chocolate. Put this in a 2 3 matrix with labels. cc mm ad [ ] sugar A = choc This matrix has the rows for how much of the ingredients and the columns for the type of candy, so I could call it an ingredient type matrix. (b) The cost of 1 kg of sugar is $3 in San Diego, $2 in Mexico City and $1 in Managua. The cost of 1 kg of chocolate is $3 in San Diego, $3 in Mexico City and $4 in Managua. Put this information into a matrix in such a way that when it is multiplied by the matrix in part (a) it will tell us the cost of producing each kind of candy in each city. We have a 2 3 matrix with the ingredients type and we want to end up with a cost type which will be 3 3. So we need to write a 3 2 matrix with cost ingredient information. Let s try it and see if it works. Sometimes it takes a try or two to get the matrix that will give us the information that we want - that is why you have to know how to check it! su ch cost in SD 3 3 cost in MC 2 3 cost in Ma 1 4 cc mm ad [ ] = sugar choc cc mm ad SD MC Ma I multiplied these in the calculator, so I know the values are right, but is it really telling me the cost to make cheery cherry in San Diego?? I could have multiplied the matrices in the other order and then the calculator would have done it and given me some sort of 2 2 matrix. So let us check that top left matrix element in the product matrix and see what it is. I will multiply across the top row of left matrix and down the left column of the right matrix:

18 2.5 Multiplication of Matrices 18 (ab) 11 = =the cost of sugar per kg in san diego the kg of sugar in cc + the cost of chocolate per kg in san diego the kg of chocolate in cc = total cost to make cc in San Diego. So it is right!! Matrix multiplication and linear equations: We can express a system of linear equations as a matrix product, AX = B. Consider the system In matrix form this looks like 2x 3y = 6 x+2y = 4 [ ] [ ] x = y [ ] 6 4 You can check the top element and see that it works.

19 2.6 The Inverse of a Square Matrix The Inverse of a Square Matrix The inverse of a square matrix is similar to the reciprocal of a real number. For a real number r the reciprocal is 1/r or r 1 and it has the property that r 1/r = r r 1 1 = the multiplicative identity. So for a matrix A we are looking for another matrix called A 1 that when we multiply it by A we get the multiplicative identity, I. Thatis we want to finda 1 where A A 1 = I = A 1 A Any matrix A 1 which has this property is the inverse of A. Not all matrices have inverses (just like the real number 0 does not have an inverse). A matrix with no inverse is called singular. However, if a matrix has an inverse, the inverse is unique. We will find matrix inverses on the calculator. You can read how to do it by hand if you wish, but we will always find the inverse on the calculator in this class. Example - find the inverse of A = Answer: put the matrix in the calculator, say as matrix [A]. Then go to the home screen and put up matrix name [A] and then use the x 1 and hit enter: Matrix inverses can be used to solve matrix equations. One example of a matrix equation we have seen is the equation for a linear system: AX = B. Left multiply both sides by A 1, A 1 AX = A 1 B. Use the properties of inverses, IX = A 1 B. Use the properties of the identity matrix, X = A 1 B. This is the solution to the system. see an example Find the solution of the system: 2x + 4z = 8 3x + y + 5z = 2 x + y 2z = 4 We cam write the system as a matrix equation AX = B:

20 2.6 The Inverse of a Square Matrix x y = z 4 solve this using matrix inverses, X = A 1 B. that is left multiply by the inverse so that x y = z = which says that x =24and y =0and z = 14. What if we try this method and matrix A doesn t have an inverse? It could mean that the system is parametric or has no solution. We must use the Gauss-Jordan method (RREF) to be sure. Example - building apartments. We had found a system of equations. Before we can write them in matrix form we need to have all the variables on the left side of the = s and all the numbers on the right side. Doing so we find x + y + z = 192 x + y + z = 0 x 3z = 0 Now write as a matrix equation, AX = B: x y = z 0 Now solve with the inverse matrix, x y = z 1 3 This means that x =96= number of one-bedroom units y =64= number of two-bedroom units z =32= number of three-bedroom units = Does this answer fit our initial problems? yes, here are 192 units in all. Yes, the number of family units is equal to the number of one-bedroom units. yes, there are three times as many one-bedroom units as three-bedroom units. Our answer is right and we write the solution, Make 96 one-bedroom units, 64 two-bedroom units and 32 three-bedroom units. We can solve other matrix equations using the inverse. For example, solve the equation below for X:

21 2.6 The Inverse of a Square Matrix 21 D = X AX D = IX AX =(I A)X (I A) 1 D=(I A) 1 (I A)X (I A) 1 D=IX = X X =(I A) 1 D Be careful with left/right multiplication and factoring!

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89 by Joseph Collison Copyright 2000 by Joseph Collison All rights reserved Reproduction or translation of any part of this work beyond that permitted by Sections

More information

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B KITCHENS The equation 1 Lines in two-dimensional space (1) 2x y = 3 describes a line in two-dimensional space The coefficients of x and y in the equation

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a

More information

Solutions to Math 51 First Exam January 29, 2015

Solutions to Math 51 First Exam January 29, 2015 Solutions to Math 5 First Exam January 29, 25. ( points) (a) Complete the following sentence: A set of vectors {v,..., v k } is defined to be linearly dependent if (2 points) there exist c,... c k R, not

More information

Lecture Notes 2: Matrices as Systems of Linear Equations

Lecture Notes 2: Matrices as Systems of Linear Equations 2: Matrices as Systems of Linear Equations 33A Linear Algebra, Puck Rombach Last updated: April 13, 2016 Systems of Linear Equations Systems of linear equations can represent many things You have probably

More information

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A = MAT 200, Midterm Exam Solution. (0 points total) a. (5 points) Compute the determinant of the matrix 2 2 0 A = 0 3 0 3 0 Answer: det A = 3. The most efficient way is to develop the determinant along the

More information

4.3-4.4 Systems of Equations

4.3-4.4 Systems of Equations 4.3-4.4 Systems of Equations A linear equation in 2 variables is an equation of the form ax + by = c. A linear equation in 3 variables is an equation of the form ax + by + cz = d. To solve a system of

More information

Row Echelon Form and Reduced Row Echelon Form

Row Echelon Form and Reduced Row Echelon Form These notes closely follow the presentation of the material given in David C Lay s textbook Linear Algebra and its Applications (3rd edition) These notes are intended primarily for in-class presentation

More information

Section 8.2 Solving a System of Equations Using Matrices (Guassian Elimination)

Section 8.2 Solving a System of Equations Using Matrices (Guassian Elimination) Section 8. Solving a System of Equations Using Matrices (Guassian Elimination) x + y + z = x y + 4z = x 4y + z = System of Equations x 4 y = 4 z A System in matrix form x A x = b b 4 4 Augmented Matrix

More information

2.2/2.3 - Solving Systems of Linear Equations

2.2/2.3 - Solving Systems of Linear Equations c Kathryn Bollinger, August 28, 2011 1 2.2/2.3 - Solving Systems of Linear Equations A Brief Introduction to Matrices Matrices are used to organize data efficiently and will help us to solve systems of

More information

Solving Linear Systems, Continued and The Inverse of a Matrix

Solving Linear Systems, Continued and The Inverse of a Matrix , Continued and The of a Matrix Calculus III Summer 2013, Session II Monday, July 15, 2013 Agenda 1. The rank of a matrix 2. The inverse of a square matrix Gaussian Gaussian solves a linear system by reducing

More information

Solving Systems of Linear Equations

Solving Systems of Linear Equations LECTURE 5 Solving Systems of Linear Equations Recall that we introduced the notion of matrices as a way of standardizing the expression of systems of linear equations In today s lecture I shall show how

More information

Linear Equations ! 25 30 35$ & " 350 150% & " 11,750 12,750 13,750% MATHEMATICS LEARNING SERVICE Centre for Learning and Professional Development

Linear Equations ! 25 30 35$ &  350 150% &  11,750 12,750 13,750% MATHEMATICS LEARNING SERVICE Centre for Learning and Professional Development MathsTrack (NOTE Feb 2013: This is the old version of MathsTrack. New books will be created during 2013 and 2014) Topic 4 Module 9 Introduction Systems of to Matrices Linear Equations Income = Tickets!

More information

Arithmetic and Algebra of Matrices

Arithmetic and Algebra of Matrices Arithmetic and Algebra of Matrices Math 572: Algebra for Middle School Teachers The University of Montana 1 The Real Numbers 2 Classroom Connection: Systems of Linear Equations 3 Rational Numbers 4 Irrational

More information

4-5 Matrix Inverses and Solving Systems. Warm Up Lesson Presentation Lesson Quiz

4-5 Matrix Inverses and Solving Systems. Warm Up Lesson Presentation Lesson Quiz Warm Up Lesson Presentation Lesson Quiz Holt Holt Algebra 2 2 Warm Up Find the determinant and the inverse. Warm Up Find the determinant. How To Find the Inverse Matrix Warm Up Find the inverse. 1. Find

More information

EQUATIONS and INEQUALITIES

EQUATIONS and INEQUALITIES EQUATIONS and INEQUALITIES Linear Equations and Slope 1. Slope a. Calculate the slope of a line given two points b. Calculate the slope of a line parallel to a given line. c. Calculate the slope of a line

More information

Lecture 1: Systems of Linear Equations

Lecture 1: Systems of Linear Equations MTH Elementary Matrix Algebra Professor Chao Huang Department of Mathematics and Statistics Wright State University Lecture 1 Systems of Linear Equations ² Systems of two linear equations with two variables

More information

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2. Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given

More information

3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max

3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max SOLUTION OF LINEAR PROGRAMMING PROBLEMS THEOREM 1 If a linear programming problem has a solution, then it must occur at a vertex, or corner point, of the feasible set, S, associated with the problem. Furthermore,

More information

Algebraic expressions are a combination of numbers and variables. Here are examples of some basic algebraic expressions.

Algebraic expressions are a combination of numbers and variables. Here are examples of some basic algebraic expressions. Page 1 of 13 Review of Linear Expressions and Equations Skills involving linear equations can be divided into the following groups: Simplifying algebraic expressions. Linear expressions. Solving linear

More information

Lecture 2 Matrix Operations

Lecture 2 Matrix Operations Lecture 2 Matrix Operations transpose, sum & difference, scalar multiplication matrix multiplication, matrix-vector product matrix inverse 2 1 Matrix transpose transpose of m n matrix A, denoted A T or

More information

Solving Systems of Linear Equations Using Matrices

Solving Systems of Linear Equations Using Matrices Solving Systems of Linear Equations Using Matrices What is a Matrix? A matrix is a compact grid or array of numbers. It can be created from a system of equations and used to solve the system of equations.

More information

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system 1. Systems of linear equations We are interested in the solutions to systems of linear equations. A linear equation is of the form 3x 5y + 2z + w = 3. The key thing is that we don t multiply the variables

More information

1.2 Solving a System of Linear Equations

1.2 Solving a System of Linear Equations 1.. SOLVING A SYSTEM OF LINEAR EQUATIONS 1. Solving a System of Linear Equations 1..1 Simple Systems - Basic De nitions As noticed above, the general form of a linear system of m equations in n variables

More information

Using row reduction to calculate the inverse and the determinant of a square matrix

Using row reduction to calculate the inverse and the determinant of a square matrix Using row reduction to calculate the inverse and the determinant of a square matrix Notes for MATH 0290 Honors by Prof. Anna Vainchtein 1 Inverse of a square matrix An n n square matrix A is called invertible

More information

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1. MATH10212 Linear Algebra Textbook: D. Poole, Linear Algebra: A Modern Introduction. Thompson, 2006. ISBN 0-534-40596-7. Systems of Linear Equations Definition. An n-dimensional vector is a row or a column

More information

Unit 1 Equations, Inequalities, Functions

Unit 1 Equations, Inequalities, Functions Unit 1 Equations, Inequalities, Functions Algebra 2, Pages 1-100 Overview: This unit models real-world situations by using one- and two-variable linear equations. This unit will further expand upon pervious

More information

x y The matrix form, the vector form, and the augmented matrix form, respectively, for the system of equations are

x y The matrix form, the vector form, and the augmented matrix form, respectively, for the system of equations are Solving Sstems of Linear Equations in Matri Form with rref Learning Goals Determine the solution of a sstem of equations from the augmented matri Determine the reduced row echelon form of the augmented

More information

Notes on Determinant

Notes on Determinant ENGG2012B Advanced Engineering Mathematics Notes on Determinant Lecturer: Kenneth Shum Lecture 9-18/02/2013 The determinant of a system of linear equations determines whether the solution is unique, without

More information

Reduced echelon form: Add the following conditions to conditions 1, 2, and 3 above:

Reduced echelon form: Add the following conditions to conditions 1, 2, and 3 above: Section 1.2: Row Reduction and Echelon Forms Echelon form (or row echelon form): 1. All nonzero rows are above any rows of all zeros. 2. Each leading entry (i.e. left most nonzero entry) of a row is in

More information

Solving Equations Involving Parallel and Perpendicular Lines Examples

Solving Equations Involving Parallel and Perpendicular Lines Examples Solving Equations Involving Parallel and Perpendicular Lines Examples. The graphs of y = x, y = x, and y = x + are lines that have the same slope. They are parallel lines. Definition of Parallel Lines

More information

Name: Section Registered In:

Name: Section Registered In: Name: Section Registered In: Math 125 Exam 3 Version 1 April 24, 2006 60 total points possible 1. (5pts) Use Cramer s Rule to solve 3x + 4y = 30 x 2y = 8. Be sure to show enough detail that shows you are

More information

MATH 60 NOTEBOOK CERTIFICATIONS

MATH 60 NOTEBOOK CERTIFICATIONS MATH 60 NOTEBOOK CERTIFICATIONS Chapter #1: Integers and Real Numbers 1.1a 1.1b 1.2 1.3 1.4 1.8 Chapter #2: Algebraic Expressions, Linear Equations, and Applications 2.1a 2.1b 2.1c 2.2 2.3a 2.3b 2.4 2.5

More information

1 0 5 3 3 A = 0 0 0 1 3 0 0 0 0 0 0 0 0 0 0

1 0 5 3 3 A = 0 0 0 1 3 0 0 0 0 0 0 0 0 0 0 Solutions: Assignment 4.. Find the redundant column vectors of the given matrix A by inspection. Then find a basis of the image of A and a basis of the kernel of A. 5 A The second and third columns are

More information

Introduction to Matrix Algebra

Introduction to Matrix Algebra Psychology 7291: Multivariate Statistics (Carey) 8/27/98 Matrix Algebra - 1 Introduction to Matrix Algebra Definitions: A matrix is a collection of numbers ordered by rows and columns. It is customary

More information

Solution to Homework 2

Solution to Homework 2 Solution to Homework 2 Olena Bormashenko September 23, 2011 Section 1.4: 1(a)(b)(i)(k), 4, 5, 14; Section 1.5: 1(a)(b)(c)(d)(e)(n), 2(a)(c), 13, 16, 17, 18, 27 Section 1.4 1. Compute the following, if

More information

LAB 11: MATRICES, SYSTEMS OF EQUATIONS and POLYNOMIAL MODELING

LAB 11: MATRICES, SYSTEMS OF EQUATIONS and POLYNOMIAL MODELING LAB 11: MATRICS, SYSTMS OF QUATIONS and POLYNOMIAL MODLING Objectives: 1. Solve systems of linear equations using augmented matrices. 2. Solve systems of linear equations using matrix equations and inverse

More information

Linearly Independent Sets and Linearly Dependent Sets

Linearly Independent Sets and Linearly Dependent Sets These notes closely follow the presentation of the material given in David C. Lay s textbook Linear Algebra and its Applications (3rd edition). These notes are intended primarily for in-class presentation

More information

x x y y Then, my slope is =. Notice, if we use the slope formula, we ll get the same thing: m =

x x y y Then, my slope is =. Notice, if we use the slope formula, we ll get the same thing: m = Slope and Lines The slope of a line is a ratio that measures the incline of the line. As a result, the smaller the incline, the closer the slope is to zero and the steeper the incline, the farther the

More information

Slope & y-intercept Discovery Activity

Slope & y-intercept Discovery Activity TI-83 Graphing Calculator Activity Slope & y-intercept Discovery Activity Justin Vallone 11/2/05 In this activity, you will use your TI-83 graphing calculator to graph equations of lines. Follow the steps

More information

Section 1.1 Linear Equations: Slope and Equations of Lines

Section 1.1 Linear Equations: Slope and Equations of Lines Section. Linear Equations: Slope and Equations of Lines Slope The measure of the steepness of a line is called the slope of the line. It is the amount of change in y, the rise, divided by the amount of

More information

8 Square matrices continued: Determinants

8 Square matrices continued: Determinants 8 Square matrices continued: Determinants 8. Introduction Determinants give us important information about square matrices, and, as we ll soon see, are essential for the computation of eigenvalues. You

More information

1 Solving LPs: The Simplex Algorithm of George Dantzig

1 Solving LPs: The Simplex Algorithm of George Dantzig Solving LPs: The Simplex Algorithm of George Dantzig. Simplex Pivoting: Dictionary Format We illustrate a general solution procedure, called the simplex algorithm, by implementing it on a very simple example.

More information

5.5. Solving linear systems by the elimination method

5.5. Solving linear systems by the elimination method 55 Solving linear systems by the elimination method Equivalent systems The major technique of solving systems of equations is changing the original problem into another one which is of an easier to solve

More information

Vector Spaces 4.4 Spanning and Independence

Vector Spaces 4.4 Spanning and Independence Vector Spaces 4.4 and Independence October 18 Goals Discuss two important basic concepts: Define linear combination of vectors. Define Span(S) of a set S of vectors. Define linear Independence of a set

More information

Linear Algebra and TI 89

Linear Algebra and TI 89 Linear Algebra and TI 89 Abdul Hassen and Jay Schiffman This short manual is a quick guide to the use of TI89 for Linear Algebra. We do this in two sections. In the first section, we will go over the editing

More information

15.062 Data Mining: Algorithms and Applications Matrix Math Review

15.062 Data Mining: Algorithms and Applications Matrix Math Review .6 Data Mining: Algorithms and Applications Matrix Math Review The purpose of this document is to give a brief review of selected linear algebra concepts that will be useful for the course and to develop

More information

Click on the links below to jump directly to the relevant section

Click on the links below to jump directly to the relevant section Click on the links below to jump directly to the relevant section What is algebra? Operations with algebraic terms Mathematical properties of real numbers Order of operations What is Algebra? Algebra is

More information

MATH2210 Notebook 1 Fall Semester 2016/2017. 1 MATH2210 Notebook 1 3. 1.1 Solving Systems of Linear Equations... 3

MATH2210 Notebook 1 Fall Semester 2016/2017. 1 MATH2210 Notebook 1 3. 1.1 Solving Systems of Linear Equations... 3 MATH0 Notebook Fall Semester 06/07 prepared by Professor Jenny Baglivo c Copyright 009 07 by Jenny A. Baglivo. All Rights Reserved. Contents MATH0 Notebook 3. Solving Systems of Linear Equations........................

More information

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication).

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication). MAT 2 (Badger, Spring 202) LU Factorization Selected Notes September 2, 202 Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix

More information

Chapter 19. General Matrices. An n m matrix is an array. a 11 a 12 a 1m a 21 a 22 a 2m A = a n1 a n2 a nm. The matrix A has n row vectors

Chapter 19. General Matrices. An n m matrix is an array. a 11 a 12 a 1m a 21 a 22 a 2m A = a n1 a n2 a nm. The matrix A has n row vectors Chapter 9. General Matrices An n m matrix is an array a a a m a a a m... = [a ij]. a n a n a nm The matrix A has n row vectors and m column vectors row i (A) = [a i, a i,..., a im ] R m a j a j a nj col

More information

Linear Algebra Notes

Linear Algebra Notes Linear Algebra Notes Chapter 19 KERNEL AND IMAGE OF A MATRIX Take an n m matrix a 11 a 12 a 1m a 21 a 22 a 2m a n1 a n2 a nm and think of it as a function A : R m R n The kernel of A is defined as Note

More information

1 Determinants and the Solvability of Linear Systems

1 Determinants and the Solvability of Linear Systems 1 Determinants and the Solvability of Linear Systems In the last section we learned how to use Gaussian elimination to solve linear systems of n equations in n unknowns The section completely side-stepped

More information

5 Homogeneous systems

5 Homogeneous systems 5 Homogeneous systems Definition: A homogeneous (ho-mo-jeen -i-us) system of linear algebraic equations is one in which all the numbers on the right hand side are equal to : a x +... + a n x n =.. a m

More information

Solving simultaneous equations using the inverse matrix

Solving simultaneous equations using the inverse matrix Solving simultaneous equations using the inverse matrix 8.2 Introduction The power of matrix algebra is seen in the representation of a system of simultaneous linear equations as a matrix equation. Matrix

More information

Linear Equations. Find the domain and the range of the following set. {(4,5), (7,8), (-1,3), (3,3), (2,-3)}

Linear Equations. Find the domain and the range of the following set. {(4,5), (7,8), (-1,3), (3,3), (2,-3)} Linear Equations Domain and Range Domain refers to the set of possible values of the x-component of a point in the form (x,y). Range refers to the set of possible values of the y-component of a point in

More information

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Matrix Algebra A. Doerr Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Some Basic Matrix Laws Assume the orders of the matrices are such that

More information

Systems of Linear Equations

Systems of Linear Equations Chapter 1 Systems of Linear Equations 1.1 Intro. to systems of linear equations Homework: [Textbook, Ex. 13, 15, 41, 47, 49, 51, 65, 73; page 11-]. Main points in this section: 1. Definition of Linear

More information

Solving Systems of Linear Equations

Solving Systems of Linear Equations LECTURE 5 Solving Systems of Linear Equations Recall that we introduced the notion of matrices as a way of standardizing the expression of systems of linear equations In today s lecture I shall show how

More information

Elements of a graph. Click on the links below to jump directly to the relevant section

Elements of a graph. Click on the links below to jump directly to the relevant section Click on the links below to jump directly to the relevant section Elements of a graph Linear equations and their graphs What is slope? Slope and y-intercept in the equation of a line Comparing lines on

More information

Systems of Linear Equations

Systems of Linear Equations Systems of Linear Equations Beifang Chen Systems of linear equations Linear systems A linear equation in variables x, x,, x n is an equation of the form a x + a x + + a n x n = b, where a, a,, a n and

More information

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions. Chapter 1 Vocabulary identity - A statement that equates two equivalent expressions. verbal model- A word equation that represents a real-life problem. algebraic expression - An expression with variables.

More information

Question 2: How do you solve a matrix equation using the matrix inverse?

Question 2: How do you solve a matrix equation using the matrix inverse? Question : How do you solve a matrix equation using the matrix inverse? In the previous question, we wrote systems of equations as a matrix equation AX B. In this format, the matrix A contains the coefficients

More information

Math 113 Review for Exam I

Math 113 Review for Exam I Math 113 Review for Exam I Section 1.1 Cartesian Coordinate System, Slope, & Equation of a Line (1.) Rectangular or Cartesian Coordinate System You should be able to label the quadrants in the rectangular

More information

K80TTQ1EP-??,VO.L,XU0H5BY,_71ZVPKOE678_X,N2Y-8HI4VS,,6Z28DDW5N7ADY013

K80TTQ1EP-??,VO.L,XU0H5BY,_71ZVPKOE678_X,N2Y-8HI4VS,,6Z28DDW5N7ADY013 Hill Cipher Project K80TTQ1EP-??,VO.L,XU0H5BY,_71ZVPKOE678_X,N2Y-8HI4VS,,6Z28DDW5N7ADY013 Directions: Answer all numbered questions completely. Show non-trivial work in the space provided. Non-computational

More information

13 MATH FACTS 101. 2 a = 1. 7. The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

13 MATH FACTS 101. 2 a = 1. 7. The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions. 3 MATH FACTS 0 3 MATH FACTS 3. Vectors 3.. Definition We use the overhead arrow to denote a column vector, i.e., a linear segment with a direction. For example, in three-space, we write a vector in terms

More information

5 Systems of Equations

5 Systems of Equations Systems of Equations Concepts: Solutions to Systems of Equations-Graphically and Algebraically Solving Systems - Substitution Method Solving Systems - Elimination Method Using -Dimensional Graphs to Approximate

More information

3. Solve the equation containing only one variable for that variable.

3. Solve the equation containing only one variable for that variable. Question : How do you solve a system of linear equations? There are two basic strategies for solving a system of two linear equations and two variables. In each strategy, one of the variables is eliminated

More information

Brief Introduction to Vectors and Matrices

Brief Introduction to Vectors and Matrices CHAPTER 1 Brief Introduction to Vectors and Matrices In this chapter, we will discuss some needed concepts found in introductory course in linear algebra. We will introduce matrix, vector, vector-valued

More information

( ) which must be a vector

( ) which must be a vector MATH 37 Linear Transformations from Rn to Rm Dr. Neal, WKU Let T : R n R m be a function which maps vectors from R n to R m. Then T is called a linear transformation if the following two properties are

More information

Vocabulary Words and Definitions for Algebra

Vocabulary Words and Definitions for Algebra Name: Period: Vocabulary Words and s for Algebra Absolute Value Additive Inverse Algebraic Expression Ascending Order Associative Property Axis of Symmetry Base Binomial Coefficient Combine Like Terms

More information

1 Introduction to Matrices

1 Introduction to Matrices 1 Introduction to Matrices In this section, important definitions and results from matrix algebra that are useful in regression analysis are introduced. While all statements below regarding the columns

More information

Lecture 2 Mathcad Basics

Lecture 2 Mathcad Basics Operators Lecture 2 Mathcad Basics + Addition, - Subtraction, * Multiplication, / Division, ^ Power ( ) Specify evaluation order Order of Operations ( ) ^ highest level, first priority * / next priority

More information

Linear Programming. March 14, 2014

Linear Programming. March 14, 2014 Linear Programming March 1, 01 Parts of this introduction to linear programming were adapted from Chapter 9 of Introduction to Algorithms, Second Edition, by Cormen, Leiserson, Rivest and Stein [1]. 1

More information

DERIVATIVES AS MATRICES; CHAIN RULE

DERIVATIVES AS MATRICES; CHAIN RULE DERIVATIVES AS MATRICES; CHAIN RULE 1. Derivatives of Real-valued Functions Let s first consider functions f : R 2 R. Recall that if the partial derivatives of f exist at the point (x 0, y 0 ), then we

More information

Similarity and Diagonalization. Similar Matrices

Similarity and Diagonalization. Similar Matrices MATH022 Linear Algebra Brief lecture notes 48 Similarity and Diagonalization Similar Matrices Let A and B be n n matrices. We say that A is similar to B if there is an invertible n n matrix P such that

More information

Linear Algebra Notes for Marsden and Tromba Vector Calculus

Linear Algebra Notes for Marsden and Tromba Vector Calculus Linear Algebra Notes for Marsden and Tromba Vector Calculus n-dimensional Euclidean Space and Matrices Definition of n space As was learned in Math b, a point in Euclidean three space can be thought of

More information

Here are some examples of combining elements and the operations used:

Here are some examples of combining elements and the operations used: MATRIX OPERATIONS Summary of article: What is an operation? Addition of two matrices. Multiplication of a Matrix by a scalar. Subtraction of two matrices: two ways to do it. Combinations of Addition, Subtraction,

More information

Years after 2000. US Student to Teacher Ratio 0 16.048 1 15.893 2 15.900 3 15.900 4 15.800 5 15.657 6 15.540

Years after 2000. US Student to Teacher Ratio 0 16.048 1 15.893 2 15.900 3 15.900 4 15.800 5 15.657 6 15.540 To complete this technology assignment, you should already have created a scatter plot for your data on your calculator and/or in Excel. You could do this with any two columns of data, but for demonstration

More information

Typical Linear Equation Set and Corresponding Matrices

Typical Linear Equation Set and Corresponding Matrices EWE: Engineering With Excel Larsen Page 1 4. Matrix Operations in Excel. Matrix Manipulations: Vectors, Matrices, and Arrays. How Excel Handles Matrix Math. Basic Matrix Operations. Solving Systems of

More information

Homogeneous systems of algebraic equations. A homogeneous (ho-mo-geen -ius) system of linear algebraic equations is one in which

Homogeneous systems of algebraic equations. A homogeneous (ho-mo-geen -ius) system of linear algebraic equations is one in which Homogeneous systems of algebraic equations A homogeneous (ho-mo-geen -ius) system of linear algebraic equations is one in which all the numbers on the right hand side are equal to : a x + + a n x n = a

More information

Similar matrices and Jordan form

Similar matrices and Jordan form Similar matrices and Jordan form We ve nearly covered the entire heart of linear algebra once we ve finished singular value decompositions we ll have seen all the most central topics. A T A is positive

More information

1.5 SOLUTION SETS OF LINEAR SYSTEMS

1.5 SOLUTION SETS OF LINEAR SYSTEMS 1-2 CHAPTER 1 Linear Equations in Linear Algebra 1.5 SOLUTION SETS OF LINEAR SYSTEMS Many of the concepts and computations in linear algebra involve sets of vectors which are visualized geometrically as

More information

Determine If An Equation Represents a Function

Determine If An Equation Represents a Function Question : What is a linear function? The term linear function consists of two parts: linear and function. To understand what these terms mean together, we must first understand what a function is. The

More information

Introduction to Matrices

Introduction to Matrices Introduction to Matrices Tom Davis tomrdavis@earthlinknet 1 Definitions A matrix (plural: matrices) is simply a rectangular array of things For now, we ll assume the things are numbers, but as you go on

More information

Factoring Trinomials of the Form x 2 bx c

Factoring Trinomials of the Form x 2 bx c 4.2 Factoring Trinomials of the Form x 2 bx c 4.2 OBJECTIVES 1. Factor a trinomial of the form x 2 bx c 2. Factor a trinomial containing a common factor NOTE The process used to factor here is frequently

More information

by the matrix A results in a vector which is a reflection of the given

by the matrix A results in a vector which is a reflection of the given Eigenvalues & Eigenvectors Example Suppose Then So, geometrically, multiplying a vector in by the matrix A results in a vector which is a reflection of the given vector about the y-axis We observe that

More information

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix.

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix. MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix. Nullspace Let A = (a ij ) be an m n matrix. Definition. The nullspace of the matrix A, denoted N(A), is the set of all n-dimensional column

More information

Chapter 9. Systems of Linear Equations

Chapter 9. Systems of Linear Equations Chapter 9. Systems of Linear Equations 9.1. Solve Systems of Linear Equations by Graphing KYOTE Standards: CR 21; CA 13 In this section we discuss how to solve systems of two linear equations in two variables

More information

Lecture notes on linear algebra

Lecture notes on linear algebra Lecture notes on linear algebra David Lerner Department of Mathematics University of Kansas These are notes of a course given in Fall, 2007 and 2008 to the Honors sections of our elementary linear algebra

More information

Linear Algebra I. Ronald van Luijk, 2012

Linear Algebra I. Ronald van Luijk, 2012 Linear Algebra I Ronald van Luijk, 2012 With many parts from Linear Algebra I by Michael Stoll, 2007 Contents 1. Vector spaces 3 1.1. Examples 3 1.2. Fields 4 1.3. The field of complex numbers. 6 1.4.

More information

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes Solution by Inverse Matrix Method 8.2 Introduction The power of matrix algebra is seen in the representation of a system of simultaneous linear equations as a matrix equation. Matrix algebra allows us

More information

PYTHAGOREAN TRIPLES KEITH CONRAD

PYTHAGOREAN TRIPLES KEITH CONRAD PYTHAGOREAN TRIPLES KEITH CONRAD 1. Introduction A Pythagorean triple is a triple of positive integers (a, b, c) where a + b = c. Examples include (3, 4, 5), (5, 1, 13), and (8, 15, 17). Below is an ancient

More information

-2- Reason: This is harder. I'll give an argument in an Addendum to this handout.

-2- Reason: This is harder. I'll give an argument in an Addendum to this handout. LINES Slope The slope of a nonvertical line in a coordinate plane is defined as follows: Let P 1 (x 1, y 1 ) and P 2 (x 2, y 2 ) be any two points on the line. Then slope of the line = y 2 y 1 change in

More information

MAT 242 Test 2 SOLUTIONS, FORM T

MAT 242 Test 2 SOLUTIONS, FORM T MAT 242 Test 2 SOLUTIONS, FORM T 5 3 5 3 3 3 3. Let v =, v 5 2 =, v 3 =, and v 5 4 =. 3 3 7 3 a. [ points] The set { v, v 2, v 3, v 4 } is linearly dependent. Find a nontrivial linear combination of these

More information

3.1 Solving Systems Using Tables and Graphs

3.1 Solving Systems Using Tables and Graphs Algebra 2 Chapter 3 3.1 Solve Systems Using Tables & Graphs 3.1 Solving Systems Using Tables and Graphs A solution to a system of linear equations is an that makes all of the equations. To solve a system

More information

LINEAR ALGEBRA. September 23, 2010

LINEAR ALGEBRA. September 23, 2010 LINEAR ALGEBRA September 3, 00 Contents 0. LU-decomposition.................................... 0. Inverses and Transposes................................. 0.3 Column Spaces and NullSpaces.............................

More information

Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices

Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices Solving square systems of linear equations; inverse matrices. Linear algebra is essentially about solving systems of linear equations,

More information

Geometry 1. Unit 3: Perpendicular and Parallel Lines

Geometry 1. Unit 3: Perpendicular and Parallel Lines Geometry 1 Unit 3: Perpendicular and Parallel Lines Geometry 1 Unit 3 3.1 Lines and Angles Lines and Angles Parallel Lines Parallel lines are lines that are coplanar and do not intersect. Some examples

More information