MTH 2032 Semester II

Size: px
Start display at page:

Download "MTH 2032 Semester II"

Transcription

1 MTH 232 Semester II 2-2 Linear Algebra Reference Notes Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education December 28, 2

2 ii

3 Contents Table of Contents iii Systems of Linear Equations. Solve Systems of Linear Equations Gaussian Elimination Theory of Solutions Homogeneous Systems Matrix Algebra 2 2. Introduction and Examples Matrix Operations The Inverse of a Matrix Solve Matrix Equations by Inverse Rank Find Determinants Eigenvalues and Eigenvectors Eigenvalues and Eigenvectors Characteristic Equation Diagonalization Application of Diagonalization Vector Spaces Vectors General Solution in Vector Form Vector Spaces and Subspaces Subspaces of a Matrix Linear Independence Basis of R n Orthogonality Inner Product Spaces Orthogonality Orthogonal Projection Gram Schmidt Orthogonalization Least-Squares Problems iii

4

5 Chapter Systems of Linear Equations. Solve Systems of Linear Equations In this chapter we first review how systems of linear equations involving two variables are solved using the method of substitution learn in secondary school elementary algebra. (Basic properties of linear equations and lines should be reviewed.) Because the method of substitution is not suitable for linear systems involving large numbers of equations and variables, we then turn to a different method of solution involving the concept of an augmented matrix, which arises quite naturally when dealing with larger linear systems. We then study matrices and matrix basic operations in their own right as a new mathematical tool. With these new operations added to our mathematical toolbox, we return to systems of linear equations from a fresh point of view. A new technique, called the elementary row operations, will play an important role. Solution of systems of linear equations has its own importance in applications and they appear frequently in many practical problems. We briefly review several real life problems in this section. To establish basic concepts, we consider the first simple example. Example.. (Systems with two variables) If 2 adult tickets and child ticket cost $8, and if adult ticket and 3 child tickets cost $9, what is the price of each? Solution Let x be the price of adult ticket and y the price of child ticket. Then 2x + y = 8 and x + 3y = 9. We now have a system of two linear equations with two variables. It is easy to find ordered pairs (x, y) that satisfy one or the other of these equations. For example, the ordered pair (4, ) satisfies the first equation, but not the second, and the ordered pair (6, ) satisfies the second, but not the first. To solve this system, we must find all ordered pairs of real numbers that satisfy both equations at the same time. The set of all such ordered pairs is called the solution set. The method of substitution works nicely for systems involving two variables. By eliminating one variable from these two equations will immediately solve the problem. For example, if we choose to eliminate y, then we may substitute y = 8 2x (follows from the first equation) into the second equation. That gives x + 3(8 2x) = 9. After solving, we have the solution x = 3 and hence y = 2. In the following we give another example: The quantity of a product that people are willing to buy during some period of time depends on its price. Generally, the higher the price, the less the demand; the lower the price, the greater the demand. Similarly, the quantity of a product that a supplier is willing to sell

6 . Systems of Linear Equations during some period of time also depends on the price. Generally, a supplier will be willing to supply more of a product at higher prices and less of a product at lower prices. The simplest supply and demand model is a linear model where the graphs of a demand equation and a supply equation are straight lines. Example..2 (Supply and demand) Suppose that we are interested in analyzing the sale of cherries each day in Hong Kong. Using special analytical techniques (regression analysis) and data collected, an analysis arrives at the following pricedemand and price-supply models: p = 2q + 4, (Price-demand equation, consumer) p =.7q + 7.6, (Price-supply equation, supplier) where q represents the quantity of cherries in thousands of pounds and p represents the price in dollars. For example, we see that consumers will purchase thousand pounds (q = ) when the price is p = 2() + 4 = 2 dollars per pound. On the other hand, suppliers will be willing to supply 7.74 thousand pounds of cherries at 2 dollars per pound (solve 2 =.7q + 7.6). Thus, at $2 per pound the suppliers are willing to supply more cherries than consumers are willing to purchase. The supply exceeds the demand at that price and the price will come down. At what price will cherries stabilize for the day? That is, at what price will supply equal demand? This price, if it exists, is called the equilibrium price, and the quantity sold at that price is called the equilibrium quantity. The result could also be interpreted geometrically. The point where the two straight lines (two curves in general) for the price-demand equation and the price-supply equation intersect is called the equilibrium point. How do we find these quantities? Solution We solve the linear system p = 2q + 4, (Demand equation) p =.7q (Supply equation) by using the method of substitution (substituting p = 2q + 4 into the second equation) 2q + 4 =.7q + 7.6, 2.7q = 32.4, q = 2 thousand pounds. (equilibrium quantity) Now substitute q = 2 back into either of the original equations in the system and solve for p (we choose the first equation) p = 2(2) + 4 = 6. dollars per pound. (equilibrium price) If the price is above the equilibrium price of $6. per pound, the supply will exceed the demand and the price will come down. If the price is below the equilibrium price of $6. per pound, the demand will exceed the supply and the price will rise. Thus, the price will reach equilibrium at $6.. At this price, suppliers will supply 2 thousand pounds of cherries and consumers will purchase 2 thousand pounds. The substitution method used in the previous examples is an algebraic method that is easy to use and provides exact solutions to a system of two equations with two variables, provided that solutions exist. We now define some terms that we can use to describe the different types of solutions to systems of equations that we will encounter. Solutions may exist or may not exist. See the following definition. Definition A system of linear equations is called consistent if it has one or more solutions and inconsistent if no solutions exist. Furthermore, a consistent system is said to be independent if it has exactly one solution (often referred to the unique solution) and dependent if it has more than one solution (referred to infinitely many solutions). Two systems of linear equations are equivalent if they have the same solution set. 2

7 . Solve Systems of Linear Equations Referring to the system in Example.., the system is a consistent and independent system with exactly one solution x = 3, y = 2. A natural question may arise: Can a consistent system have exactly two solutions? Exactly three solutions? The answer is simply NO. For example, by geometrically interpreting a system of two linear equations with two variables, we gain useful information about what to expect in the way of solutions to the system. In general, any two lines in a coordinate plane must intersect in exactly one point, be parallel, or coincide (have identical graphs). In fact there are only three possible types of solutions for systems of two linear equations in two variables. These ideas are illustrated geometrically in the following. Given a system of linear equations, we will have one of the three possibilities for the number of solutions.. Exactly one solution (i.e., a unique solution). 2. No solution. 3. Infinitely many solutions (i.e., non-unique solutions). Let us first review what are solutions to systems of two linear equations with two variables and its geometrical interpretation. Geometrical interpretation of solutions The pair x =, x 2 = 3 is a solution of the following system of linear equations { 2x x 2 =, x + x 2 = 2 because if we replace the variables by the given values, then the two equalities hold. Another pair x = 2, x 2 = 2 is not a solution because the first equality does not hold. x 2 (, 3) x + x 2 = 2 (2, 2) x 2x x 2 = Figure.: Unique solution The two linear equations represent two straight lines on the (two-dimensional) plane. The solution (x, x 2) = (, 3) of the system of the two equations is the intersection of the two lines. In particular, we can find exactly one solution. The following system of linear equations { 2x x 2 =, 4x 2x 2 = 2 represents two different parallel lines. Since the two lines never meet, the system does not have any solution. 3

8 . Systems of Linear Equations x 2 4x 2x 2 = 2 x 2x x 2 = Figure.2: No solution The following system of linear equations { 2x x 2 =, 4x 2x 2 = 2 represents two identical lines. Any point on the line is a solution to the system. In particular, the system has infinitely many solutions. x 2 2x x 2 = 4x 2x 2 = 2 x Figure.3: Infinite number of solutions The geometrical interpretation of the solution of linear equations can be extended to more variables and more equations. For example, one linear equation with three variables a x + a 2x 2 + a 3x 3 = b is represented by a plane in the (three-dimensional) space. A system of two linear equations with three variables is represented by two planes. The following are the possible intersections (= solution to the system) of the two planes. line of solutions no solution plane of solutions 4 Figure.4: Intersection of two planes

9 . Solve Systems of Linear Equations In Figure.4, we observed that a system of 2 linear equations with 3 variables cannot have a unique solution. In that case, if the system is consistent, it must have infinitely many solutions. In the following we also give some examples of linear systems of more than two variables. Just remark that no professional knowledge in chemistry nor physics is needed for this elementary course MATH 3, the following two examples are only used for illustrating the wide applicability of linear systems to real life examples. Example..3 (Electric network) In the following electric network, 5Ω P 2Ω 2V + 2Ω V + i i 2 i Ω 3 Q Figure.5: An electric network the currents i, i 2, i 3 satisfy the equations Node P : i +i 2 i 3 =, Node Q : i i 2 +i 3 =, Left loop : 5i +2i 2 = 2, Right loop : 2i 2 +3i 3 =. Example..4 (Linear equations in four variables) In order to balance the following chemical reaction x CH 4 + x 2 O 2 y CO 2 + y 2 H 2O, the number of molecules x, x 2, y, y 2 must satisfy x y =, 4x 2y 2 =, 2x 2 2y y 2 =. Remind you that there is no geometrical meaning to the system of more than three variables. Referring to the systems in Examples..3..4, the first system (four equations with three variables) is a consistent and independent system with the unique solution: i = 78/3, i 2 = 5/3, i 3 = 37/3. The second system (three equations with four variables) is a consistent and dependent system with an infinite number of solutions. Remark that for these two examples the method of substitution seems to be not as efficient as for the system of two equations with two variables. Students may try it out. Indeed we compute the solutions by a more general and efficient method called the Gaussian elimination. This method will be discussed in Section.2 (page 7). But before we go into the details of this new method we need to borrow some terminologies in matrices and express the problem in another point of view. Let us recall that a linear equation is a x + a 2x a nx n = b. 5

10 . Systems of Linear Equations We call a, a 2,, a n the coefficients of the equation, and x, x 2,, x n the variables of the equation. A system of linear equations is a list of linear equations. For example, a system of four equations with three variables (we say a four by three system ) is a x + a 2x 2 + a 3x 3 = b, a 2x + a 22x 2 + a 23x 3 = b 2, a 3x + a 32x 2 + a 33x 3 = b 3, a 4x + a 42x 2 + a 43x 3 = b 4. The system is completely characterized (besides the notations for the variables) by the following rectangular array of numbers called the coefficient matrix a a 2 a 3 A = a 2 a 22 a 23 a 3 a 32 a 33 a 4 a 42 a 43 and the right side b b = b 2 b 3. b 4 The system also corresponds to the augmented matrix We emphasize the following correspondence a a 2 a 3 b [ ] A b = a 2 a 22 a 23 b 2 a 3 a 32 a 33 b 3. a 4 a 42 a 43 b 4 (.) columns of A variables, rows of [ A b ] equations. (.2) Example..5 (Augmented matrix) The augmented matrices of the systems in Examples..3 and..4 are respectively and In terms of matrices, the system (.) is equivalent to simply Ax = b, where x = (x, x 2, x 3). Next we review some basic operations of matrices which will be useful to our later discussion of solving general system Ax = b by Gaussian elimination. In Chapter 2 we will confine our attention to the world of matrices. Now, we will focus on the techniques of solving systems of linear equations. 6

11 .2 Gaussian Elimination.2 Gaussian Elimination The method of substitution may work well for systems involving two variables. However, it is not easily extended to larger systems. In fact, the most efficient and practical way for solving systems of linear equations is through an algorithm called Gaussian elimination. The idea is to simplify the system by creating as many zeros as in the coefficients. The solution may then be easily deduced from the simplified system. The Gaussian elimination is probably the most important method of solution. It readily generalizes to larger systems and forms the basis for computer-based solution methods. As a matter of fact, all the important computer packages nowadays for solving systems of linear equations are based on Gaussian elimination. If you have learned before to use the Cramer s rule to solve systems of linear equations, then you should forget this old method as soon as possible. Cramer s rule is a limited method because of the following:. The computation of determinants is much more complicated than elimination. 2. Cramer s rule cannot solve underdetermined (such as 2 equations, 3 variables) or overdetermined (such as 3 equations, 2 variables) systems. Gaussian elimination has no such limitations and indeed it works for any linear systems of m equations with n variables, where m < n, m = n, m > n are all permissible. Now, with some knowledge of matrix notations and operations (details can be found in Chapter 2) we are going to introduce the method of Gaussian elimination formally. But, first of all, we would also like to give you the insight of how and why the method works. Let s read the very simple example. Example.2. (Equivalent equations) To solve an equation such as 2x 5 = 3, we perform permissible operations on the equation until we reach an equivalent equation whose solution is obvious. 2x 5 = 3, 2x = 3 + 5, 2x = 8, 2x 2 = 8 2, x = 4. Recall that we added 5 to both sides in the second step and divided both sides by 2 in the fourth step. These two operations simply convert the equation 2x 5 = 3 to an equivalent equation x = 4. The solution follows as we wish. The following theorem indicates that we can solve systems of linear equations in a similar manner. Theorem.2. (Three operations that produce equivalent systems) A system of linear equations is transformed into an equivalent system if (A) Two equations are interchanged. (B) An equation is multiplied by a nonzero constant. (C) A constant multiple of one equation is added to another equation. Any one of the three operations in Theorem.2. can be used to produce an equivalent system. The basic principle here is to transform a given (complicated) system into an equivalent but simpler system through a series of operations. Based on this principle we have to eliminate as many variables as possible. 7

12 . Systems of Linear Equations A system Ax = b of linear equations is completely characterized by its augmented matrix [ A b ], as we mentioned in Section. (page 6). Gaussian elimination can then be considered as a manipulation on the augmented matrix. In the following examples, we indicate the relation by writing systems and augmented matrices side by side. Theorem.2. is used in the examples that rows of [ A b ] are equivalent to equations. Example.2.2 (2 2 system with unique solution) Solve the system of linear equations { 2x x 2 =, x +x 2 = 2. Solution Let us solve the system { 2x x 2 =, x +x 2 = 2. [ 2 ] 2 We do the row operation 2R 2 + R (add twice of second equation/row to the first equation/row) to obtain { [ ] x 2 = 3, 3 x +x 2 = 2. 2 We may further do R R 2 (exchange the first and the second equations/rows) so that the equations are listed from the most complicated to the simplest { [ ] x +x 2 = 2, 2 x 2 = 3. 3 Substituting x 2 = 3 into the first equation, we get x = x 2 2 =. Example.2.3 (3 3 system with unique solution) Solve the system of linear equations x +x 2 +x 3 =, 2x +3x 2 +2x 3 =, 3x +8x 2 +2x 3 = 2. Solution Let us solve the system x +x 2 +x 3 =, 2x +3x 2 +2x 3 =, x +8x 2 +2x 3 = We do 2R + R 2 and 3R + R 3 to get x +x 2 +x 3 =, x 2 =, 5x 2 x 3 =. Then we do 5R 2 + R 3 to get x +x 2 +x 3 =, x 2 =, x 3 = This corresponds to x 2 = and x 3 = 4. Substituting them into the first equation, we have x = 6. 8

13 .2 Gaussian Elimination Example.2.4 (3 3 system without solution) Solve the system of linear equations x +x 2 +x 3 = 2, x +3x 2 x 3 = 4, x 2 x 3 = 2. Solution We simplify the augmented matrix as follows R +R R 2 R 2+R Interpreted as a system of linear equations, we have x +x 2 +x 3 = 2, x 2 x 3 =, =. The last equation is a contradiction which implies that the system has no solution. Example.2.5 (3 3 system with non-unique solutions) Solve the system of linear equations x x 2 +3x 3 = 3, 3x +x 2 +x 3 = 5, x 2 2x 3 =. Solution We simplify the augmented matrix as follows R +R R 3 +R 2 2 R 2 R Interpreted as a system of linear equations, we have x x 2 +3x 3 = 3, x 2 2x 3 =, =. The last equation is redundant. From the second equation, we have x 2 = 2x 3. Substituting this into the first equation, we have x = (2x 3 ) 3x = x The system has non-unique solutions (x, x 2, x 3) = ( r + 2, 2r, r), for any real number r. 9

14 . Systems of Linear Equations To summarize, the Gaussian elimination is done through the following three operations. Table.: Three (row) operations used in the Gaussian elimination. notation rr i + R j rr i R i R j description adding r times the i-th equation/row to the j-th equation/row multiplying r to the i-th equation/row exchanging the i-th equation/row with the j-th equation/row When applied to matrices, the three operations are also called row operations. The three operations do not change the solutions of the system of equations. By making use of the three operations, the system may eventually be simplified to the following upper triangular shape.... Then one may solve the system by backward substitution (i.e., solving the system from bottom up, and finding the values of more and more variables). Example.2.6 (4 3 system with unique solution) Solve the system of linear equations x x 2 +x 3 =, x +x 2 x 3 =, x +4x 2 = 5, 2x 2 +3x 3 =. Solution Let us solve the system. We simplify the augmented matrix as follows The last row is redundant while the third row implies that x 3 = 2. Substituting this value into the second row, we have x 2 = 5/2. Substituting the values of x 2 and x 3 into the first row, we have x = /2. Hence the system has the unique solution (x, x 2, x 3) = ( 2, 5 2, 2).

15 .3 Theory of Solutions.3 Theory of Solutions Having discussed how to simplify a system of linear equations, we may ask: how simple can a system be reduced to? The answer to the question can tell us a lot of information about the solutions of the system, particularly the existence and uniqueness of solutions. Row Echelon Form In Examples.2.2,.2.3,.2.4, and.2.5, the systems (or rather, the augmented matrices [ A b ] ) are reduced to the following shapes [ ],,,, (.3) where are nonzero numbers, and are any numbers. These are the simplest shapes you can get by the three row operations. These are called the row echelon forms of [ A b ]. Generally speaking, a matrix is called in row echelon form if the following two conditions hold (where a leading nonzero entry of a row of the matrix is the first nonzero element in the row counted from the left): () All zero rows, if any, are at the bottom of the matrix. (2) Each leading nonzero entry in a row is to the right of the leading nonzero entry in the preceding row. Example.3. (Row echelon form) The following are all the possible row echelon forms of 2 2 matrices ( simplest shapes of 2 linear equations with variable). [ ] [ ] [ ] [ ],,,. The following are all the possible row echelon forms of 3 3 matrices ( simplest shapes of 3 linear equations with 2 variables).,,,,,,. In a row echelon form, the entry denoted by is located further and further to the right when one goes from the top to the bottom. We call these entries pivots of the matrix, and the columns containing the pivots the pivot columns of the matrix. Example.3.2 (Row echelon form) The following is the row echelon form for the augmented matrix in Example.2.4. The pivots are the (, )-, (2, 2)-, and (3, 4)-entries. The pivot columns are the first, second, and the fourth columns.

16 . Systems of Linear Equations Example.3.3 (Row echelon form) The following is a more complicated row echelon form. The pivots are the (, 2)-, (2, 4)-, (3, 5)-, and (4, 7)-entries. The pivot columns are the second, fourth, fifth, and the seventh columns. Example.3.4 (Non-row echelon form) The matrix 2 is not in row echelon form because the for the second row is after the for the third row. If we exchange the second and the third rows (so that the matrix is further simplified), then we do get a row echelon form. Similarly, the matrix 2 is not in row echelon form because the for the second row is not before the for the third row. Exchanging rows will never give us a row echelon form. We have to use row operations such as 2R 3 + R 2 and R 2 R 3 (or simply one operation R2 + R3) to further simplify the matrix in order to get a row echelon form. 2 Reduced Row Echelon Form Row echelon form is the simplest shape one can get by performing row operations. What is the ultimate simplest matrix one can get? Example.3.5 (Reduced row echelon form) The system in Example.2.3 (page 8) has been simplified to the following row echelon form. 4 We reduce the coefficient of (3, 3)-pivot to by doing R

17 .3 Theory of Solutions We cancel entries above the (, 3)-pivot by doing R 3 + R 5. 4 We cancel entries above the (, 2)-pivot by doing R 2 + R 6. 4 Interpreted the above (reduced) row echelon form as a system of linear equations, we have x = 6, x 2 =, x 3 = 4, which immediately gives the unique solution of the original system. Example.3.6 (Reduced row echelon form) The system in Example.2.5 has been simplified to the following row echelon form We use the (2, 2)-pivot to cancel entries above it by doing R 2 + R 2 2. Interpreted the above (reduced) row echelon form as a system of linear equations, we have x +x 3 = 2, x 2 2x 3 =, =, which gives the non-unique solutions of the system x = r + 2, x 2 = 2r, x 3 = r, with r arbitrary. In similar ways, we may further reduce the row echelon forms (.3) to the following [ ],,,, where are reduced to, the entries above are reduced to, and are again any numbers. These are the simplest matrices you can get by the three row operations, and we call them the reduced row echelon forms of [ A b ]. 3

18 . Systems of Linear Equations Generally speaking, a matrix is called in reduced row echelon form if it is in row echelon form, that is, if it satisfies the two conditions () and (2) (on page ), and if it satisfies the following additional two conditions: (3) Each pivot (leading nonzero entry) is equal to. (4) Each pivot is the only nonzero entry in its column. By comparing Examples.3.5,.3.6 with Examples.2.3,.2.5, we observe that the advantage of reduced row echelon form is that we can write down the solutions directly, without any backward substitution. Reduced row echelon form of [ A b ] solution of Ax = b. This is called the method of reduction. Example.3.7 (Reduced row echelon form) The following are all the possible reduced row echelon forms of 2 2 matrices. [ ], [ ], [ ], [ ]. The following are all the possible reduced row echelon forms of 3 3 matrices.,,,,,,. Example.3.8 (Reduced row echelon form) The following are the reduced row echelon forms of the matrices in Examples.3.2 and.3.3 (page ), respectively.,. 4

19 .3 Theory of Solutions Existence and Uniqueness In solving a specific system Ax = b of linear equations, we have to first clarify Existence: Does the system have solutions? If the answer is no, then the system has no solution. If the answer is yes, then we may further clarify Uniqueness: Does the system have a single or more than one solutions? If the solution is single, then the system has a unique solution. If the solution is many, then the system has non-unique solutions. Thus a basic question about a system Ax = b is which of the three possibilities (no solution, unique solution, non-unique solutions) is the solution in. The answer to the question can be answered from the row echelon form of the augmented matrix [ A b ]. Furthermore, the solution (if any) of the system is immediately given by the reduced row echelon form of [ A b ]. Example.3.9 (Row echelon form vs. existence and uniqueness) Let us recall again the row echelon forms of the systems of three linear equations with three variables in Examples.2.3,.2.4 and.2.5 (page 8). They are respectively, 4 2, The corresponding reduced row echelon forms are 6, 4 2, 2 2. (.4) The corresponding systems of linear equations and their solutions are x = 6, x 2 =, x 3 = 4 x +2x 3 =, x 2 x 3 =, = x +x 3 = 2, x 2 2x 3 =, = = unique solution : x = 6, x 2 =, x 3 = 4, = no solution ( = is a contradiction), = non-unique solutions : x = r + 2, x 2 = 2r, x 3 = r. In general, given a system Ax = b of linear equations, we first find the row echelon form of the augmented matrix [ A b ] [ ], from which we can determine which columns of A b are pivot and which are not. 5

20 . Systems of Linear Equations Theorem.3. The existence and uniqueness of the solutions of Ax = b is determined by pivot columns of [ A b ] as follows. Pivot columns of [ A b ]. b pivot no solution 2. b not pivot, all A-columns pivot unique solution Existence and uniqueness for Ax = b 3. b not pivot, not all A-columns pivot non-unique solutions Let us explain in more details of Example.3.9 based on the above theorem. By (.4) we circle the pivots in the reduced row echelon forms of the corresponding augmented matrices: 6 2 2,, 2. 4 For the first matrix of the above, since the last column (i.e., b-column) is not a pivot column, the corresponding system has solutions. Meanwhile, since the first, second, and third columns (i.e., all the A-columns) are pivot columns, the solution is unique. Therefore the system has a single solution. For the second matrix of the above, since the last column (i.e., b-column) is a pivot column, the system has no solution. For the third matrix of the above, since the last column (i.e., b-column) is not a pivot column and the third column is not a pivot column (i.e., not all A-columns are pivot columns), the system has non-unique solutions. Example.3. (Determine existence and uniqueness) For which b, b 2, b 3 that the following system of linear equations has solutions? x +4x 2 = b, 2x +5x 2 = b 2, 3x +6x 2 = b 3. Solution We do the row operations, 4 b 4 b 2 5 b 2 2R +R 2 3 b 2 2b 3 6 b 3 3R +R 3 6 b 3 3b 2R 2+R 3 4 b 3 b 2 2b. b 2b 2 + b 3 Thus we conclude that the system has solutions the last column is not pivot b 2b 2 + b 3 =. Example.3. (Determine existence and uniqueness) For which values of a that the following system of linear equations x +x 2 x 3 = 2, x ax 3 =, x +ax 2 = has no solution, unique solution, non-unique solutions? 6

21 .4 Homogeneous Systems Solution We do the row operations, 2 2 a R +R 2 a a R +R 3 a (a ) R 2+R 3 2 a. 2a a 2 a Thus we conclude that if. 2a a 2 ( a, 2), then we have 2 2 a a. a 2a a 2 a This shows that all except the last column are pivot and hence the system has a unique solution. 2. a =, then we have 2 a 2. a This shows that the third and the last columns are not pivot and hence the system has non-unique solutions. 3. a = 2, then we have 2 a 2. a 2 This shows that the last column is pivot and hence the system has no solution..4 Homogeneous Systems A linear system is called homogeneous if all the constant terms are zero, like x + 2x 2 x 3 =, 2x x 2 + 5x 3 =, 3x + 3x 2 x 3 =. Using matrix-vector notation, we can rewrite the above homogeneous linear system as 2 x Ax =, where A = 2 5, x = x 2, =. 3 3 x 3 In general, when A is an m n coefficient matrix, then x will be a vector of size n, and will be a vector of size m (called the zero vector of size m). We will use the same notation for zero vectors of different sizes, as the actual size of the vector is usually quite clear from the context. A homogeneous system is always consistent, as one can easily find a solution for it, namely x = x 2 = =. 7

22 . Systems of Linear Equations Such a solution x = (note that is now an n-vector) will be called the zero solution. Because it is trivial to find this solution, we sometimes call it the trivial solution (for the homogeneous system). Therefore, given a homogeneous system, we are interested in whether it has a non-trivial solution, i.e., a solution in which not all the variables are zeros. Recall that the solution set of a linear system has three possible cases: (i) No solution exists: This case will not happen for a homogeneous system. (ii) Has a unique solution: This case happens when all the variables are basic variables, and this unique solution must be the zero solution. (iii) Has infinitely many solution: This case happens when there are at least one free variable(s). So, non-trivial solutions exist only in case (iii). Recall that this will happen when the rank of the coefficient matrix A is smaller than the total number of variables. In particular, it is always the case in the following theorem. Theorem.4. If a homogeneous system Ax = has more unknowns than the equations, it has nontrivial solutions. Proof: Let the size of the coefficient matrix A be m n (m rows and n columns), where m < n. Recall the fact that we cannot have two pivot positions sitting in the same row, so A has at most m pivot positions, i.e., rank A m. Thus, So there will be non-trivial solutions. number of free variables = n rank A n m >. Remark. In case m n, no corresponding results available (may or may not have non-trivial solutions). One need to check directly the existence of free variables instead. Fundamental solutions of a homogeneous system The augmented matrix of a homogeneous system is of the form [ A ]. Performing row operations to the augmented matrix thus will not change the constant terms, so the resulting new augmented matrix still represents a homogeneous system. In the RREF, we can solve the system by assigning free parameters to the free variables, and then express the basic variables in terms of the free parameters. Let us consider a concrete example. Example.4. (Homogeneous system) Consider the following homogeneous system: x +x 2 2x 3 +3x 4 +4x 5 =, 2x +x 2 3x 3 +8x 4 +5x 5 =, x +x 2 2x 3 +2x 4 +2x 5 =, 3x +2x 2 5x 3 +x 4 +7x 5 =. 8

23 .4 Homogeneous Systems Solution First we transform the augmented matrix to its RREF [ ] A = R 2 +R R 2 +R 2 3 R 2 2 2R +R 2, R +R 3 3R +R 4 R 3 +R 4 R 3 5R 3 +R 2R 3 +R Set x 3 = s, x 5 = t, then the solution of the system Ax = can be represented as x = s + 9t, x 2 = s 7t, x 3 = s, x 4 = 2t, x 5 = t. We may also write the solution in vector form: x 9 x 2 x = x 3 x 4 = s + t 7, where s, t R. 2 x 5 The variables can be expressed by using s, t, only as the constant terms are all zeros. Here we observe two specific solutions: 9 7 x = (choose s =, t = ), x2 = (choose s =, t = ). 2 We will call them fundamental solutions of the homogeneous system, as all the other solution of the system can be expressed in terms of them. The results of the above example can be generalized to the following theorem. Theorem.4.2 Let Ax = be a homogeneous system with k free variables. Set s, s 2,, s k the corresponding free parameters. Then any solution of Ax = can be expressed as to be x = s x + s 2x s k x k, where x i is the solution vector associated to the free parameter s i (i.e., set s i = and all other s j = ). 9

24 . Systems of Linear Equations 2 Definition The above solution vectors x, x 2,, x k are said to form a set of fundamental solutions of the linear system produced by row reduction algorithm. In case Ax = has no free variable, we say that the system has no fundamental solution (but still have the unique zero solution). 3 Definition An expression like s x + s 2x s k x k (where s, s 2,, s k are numbers) is called a linear combination of x, x 2,, x k. Example.4.2 (Fundamental solutions) Find the fundamental solutions, if any, of the homogeneous systems with the following coefficient matrices. [ ] (i), (ii) 2 5, (iii) Solution We first note that in Example.4. we have applied the row operations to the augmented matrix. If you read the computations carefully, you will see the right side zero vector indeed has no role in the analysis. So we will have the same conclusion if we perform the row operations to the coefficient matrix only. For this example (and from now on), since the constant terms of a homogeneous system are all zeros, we can work directly on the coefficient matrix instead of the augmented matrix (but keep in mind that the last column now corresponds to a variable). For (i), [ ] [ 2 7 ] [ ]. Therefore, x, x 3 are basic variables, x 2 is a free variable. Set x 2 = s, then x s x 2 = s = s, where s R. x 3 So, there is one fundamental solution of the homogeneous system, which is the vector (,, ). For (ii), We observe that all the variables of the system are basic variables. So there will be no fundamental solution. For (iii), the coefficient matrix is already in RREF. Therefore, x, x 3, x 5 are basic variables, and x 2, x 4, x 6 are free variables. Set x 2 = s, x 4 = t, x 6 = u, then x 2s t 2 x 2 s x 3 x 4 = 2t t = s + t 2 + u, where s, t, u R. x 5 x 6 u The above three vectors form a set of fundamental solutions of the homogeneous system. 2

MTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education

MTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education MTH 3 Linear Algebra Study Guide Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education June 3, ii Contents Table of Contents iii Matrix Algebra. Real Life

More information

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations.

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations. POLI 7 - Mathematical and Statistical Foundations Prof S Saiegh Fall Lecture Notes - Class 4 October 4, Linear Algebra The analysis of many models in the social sciences reduces to the study of systems

More information

Chapter 4. Solving Systems of Equations. Chapter 4

Chapter 4. Solving Systems of Equations. Chapter 4 Solving Systems of Equations 3 Scenarios for Solutions There are three general situations we may find ourselves in when attempting to solve systems of equations: 1 The system could have one unique solution.

More information

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form Chapter 5. Linear Algebra Sections 5.1 5.3 A linear (algebraic) equation in n unknowns, x 1, x 2,..., x n, is an equation of the form a 1 x 1 + a 2 x 2 + + a n x n = b where a 1, a 2,..., a n and b are

More information

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form Chapter 5. Linear Algebra A linear (algebraic) equation in n unknowns, x 1, x 2,..., x n, is an equation of the form a 1 x 1 + a 2 x 2 + + a n x n = b where a 1, a 2,..., a n and b are real numbers. 1

More information

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form Chapter 5. Linear Algebra Sections 5.1 5.3 A linear (algebraic) equation in n unknowns, x 1, x 2,..., x n, is an equation of the form a 1 x 1 + a 2 x 2 + + a n x n = b where a 1, a 2,..., a n and b are

More information

Fundamentals of Linear Algebra. Marcel B. Finan Arkansas Tech University c All Rights Reserved

Fundamentals of Linear Algebra. Marcel B. Finan Arkansas Tech University c All Rights Reserved Fundamentals of Linear Algebra Marcel B. Finan Arkansas Tech University c All Rights Reserved 2 PREFACE Linear algebra has evolved as a branch of mathematics with wide range of applications to the natural

More information

DM559 Linear and Integer Programming. Lecture 2 Systems of Linear Equations. Marco Chiarandini

DM559 Linear and Integer Programming. Lecture 2 Systems of Linear Equations. Marco Chiarandini DM559 Linear and Integer Programming Lecture Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. Outline 1. 3 A Motivating Example You are organizing

More information

Chapter 4. Systems of Linear Equations; Matrices. Opening Example. Section 1 Review: Systems of Linear Equations in Two Variables

Chapter 4. Systems of Linear Equations; Matrices. Opening Example. Section 1 Review: Systems of Linear Equations in Two Variables Chapter 4 Systems of Linear Equations; Matrices Section 1 Review: Systems of Linear Equations in Two Variables Opening Example A restaurant serves two types of fish dinners- small for $5.99 and large for

More information

Pre-Calculus I. For example, the system. x y 2 z. may be represented by the augmented matrix

Pre-Calculus I. For example, the system. x y 2 z. may be represented by the augmented matrix Pre-Calculus I 8.1 Matrix Solutions to Linear Systems A matrix is a rectangular array of elements. o An array is a systematic arrangement of numbers or symbols in rows and columns. Matrices (the plural

More information

Notes on Row Reduction

Notes on Row Reduction Notes on Row Reduction Francis J. Narcowich Department of Mathematics Texas A&M University September The Row-Reduction Algorithm The row-reduced form of a matrix contains a great deal of information, both

More information

Chapter 4. Systems of Linear Equations; Matrices

Chapter 4. Systems of Linear Equations; Matrices Chapter 4 Systems of Linear Equations; Matrices Section 1 Review: Sys of Linear Eg in Two Var Section 2 Sys of Linear Eq and Aug Matr Section 3 Gauss-Jordan Elimination Section 4 Matrices: Basic Operations

More information

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra 1 Linear Equations in Linear Algebra 1.1 SYSTEMS OF LINEAR EQUATIONS LINEAR EQUATION x 1,, x n A linear equation in the variables equation that can be written in the form a 1 x 1 + a 2 x 2 + + a n x n

More information

MAC1105-College Algebra. Chapter 5-Systems of Equations & Matrices

MAC1105-College Algebra. Chapter 5-Systems of Equations & Matrices MAC05-College Algebra Chapter 5-Systems of Equations & Matrices 5. Systems of Equations in Two Variables Solving Systems of Two Linear Equations/ Two-Variable Linear Equations A system of equations is

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2 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

Math Studio College Algebra

Math Studio College Algebra Math 100 - Studio College Algebra Rekha Natarajan Kansas State University November 19, 2014 Systems of Equations Systems of Equations A system of equations consists of Systems of Equations A system of

More information

LINEAR ALGEBRA W W L CHEN

LINEAR ALGEBRA W W L CHEN LINEAR ALGEBRA W W L CHEN c W W L Chen, 1982, 28. This chapter originates from material used by the author at Imperial College, University of London, between 1981 and 199. It is available free to all individuals,

More information

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.] Math 43 Review Notes [Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty Dot Product If v (v, v, v 3 and w (w, w, w 3, then the

More information

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero. Finite Mathematics Chapter 2 Section 2.1 Systems of Linear Equations: An Introduction Systems of Equations Recall that a system of two linear equations in two variables may be written in the general form

More information

9.1 - Systems of Linear Equations: Two Variables

9.1 - Systems of Linear Equations: Two Variables 9.1 - Systems of Linear Equations: Two Variables Recall that a system of equations consists of two or more equations each with two or more variables. A solution to a system in two variables is an ordered

More information

Relationships Between Planes

Relationships Between Planes Relationships Between Planes Definition: consistent (system of equations) A system of equations is consistent if there exists one (or more than one) solution that satisfies the system. System 1: {, System

More information

Systems of Linear Equations in Two Variables. Break Even. Example. 240x x This is when total cost equals total revenue.

Systems of Linear Equations in Two Variables. Break Even. Example. 240x x This is when total cost equals total revenue. Systems of Linear Equations in Two Variables 1 Break Even This is when total cost equals total revenue C(x) = R(x) A company breaks even when the profit is zero P(x) = R(x) C(x) = 0 2 R x 565x C x 6000

More information

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form Chapter 5. Linear Algebra A linear (algebraic) equation in n unknowns, x 1, x 2,..., x n, is an equation of the form a 1 x 1 + a 2 x 2 + + a n x n = b where a 1, a 2,..., a n and b are real numbers. 1

More information

March 19 - Solving Linear Systems

March 19 - Solving Linear Systems March 19 - Solving Linear Systems Welcome to linear algebra! Linear algebra is the study of vectors, vector spaces, and maps between vector spaces. It has applications across data analysis, computer graphics,

More information

Lecture Notes in Mathematics. Arkansas Tech University Department of Mathematics. The Basics of Linear Algebra

Lecture Notes in Mathematics. Arkansas Tech University Department of Mathematics. The Basics of Linear Algebra Lecture Notes in Mathematics Arkansas Tech University Department of Mathematics The Basics of Linear Algebra Marcel B. Finan c All Rights Reserved Last Updated November 30, 2015 2 Preface Linear algebra

More information

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix Algebra & Trig. I 8.1 Matrix Solutions to Linear Systems A matrix is a rectangular array of elements. o An array is a systematic arrangement of numbers or symbols in rows and columns. Matrices (the plural

More information

2. Every linear system with the same number of equations as unknowns has a unique solution.

2. Every linear system with the same number of equations as unknowns has a unique solution. 1. For matrices A, B, C, A + B = A + C if and only if A = B. 2. Every linear system with the same number of equations as unknowns has a unique solution. 3. Every linear system with the same number of equations

More information

Rectangular Systems and Echelon Forms

Rectangular Systems and Echelon Forms CHAPTER 2 Rectangular Systems and Echelon Forms 2.1 ROW ECHELON FORM AND RANK We are now ready to analyze more general linear systems consisting of m linear equations involving n unknowns a 11 x 1 + a

More information

Lecture 7: Introduction to linear systems

Lecture 7: Introduction to linear systems Lecture 7: Introduction to linear systems Two pictures of linear systems Consider the following system of linear algebraic equations { x 2y =, 2x+y = 7. (.) Note that it is a linear system with two unknowns

More information

Introduction to Matrices

Introduction to Matrices POLS 704 Introduction to Matrices Introduction to Matrices. The Cast of Characters A matrix is a rectangular array (i.e., a table) of numbers. For example, 2 3 X 4 5 6 (4 3) 7 8 9 0 0 0 Thismatrix,with4rowsand3columns,isoforder

More information

MATH 2331 Linear Algebra. Section 1.1 Systems of Linear Equations. Finding the solution to a set of two equations in two variables: Example 1: Solve:

MATH 2331 Linear Algebra. Section 1.1 Systems of Linear Equations. Finding the solution to a set of two equations in two variables: Example 1: Solve: MATH 2331 Linear Algebra Section 1.1 Systems of Linear Equations Finding the solution to a set of two equations in two variables: Example 1: Solve: x x = 3 1 2 2x + 4x = 12 1 2 Geometric meaning: Do these

More information

Example: 2x y + 3z = 1 5y 6z = 0 x + 4z = 7. Definition: Elementary Row Operations. Example: Type I swap rows 1 and 3

Example: 2x y + 3z = 1 5y 6z = 0 x + 4z = 7. Definition: Elementary Row Operations. Example: Type I swap rows 1 and 3 Math 0 Row Reduced Echelon Form Techniques for solving systems of linear equations lie at the heart of linear algebra. In high school we learn to solve systems with or variables using elimination and substitution

More information

Linear Equation: a 1 x 1 + a 2 x a n x n = b. x 1, x 2,..., x n : variables or unknowns

Linear Equation: a 1 x 1 + a 2 x a n x n = b. x 1, x 2,..., x n : variables or unknowns Linear Equation: a x + a 2 x 2 +... + a n x n = b. x, x 2,..., x n : variables or unknowns a, a 2,..., a n : coefficients b: constant term Examples: x + 4 2 y + (2 5)z = is linear. x 2 + y + yz = 2 is

More information

1 - Systems of Linear Equations

1 - Systems of Linear Equations 1 - Systems of Linear Equations 1.1 Introduction to Systems of Linear Equations Almost every problem in linear algebra will involve solving a system of equations. ü LINEAR EQUATIONS IN n VARIABLES We are

More information

Recall, we solved the system below in a previous section. Here, we learn another method. x + 4y = 14 5x + 3y = 2

Recall, we solved the system below in a previous section. Here, we learn another method. x + 4y = 14 5x + 3y = 2 We will learn how to use a matrix to solve a system of equations. College algebra Class notes Matrices and Systems of Equations (section 6.) Recall, we solved the system below in a previous section. Here,

More information

Contents. 1 Vectors, Lines and Planes 1. 2 Gaussian Elimination Matrices Vector Spaces and Subspaces 124

Contents. 1 Vectors, Lines and Planes 1. 2 Gaussian Elimination Matrices Vector Spaces and Subspaces 124 Matrices Math 220 Copyright 2016 Pinaki Das This document is freely redistributable under the terms of the GNU Free Documentation License For more information, visit http://wwwgnuorg/copyleft/fdlhtml Contents

More information

Section Gaussian Elimination

Section Gaussian Elimination Section. - Gaussian Elimination A matrix is said to be in row echelon form (REF) if it has the following properties:. The first nonzero entry in any row is a. We call this a leading one or pivot one..

More information

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017 Math 4A Notes Written by Victoria Kala vtkala@math.ucsb.edu Last updated June 11, 2017 Systems of Linear Equations A linear equation is an equation that can be written in the form a 1 x 1 + a 2 x 2 +...

More information

Linear Algebra. Min Yan

Linear Algebra. Min Yan Linear Algebra Min Yan January 2, 2018 2 Contents 1 Vector Space 7 1.1 Definition................................. 7 1.1.1 Axioms of Vector Space..................... 7 1.1.2 Consequence of Axiom......................

More information

Lecture 1 Systems of Linear Equations and Matrices

Lecture 1 Systems of Linear Equations and Matrices Lecture 1 Systems of Linear Equations and Matrices Math 19620 Outline of Course Linear Equations and Matrices Linear Transformations, Inverses Bases, Linear Independence, Subspaces Abstract Vector Spaces

More information

MATH10212 Linear Algebra B Homework Week 3. Be prepared to answer the following oral questions if asked in the supervision class

MATH10212 Linear Algebra B Homework Week 3. Be prepared to answer the following oral questions if asked in the supervision class MATH10212 Linear Algebra B Homework Week Students are strongly advised to acquire a copy of the Textbook: D. C. Lay Linear Algebra its Applications. Pearson, 2006. ISBN 0-521-2871-4. Normally, homework

More information

1300 Linear Algebra and Vector Geometry

1300 Linear Algebra and Vector Geometry 1300 Linear Algebra and Vector Geometry R. Craigen Office: MH 523 Email: craigenr@umanitoba.ca May-June 2017 Introduction: linear equations Read 1.1 (in the text that is!) Go to course, class webpages.

More information

Lecture 4: Gaussian Elimination and Homogeneous Equations

Lecture 4: Gaussian Elimination and Homogeneous Equations Lecture 4: Gaussian Elimination and Homogeneous Equations Reduced Row Echelon Form An augmented matrix associated to a system of linear equations is said to be in Reduced Row Echelon Form (RREF) if the

More information

Vector Spaces, Orthogonality, and Linear Least Squares

Vector Spaces, Orthogonality, and Linear Least Squares Week Vector Spaces, Orthogonality, and Linear Least Squares. Opening Remarks.. Visualizing Planes, Lines, and Solutions Consider the following system of linear equations from the opener for Week 9: χ χ

More information

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB Glossary of Linear Algebra Terms Basis (for a subspace) A linearly independent set of vectors that spans the space Basic Variable A variable in a linear system that corresponds to a pivot column in the

More information

36 What is Linear Algebra?

36 What is Linear Algebra? 36 What is Linear Algebra? The authors of this textbook think that solving linear systems of equations is a big motivation for studying linear algebra This is certainly a very respectable opinion as systems

More information

What is A + B? What is A B? What is AB? What is BA? What is A 2? and B = QUESTION 2. What is the reduced row echelon matrix of A =

What is A + B? What is A B? What is AB? What is BA? What is A 2? and B = QUESTION 2. What is the reduced row echelon matrix of A = STUDENT S COMPANIONS IN BASIC MATH: THE ELEVENTH Matrix Reloaded by Block Buster Presumably you know the first part of matrix story, including its basic operations (addition and multiplication) and row

More information

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra 1 Linear Equations in Linear Algebra 1.1 SYSTEMS OF LINEAR EQUATIONS LINEAR EQUATION,, 1 n A linear equation in the variables equation that can be written in the form a a a b 1 1 2 2 n n a a is an where

More information

System of Linear Equations

System of Linear Equations Chapter 7 - S&B Gaussian and Gauss-Jordan Elimination We will study systems of linear equations by describing techniques for solving such systems. The preferred solution technique- Gaussian elimination-

More information

Linear Algebra Handout

Linear Algebra Handout Linear Algebra Handout References Some material and suggested problems are taken from Fundamentals of Matrix Algebra by Gregory Hartman, which can be found here: http://www.vmi.edu/content.aspx?id=779979.

More information

Linear Algebra March 16, 2019

Linear Algebra March 16, 2019 Linear Algebra March 16, 2019 2 Contents 0.1 Notation................................ 4 1 Systems of linear equations, and matrices 5 1.1 Systems of linear equations..................... 5 1.2 Augmented

More information

chapter 12 MORE MATRIX ALGEBRA 12.1 Systems of Linear Equations GOALS

chapter 12 MORE MATRIX ALGEBRA 12.1 Systems of Linear Equations GOALS chapter MORE MATRIX ALGEBRA GOALS In Chapter we studied matrix operations and the algebra of sets and logic. We also made note of the strong resemblance of matrix algebra to elementary algebra. The reader

More information

Math "Matrix Approach to Solving Systems" Bibiana Lopez. November Crafton Hills College. (CHC) 6.3 November / 25

Math Matrix Approach to Solving Systems Bibiana Lopez. November Crafton Hills College. (CHC) 6.3 November / 25 Math 102 6.3 "Matrix Approach to Solving Systems" Bibiana Lopez Crafton Hills College November 2010 (CHC) 6.3 November 2010 1 / 25 Objectives: * Define a matrix and determine its order. * Write the augmented

More information

Topic 14 Notes Jeremy Orloff

Topic 14 Notes Jeremy Orloff Topic 4 Notes Jeremy Orloff 4 Row reduction and subspaces 4. Goals. Be able to put a matrix into row reduced echelon form (RREF) using elementary row operations.. Know the definitions of null and column

More information

Lecture 2 Systems of Linear Equations and Matrices, Continued

Lecture 2 Systems of Linear Equations and Matrices, Continued Lecture 2 Systems of Linear Equations and Matrices, Continued Math 19620 Outline of Lecture Algorithm for putting a matrix in row reduced echelon form - i.e. Gauss-Jordan Elimination Number of Solutions

More information

12/1/2015 LINEAR ALGEBRA PRE-MID ASSIGNMENT ASSIGNED BY: PROF. SULEMAN SUBMITTED BY: M. REHAN ASGHAR BSSE 4 ROLL NO: 15126

12/1/2015 LINEAR ALGEBRA PRE-MID ASSIGNMENT ASSIGNED BY: PROF. SULEMAN SUBMITTED BY: M. REHAN ASGHAR BSSE 4 ROLL NO: 15126 12/1/2015 LINEAR ALGEBRA PRE-MID ASSIGNMENT ASSIGNED BY: PROF. SULEMAN SUBMITTED BY: M. REHAN ASGHAR Cramer s Rule Solving a physical system of linear equation by using Cramer s rule Cramer s rule is really

More information

Solving Linear Systems Using Gaussian Elimination

Solving Linear Systems Using Gaussian Elimination Solving Linear Systems Using Gaussian Elimination DEFINITION: A linear equation in the variables x 1,..., x n is an equation that can be written in the form a 1 x 1 +...+a n x n = b, where a 1,...,a n

More information

Math 1314 Week #14 Notes

Math 1314 Week #14 Notes Math 3 Week # Notes Section 5.: A system of equations consists of two or more equations. A solution to a system of equations is a point that satisfies all the equations in the system. In this chapter,

More information

The value of a problem is not so much coming up with the answer as in the ideas and attempted ideas it forces on the would be solver I.N.

The value of a problem is not so much coming up with the answer as in the ideas and attempted ideas it forces on the would be solver I.N. Math 410 Homework Problems In the following pages you will find all of the homework problems for the semester. Homework should be written out neatly and stapled and turned in at the beginning of class

More information

Last Time. x + 3y = 6 x + 2y = 1. x + 3y = 6 y = 1. 2x + 4y = 8 x 2y = 1. x + 3y = 6 2x y = 7. Lecture 2

Last Time. x + 3y = 6 x + 2y = 1. x + 3y = 6 y = 1. 2x + 4y = 8 x 2y = 1. x + 3y = 6 2x y = 7. Lecture 2 January 9 Last Time 1. Last time we ended with saying that the following four systems are equivalent in the sense that we can move from one system to the other by a special move we discussed. (a) (b) (c)

More information

Lecture 3: Gaussian Elimination, continued. Lecture 3: Gaussian Elimination, continued

Lecture 3: Gaussian Elimination, continued. Lecture 3: Gaussian Elimination, continued Definition The process of solving a system of linear equations by converting the system to an augmented matrix is called Gaussian Elimination. The general strategy is as follows: Convert the system of

More information

The Gauss-Jordan Elimination Algorithm

The Gauss-Jordan Elimination Algorithm The Gauss-Jordan Elimination Algorithm Solving Systems of Real Linear Equations A. Havens Department of Mathematics University of Massachusetts, Amherst January 24, 2018 Outline 1 Definitions Echelon Forms

More information

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2 Final Review Sheet The final will cover Sections Chapters 1,2,3 and 4, as well as sections 5.1-5.4, 6.1-6.2 and 7.1-7.3 from chapters 5,6 and 7. This is essentially all material covered this term. Watch

More information

Chapter 1: Systems of Linear Equations

Chapter 1: Systems of Linear Equations Chapter : Systems of Linear Equations February, 9 Systems of linear equations Linear systems Lecture 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

More information

Matrices and systems of linear equations

Matrices and systems of linear equations Matrices and systems of linear equations Samy Tindel Purdue University Differential equations and linear algebra - MA 262 Taken from Differential equations and linear algebra by Goode and Annin Samy T.

More information

Chapter 1: Linear Equations

Chapter 1: Linear Equations Chapter : Linear Equations (Last Updated: September, 6) The material for these notes is derived primarily from Linear Algebra and its applications by David Lay (4ed).. Systems of Linear Equations Before

More information

Example: 2x y + 3z = 1 5y 6z = 0 x + 4z = 7. Definition: Elementary Row Operations. Example: Type I swap rows 1 and 3

Example: 2x y + 3z = 1 5y 6z = 0 x + 4z = 7. Definition: Elementary Row Operations. Example: Type I swap rows 1 and 3 Linear Algebra Row Reduced Echelon Form Techniques for solving systems of linear equations lie at the heart of linear algebra. In high school we learn to solve systems with or variables using elimination

More information

Matrices and RRE Form

Matrices and RRE Form Matrices and RRE Form Notation R is the real numbers, C is the complex numbers (we will only consider complex numbers towards the end of the course) is read as an element of For instance, x R means that

More information

Linear Independence Reading: Lay 1.7

Linear Independence Reading: Lay 1.7 Linear Independence Reading: Lay 17 September 11, 213 In this section, we discuss the concept of linear dependence and independence I am going to introduce the definitions and then work some examples and

More information

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination Winfried Just, Ohio University September 22, 2017 Review: The coefficient matrix Consider a system of m linear equations in n variables.

More information

MATH 2050 Assignment 6 Fall 2018 Due: Thursday, November 1. x + y + 2z = 2 x + y + z = c 4x + 2z = 2

MATH 2050 Assignment 6 Fall 2018 Due: Thursday, November 1. x + y + 2z = 2 x + y + z = c 4x + 2z = 2 MATH 5 Assignment 6 Fall 8 Due: Thursday, November [5]. For what value of c does have a solution? Is it unique? x + y + z = x + y + z = c 4x + z = Writing the system as an augmented matrix, we have c R

More information

Linear Algebra. Ben Woodruff. Compiled July 17, 2010

Linear Algebra. Ben Woodruff. Compiled July 17, 2010 Linear Algebra Ben Woodruff Compiled July 7, i c This work is licensed under the Creative Commons Attribution-Share Alike 3. United States License. You may copy, distribute, display, and perform this copyrighted

More information

Chapter 1: Linear Equations

Chapter 1: Linear Equations Chapter : Linear Equations (Last Updated: September, 7) The material for these notes is derived primarily from Linear Algebra and its applications by David Lay (4ed).. Systems of Linear Equations Before

More information

System of Linear Equations. Slide for MA1203 Business Mathematics II Week 1 & 2

System of Linear Equations. Slide for MA1203 Business Mathematics II Week 1 & 2 System of Linear Equations Slide for MA1203 Business Mathematics II Week 1 & 2 Function A manufacturer would like to know how his company s profit is related to its production level. How does one quantity

More information

a s 1.3 Matrix Multiplication. Know how to multiply two matrices and be able to write down the formula

a s 1.3 Matrix Multiplication. Know how to multiply two matrices and be able to write down the formula Syllabus for Math 308, Paul Smith Book: Kolman-Hill Chapter 1. Linear Equations and Matrices 1.1 Systems of Linear Equations Definition of a linear equation and a solution to a linear equations. Meaning

More information

All of my class notes can be found at

All of my class notes can be found at My name is Leon Hostetler I am currently a student at Florida State University majoring in physics as well as applied and computational mathematics Feel free to download, print, and use these class notes

More information

Chapter 7. Linear Algebra: Matrices, Vectors,

Chapter 7. Linear Algebra: Matrices, Vectors, Chapter 7. Linear Algebra: Matrices, Vectors, Determinants. Linear Systems Linear algebra includes the theory and application of linear systems of equations, linear transformations, and eigenvalue problems.

More information

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015 Midterm 1 Review Written by Victoria Kala vtkala@math.ucsb.edu SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015 Summary This Midterm Review contains notes on sections 1.1 1.5 and 1.7 in your

More information

Systems of Linear Equations. By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University

Systems of Linear Equations. By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University Systems of Linear Equations By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University Standard of Competency: Understanding the properties of systems of linear equations, matrices,

More information

3. Replace any row by the sum of that row and a constant multiple of any other row.

3. Replace any row by the sum of that row and a constant multiple of any other row. Section. Solution of Linear Systems by Gauss-Jordan Method A matrix is an ordered rectangular array of numbers, letters, symbols or algebraic expressions. A matrix with m rows and n columns has size or

More information

Linear Algebra: Lecture Notes. Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway

Linear Algebra: Lecture Notes. Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway Linear Algebra: Lecture Notes Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway November 6, 23 Contents Systems of Linear Equations 2 Introduction 2 2 Elementary Row

More information

(Linear equations) Applied Linear Algebra in Geoscience Using MATLAB

(Linear equations) Applied Linear Algebra in Geoscience Using MATLAB Applied Linear Algebra in Geoscience Using MATLAB (Linear equations) Contents Getting Started Creating Arrays Mathematical Operations with Arrays Using Script Files and Managing Data Two-Dimensional Plots

More information

1 System of linear equations

1 System of linear equations 1 System of linear equations 1.1 Two equations in two unknowns The following is a system of two linear equations in the two unknowns x and y: x y = 1 3x+4y = 6. A solution to the system is a pair (x,y)

More information

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ]

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ] Matrices: Definition: An m n matrix, A m n is a rectangular array of numbers with m rows and n columns: a, a, a,n a, a, a,n A m,n =...... a m, a m, a m,n Each a i,j is the entry at the i th row, j th column.

More information

Elementary Linear Algebra Review for Exam 2 Exam is Monday, November 16th.

Elementary Linear Algebra Review for Exam 2 Exam is Monday, November 16th. Elementary Linear Algebra Review for Exam Exam is Monday, November 6th. The exam will cover sections:.4,..4, 5. 5., 7., the class notes on Markov Models. You must be able to do each of the following. Section.4

More information

Linear Algebra. and

Linear Algebra. and Instructions Please answer the six problems on your own paper. These are essay questions: you should write in complete sentences. 1. Are the two matrices 1 2 2 1 3 5 2 7 and 1 1 1 4 4 2 5 5 2 row equivalent?

More information

1.2 Row Echelon Form EXAMPLE 1

1.2 Row Echelon Form EXAMPLE 1 .2 Row Echelon Form 7. The two systems 2x + x 2 = 4x + x 2 = 5 and 2x + x 2 = 4x + x 2 = have the same coefficient matrix but different righthand sides. Solve both systems simultaneously by eliminating

More information

Linear Algebra Done Wrong. Sergei Treil. Department of Mathematics, Brown University

Linear Algebra Done Wrong. Sergei Treil. Department of Mathematics, Brown University Linear Algebra Done Wrong Sergei Treil Department of Mathematics, Brown University Copyright c Sergei Treil, 2004, 2009 Preface The title of the book sounds a bit mysterious. Why should anyone read this

More information

Solutions of Linear system, vector and matrix equation

Solutions of Linear system, vector and matrix equation Goals: Solutions of Linear system, vector and matrix equation Solutions of linear system. Vectors, vector equation. Matrix equation. Math 112, Week 2 Suggested Textbook Readings: Sections 1.3, 1.4, 1.5

More information

MAT Linear Algebra Collection of sample exams

MAT Linear Algebra Collection of sample exams MAT 342 - Linear Algebra Collection of sample exams A-x. (0 pts Give the precise definition of the row echelon form. 2. ( 0 pts After performing row reductions on the augmented matrix for a certain system

More information

Some Notes on Linear Algebra

Some Notes on Linear Algebra Some Notes on Linear Algebra prepared for a first course in differential equations Thomas L Scofield Department of Mathematics and Statistics Calvin College 1998 1 The purpose of these notes is to present

More information

Math Computation Test 1 September 26 th, 2016 Debate: Computation vs. Theory Whatever wins, it ll be Huuuge!

Math Computation Test 1 September 26 th, 2016 Debate: Computation vs. Theory Whatever wins, it ll be Huuuge! Math 5- Computation Test September 6 th, 6 Debate: Computation vs. Theory Whatever wins, it ll be Huuuge! Name: Answer Key: Making Math Great Again Be sure to show your work!. (8 points) Consider the following

More information

Chapter Two Elements of Linear Algebra

Chapter Two Elements of Linear Algebra Chapter Two Elements of Linear Algebra Previously, in chapter one, we have considered single first order differential equations involving a single unknown function. In the next chapter we will begin to

More information

1 Last time: linear systems and row operations

1 Last time: linear systems and row operations 1 Last time: linear systems and row operations Here s what we did last time: a system of linear equations or linear system is a list of equations a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22

More information

Math 2331 Linear Algebra

Math 2331 Linear Algebra 1.1 Linear System Math 2331 Linear Algebra 1.1 Systems of Linear Equations Shang-Huan Chiu Department of Mathematics, University of Houston schiu@math.uh.edu math.uh.edu/ schiu/ Shang-Huan Chiu, University

More information

Study Guide for Linear Algebra Exam 2

Study Guide for Linear Algebra Exam 2 Study Guide for Linear Algebra Exam 2 Term Vector Space Definition A Vector Space is a nonempty set V of objects, on which are defined two operations, called addition and multiplication by scalars (real

More information

MTH 464: Computational Linear Algebra

MTH 464: Computational Linear Algebra MTH 464: Computational Linear Algebra Lecture Outlines Exam 1 Material Dr. M. Beauregard Department of Mathematics & Statistics Stephen F. Austin State University January 9, 2018 Linear Algebra (MTH 464)

More information

Linear Algebra for Beginners Open Doors to Great Careers. Richard Han

Linear Algebra for Beginners Open Doors to Great Careers. Richard Han Linear Algebra for Beginners Open Doors to Great Careers Richard Han Copyright 2018 Richard Han All rights reserved. CONTENTS PREFACE... 7 1 - INTRODUCTION... 8 2 SOLVING SYSTEMS OF LINEAR EQUATIONS...

More information

Chapter 9: Systems of Equations and Inequalities

Chapter 9: Systems of Equations and Inequalities Chapter 9: Systems of Equations and Inequalities 9. Systems of Equations Solve the system of equations below. By this we mean, find pair(s) of numbers (x, y) (if possible) that satisfy both equations.

More information

System of Equations: An Introduction

System of Equations: An Introduction System of Equations: An Introduction Many books on linear algebra will introduce matrices via systems of linear equations. We tried a different approach. We hope this way you will appreciate matrices as

More information