Using matrices to represent linear systems

Size: px
Start display at page:

Download "Using matrices to represent linear systems"

Transcription

1 Roberto s Notes on Linear Algebra Chapter 3: Linear systems and matrices Section 4 Using matrices to represent linear systems What you need to know already: What a linear system is. What elementary operations on a system are and why they are useful. What you can learn here: A more efficient way to represent a system that leads to a faster and easier way to solve it. One motivation behind the very important mathematical concept of matrix. At the end of the last section I pointed out that when performing elementary operations, we are really only using the coefficients of the equations involved. I also suggested that the original system notation hides this fact and hinders the efficiency of the whole method. Therefore, we may want to use a different notation that focuses on the coefficients and hides the variables, while keeping track of them. the coefficients, organized so as to clearly indicate their corresponding variables, and the constants. Strategy for better representing a linear system A linear system of the form: a11x1 a12 x2... a1 nxn c1 a21x1 a22x2... a2nxn c2... a 1x1 a 2x2... a x c m m mn n m can be represented more efficiently by eliminating the variables and the equal signs and keeping only But if we throw away all these pieces, don t we end up with a confusing pile of numbers? Yes, but the pile can be given order and meaning with a few small agreements. We start with a simple, but tremendously powerful definition. Definition A matrix is an ordered set of m nscalars, called its entries, organized in m rows and n columns. The standard notation for a matrix and its rows and columns is: Linear Algebra Chapter 3: Linear systems and matrices Section 4: Using matrices to represent linear systems Page 1

2 a11 a12... a1 n a21 a22... a 2n A aij... am1 am2... amn a1 j a 2 j Ri ai 1 ai 2... ain C j... amj So a matrix is like a vector, only organized in 2 dimensions! Exactly! In later sections and chapters we shall discuss matrices and their properties in great detail and you will see why I say that they are a very powerful mathematical tool. What you see in this definition is all we need to complete our work on solving systems in an efficient way. Oh, I can see that if we just focus on the coefficients and constants of a system we are left with a matrix! Definition Given a linear system of the form: a x a x... a x c a x a x... a x c... a x a x... a x c n n n n 2 m1 1 m2 2 mn n m its matrix of coefficients is: a11 a12... a1 n a21 a22... a 2n am1 am2... amn its augmented matrix is: a11 a12... a1 n c1 a21 a22... a2n c am1 am2... amn cm aug what? The word augmented comes from Latin and it means increased or made bigger. In this case we start with the matrix of coefficients and make it bigger by inserting the column of constants at the end. This augmentation is a little trick that we shall use again in other situations. In fact, there is another piece of notation that is often used in conjunction with augmented matrices: Linear Algebra Chapter 3: Linear systems and matrices Section 4: Using matrices to represent linear systems Page 2

3 Knot on your finger In order to emphasize that a given matrix is the augmented matrix of a system, it is good practice but not essential to draw a vertical line between the coefficients and the constants: a11 a12... a1 n c1 a21 a22... a2n c2 A c am1 am2... amn cm Example: 3x 5y 8z 3 5x y 2z 2 8x 4y 6z 5 In this system, the vector of variables is 3 5 constants is c 2. x x y z, while the vector of The matrix of coefficients and the augmented matrix are therefore, respectively: Example: A 5 1 2, A c If this is the augmented matrix of a linear system, then the system is 2x y 3z 2 5x 2y 6z 2 x 4z 3 Notice that there is a clear and recognizable correspondence between the rows and columns of the matrices of a system and the key features of the system. Knots on your finger Each equation of a linear system corresponds to one row of its augmented matrix. Each variable of a linear system is represented through one column of its matrix of coefficients or its augmented matrix. Linear Algebra Chapter 3: Linear systems and matrices Section 4: Using matrices to represent linear systems Page 3

4 Example: 2x y 3z 2 5x 2y 6z 2 x 4z3 If we look at this system and its augmented matrix: we can see that: the first equation is represented by the first row of the matrix, the second row of the matrix described the second equation of the system, the coefficients of the variable y are all given by the second column, the third column consists of the coefficients of the variable z. and so on. I can see how this notation saves some ink or lead, but how it is more efficient? This whole issue of efficiency came up in relation to elementary operations and these operations become truly a great tool when we apply them to the matrix of a system. Definition An elementary row operation (ERO) is a change we make to a matrix by following one of these three rules: Switch the position of two rows: Rh R k. Multiply one row by a non-zero scalar: cr h. Add to a row a multiple of another row: Rh cr k. Aren t these the same as elementary operations on a system? Definitely, but applied to matrices. And what a useful extension this is! But before I show you its full power, here is how the solution of the system used in Example is obtained by using ERO s instead of keeping the system: Example: 2x 3y z 25 x 2y 4z 25 3x y 2z 2 Starting from this same original system, we write its augmented matrix and perform the ERO s corresponding to the elementary operations we used before: R1 R R R1 R2 R R R3 Linear Algebra Chapter 3: Linear systems and matrices Section 4: Using matrices to represent linear systems Page 4

5 R3 R R R2 9R R And finally: R1 4R R1 2R How does this last augmented matrix read, as a system? which is our solution! x 3 y 7 z 2 That seems obvious! Definition Two matrices are said to be row equivalent if one can be obtained from the other through a sequence of ERO s. Technical fact Two matrices are row equivalent if and only if the systems for which they are augmented matrices are equivalent. Good, since I am including the proof of this fact in the Learning questions. It is easy, but make sure you use proper jargon, notation and logic! I want to finish this section with a few reflections on homogeneous systems. Notice that: each linear system has an augmented matrix; any matrix can be considered as the augmented matrix of a system; each elementary operation performed on a system corresponds to the respective ERO done on the augmented matrix. Because of this strict correspondence we shall use the following terminology: Knots on your finger The last column of the augmented matrix of a homogeneous system consists only of 0 s. For this reason, such column is usually omitted, so that the augmented matrix of a homogeneous system is written in the same way as its matrix of coefficients However, do not let the convenient notation confuse you: remember that the augmented matrix Linear Algebra Chapter 3: Linear systems and matrices Section 4: Using matrices to represent linear systems Page 5

6 and the matrix of coefficients are different entities with different meanings. Maybe I need some practice, but I am still not convinced that this new notation is that useful. Right on both counts! You do need some practice, and the Checkpoint is coming up. But it is also true that the full power of the matrix notation is still not visible. That is because we have not looked yet at how to use ERO s in a systematic way to solve a system and have not stopped to reflect on what it is that we are looking for, from the matrix, in order to obtain such solution in an effective way. That will be addressed in the next section. Summary A matrix is basically a two-dimensional version on the concept of vector: a set of numbers ordered in rows and columns. Any linear system can be represented by a matrix, where the columns represent variables and constants, while the rows represent equations. Elementary operations are immediately translated into elementary row operations (ERO) and will soon be used to solve systems in an easy way. By the way: matrices are an incredibly useful and used tool in most areas of mathematics. Common errors to avoid We are starting to encounter more and more new jargon words and expressions: work on them, learn their meaning and remember that in linear algebra the concepts they denote are more crucial and complex than the computational methods. Do not underestimate the need to focus on them, or you will be sorry you did! Learning questions for Section LA 3-4 Review questions: 1. Describe what a matrix is. 2. Identify the relationships between a system and the rows and columns of its representing matrix. 3. Explain why the matrix method of representing a system is a great idea. 4. Clarify the difference between the augmented matrix of a system and its matrix of coefficients. 5. Explain the connection between elementary operations and elementary row operations. Linear Algebra Chapter 3: Linear systems and matrices Section 4: Using matrices to represent linear systems Page 6

7 Memory questions: 1. Which part of the augmented matrix of a linear system corresponds to a variable? 2. Which part of the augmented matrix of a linear system corresponds to an equation? 3. Which part of the augmented matrix of a linear system corresponds to the constants? 4. List the three types of elementary row operations. Computation questions: For each of the systems presented in questions 1-8: a) construct the corresponding matrix of coefficients b) construct the corresponding augmented matrix c) apply one ERO of each of the three types, consecutively, as if attempting to find the solution of the system x 5y 8z 3 5x y 2z 2 8x 4y 6z 5 3x y z 4 x 2y 3z 2 4x y 2z 6 2x 3y z 25 x 2y 4z 25 3x y 2z x 2z 1 3x y 4z 7 6x y z 0 3x1 2x2 1 4x15 x2 3 7x13x2 0 2x 2z 1 3x y 4z 7 x y x y 2z w 1 2x y 2z 2w 2 x y 4z w 2 4x 6z 4w 3 7x1 x2 3x3 2x4 2 x1 x2 2x3 4x4 1 3x1 x2 12x3 16x4 5 Linear Algebra Chapter 3: Linear systems and matrices Section 4: Using matrices to represent linear systems Page 7

8 For each of the matrices presented in questions 9-11: a) construct the system for which that is the augmented matrix b) construct the homogeneous system for which this is the matrix of coefficient Use suitable substitutions to change this system x 3 e y z 7 x 3 6e y 2 z 2 into a linear system, and present the augmented matrix corresponding to such new linear system. Theory questions: 1. Given the matrix , explain why the easiest elementary row operation that generates a 0 in lower left corner is a linear combination of the last two rows. 2. Why do we use only elementary row operations to solve a system? Templated questions: 1. Construct a linear system involving no more than 4 equations and no more than 4 variables and extract from it the matrix of coefficients and the augmented matrix. 2. Construct a matrix consisting of no more than 4 rows and no more than 4 columns and extract from it the linear system for which it is the matrix of coefficients and the one for which it is the augmented matrix. What questions do you have for your instructor? Linear Algebra Chapter 3: Linear systems and matrices Section 4: Using matrices to represent linear systems Page 8

Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 4. Matrix products

Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 4. Matrix products Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 4 Matrix products What you need to know already: The dot product of vectors Basic matrix operations. Special types of matrices What you

More information

Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 7. Inverse matrices

Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 7. Inverse matrices Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 7 Inverse matrices What you need to know already: How to add and multiply matrices. What elementary matrices are. What you can learn

More information

Number of solutions of a system

Number of solutions of a system Roberto s Notes on Linear Algebra Chapter 3: Linear systems and matrices Section 7 Number of solutions of a system What you need to know already: How to solve a linear system by using Gauss- Jordan elimination.

More information

Basic matrix operations

Basic matrix operations Roberto s Notes on Linear Algebra Chapter 4: Matrix algebra Section 3 Basic matrix operations What you need to know already: What a matrix is. he basic special types of matrices What you can learn here:

More information

Roberto s Notes on Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3. Diagonal matrices

Roberto s Notes on Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3. Diagonal matrices Roberto s Notes on Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3 Diagonal matrices What you need to know already: Basic definition, properties and operations of matrix. What you

More information

Definition of geometric vectors

Definition of geometric vectors Roberto s Notes on Linear Algebra Chapter 1: Geometric vectors Section 2 of geometric vectors What you need to know already: The general aims behind the concept of a vector. What you can learn here: The

More information

Elimination and back substitution

Elimination and back substitution Roberto s Notes on Linear Algebra Chapter 3: Linear systems and matrices Section 2 Elimination and back substitution What you need to know already: What a (linear) system is. What it means to solve such

More information

Special types of matrices

Special types of matrices Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 2 Special types of matrices What you need to know already: What a matrix is. The basic terminology and notation used for matrices. What

More information

Lecture 2e Row Echelon Form (pages 73-74)

Lecture 2e Row Echelon Form (pages 73-74) Lecture 2e Row Echelon Form (pages 73-74) At the end of Lecture 2a I said that we would develop an algorithm for solving a system of linear equations, and now that we have our matrix notation, we can proceed

More information

Dependence and independence

Dependence and independence Roberto s Notes on Linear Algebra Chapter 7: Subspaces Section 1 Dependence and independence What you need to now already: Basic facts and operations involving Euclidean vectors. Matrices determinants

More information

Roberto s Notes on Linear Algebra Chapter 11: Vector spaces Section 1. Vector space axioms

Roberto s Notes on Linear Algebra Chapter 11: Vector spaces Section 1. Vector space axioms Roberto s Notes on Linear Algebra Chapter 11: Vector spaces Section 1 Vector space axioms What you need to know already: How Euclidean vectors work. What linear combinations are and why they are important.

More information

Cofactors and Laplace s expansion theorem

Cofactors and Laplace s expansion theorem Roberto s Notes on Linear Algebra Chapter 5: Determinants Section 3 Cofactors and Laplace s expansion theorem What you need to know already: What a determinant is. How to use Gauss-Jordan elimination to

More information

Eigenvalues and eigenvectors

Eigenvalues and eigenvectors Roberto s Notes on Linear Algebra Chapter 0: Eigenvalues and diagonalization Section Eigenvalues and eigenvectors What you need to know already: Basic properties of linear transformations. Linear systems

More information

CHAPTER 8: MATRICES and DETERMINANTS

CHAPTER 8: MATRICES and DETERMINANTS (Section 8.1: Matrices and Determinants) 8.01 CHAPTER 8: MATRICES and DETERMINANTS The material in this chapter will be covered in your Linear Algebra class (Math 254 at Mesa). SECTION 8.1: MATRICES and

More information

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved. 7.5 Operations with Matrices Copyright Cengage Learning. All rights reserved. What You Should Learn Decide whether two matrices are equal. Add and subtract matrices and multiply matrices by scalars. Multiply

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

Row Reduced Echelon Form

Row Reduced Echelon Form Math 40 Row Reduced Echelon Form Solving systems of linear equations lies at the heart of linear algebra. In high school we learn to solve systems in or variables using elimination and substitution of

More information

5.7 Cramer's Rule 1. Using Determinants to Solve Systems Assumes the system of two equations in two unknowns

5.7 Cramer's Rule 1. Using Determinants to Solve Systems Assumes the system of two equations in two unknowns 5.7 Cramer's Rule 1. Using Determinants to Solve Systems Assumes the system of two equations in two unknowns (1) possesses the solution and provided that.. The numerators and denominators are recognized

More information

CHAPTER 8: MATRICES and DETERMINANTS

CHAPTER 8: MATRICES and DETERMINANTS (Section 8.1: Matrices and Determinants) 8.01 CHAPTER 8: MATRICES and DETERMINANTS The material in this chapter will be covered in your Linear Algebra class (Math 254 at Mesa). SECTION 8.1: MATRICES and

More information

Lecture Notes: Solving Linear Systems with Gauss Elimination

Lecture Notes: Solving Linear Systems with Gauss Elimination Lecture Notes: Solving Linear Systems with Gauss Elimination Yufei Tao Department of Computer Science and Engineering Chinese University of Hong Kong taoyf@cse.cuhk.edu.hk 1 Echelon Form and Elementary

More information

Linear Algebra Basics

Linear Algebra Basics Linear Algebra Basics For the next chapter, understanding matrices and how to do computations with them will be crucial. So, a good first place to start is perhaps What is a matrix? A matrix A is an array

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

Roberto s Notes on Linear Algebra Chapter 9: Orthogonality Section 2. Orthogonal matrices

Roberto s Notes on Linear Algebra Chapter 9: Orthogonality Section 2. Orthogonal matrices Roberto s Notes on Linear Algebra Chapter 9: Orthogonality Section 2 Orthogonal matrices What you need to know already: What orthogonal and orthonormal bases for subspaces are. What you can learn here:

More information

Definition of Equality of Matrices. Example 1: Equality of Matrices. Consider the four matrices

Definition of Equality of Matrices. Example 1: Equality of Matrices. Consider the four matrices IT 131: Mathematics for Science Lecture Notes 3 Source: Larson, Edwards, Falvo (2009): Elementary Linear Algebra, Sixth Edition. Matrices 2.1 Operations with Matrices This section and the next introduce

More information

Differential Equations

Differential Equations This document was written and copyrighted by Paul Dawkins. Use of this document and its online version is governed by the Terms and Conditions of Use located at. The online version of this document is

More information

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS MA1111: LINEAR ALGEBRA I, MICHAELMAS 2016 1 Linear equations We now switch gears to discuss the topic of solving linear equations, and more interestingly, systems

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

Sections 1.5, 1.7. Ma 322 Spring Ma 322. Jan 24-28

Sections 1.5, 1.7. Ma 322 Spring Ma 322. Jan 24-28 Sections 1.5, 1.7 Ma 322 Spring 217 Ma 322 Jan 24-28 Summary ˆ Text: Solution Sets of Linear Systems (1.5),Linear Independence (1.7) ˆ Solutions of homogeneous equations AX =. ˆ Using the rank. ˆ Parametric

More information

LS.1 Review of Linear Algebra

LS.1 Review of Linear Algebra LS. LINEAR SYSTEMS LS.1 Review of Linear Algebra In these notes, we will investigate a way of handling a linear system of ODE s directly, instead of using elimination to reduce it to a single higher-order

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

Integration by substitution

Integration by substitution Roberto s Notes on Integral Calculus Chapter : Integration methods Section 1 Integration by substitution or by change of variable What you need to know already: What an indefinite integral is. The chain

More information

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij Topics Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij or a ij lives in row i and column j Definition of a matrix

More information

Terminology and notation

Terminology and notation Roberto s Notes on Integral Calculus Chapter 1: Indefinite integrals Section Terminology and notation For indefinite integrals What you need to know already: What indefinite integrals are. Indefinite integrals

More information

Math 123, Week 2: Matrix Operations, Inverses

Math 123, Week 2: Matrix Operations, Inverses Math 23, Week 2: Matrix Operations, Inverses Section : Matrices We have introduced ourselves to the grid-like coefficient matrix when performing Gaussian elimination We now formally define general matrices

More information

Section 1.5. Solution Sets of Linear Systems

Section 1.5. Solution Sets of Linear Systems Section 1.5 Solution Sets of Linear Systems Plan For Today Today we will learn to describe and draw the solution set of an arbitrary system of linear equations Ax = b, using spans. Ax = b Recall: the solution

More information

1300 Linear Algebra and Vector Geometry Week 2: Jan , Gauss-Jordan, homogeneous matrices, intro matrix arithmetic

1300 Linear Algebra and Vector Geometry Week 2: Jan , Gauss-Jordan, homogeneous matrices, intro matrix arithmetic 1300 Linear Algebra and Vector Geometry Week 2: Jan 14 18 1.2, 1.3... Gauss-Jordan, homogeneous matrices, intro matrix arithmetic R. Craigen Office: MH 523 Email: craigenr@umanitoba.ca Winter 2019 What

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

Row and column spaces

Row and column spaces Roberto s Notes on Linear Algebra Chapter 7: Subspaces Section 4 Row and column spaces What you need to know already: What subspaces are. How to identify bases for a subspace. Basic facts about matrices.

More information

Sections 1.5, 1.7. Ma 322 Fall Ma 322. Sept

Sections 1.5, 1.7. Ma 322 Fall Ma 322. Sept Sections 1.5, 1.7 Ma 322 Fall 213 Ma 322 Sept. 9-13 Summary ˆ Solutions of homogeneous equations AX =. ˆ Using the rank. ˆ Parametric solution of AX = B. ˆ Linear dependence and independence of vectors

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

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

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

Elementary maths for GMT

Elementary maths for GMT Elementary maths for GMT Linear Algebra Part 2: Matrices, Elimination and Determinant m n matrices The system of m linear equations in n variables x 1, x 2,, x n a 11 x 1 + a 12 x 2 + + a 1n x n = b 1

More information

2 Systems of Linear Equations

2 Systems of Linear Equations 2 Systems of Linear Equations A system of equations of the form or is called a system of linear equations. x + 2y = 7 2x y = 4 5p 6q + r = 4 2p + 3q 5r = 7 6p q + 4r = 2 Definition. An equation involving

More information

Chapter 4 Systems of Linear Equations; Matrices

Chapter 4 Systems of Linear Equations; Matrices Chapter 4 Systems of Linear Equations; Matrices Section 5 Inverse of a Square Matrix Learning Objectives for Section 4.5 Inverse of a Square Matrix The student will be able to identify identity matrices

More information

Lecture 22: Section 4.7

Lecture 22: Section 4.7 Lecture 22: Section 47 Shuanglin Shao December 2, 213 Row Space, Column Space, and Null Space Definition For an m n, a 11 a 12 a 1n a 21 a 22 a 2n A = a m1 a m2 a mn, the vectors r 1 = [ a 11 a 12 a 1n

More information

Methods for Solving Linear Systems Part 2

Methods for Solving Linear Systems Part 2 Methods for Solving Linear Systems Part 2 We have studied the properties of matrices and found out that there are more ways that we can solve Linear Systems. In Section 7.3, we learned that we can use

More information

10. Rank-nullity Definition Let A M m,n (F ). The row space of A is the span of the rows. The column space of A is the span of the columns.

10. Rank-nullity Definition Let A M m,n (F ). The row space of A is the span of the rows. The column space of A is the span of the columns. 10. Rank-nullity Definition 10.1. Let A M m,n (F ). The row space of A is the span of the rows. The column space of A is the span of the columns. The nullity ν(a) of A is the dimension of the kernel. 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

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

Things we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic

Things we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic Unit II - Matrix arithmetic matrix multiplication matrix inverses elementary matrices finding the inverse of a matrix determinants Unit II - Matrix arithmetic 1 Things we can already do with matrices equality

More information

Review of matrices. Let m, n IN. A rectangle of numbers written like A =

Review of matrices. Let m, n IN. A rectangle of numbers written like A = Review of matrices Let m, n IN. A rectangle of numbers written like a 11 a 12... a 1n a 21 a 22... a 2n A =...... a m1 a m2... a mn where each a ij IR is called a matrix with m rows and n columns or an

More information

Roberto s Notes on Differential Calculus Chapter 4: Basic differentiation rules Section 4. The chain rule

Roberto s Notes on Differential Calculus Chapter 4: Basic differentiation rules Section 4. The chain rule Roberto s Notes on Differential Calculus Chapter 4: Basic differentiation rules Section 4 The chain rule What you need to know already: The concept and definition of derivative, basic differentiation rules.

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

Linear Algebra Practice Problems

Linear Algebra Practice Problems Math 7, Professor Ramras Linear Algebra Practice Problems () Consider the following system of linear equations in the variables x, y, and z, in which the constants a and b are real numbers. x y + z = a

More information

MATRICES AND MATRIX OPERATIONS

MATRICES AND MATRIX OPERATIONS SIZE OF THE MATRIX is defined by number of rows and columns in the matrix. For the matrix that have m rows and n columns we say the size of the matrix is m x n. If matrix have the same number of rows (n)

More information

A summary of factoring methods

A summary of factoring methods Roberto s Notes on Prerequisites for Calculus Chapter 1: Algebra Section 1 A summary of factoring methods What you need to know already: Basic algebra notation and facts. What you can learn here: What

More information

Linear Algebra I Lecture 8

Linear Algebra I Lecture 8 Linear Algebra I Lecture 8 Xi Chen 1 1 University of Alberta January 25, 2019 Outline 1 2 Gauss-Jordan Elimination Given a system of linear equations f 1 (x 1, x 2,..., x n ) = 0 f 2 (x 1, x 2,..., x n

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

Math 3191 Applied Linear Algebra

Math 3191 Applied Linear Algebra Math 191 Applied Linear Algebra Lecture 8: Inverse of a Matrix Stephen Billups University of Colorado at Denver Math 191Applied Linear Algebra p.1/0 Announcements We will not make it to section. tonight,

More information

Matrix Algebra Lecture Notes. 1 What is Matrix Algebra? Last change: 18 July Linear forms

Matrix Algebra Lecture Notes. 1 What is Matrix Algebra? Last change: 18 July Linear forms Matrix Algebra Lecture Notes Last change: 18 July 2017 1 What is Matrix Algebra? 1.1 Linear forms It is well-known that the total cost of a purchase of amounts (in kilograms) g 1, g 2, g 3 of some goods

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

Numerical Methods Lecture 2 Simultaneous Equations

Numerical Methods Lecture 2 Simultaneous Equations Numerical Methods Lecture 2 Simultaneous Equations Topics: matrix operations solving systems of equations pages 58-62 are a repeat of matrix notes. New material begins on page 63. Matrix operations: Mathcad

More information

Roberto s Notes on Linear Algebra Chapter 1: Geometric vectors Section 8. The dot product

Roberto s Notes on Linear Algebra Chapter 1: Geometric vectors Section 8. The dot product Roberto s Notes on Linear Algebra Chapter 1: Geometric ectors Section 8 The dot product What you need to know already: What a linear combination of ectors is. What you can learn here: How to use two ectors

More information

Lecture 9: Elementary Matrices

Lecture 9: Elementary Matrices Lecture 9: Elementary Matrices Review of Row Reduced Echelon Form Consider the matrix A and the vector b defined as follows: 1 2 1 A b 3 8 5 A common technique to solve linear equations of the form Ax

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

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

Chapter 2. Ma 322 Fall Ma 322. Sept 23-27

Chapter 2. Ma 322 Fall Ma 322. Sept 23-27 Chapter 2 Ma 322 Fall 2013 Ma 322 Sept 23-27 Summary ˆ Matrices and their Operations. ˆ Special matrices: Zero, Square, Identity. ˆ Elementary Matrices, Permutation Matrices. ˆ Voodoo Principle. What is

More information

Matrix operations Linear Algebra with Computer Science Application

Matrix operations Linear Algebra with Computer Science Application Linear Algebra with Computer Science Application February 14, 2018 1 Matrix operations 11 Matrix operations If A is an m n matrix that is, a matrix with m rows and n columns then the scalar entry in the

More information

Basic methods to solve equations

Basic methods to solve equations Roberto s Notes on Prerequisites for Calculus Chapter 1: Algebra Section 1 Basic methods to solve equations What you need to know already: How to factor an algebraic epression. What you can learn here:

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

Next topics: Solving systems of linear equations

Next topics: Solving systems of linear equations Next topics: Solving systems of linear equations 1 Gaussian elimination (today) 2 Gaussian elimination with partial pivoting (Week 9) 3 The method of LU-decomposition (Week 10) 4 Iterative techniques:

More information

x y = 1, 2x y + z = 2, and 3w + x + y + 2z = 0

x y = 1, 2x y + z = 2, and 3w + x + y + 2z = 0 Section. Systems of Linear Equations The equations x + 3 y =, x y + z =, and 3w + x + y + z = 0 have a common feature: each describes a geometric shape that is linear. Upon rewriting the first equation

More information

MITOCW ocw f99-lec05_300k

MITOCW ocw f99-lec05_300k MITOCW ocw-18.06-f99-lec05_300k This is lecture five in linear algebra. And, it will complete this chapter of the book. So the last section of this chapter is two point seven that talks about permutations,

More information

MATRICES. a m,1 a m,n A =

MATRICES. a m,1 a m,n A = MATRICES Matrices are rectangular arrays of real or complex numbers With them, we define arithmetic operations that are generalizations of those for real and complex numbers The general form a matrix of

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

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

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to : MAC 0 Module Systems of Linear Equations and Matrices II Learning Objectives Upon completing this module, you should be able to :. Find the inverse of a square matrix.. Determine whether a matrix is invertible..

More information

Review Solutions for Exam 1

Review Solutions for Exam 1 Definitions Basic Theorems. Finish the definition: Review Solutions for Exam (a) A linear combination of vectors {v,..., v n } is: any vector of the form c v + c v + + c n v n (b) A set of vectors {v,...,

More information

10.3 Matrices and Systems Of

10.3 Matrices and Systems Of 10.3 Matrices and Systems Of Linear Equations Copyright Cengage Learning. All rights reserved. Objectives Matrices The Augmented Matrix of a Linear System Elementary Row Operations Gaussian Elimination

More information

Elementary Algebra Study Guide Some Basic Facts This section will cover the following topics

Elementary Algebra Study Guide Some Basic Facts This section will cover the following topics Elementary Algebra Study Guide Some Basic Facts This section will cover the following topics Notation Order of Operations Notation Math is a language of its own. It has vocabulary and punctuation (notation)

More information

Gaussian elimination

Gaussian elimination Gaussian elimination October 14, 2013 Contents 1 Introduction 1 2 Some definitions and examples 2 3 Elementary row operations 7 4 Gaussian elimination 11 5 Rank and row reduction 16 6 Some computational

More information

System of Linear Equations

System of Linear Equations Math 20F Linear Algebra Lecture 2 1 System of Linear Equations Slide 1 Definition 1 Fix a set of numbers a ij, b i, where i = 1,, m and j = 1,, n A system of m linear equations in n variables x j, is given

More information

Ma 322 Spring Ma 322. Jan 18, 20

Ma 322 Spring Ma 322. Jan 18, 20 Ma 322 Spring 2017 Ma 322 Jan 18, 20 Summary ˆ Review of the Standard Gauss Elimination Algorithm: REF+ Backsub ˆ The rank of a matrix. ˆ Vectors and Linear combinations. ˆ Span of a set of vectors. ˆ

More information

Linear Algebra. Preliminary Lecture Notes

Linear Algebra. Preliminary Lecture Notes Linear Algebra Preliminary Lecture Notes Adolfo J. Rumbos c Draft date May 9, 29 2 Contents 1 Motivation for the course 5 2 Euclidean n dimensional Space 7 2.1 Definition of n Dimensional Euclidean Space...........

More information

MATH 320, WEEK 7: Matrices, Matrix Operations

MATH 320, WEEK 7: Matrices, Matrix Operations MATH 320, WEEK 7: Matrices, Matrix Operations 1 Matrices We have introduced ourselves to the notion of the grid-like coefficient matrix as a short-hand coefficient place-keeper for performing Gaussian

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

MATRIX DETERMINANTS. 1 Reminder Definition and components of a matrix

MATRIX DETERMINANTS. 1 Reminder Definition and components of a matrix MATRIX DETERMINANTS Summary Uses... 1 1 Reminder Definition and components of a matrix... 1 2 The matrix determinant... 2 3 Calculation of the determinant for a matrix... 2 4 Exercise... 3 5 Definition

More information

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES LECTURES 14/15: LINEAR INDEPENDENCE AND BASES MA1111: LINEAR ALGEBRA I, MICHAELMAS 2016 1. Linear Independence We have seen in examples of span sets of vectors that sometimes adding additional vectors

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

MITOCW ocw-18_02-f07-lec02_220k

MITOCW ocw-18_02-f07-lec02_220k MITOCW ocw-18_02-f07-lec02_220k The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for free.

More information

Lecture 8: Determinants I

Lecture 8: Determinants I 8-1 MATH 1B03/1ZC3 Winter 2019 Lecture 8: Determinants I Instructor: Dr Rushworth January 29th Determinants via cofactor expansion (from Chapter 2.1 of Anton-Rorres) Matrices encode information. Often

More information

Section 1.1: Systems of Linear Equations

Section 1.1: Systems of Linear Equations Section 1.1: Systems of Linear Equations Two Linear Equations in Two Unknowns Recall that the equation of a line in 2D can be written in standard form: a 1 x 1 + a 2 x 2 = b. Definition. A 2 2 system of

More information

Numerical Methods Lecture 2 Simultaneous Equations

Numerical Methods Lecture 2 Simultaneous Equations CGN 42 - Computer Methods Numerical Methods Lecture 2 Simultaneous Equations Topics: matrix operations solving systems of equations Matrix operations: Adding / subtracting Transpose Multiplication Adding

More information

7.6 The Inverse of a Square Matrix

7.6 The Inverse of a Square Matrix 7.6 The Inverse of a Square Matrix Copyright Cengage Learning. All rights reserved. What You Should Learn Verify that two matrices are inverses of each other. Use Gauss-Jordan elimination to find inverses

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

Linear Algebra. Preliminary Lecture Notes

Linear Algebra. Preliminary Lecture Notes Linear Algebra Preliminary Lecture Notes Adolfo J. Rumbos c Draft date April 29, 23 2 Contents Motivation for the course 5 2 Euclidean n dimensional Space 7 2. Definition of n Dimensional Euclidean Space...........

More information

Linear Algebra, Summer 2011, pt. 2

Linear Algebra, Summer 2011, pt. 2 Linear Algebra, Summer 2, pt. 2 June 8, 2 Contents Inverses. 2 Vector Spaces. 3 2. Examples of vector spaces..................... 3 2.2 The column space......................... 6 2.3 The null space...........................

More information

Homogeneous Linear Systems and Their General Solutions

Homogeneous Linear Systems and Their General Solutions 37 Homogeneous Linear Systems and Their General Solutions We are now going to restrict our attention further to the standard first-order systems of differential equations that are linear, with particular

More information

Abstract & Applied Linear Algebra (Chapters 1-2) James A. Bernhard University of Puget Sound

Abstract & Applied Linear Algebra (Chapters 1-2) James A. Bernhard University of Puget Sound Abstract & Applied Linear Algebra (Chapters 1-2) James A. Bernhard University of Puget Sound Copyright 2018 by James A. Bernhard Contents 1 Vector spaces 3 1.1 Definitions and basic properties.................

More information