Linear Systems. Math A Bianca Santoro. September 23, 2016

Similar documents
MATH 2360 REVIEW PROBLEMS

Methods for Solving Linear Systems Part 2

MATH 323 Linear Algebra Lecture 12: Basis of a vector space (continued). Rank and nullity of a matrix.

Math 344 Lecture # Linear Systems

Linear Algebra, Summer 2011, pt. 2

1 - Systems of Linear Equations

Math 1314 Week #14 Notes

MODEL ANSWERS TO THE FIRST QUIZ. 1. (18pts) (i) Give the definition of a m n matrix. A m n matrix with entries in a field F is a function

Math 313 Chapter 1 Review

Math 369 Exam #2 Practice Problem Solutions

Row Space, Column Space, and Nullspace

Linear System Equations

7.6 The Inverse of a Square Matrix

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions.

SYMBOL EXPLANATION EXAMPLE

MATH 315 Linear Algebra Homework #1 Assigned: August 20, 2018

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

Linear Algebra Practice Problems

Chapter 1: Systems of Linear Equations and Matrices

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

MATH 167: APPLIED LINEAR ALGEBRA Chapter 2

Matrices and systems of linear equations

Linear Algebra I Lecture 8

MIDTERM 1 - SOLUTIONS

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

MTH 215: Introduction to Linear Algebra

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

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra

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

Projections and Least Square Solutions. Recall that given an inner product space V with subspace W and orthogonal basis for

This lecture is a review for the exam. The majority of the exam is on what we ve learned about rectangular matrices.

Maths for Signals and Systems Linear Algebra in Engineering

9.1 - Systems of Linear Equations: Two Variables

Solving Systems of Linear Equations

Chapter 2 Notes, Linear Algebra 5e Lay

Solving Ax = b w/ different b s: LU-Factorization

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4

Lecture 10: Determinants and Cramer s Rule

Linear Equations and Matrix

NAME MATH 304 Examination 2 Page 1

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

Numerical Analysis: Solutions of System of. Linear Equation. Natasha S. Sharma, PhD

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

Math 1553 Introduction to Linear Algebra

Math 54 HW 4 solutions

MTH5112 Linear Algebra I MTH5212 Applied Linear Algebra (2017/2018)

Linear Algebra. Chapter Linear Equations

Problem Set (T) If A is an m n matrix, B is an n p matrix and D is a p s matrix, then show

22A-2 SUMMER 2014 LECTURE 5

30.3. LU Decomposition. Introduction. Prerequisites. Learning Outcomes

Linear equations in linear algebra

pset3-sol September 7, 2017

Math 343 Midterm I Fall 2006 sections 002 and 003 Instructor: Scott Glasgow

Math 3C Lecture 25. John Douglas Moore

MH1200 Final 2014/2015

Extra Problems: Chapter 1

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

Daily Update. Math 290: Elementary Linear Algebra Fall 2018

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

Exercise Sketch these lines and find their intersection.

5 Linear Transformations

Solving Systems of Linear Equations Using Matrices

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

Elementary maths for GMT

MAT Linear Algebra Collection of sample exams

Math 2331 Linear Algebra

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Matrices and Matrix Algebra.

2 Systems of Linear Equations

Practice problems for Exam 3 A =

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

7. Dimension and Structure.

MATH 2030: ASSIGNMENT 4 SOLUTIONS

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

Question: Given an n x n matrix A, how do we find its eigenvalues? Idea: Suppose c is an eigenvalue of A, then what is the determinant of A-cI?

Department of Aerospace Engineering AE602 Mathematics for Aerospace Engineers Assignment No. 4

Math 308 Midterm Answers and Comments July 18, Part A. Short answer questions

MIT Final Exam Solutions, Spring 2017

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Solution Set 3, Fall '12

MATH 167: APPLIED LINEAR ALGEBRA Least-Squares

Instructions Please answer the five problems on your own paper. These are essay questions: you should write in complete sentences.

Linear Algebra and Matrix Inversion

Elementary Linear Algebra

System of Linear Equations

EXERCISE SET 5.1. = (kx + kx + k, ky + ky + k ) = (kx + kx + 1, ky + ky + 1) = ((k + )x + 1, (k + )y + 1)

REVIEW FOR EXAM II. The exam covers sections , the part of 3.7 on Markov chains, and

Linear Algebra Highlights

MAT 2037 LINEAR ALGEBRA I web:

Review of Matrices and Block Structures

Next topics: Solving systems of linear equations

Linear Algebra Primer

Name: MATH 3195 :: Fall 2011 :: Exam 2. No document, no calculator, 1h00. Explanations and justifications are expected for full credit.

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

Math 321: Linear Algebra

Linear Algebra I Lecture 10

A Brief Outline of Math 355

LINEAR ALGEBRA KNOWLEDGE SURVEY

Conceptual Questions for Review

Sections 6.1 and 6.2: Systems of Linear Equations

Transcription:

Linear Systems Math A4600 - Bianca Santoro September 3, 06 Goal: Understand how to solve Ax = b. Toy Model: Let s study the following system There are two nice ways of thinking about this system: x + y = 3 () x + y = 3 (). Finding a solution is equivalent of finding the intersection of these two lines. Probably, this is the way you are more used to think about this problem. How can two lines intersect in R?. ( Another ) way ( ) is to think about finding the correct linear combination of the vectors and that gives us the right hand side. ( ) 3 Natural questions that arise: does belong to the span of the vectors above? Is 3 there a unique linear combination? If there is more than one, what are all possible linear combinations? Let s now think of Case first. Instead of looking for the intersection of two crooked lines, how about we replace the second line by a horizontal line that passes through the same point? When we do that, is the point of intersection changing? What will that mean algebraically?

( ) Now, let s move to Case : I am looking for a linear combination of the vectors ( ) ( ) 3 and that gives me. 3 I would like to apply an invertible linear transformation T to R in order to make this problem easier. Namely, let T : R R be the transformation defined by ( ) 0 T (v) = v Is T invertible? Why? Back to the problem: I am going to apply the transformation T to my equation: ( ) [ ( ) ( )] ( ) ( ) 0 0 3 x + y = 3 ( ) ( ) ( ) ( ) ( ) 0 0 3 x + y = 3 ( ) ( ) ( ) 3 x + y 3 = 3 0 and this last problem is much easier to solve. Question: Given the linear system, how can I come up with such a nice linear transformation in order to symplify the problem? (3) (4) (5) Gauss-Jordan Elimination We are going to study a method to simplify a system Ax = b, by performing elementary operations on the rows of A. Of course, later we will need to justify why we are allowed to make this operations - we need to make sure that the solutions of our system will remain unchanged.

Reduction of A m n x n = b m We will learn how to reduce the original system to a sister system U m n x n = c m, where the matrix U m n will be in semi-echelon form (if A is square, U will be upper triangular). For the matrix A,. Locate the first (left-most) column that contains a non-zero entry.. If necessary, change the first row with another, in order to guarantee that the first non-zero column has a non-zero entry on the first row. 3. Let a j 0 is the leading entry ( in (row ), and ) the other coefficients below it are a j,, a mj. Replace (row i) by rowi a ij a j row 4. After doing 3) for all rows, we will get a new matrix, with only zeroes below a j. 5. Ignore row and column of this system, and go back to ) for the smaller system. Example : Solve for x, y and z, 3 x 4 5 6 y = z 3 3

Example : Solve for x, y, z and w, x 3 4 0 5 6 0 y 0 z = 0 8 9 0 w What are we really doing? For each of those steps, we are applying a linear transformation to the output space which is invertible, so it will not change the system. In Example, if we multiply both sides of the system by the two matrices E and E defined by 0 0 0 0 E = 4 0 ande = 0 0 0 0 3, we obtain the system after row reducing, as before. So, the matrix U can be written as U = E E A. Notice that both E and E are lower triangular, with ones along the diagonal. HW: Show that the product of two lower triangular matrices with ones along the diagonal is also lower triangular, with ones along the diagonal. Even though we haven t really learned how to compute the inverse of a matrix, use the definition of the inverse transformation to check that the inverse is also lower triangular, with ones along the diagonal. If U = E E A, and both E and E are invertible, we can write A = (E ) (E ) U = LU. The supernice fact is that to construct L, lower triangular with ones along the diagonal, we just need to write down... 4

HW: Solve (if possible) the system Av = b, for 3 4 x 0 0 y 0 0 z = 3 3 0 w 0 Can you decompose the matrix A in the LU form? Describe how. HW3: Look at the system a x + b y + c z = d (6) a x + b y + c z = d (7) Is it possible that the system above has exactly one solution? Give two explanations why (one inspired by the row picture, other by the column picture). HW4: Find a cubic polynomial p(x) = a+bx+cx +dx 3 such that p() = 5, p () = 5, p() = 7 and p () =. 5

Complete Solutions to Ax = b Sometimes, hyperplanes in R n may intersect in sets which are larger than just a single point. If that is the case, we want to understand the best we can how is the intersection. 3 x 6 Example: y = 3 3 4 z 9 By inspection (or by Gaussian Elimination, whatever you prefer), we can see that x = (,, ) is one solution. But you will agree that adding any element of Null(A) to this vector will also be a solution, right? So, our problem will reduce to understanding the nullspace of A. Is the nullspace of A related to the nullspace of U? Lemma 0. Let T : W W linear, invertible, and let S : V W linear. Then the nullspace of S is equal to the nullspace of the composite map SoT. 6

Back to our example: in order to describe the Nullspace of A, I will exhibit a basis for it. Recall that dim N(A) + dim R(A) = dim R 3. Also, note that the dimension of the range of A is the number of non-zero rows after elimination (why?). Hence, in our example, the dimension of the nullspace of A, which is the same as the nullspace of U, is equal to. So, the complete solution for a system is given by: x c = x p + x h, where x p is any particular solution to the original problem Ax = b, and x h denotes all the solutions to the homogeneous problem (in other words, all elements in the Nullspace of A. In our example, 7 x c = + α, for all α R. 7

HW5: Find the complete solution to the system 3 4 x y 3 4 5 z = 0 0 3 w HW6: Find a polynomial of degree 3 that passes through the points (, 6), (0, ), (, 4) and (, 5). Is your answer unique? Also, is it possible to find a polynomial of degree 3 that pass not only through the points above, but also through the point (0, 00)? Explain why/why not. (In the near future, we will see what we can do about this problem) HW7: Let A be an invertible 5 5 matrix, whose columns are the vectors a, a, a 3, a 4 and a 5, in this order. Let B be the matrix whose columns are the vectors a 5, a, a 4, a and a 3, also in this order. For a given vector b, the vector (,, 3, 4, 5) is the solution of Bx = b. complete solution to the problem Ax = b. Find the 8