4. SYSTEMS OF LINEAR EQUATIONS

Size: px
Start display at page:

Download "4. SYSTEMS OF LINEAR EQUATIONS"

Transcription

1 . SYSTMS OF LINR QUTIONS.. Linear quations linear equation is an equation of the form a x + a x a n x n = d where the a i s and d, are constants. The a i s are called coefficients, and the x i s are variables. If there are just three variables we generally use the symbols x, y, z as the variables and write the equation as ax + by + cz = d. If there are only two variables we write it as ax + by = c. linear equation ax + by = c represents an equation in the plane (so long as either a or b is non=zero). linear equation ax + by + cz = d represents a plane in -dimensional space (again, provided at least one of the coefficients is non-zero). system of linear equations is a set of two or more linear equations. Solving such a system means finding all of the combinations of the variables for which all of the equations hold. If we have a system of two equations in two variables we generally get a unique solution. This is because the two equations represent two straight lines in the plane, and generally two such lines intersect in a single point. Of course, it is possible for the lines to be parallel, in which case there are no solutions. It is very easy to solve two linear equations in two variables. We simply multiply the equations by suitable constants and then add or subtract to eliminate one variable. We then substitute this into either of the equations to find the value of the other variable. x 7y = xample : Solve the system. x + y = 8 x y = Solution: Multiply the first equation by and the second equation by to get x + y = Now subtract the first equation from the second. This gives y =. Hence y =. Substituting into the original first equation we get x =. Hence x = and so x =. Thus x =, y = is the unique solution. If we had instead substituted into the original second equation we would have got x + 8 = 8, x = and so x =. Geometrically, the two lines intersect in the point (, ). Solving three equations in three variables can be viewed geometrically as finding points of intersections of planes. The typical case is where there is just one point of intersection, but there are cases where there are infinitely many solutions, such as when the planes intersect in a line, and there are cases where there are no solutions..

2 and. One can use the same ad hoc method of eliminating variables to solve such a system. The problem is, that frequently students eliminate one variable and, while attempting to eliminate a second variable, the first variable creeps back in. What is needed is a lot of discipline and an systematic procedure. s well, in solving such a system we could find ourselves writing down lots of x s and y s and z s. This is unnecessary as all the arithmetic involves just the coefficients and the constants on the right hand sides of the equations. So we strip off the variable names and work with just the table of coefficients and the table of constants. Often we arrange data in a table of rows and columns. Such a table can be considered as a single mathematical object, called a matrix (plural matrices ). n m n matrix is a rectangular array of numbers arranged in m rows and n columns. The numbers can come from any field, such as the field of real numbers or the field of complex numbers. The entries in the table are called the components of the matrix. If there s just one column we call the matrix a column vector. So if we have the system of linear equations: ax + by + cz = d ex + fy + gz = h px + qy + rz = s a b c we could write this a matrix and a column vector: e f g p q r Note that we use large parentheses rather than draw up a grid of squares. ctually we put the matrix of coefficients and the column vector of constants into a single matrix called the augmented matrix. The coefficient matrix is augmented by the constant vector. In this case we write the above system of equations in variables as: a b c d e f g h p q r s Note that we separate the coefficient part from the constants by a vertical line. This is not necessary but it makes it easier to read. Think of the vertical line as a column of equal signs. In fact the augmented matrix is a sort of dehydrated version of the system of equations just add variables. With a little practice you should be able to read an augmented matrix as a system of equations provided you know the variable names. Of course it s important that the equations are arranged so that the variables come in the same order, so that each column in the coefficient part refers to the same variable. nd if a variable is missing from an equation it should be given a coefficient of zero. x y + z = x y + z = xample : The system x z = should be first rewritten as x + y z =. z = y + x + y z = It can then be written as the augmented matrix. (With a bit of practice you can write down the augmented matrix straight away.) d h s

3 ,,. When solving such a system there are certain operations we are permitted to use. These produce a different, but equivalent, set of equations equivalent in the sense that they have the same solutions. We can rearrange the equations, we can multiply an equation by a non-zero constant and we can add or subtract one equation from another. The aim is to put the augmented matrix into what is known as echelon form... chelon Form matrix is said to be in echelon form if: () any zero rows are at the bottom; () the first non-zero entry in the other rows is ; () these s are staggered so that later rows have their in later columns. The importance of having an augmented matrix in echelon form is that it is very easy to solve the system by a method known as back substitution. This method is illustrated below. xample : The following are some augmented matrices in echelon form: 7 8, 7 The advantage of having an echelon form is that it s easy to solve the equations by back substitution. In the first case, if the variables are x, y, z the last equation is z = 7. Substituting in the second last equation, y + z =, we get y = 9. Finally substituting into the first equation x + y + z = we get x =. If the variables in the second system are x, x, x, x the last equation is =. This is redundant. The second last equation is x = 8. The second equation is x + x = 7 which gives x =. The first equation is x + x + x + x =, which simplifies to x + x = 9. Now x can be chosen arbitrarily. If we let x = k then x = 9 k. So the complete solution is: x = 9 k, x = k, x =, x = 8. In this case we have infinitely many solutions. Of course there is no logical reason for using k instead of x. It s just that it looks nicer. For the third augmented matrix the second equation is =. This is clearly impossible. This system has no solution. We say that the system of equations is inconsistent. The last system is rather trivial. There are two variable, say x and y, and essentially no equations. So we can choose any values for them. Once a system of equations is in echelon form it s very easy to see if the system is consistent or inconsistent, and if it is consistent it s easy to see if there is a unique solution or infinitely many. lso, the solution, or solutions can be found readily using back substitution. When a system of equations is solved by a computer program the coefficients and constants are stored in an array. There needs to be some systematic algorithm, or procedure. The three types of operation carried out by such a program are: Dividing a row of the augmented matrix by a non-zero constant; Subtracting a certain multiple of one row from another; Swapping two rows. If the matrix represents a system of equations these are permitted operations that do not change the solution. The algorithm that is used is known as the Gaussian lgorithm.

4 R R R R in R R R R R.. The Gaussian lgorithm Suppose = (a ij ) is an m n matrix, such as an augmented matrix. () Let r = and c =. () If a rc go to step (). () If a rc = but a ic for some i with r < i m swap row r with row i and go to (). () If a ic = for all i with r i m let c = c +. If c n go to step (). () ND () Divide row r by a rc. () For t = r+ to m, subtract a tc times row r from row t. (7) Increment both r and c by and go to step (). Note that step () makes a rc = and step () puts zeros underneath. xample : Put the matrix echelon form. 8 / / Solution : 8 8 / / / / / / R, R R / / / / / / ( /) / / / / 8/ / (/)R / / / / (8/) If this matrix is the augmented matrix of a system of equations then z =. From the second equation y =. From the first equation x =. Solution : When performing the algorithm by a computer the messy arithmetic is no problem. However when performing the calculation by hand it often pays to vary the algorithm in order to simplify the arithmetic. ny sequence of elementary row operations will do provided we end up with the echelon form. This is what we ve done here. 8 R 8 8 R, R R 8 R, R ( ),R ( ) 8 R 8

5 R R R R R R R R R 8 ( 8) Notice that we ve obtained a different, and simpler, echelon form. Different sequences of elementary row operations will generally yield different echelon forms. But if the matrix is the augmented matrix of a system of linear equations the solutions will be the same. Here we would have z = from the third equation, y = = from the nd and x = 8 = from the st equation. When systems of linear equations are solved on a computer the strict Gaussian algorithm, or a variation of it, is used. fter all the components will generally not be integers so there s no problem in dividing to get the s in the echelon form. But in examples that are designed to be done by hand the components are usually integers and there s some merit in varying the algorithm as we have done. x + y z = xample : Find the solution(s) to the system: x y + 7z = 7. x y + z = 7 Solution: R 7 7 We did this because we could see that we would get a. 7 R 7 7 R, R R Now we seem to be in trouble. How do we get a, without dividing row by, which would be very messy? If we subtract times row from row we get a smaller integer on the diagonal. 7 R 8 Now normally we might now subtract times row from row, getting on the diagonal. Or better still we could subtract times row from row, getting on the diagonal. But in this case we notice that we can divide row by, getting a on the diagonal and no fractions. 7 7 R 7 R 8 7 ( 8). So z =, y = + = and x = + =. Hence this system has the unique solution x =, y =, z =. 7

6 R R R R R R R R x + y z = xample 7: Find the solution(s) to the system: x y + 7z = 7. x 8y + 9z = Solution: R R R, R R R The system has contracted from equations in variables to just two. We ll therefore get infinitely many solutions. We may choose z arbitrarily. Let z = k. Then y = + k, so y = + k and hence x = k k = + k. lternatively, we could let z = k. It doesn t matter because k can represent an arbitrary number just as well as k. Now we have y = + (k) so y = + k. We have reduced the number of fractions, but of course we can t always get rid of them completely. Finally x = k (k) = + k. This gives the same solutions as above, although the values of k are different. The solution that corresponds to k = in the first solution corresponds to k = in the second. x + y z = xample 8: Find the solution(s) to the system: x y + 7z = 7. x 8y + 9z = Solution: This is almost the same system above. It differs only in the constant term of the last equation R R R, R R 9 7 R The last equation is inconsistent because it asserts that =. No choice of x, y and z will make this possible. Hence this system has no solutions. 8

7 we = Sometimes we have a system with infinitely many solutions but we only want the integer solutions. In this case we solve the system as usual, getting rational solutions. Then we use our knowledge of solving linear congruences. 7k For example if we obtained y = 7 would need 7k to be a multiple of 7 to get an integer value of y, So we would solve the congruence 7k (mod 7). Where the coefficient is small, as in this case, we simply rewrite the constant by adding multiples of the modulus until we can cancel. Remember that it s permissible to divide a linear congruence by any integer that is coprime with the modulus. In this case we d write 7k 7 (mod 7), so k (mod 7). This means + 7.7h that k = + 7h for some integer h and hence y = 7 7h +. x + y z = xample 9: Find an integer solution to the system: x y + 7z = 7. x 8y + 9z = Solution: We solve it as in example 8, getting the general solution: x = + k, y = + k, z = k. Now for an integer solution we need to have k (mod ). The general method for solving such congruences is to use the uclidean algorithm, but here there s a much easier way, since (mod ). So the congruence becomes k (mod ), and since is coprime with we may divide both sides by, getting k (mod ). So we get an integer solution for y by taking k =. This gives x =, y =, z =. xample : Solve the system: x + x + x + x = x + x + x + x = 9 x + x + x + x = 8. x + x + x + x = 9 x + x + x + x = 9 Solution: 8 8 R R, R R, R R, R +R R R This gets a. 9 9

8 9 8 R R 8 7 R R 7 R R R, R 7R The solution to the system of equations is x =, x = k, x = k = k, that is, x = k x = k x = k x = for all values of k... Systems of Homogeneous Linear quations homogeneous system of linear equations is a system where all the constant terms are zero. These are solved in exactly the same way as any other system. The main difference is that because the constant terms will remain as zeros throughout the calculation we can omit them altogether and just deal with the matrix of coefficients. Of course a homogeneous system always has the trivial solution x = x =... =. They are of interest when there are non-trivial solutions. xample : Solve the homogeneous system x + x + x + x = x + x + x + x = x + x + x + x = x + x + x + x = x + x + x + x =. Solution: 9 8

9 7 7. The solution to the system of equations is x =, x = k, x = k, x = ( k) k = k. So the solution is v = k k k = k for arbitrary k. homogeneous system has the form v = for some matrix. Clearly with a homogeneous system the sum of any two solutions is a solution and any scalar multiple of a solution is a solution. We say that the set of solutions of a homogeneous system is a vector space. In the above example it is -dimensional, and can be represented by a line in -dimensional space. The solution sets of some homogeneous systems have higher dimension. For example a certain homogeneous system might have the form h + k for arbitrary h, k. We say that this is a -dimensional vector space. However the concepts of vector space and dimension are discussed in another set of notes... The Gauss-Jordan lgorithm lthough solving a system of equations in echelon form is easy by back substitution nothing would beat an echelon form that looks like (I b). For example if we were able to reduce the augmented matrix to the echelon form: we could read off the solution as x =, y =, z =. If we obtained the echelon form by the Gaussian algorithm we could continue to use elementary operations until the matrix of coefficients was the identity matrix. R R, R R R R Of course this only works if there s a unique solution.

10 x + y z = xample 8: Solve the system: x y + 7z = 7. x y + z = 7 Solution: We begin by putting the augmented matrix, 7 7, in echelon form. 7 Since the augmented matrix has integer components and we are doing this by hand we won t follow 7 the Gaussian algorithm exactly. s above we get by suitable elementary row operations. The fact that the matrix of coefficients is square, and we have no zero rows, guarantees that it s possible to obtain the identity matrix by further elementary row operations. So, instead of using back-substitution as before, we continue until we get the identity matrix as the matrix of coefficients. 7 7 R R, R +R R + 7R Now we can read off the solution in the last column. The Gauss-Jordan algorithm is the best one to use on a computer because it s easier to implement than back-substitution. But doing things by hand it s better just to use the Gaussian algorithm, or a variation of it, and then back-substitution because it involves less writing. The amount of computation is the same in both cases. XRCISS FOR CHPTR x + y + z = xercise : Solve the system of equations: x y + z =. x + 7y + z = x + y + z = xercise : Solve the system: x + y + 8z =. 7x y + z = 7 x + y + 7z = xercise : Solve the homogeneous system: x y + z =. 8x + y + 7z = x + y + 7z = 7 xercise : Solve the system: x y + z =. 8x + y + 7z =

11 R R R R R x + y + 7z = xercise : Find the solutions to the system: x y + z =. 8x + y + 7z = x + y + 7z = xercise : Find the integer solutions to the system: x y + z =. 8x + y + 7z = x y + 7z = 7 xercise 7: Find the integer solutions to the system: 8x + y z =. 7x + 7y 7z = x y + 7z = xercise 8: Find two integer solutions to the system: x + y + z =. x y + 7z = SOLUTIONS FOR CHPTR xercise : 7 7 R R, R R 9 8 R 9 + 8R 9 ( ) So z =, y = + 9 =, x = + 9 =. xercise : R R R R, R 7R R R

12 k So z =, y = = + =, x = + + =. 8 R R R + R R + R, R R 78 R ( ) 7 = 7 xercise : = 7 = 7. So z = k, y = k whence y = k, x = k = k = k, so x = k. 7 / The solutions are all the multiples of /, or equivalently, all the multiples of 7. xercise :

13 .,.,.. so. 7 The system is inconsistent. There are no solutions xercise : Let z = k. k Then y = k, so y = k + 7 7k + 8k + 7k + 7k x = k = = x = xercise : We found the complete solution to this system in the previous exercise. It is + 7k k x = y = z = k. For integer solutions we need 7k (mod ). Reducing modulo we get k 8(mod ). Since and are multiples of and 8 is not, there are no solutions to this congruence and hence no integer solutions to the system of linear equations. xercise 7: / 89/ The complete solution is z = k, 89 k 89 y = + k = k 89 x = k + 8k + 8 = Now for integer solutions we need 8k + 8 to be a multiple of, that is 8k 8 (mod ) 8(mod ).

14 . = = =. = = = = Since 8 is coprime with we may divide this congruence by 8 to obtain k (mod ). This gives the integer solutions as 8(h + ) + 8 x = 8h +, for some h (h + ) 89 y = = h + 7 and z = h xercise 8: Let z = k. 8 + k Then 7y = 8 + k so y = k x = 7 + k k k = 7 7 7k = 7 For an integer solution we would need 7k 7(mod 7) and k 8(mod 7). Reducing these modulo 7 these become k 7(mod 7) and k (mod 7). The first equation simplifies to k (mod 7). Remember that we are allowed to divide both sides by since is coprime with 7. Then k 7(mod 7), so the two equations are equivalent. Hence z = k = 7h for some integer h. 7 7(7h ) h 8 7.7h Then x = 7 7h (7h ) 8 +.7h 8 +.7h y = 7 + h. 7 7 Take h =. Then x =, y =, z = is an integer solution. Take h =. Then x =, y =, z = is another integer solution.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 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

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

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

Solution of Linear Systems

Solution of Linear Systems Chapter 3 Solution of Linear Systems In this chapter we study algorithms for possibly the most commonly occurring problem in scientific computing, the solution of linear systems of equations. We start

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

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

FURTHER VECTORS (MEI)

FURTHER VECTORS (MEI) Mathematics Revision Guides Further Vectors (MEI) (column notation) Page of MK HOME TUITION Mathematics Revision Guides Level: AS / A Level - MEI OCR MEI: C FURTHER VECTORS (MEI) Version : Date: -9-7 Mathematics

More information

Notes on Factoring. MA 206 Kurt Bryan

Notes on Factoring. MA 206 Kurt Bryan The General Approach Notes on Factoring MA 26 Kurt Bryan Suppose I hand you n, a 2 digit integer and tell you that n is composite, with smallest prime factor around 5 digits. Finding a nontrivial factor

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

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

II. Linear Systems of Equations

II. Linear Systems of Equations II. Linear Systems of Equations II. The Definition We are shortly going to develop a systematic procedure which is guaranteed to find every solution to every system of linear equations. The fact that such

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

No Solution Equations Let s look at the following equation: 2 +3=2 +7

No Solution Equations Let s look at the following equation: 2 +3=2 +7 5.4 Solving Equations with Infinite or No Solutions So far we have looked at equations where there is exactly one solution. It is possible to have more than solution in other types of equations that are

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

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

1 VECTOR SPACES AND SUBSPACES

1 VECTOR SPACES AND SUBSPACES 1 VECTOR SPACES AND SUBSPACES What is a vector? Many are familiar with the concept of a vector as: Something which has magnitude and direction. an ordered pair or triple. a description for quantities such

More information

Continued Fractions and the Euclidean Algorithm

Continued Fractions and the Euclidean Algorithm Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction

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

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

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

Elementary Matrices and The LU Factorization

Elementary Matrices and The LU Factorization lementary Matrices and The LU Factorization Definition: ny matrix obtained by performing a single elementary row operation (RO) on the identity (unit) matrix is called an elementary matrix. There are three

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

3. INNER PRODUCT SPACES

3. INNER PRODUCT SPACES . INNER PRODUCT SPACES.. Definition So far we have studied abstract vector spaces. These are a generalisation of the geometric spaces R and R. But these have more structure than just that of a vector space.

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

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

( ) 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

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra 1 Linear Equations in Linear Algebra 1.5 SOLUTION SETS OF LINEAR SYSTEMS HOMOGENEOUS LINEAR SYSTEMS A system of linear equations is said to be homogeneous if it can be written in the form A 0, where A

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

Algebra Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the 2012-13 school year.

Algebra Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the 2012-13 school year. This document is designed to help North Carolina educators teach the Common Core (Standard Course of Study). NCDPI staff are continually updating and improving these tools to better serve teachers. Algebra

More information

10.2 Systems of Linear Equations: Matrices

10.2 Systems of Linear Equations: Matrices SECTION 0.2 Systems of Linear Equations: Matrices 7 0.2 Systems of Linear Equations: Matrices OBJECTIVES Write the Augmente Matrix of a System of Linear Equations 2 Write the System from the Augmente Matrix

More information

CS3220 Lecture Notes: QR factorization and orthogonal transformations

CS3220 Lecture Notes: QR factorization and orthogonal transformations CS3220 Lecture Notes: QR factorization and orthogonal transformations Steve Marschner Cornell University 11 March 2009 In this lecture I ll talk about orthogonal matrices and their properties, discuss

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

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

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra May, 25 :46 l57-ch Sheet number Page number cyan magenta yellow black Linear Equations in Linear Algebra WEB INTRODUCTORY EXAMPLE Linear Models in Economics and Engineering It was late summer in 949. Harvard

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

MATHEMATICS FOR ENGINEERS BASIC MATRIX THEORY TUTORIAL 2

MATHEMATICS FOR ENGINEERS BASIC MATRIX THEORY TUTORIAL 2 MATHEMATICS FO ENGINEES BASIC MATIX THEOY TUTOIAL This is the second of two tutorials on matrix theory. On completion you should be able to do the following. Explain the general method for solving simultaneous

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

Lecture 3: Finding integer solutions to systems of linear equations

Lecture 3: Finding integer solutions to systems of linear equations Lecture 3: Finding integer solutions to systems of linear equations Algorithmic Number Theory (Fall 2014) Rutgers University Swastik Kopparty Scribe: Abhishek Bhrushundi 1 Overview The goal of this lecture

More information

Integrals of Rational Functions

Integrals of Rational Functions Integrals of Rational Functions Scott R. Fulton Overview A rational function has the form where p and q are polynomials. For example, r(x) = p(x) q(x) f(x) = x2 3 x 4 + 3, g(t) = t6 + 4t 2 3, 7t 5 + 3t

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

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc.

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc. 1. Introduction Linear Programming for Optimization Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc. 1.1 Definition Linear programming is the name of a branch of applied mathematics that

More information

3.1. RATIONAL EXPRESSIONS

3.1. RATIONAL EXPRESSIONS 3.1. RATIONAL EXPRESSIONS RATIONAL NUMBERS In previous courses you have learned how to operate (do addition, subtraction, multiplication, and division) on rational numbers (fractions). Rational numbers

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

Section 1.7 22 Continued

Section 1.7 22 Continued Section 1.5 23 A homogeneous equation is always consistent. TRUE - The trivial solution is always a solution. The equation Ax = 0 gives an explicit descriptions of its solution set. FALSE - The equation

More information

10.2 ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS. The Jacobi Method

10.2 ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS. The Jacobi Method 578 CHAPTER 1 NUMERICAL METHODS 1. ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS As a numerical technique, Gaussian elimination is rather unusual because it is direct. That is, a solution is obtained after

More information

Au = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively.

Au = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively. Chapter 7 Eigenvalues and Eigenvectors In this last chapter of our exploration of Linear Algebra we will revisit eigenvalues and eigenvectors of matrices, concepts that were already introduced in Geometry

More information

Direct Methods for Solving Linear Systems. Matrix Factorization

Direct Methods for Solving Linear Systems. Matrix Factorization Direct Methods for Solving Linear Systems Matrix Factorization Numerical Analysis (9th Edition) R L Burden & J D Faires Beamer Presentation Slides prepared by John Carroll Dublin City University c 2011

More information

1 Determine whether an. 2 Solve systems of linear. 3 Solve systems of linear. 4 Solve systems of linear. 5 Select the most efficient

1 Determine whether an. 2 Solve systems of linear. 3 Solve systems of linear. 4 Solve systems of linear. 5 Select the most efficient Section 3.1 Systems of Linear Equations in Two Variables 163 SECTION 3.1 SYSTEMS OF LINEAR EQUATIONS IN TWO VARIABLES Objectives 1 Determine whether an ordered pair is a solution of a system of linear

More information

9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes

9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes The Scalar Product 9.4 Introduction There are two kinds of multiplication involving vectors. The first is known as the scalar product or dot product. This is so-called because when the scalar product of

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

0.8 Rational Expressions and Equations

0.8 Rational Expressions and Equations 96 Prerequisites 0.8 Rational Expressions and Equations We now turn our attention to rational expressions - that is, algebraic fractions - and equations which contain them. The reader is encouraged to

More information

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012 Binary numbers The reason humans represent numbers using decimal (the ten digits from 0,1,... 9) is that we have ten fingers. There is no other reason than that. There is nothing special otherwise about

More information

Solve addition and subtraction word problems, and add and subtract within 10, e.g., by using objects or drawings to represent the problem.

Solve addition and subtraction word problems, and add and subtract within 10, e.g., by using objects or drawings to represent the problem. Solve addition and subtraction word problems, and add and subtract within 10, e.g., by using objects or drawings to represent the problem. Solve word problems that call for addition of three whole numbers

More information

How To Understand And Solve A Linear Programming Problem

How To Understand And Solve A Linear Programming Problem At the end of the lesson, you should be able to: Chapter 2: Systems of Linear Equations and Matrices: 2.1: Solutions of Linear Systems by the Echelon Method Define linear systems, unique solution, inconsistent,

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

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

Linear Programming Notes V Problem Transformations

Linear Programming Notes V Problem Transformations Linear Programming Notes V Problem Transformations 1 Introduction Any linear programming problem can be rewritten in either of two standard forms. In the first form, the objective is to maximize, the material

More information

LS.6 Solution Matrices

LS.6 Solution Matrices LS.6 Solution Matrices In the literature, solutions to linear systems often are expressed using square matrices rather than vectors. You need to get used to the terminology. As before, we state the definitions

More information

Chapter 17. Orthogonal Matrices and Symmetries of Space

Chapter 17. Orthogonal Matrices and Symmetries of Space Chapter 17. Orthogonal Matrices and Symmetries of Space Take a random matrix, say 1 3 A = 4 5 6, 7 8 9 and compare the lengths of e 1 and Ae 1. The vector e 1 has length 1, while Ae 1 = (1, 4, 7) has length

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

3.1. Solving linear equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

3.1. Solving linear equations. Introduction. Prerequisites. Learning Outcomes. Learning Style Solving linear equations 3.1 Introduction Many problems in engineering reduce to the solution of an equation or a set of equations. An equation is a type of mathematical expression which contains one or

More information

COLLEGE ALGEBRA. Paul Dawkins

COLLEGE ALGEBRA. Paul Dawkins COLLEGE ALGEBRA Paul Dawkins Table of Contents Preface... iii Outline... iv Preliminaries... Introduction... Integer Exponents... Rational Exponents... 9 Real Exponents...5 Radicals...6 Polynomials...5

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

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013 Notes on Orthogonal and Symmetric Matrices MENU, Winter 201 These notes summarize the main properties and uses of orthogonal and symmetric matrices. We covered quite a bit of material regarding these topics,

More information

Linear Programming. Solving LP Models Using MS Excel, 18

Linear Programming. Solving LP Models Using MS Excel, 18 SUPPLEMENT TO CHAPTER SIX Linear Programming SUPPLEMENT OUTLINE Introduction, 2 Linear Programming Models, 2 Model Formulation, 4 Graphical Linear Programming, 5 Outline of Graphical Procedure, 5 Plotting

More information

Partial Fractions. p(x) q(x)

Partial Fractions. p(x) q(x) Partial Fractions Introduction to Partial Fractions Given a rational function of the form p(x) q(x) where the degree of p(x) is less than the degree of q(x), the method of partial fractions seeks to break

More information

MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued).

MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued). MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors Jordan canonical form (continued) Jordan canonical form A Jordan block is a square matrix of the form λ 1 0 0 0 0 λ 1 0 0 0 0 λ 0 0 J = 0

More information

5.1 Radical Notation and Rational Exponents

5.1 Radical Notation and Rational Exponents Section 5.1 Radical Notation and Rational Exponents 1 5.1 Radical Notation and Rational Exponents We now review how exponents can be used to describe not only powers (such as 5 2 and 2 3 ), but also roots

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

POLYNOMIAL FUNCTIONS

POLYNOMIAL FUNCTIONS POLYNOMIAL FUNCTIONS Polynomial Division.. 314 The Rational Zero Test.....317 Descarte s Rule of Signs... 319 The Remainder Theorem.....31 Finding all Zeros of a Polynomial Function.......33 Writing a

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

9.2 Summation Notation

9.2 Summation Notation 9. Summation Notation 66 9. Summation Notation In the previous section, we introduced sequences and now we shall present notation and theorems concerning the sum of terms of a sequence. We begin with a

More information

8 Primes and Modular Arithmetic

8 Primes and Modular Arithmetic 8 Primes and Modular Arithmetic 8.1 Primes and Factors Over two millennia ago already, people all over the world were considering the properties of numbers. One of the simplest concepts is prime numbers.

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

Math 215 HW #6 Solutions

Math 215 HW #6 Solutions Math 5 HW #6 Solutions Problem 34 Show that x y is orthogonal to x + y if and only if x = y Proof First, suppose x y is orthogonal to x + y Then since x, y = y, x In other words, = x y, x + y = (x y) T

More information

Mathematics Course 111: Algebra I Part IV: Vector Spaces

Mathematics Course 111: Algebra I Part IV: Vector Spaces Mathematics Course 111: Algebra I Part IV: Vector Spaces D. R. Wilkins Academic Year 1996-7 9 Vector Spaces A vector space over some field K is an algebraic structure consisting of a set V on which are

More information