Math 290 Linear Modeling for Engineers

Total Page:16

File Type:pdf, Size:1020Kb

Math 290 Linear Modeling for Engineers Math 290 Linear Modeling for Engineers Instructor: Minnie Catral Text: Linear Algebra and Its Applications, 3rd ed. Update, by David Lay Have you ever used Matlab as a computing tool? 1. Yes 2. No 2 1.1 Systems of Equations System of 2 equations in 2 unknowns: Three possibilities: 1. The lines intersect. 2. The lines coincide. 3. The lines are parallel. 3 More generally: System of m equations in n unknowns A system is consistent if it has at least one solution. Otherwise, it is said to be inconsistent. 4 FACT: A system of linear equations has either (1) exactly one solution or (2) infinitely many solutions or (3) no solutions. The solution set is the set of all possible solutions of a linear system. Two systems are equivalent if they have the same solution set. STRATEGY FOR SOLVING A SYSTEM: Replace a system with an equivalent system that is easier to solve. 5 • EXAMPLE: 6 Matrix Notation 7 Elementary Row Operations: 1. (Interchange) Interchange two rows. 2. (Scaling) Multiply a row by a nonzero constant. 3. (Replacement) Replace a row by the sum of itself and a multiple of another row. Row equivalent Matrices: Two matrices where one matrix can be transformed into the other matrix by a sequence of elementary row operations. Notation: Fact about Row Equivalence: If the augmented matrices of two linear systems are row equivalent, then the two systems have the same solution set. 8 • EXAMPLE 9 Two Fundamental Questions (Existence and Uniqueness) 1. Is the system consistent? (i.e. does a solution exist?) 2. If a solution exists, is it unique? (i.e. is there one and only one solution?) 10 • EXAMPLE: Is this system consistent? 11 • EXAMPLE. For what value(s) of h will the following system be consistent? 12 Determine the value of h such that the matrix is the augmented matrix of a consistent system. 1. 2. 3. 4. 13 1.2 Row Reduction and Echelon Forms A matrix is in echelon form (or row echelon form) if 1. All nonzero rows are above any rows of all zeros. 2. Each leading entry (i.e. leftmost nonzero entry) of a row is in a column to the right of the leading entry of the row above it. 3. All entries in a column below a leading entry are zero. 14 Examples. Determine which matrix is in echelon form. (a) (b) (c) 15 A matrix is in echelon form (or row echelon form) if 1. All nonzero rows are above any rows of all zeros. 2. Each leading entry (i.e. leftmost nonzero entry) of a row is in a column to the right of the leading entry of the row above it. 3. All entries in a column below a leading entry are zero. A matrix is in reduced echelon form (or row reduced echelon form) if in addition to conditions 1,2,3 above: 4. The leading entry in each nonzero row is 1. 5. Each leading 1 is the only nonzero entry in its column. 16 Example. is in echelon form but not in reduced echelon form. 17 Uniqueness of the Reduced Echelon Form: Each matrix is row equivalent to one and only one reduced echelon matrix. 18 Important Terms: • pivot position: a position of a leading entry in an echelon form of the matrix • pivot: a nonzero number that either is used in a pivot position to create 0’s or is changed into a leading 1, which in turn is used to create 0’s. • pivot column: a column that contains a pivot position. 19 Example. 20 Solutions of Linear Systems • basic variable: any variable that corresponds to a pivot column in the augmented matrix of a system • free variable: all non-basic variables Example. Find the general solution of the linear system whose augmented matrix is given below: 21.
Recommended publications
  • Implementation of Gaussian- Elimination
    International Journal of Innovative Technology and Exploring Engineering (IJITEE) ISSN: 2278-3075, Volume-5 Issue-11, April 2016 Implementation of Gaussian- Elimination Awatif M.A. Elsiddieg Abstract: Gaussian elimination is an algorithm for solving systems of linear equations, can also use to find the rank of any II. PIVOTING matrix ,we use Gaussian Jordan elimination to find the inverse of a non singular square matrix. This work gives basic concepts The objective of pivoting is to make an element above or in section (1) , show what is pivoting , and implementation of below a leading one into a zero. Gaussian elimination to solve a system of linear equations. The "pivot" or "pivot element" is an element on the left Section (2) we find the rank of any matrix. Section (3) we use hand side of a matrix that you want the elements above and Gaussian elimination to find the inverse of a non singular square matrix. We compare the method by Gauss Jordan method. In below to be zero. Normally, this element is a one. If you can section (4) practical implementation of the method we inherit the find a book that mentions pivoting, they will usually tell you computation features of Gaussian elimination we use programs that you must pivot on a one. If you restrict yourself to the in Matlab software. three elementary row operations, then this is a true Keywords: Gaussian elimination, algorithm Gauss, statement. However, if you are willing to combine the Jordan, method, computation, features, programs in Matlab, second and third elementary row operations, you come up software.
    [Show full text]
  • Linear Algebra and Matrix Theory
    Linear Algebra and Matrix Theory Chapter 1 - Linear Systems, Matrices and Determinants This is a very brief outline of some basic definitions and theorems of linear algebra. We will assume that you know elementary facts such as how to add two matrices, how to multiply a matrix by a number, how to multiply two matrices, what an identity matrix is, and what a solution of a linear system of equations is. Hardly any of the theorems will be proved. More complete treatments may be found in the following references. 1. References (1) S. Friedberg, A. Insel and L. Spence, Linear Algebra, Prentice-Hall. (2) M. Golubitsky and M. Dellnitz, Linear Algebra and Differential Equa- tions Using Matlab, Brooks-Cole. (3) K. Hoffman and R. Kunze, Linear Algebra, Prentice-Hall. (4) P. Lancaster and M. Tismenetsky, The Theory of Matrices, Aca- demic Press. 1 2 2. Linear Systems of Equations and Gaussian Elimination The solutions, if any, of a linear system of equations (2.1) a11x1 + a12x2 + ··· + a1nxn = b1 a21x1 + a22x2 + ··· + a2nxn = b2 . am1x1 + am2x2 + ··· + amnxn = bm may be found by Gaussian elimination. The permitted steps are as follows. (1) Both sides of any equation may be multiplied by the same nonzero constant. (2) Any two equations may be interchanged. (3) Any multiple of one equation may be added to another equation. Instead of working with the symbols for the variables (the xi), it is eas- ier to place the coefficients (the aij) and the forcing terms (the bi) in a rectangular array called the augmented matrix of the system. a11 a12 .
    [Show full text]
  • Math 204, Spring 2020 About the First Test
    Math 204, Spring 2020 About the First Test The first test for this course will be given in class on Friday, February 21. It covers all of the material that we have done in Chapters 1 and 2, up to Chapter 2, Section II. For the test, you should know and understand all the definitions and theorems that we have covered. You should be able to work with matrices and systems of linear equations. The test will include some \short essay" questions that ask you to define something, or discuss something, or explain something, and so on. Other than that, you can expect most of the questions to be similar to problems that have been given on the homework. You can expect to do a few proofs, but they will be fairly straightforward. Here are some terms and ideas that you should be familiar with for the test: systems of linear equations solution set of a linear system of equations Gaussian elimination the three row operations notations for row operations: kρi + ρj, ρi $ ρj, kρj row operations are reversible applying row operations to a system of equations echelon form for a system of linear equations matrix; rows and columns of a matrix; m × n matrix representing a system of linear equations as an augmented matrix row operations and echelon form for matrices applying row operations to a matrix n vectors in R ; column vectors and row vectors n vector addition and scalar multiplication for vectors in R n linear combination of vectors in R expressing the solution set of a linear system in vector form homogeneous system of linear equations associated homogeneous
    [Show full text]
  • The Rank of Recurrence Matrices Christopher Lee University of Portland, [email protected]
    University of Portland Pilot Scholars Mathematics Faculty Publications and Presentations Mathematics 5-2014 The Rank of Recurrence Matrices Christopher Lee University of Portland, [email protected] Valerie Peterson University of Portland, [email protected] Follow this and additional works at: http://pilotscholars.up.edu/mth_facpubs Part of the Applied Mathematics Commons, and the Mathematics Commons Citation: Pilot Scholars Version (Modified MLA Style) Lee, Christopher and Peterson, Valerie, "The Rank of Recurrence Matrices" (2014). Mathematics Faculty Publications and Presentations. 9. http://pilotscholars.up.edu/mth_facpubs/9 This Journal Article is brought to you for free and open access by the Mathematics at Pilot Scholars. It has been accepted for inclusion in Mathematics Faculty Publications and Presentations by an authorized administrator of Pilot Scholars. For more information, please contact [email protected]. The Rank of Recurrence Matrices Christopher Lee and Valerie Peterson Christopher Lee ([email protected]), a Wyoming native, earned his Ph.D. from the University of Illinois in 2009; he is currently a Visiting Assistant Professor at the University of Portland. His primary field of research lies in differential topology and geometry, but he has interests in a variety of disciplines, including linear algebra and the mathematics of physics. When not teaching or learning math, Chris enjoys playing hockey, dabbling in cooking, and resisting the tendency for gravity to anchor heavy things to the ground. Valerie Peterson ([email protected]) received degrees in mathematics from Santa Clara University (B.S.) and the University of Illinois at Urbana-Champaign (Ph.D.) before joining the faculty at the University of Portland in 2009.
    [Show full text]
  • Math 2331 – Linear Algebra 4.6 Rank
    4.6 Rank Math 2331 { Linear Algebra 4.6 Rank Jiwen He Department of Mathematics, University of Houston [email protected] math.uh.edu/∼jiwenhe/math2331 Jiwen He, University of Houston Math 2331, Linear Algebra 1 / 16 4.6 Rank Row Space Rank Theorem IMT 4.6 Rank Row Space Row Space and Row Equivalence Row Space: Examples Rank: Defintion Rank Theorem Rank Theorem: Examples Visualizing Row A and Nul A The Invertible Matrix Theorem (continued) Jiwen He, University of Houston Math 2331, Linear Algebra 2 / 16 4.6 Rank Row Space Rank Theorem IMT Row Space Row Space The set of all linear combinations of the row vectors of a matrix A is called the row space of A and is denoted by Row A. Example Let 2 3 −1 2 3 6 r1 = (−1; 2; 3; 6) A = 4 2 −5 −6 −12 5 and r2 = (2; −5; −6; −12) : 1 −3 −3 −6 r3 = (1; −3; −3; −6) 4 Row A = Spanfr1; r2; r3g (a subspace of R ) While it is natural to express row vectors horizontally, they can also be written as column vectors if it is more convenient. Therefore Col AT = Row A . Jiwen He, University of Houston Math 2331, Linear Algebra 3 / 16 4.6 Rank Row Space Rank Theorem IMT Row Space and Row Equivalence When we use row operations to reduce matrix A to matrix B, we are taking linear combinations of the rows of A to come up with B. We could reverse this process and use row operations on B to get back to A.
    [Show full text]
  • Section 3.3. Matrix Rank and the Inverse of a Full Rank Matrix
    3.3. Matrix Rank and the Inverse of a Full Rank Matrix 1 Section 3.3. Matrix Rank and the Inverse of a Full Rank Matrix Note. The lengthy section (21 pages in the text) gives a thorough study of the rank of a matrix (and matrix products) and considers inverses of matrices briefly at the end. Note. Recall that the row space of a matrix A is the span of the row vectors of A and the row rank of A is the dimension of this row space. Similarly, the column space of A is the span of the column vectors of A and the column rank is the dimension of this column space. You will recall that the dimension of the column space and the dimension of the row space of a given matrix are the same (see Theorem 2.4 of Fraleigh and Beauregard’s Linear Algebra, 3rd Edition, Addison- Wesley Publishing Company, 1995, in 2.2. The Rank of a Matrix). We now give a proof of this based in part on Gentle’s argument and on Peter Lancaster’s Theory of Matrices, Academic Press (1969), page 42. First, we need a lemma. i k i i i k n Lemma 3.3.1. Let {a }i=1 = {[a1, a2, . , an]}i=1 be a set of vectors in R and let i k π ∈ Sn. Then the set of vectors {a }i=1 is linearly independent if and only if the set i i i k of vectors {[aπ(1), aπ(2), . , aπ(n)]}i=1 is linearly independent.
    [Show full text]
  • Notes on Row Reduction
    Notes on Row Reduction Francis J. Narcowich Department of Mathematics Texas A&M University May 2012 1 Notation and Terms The row echelon form of a matrix contains a great deal of information, both about the matrix itself and about systems of equations that may be associated with it. To talk about row reduction, we need to define several terms and introduce some notation. 1. Notation for elementary row operations. Row reduction is made easier by having notation for various row operations. This is the notation that we will use here. (The equals sign “‘=” used in the row operations below means “replacement,” which is common usage in computer languages.) I. R ↔ R′ means interchange rows R and R′. II. R = cR means multiply the current row R by c = 0 and make the result the new row R. III. R = R + cR′ means multiply R′ by c, then add cR′ to R, and make the result the new row R. 2. Row equivalence. A matrix A is row equivalent to a matrix B if A can be transformed into B using elementary row operations. When this happens, we write A ⇔ B. 3. Leading entry. The leading entry1 in a row is the first non-zero entry in a row. The leading entries in each row of M are in boldface type. 0 1 3 2 M = 2 4 0 −1 0 0 6 5 4. Row echelon form of a matrix. A matrix is in row echelon form if these hold: 1Leon does not have a name for this entry.
    [Show full text]
  • Gaussian Elimination Notation for Linear Systems
    Gaussian Elimination Notation for Linear Systems Last time we studied the linear system x + y = 27 (1) 2x − y = 0 (2) and found that x = 9 (3) y = 18 (4) We learned to write the linear system using a matrix and two vectors like so: ! ! ! 1 2 x 27 = 2 −1 y 0 Likewise, we can write the solution as: ! ! ! 1 0 x 9 = 0 1 y 18 ! 1 0 The matrix I = is called the Identity Matrix. You can check 0 1 that for any vector v, then Iv = v. A useful shorthand for a linear system is an Augmented Matrix, which looks like this for the linear system we've been dealing with: ! 1 1 27 2 −1 ! x We don't bother writing the vector , since it will show up in any y linear system we deal with, and we just leave blank spaces for 0's. The solution to the linear system looks like this: 1 ! 1 9 1 18 Here's another example of an augmented matrix, for a linear system with three equations and four unknowns: 0 1 3 2 91 B C @ 6 2 −2 A −1 1 1 3 And finally, here's the general case. The number of equations in the linear system is the number of rows r in the augmented matrix, and the number of columns k in the matrix left of the vertical line is the number of unknowns. 0 1 1 1 11 a1 a1 : : : a1 b B 2 2 2 2C Ba1 a2 : : : ak b C B .
    [Show full text]
  • Row Equivalence of Matrices
    Row Equivalence of matrices March 1, 2007 0.1 Row equivalence Let F be a field and let m and n be positive integers. Two m by n matrices are said to be row equivalent if there is an invertible matrix S such that B = SA. (Check that this is indeed an equivalence relation.) The textbook shows that any two row equivalent matrices have the same null space. In fact the converse is also true, so that we have the following theorem: Theorem: If A and B are two m by n matrices, then the following conditions are equivalent: 1. There exists an invertible matrix S such that B = SA 2. The matrices A and B have the same nullspace. This theorem can be translated into a statement about linear transfor- mations by considering the linear transformations LA, LB, and LS associated with the matrices above. It seems more revealing to treat this more abstract looking version. Theorem Let V and W be finite dimensional vector spaces, and let T and T 0 be linear transformations from V to W . Then the following are equivalent: 1. There exists an isomorphism S: T → T 0 such that T 0 = S ◦ T . 2. The transformations T and T 0 have the same kernel. Proof: The proof that (1) implies (2) is relatively easy (and is in the book) and we omit it. Let us prove that (2) implies (1). Let K := Ker(T ) = Ker(T 0), a linear subspace of V . By the rank-nulity theorem, the dimension k of K is n−r, where r is the rank of T and hence also the rank of T 0.
    [Show full text]
  • LINEAR ALGEBRA Rudi Weikard
    LINEAR ALGEBRA Lecture notes for MA 434/534 Rudi Weikard 250 200 150 100 50 0 Mar 30 Apr 06 Apr 13 Apr 20 Apr 27 Version of December 1, 2020 Contents Preface iii Chapter 1. Systems of linear equations1 1.1. Introduction1 1.2. Solving systems of linear equations2 1.3. Matrices and vectors3 1.4. Back to systems of linear equations5 Chapter 2. Vector spaces7 2.1. Spaces and subspaces7 2.2. Linear independence and spans8 2.3. Direct sums 10 Chapter 3. Linear transformations 13 3.1. Basics 13 3.2. The fundamental theorem of linear algebra 14 3.3. The algebra of linear transformation 15 3.4. Linear transformations and matrices 15 3.5. Matrix algebra 16 Chapter 4. Inner product spaces 19 4.1. Inner products 19 4.2. Orthogonality 20 4.3. Linear functionals and adjoints 21 4.4. Normal and self-adjoint transformations 22 4.5. Least squares approximation 23 Chapter 5. Spectral theory 25 5.1. Eigenvalues and Eigenvectors 25 5.2. Spectral theory for general linear transformations 26 5.3. Spectral theory for normal transformations 27 5.4. The functional calculus for general linear transformations 28 Appendix A. Appendix 33 A.1. Set Theory 33 A.2. Algebra 34 List of special symbols 37 Index 39 i ii CONTENTS Bibliography 41 Preface We all know how to solve two linear equations in two unknowns like 2x − 3y = 5 and x + 3y = −2: Linear Algebra grew out of the need to solve simultaneously many such equations for perhaps many unknowns. For instance, the frontispiece of these notes shows a number of data points and an attempt to find the \best" straight line as an approximation.
    [Show full text]
  • Bc = 0, Then the Matrix a = (Abcd ) Is Inve
    Math 60. Rumbos Spring 2009 1 Solutions to Assignment #17 a b 1. Prove that if ad − bc 6= 0, then the matrix A = is invertible and c d compute A−1. a b Solution: Let A = and assume that ad − bc 6= 0. c d First consider the case a 6= 0. Perform the elementary row operations: (1=a)R1 ! R1 and −cR1 + R2 ! R2, successively, on the augmented matrix a b j 1 0 ; (1) c d j 0 1 we obtain the augmented matrix 1 b=a j 1=a 0 ; 0 −(cb=a) + d j −c=a 1 or 1 b=a j 1=a 0 ; (2) 0 ∆=a j −c=a 1 where we have set ∆ = ad − bc; thus ∆ 6= 0. a Next, perform the elementary row operation R ! R on the aug- ∆ 2 2 mented matrix in (2) to get 1 b=a j 1=a 0 : (3) 0 1 j −c=∆ a=∆ b Finally, perform the elementary row operation − R + R ! R on a 2 1 1 the augmented matrix in (3) to get 1 0 j d=∆ −b=∆ : (4) 0 1 j −c=∆ a=∆ From (4) we then see that, if ∆ = ad − bc 6= 0, then A is invertible and d=∆ −b=∆ A−1 = ; −c=∆ a=∆ or 1 d −b A−1 = : (5) ∆ −c a Math 60. Rumbos Spring 2009 2 Observe that the formula for A−1 in (5) also works for the case a = 0. In this case, ∆ = −bc; so that b 6= 0 and c 6= 0, and 1 d −b A−1 = ; −bc −c 0 or −d=bc 1=c A−1 = ; 1=b 0 and we can check that −d=bc 1=c 0 b 1 0 = ; 1=b 0 c d 0 1 and therefore A is invertible in this case as well.
    [Show full text]
  • MTH 215: Introduction to Linear Algebra Lecture 1
    Systems of Equations Elementary Operations Gaussian Elimination Uniqueness Rank and Homogeneous Systems MTH 215: Introduction to Linear Algebra Lecture 1 Jonathan A. Ch´avez Casillas1 1University of Rhode Island Department of Mathematics Slides adapted from the ones by Karen Seyffarth and the Lyryx team January 23, 2019 Jonathan Ch´avez Systems of Equations Elementary Operations Gaussian Elimination Uniqueness Rank and Homogeneous Systems Course Name and number: MTH 215: Introduction to Linear Algebra Instructor: Jonathan Allan Ch´avez Casillas | {z } | {z } | {z } First Name Middle Name Last Name Office Hours: Wednesday 11 am - 3pm (or by appointment) Office Room: Lippitt Hall 200A E-mail: [email protected] Jonathan Ch´avez Systems of Equations Elementary Operations Gaussian Elimination Uniqueness Rank and Homogeneous Systems 1 Systems of Linear Equations 2 Elementary Operations 3 Gaussian Elimination 4 Uniqueness 5 Rank and Homogeneous Systems Jonathan Ch´avez Systems of Equations Elementary Operations Gaussian Elimination Uniqueness Rank and Homogeneous Systems Motivation Example Solve the equation Ax = B where A , 0. Solution x = B/A. There are no other solutions; this is a unique solution. Jonathan Ch´avez Systems of Equations Elementary Operations Gaussian Elimination Uniqueness Rank and Homogeneous Systems Definitions A linear equation is an expression a1x1 + a2x2 + ··· + anxn = b where n ≥ 1, a1,..., an are real numbers, not all of them equal to zero, and b is a real number. The quantities x1, x2,..., xn are the variables or unknowns our goal is to find their value. A system of linear equations is a set of m ≥ 1 linear equations. It is not required that m = n.
    [Show full text]