Methods of Mathematics

Similar documents
Methods of Mathematics

Methods of Mathematics

More on infinite series Antiderivatives and area

Math 31 Lesson Plan. Day 5: Intro to Groups. Elizabeth Gillaspy. September 28, 2011

Welcome to Math 10A!!

Announcements Monday, September 18

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

The remains of the course

Hypothesis testing and the Gamma function

z-test, t-test Kenneth A. Ribet Math 10A November 28, 2017

Chapter 4. Solving Systems of Equations. Chapter 4

Substitution and change of variables Integration by parts

Differential Equations

Mon Feb Matrix algebra and matrix inverses. Announcements: Warm-up Exercise:

Differential Equations

Lecture 1 Systems of Linear Equations and Matrices

UMA Putnam Talk LINEAR ALGEBRA TRICKS FOR THE PUTNAM

This is the end. Kenneth A. Ribet. Math 10A December 1, 2016

Topic 15 Notes Jeremy Orloff

MAT 211, Spring 2015, Introduction to Linear Algebra.

Math 1021, Linear Algebra 1. Section: A at 10am, B at 2:30pm

Recitation 9: Probability Matrices and Real Symmetric Matrices. 3 Probability Matrices: Definitions and Examples

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

Announcements Wednesday, August 30

Chapter 1. Linear Equations

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

Math 250B Midterm I Information Fall 2018

EXAM 2 REVIEW DAVID SEAL

A Quick Introduction to Row Reduction

PROBLEM SET. Problems on Eigenvalues and Diagonalization. Math 3351, Fall Oct. 20, 2010 ANSWERS

Chapter 1 Linear Equations. 1.1 Systems of Linear Equations

A 2. =... = c c N. 's arise from the three types of elementary row operations. If rref A = I its determinant is 1, and A = c 1

Derivatives: definition and first properties

Section Instructors: by now you should be scheduled into one of the following Sections:

Ch. 2: Lec. 1. Basics: Outline. Importance. Usages. Key problems. Three ways of looking... Colbert on Equations. References. Ch. 2: Lec. 1.

Welcome. to Physics 2135.

MAT188H1S LINEAR ALGEBRA: Course Information as of February 2, Calendar Description:

1300 Linear Algebra and Vector Geometry

1 GSW Sets of Systems

Announcements Wednesday, August 30

We ll start today by learning how to change a decimal to a fraction on our calculator! Then we will pick up our Unit 1-5 Review where we left off!

T o p 5 r o u t e s t o M E D I C I N E w i t h a d e g r e e i n B I O M E D I C A L S C I E N C E S

2x + 5 = x = x = 4

Derivatives and series FTW!

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

Row Reduction

MA 580; Numerical Analysis I

Oscillations! (Today: Springs)

4.3 Row operations. As we have seen in Section 4.1 we can simplify a system of equations by either:

Maths for Signals and Systems Linear Algebra for Engineering Applications

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

TheFourierTransformAndItsApplications-Lecture28

MATH 310, REVIEW SHEET 2

Numerical Methods Lecture 2 Simultaneous Equations

We ll start today by learning how to change a repeating decimal into a fraction! Then we will do a review of Unit 1 - half of Unit 3!

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

22A-2 SUMMER 2014 LECTURE 5

Week 2: Reading, Practice Problems, and Homework Exercises

Course Review. Kin 304W Week 14: April 9, 2013

MATH 54 - WORKSHEET 1 MONDAY 6/22

36 What is Linear Algebra?

Intro to probability concepts

Matrix Inverses. November 19, 2014

base 2 4 The EXPONENT tells you how many times to write the base as a factor. Evaluate the following expressions in standard notation.

Getting Started with Communications Engineering

Row Reduced Echelon Form

March 19 - Solving Linear Systems

Eigenvalues by row operations

Math 31 Lesson Plan. Day 22: Tying Up Loose Ends. Elizabeth Gillaspy. October 31, Supplies needed: Colored chalk.

Exercise Sketch these lines and find their intersection.

Announcements Wednesday, September 20

Linear Algebra. Instructor: Justin Ryan

Math 205B Exam 02 page 1 03/19/2010 Name /7 4/7 1/ /7 1/7 5/ /7 1/7 2/

MTH 2032 Semester II

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

Conjectures and proof. Book page 24-30

MIT BLOSSOMS INITIATIVE

Methods for Solving Linear Systems Part 2

Homework 1.1 and 1.2 WITH SOLUTIONS

Lecture 2: Change of Basis

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

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note 6

Lecture 9: Elementary Matrices

Elementary Matrices. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

Physics 8 Monday, September 9, 2013

Prealgebra. Edition 5

Solving Systems of Linear Equations Using Matrices

HAMPSHIRE COLLEGE: YOU CAN T GET THERE FROM HERE : WHY YOU CAN T TRISECT AN ANGLE, DOUBLE THE CUBE, OR SQUARE THE CIRCLE. Contents. 1.

Probability (Devore Chapter Two)

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 2 MATH00040 SEMESTER / Probability

Exam 1 Review. IEA Section 2 2/5/2018 Section 3 2/5/2018

PageRank: The Math-y Version (Or, What To Do When You Can t Tear Up Little Pieces of Paper)

Some Notes on Linear Algebra

How to write maths (well)

Welcome to MAT137! (Section L5201, Thursdays 6-9pm in MS3153) . (always put MAT137 in the subject line)

Calculus II. Calculus II tends to be a very difficult course for many students. There are many reasons for this.

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 6

CS173 Lecture B, November 3, 2015

MITOCW ocw f99-lec30_300k

1 Last time: linear systems and row operations

Transcription:

Methods of Mathematics Kenneth A. Ribet UC Berkeley Math 10B April 19, 2016

There is a new version of the online textbook file Matrix_Algebra.pdf. The next breakfast will be two days from today, April 21 at 8:30AM. There is still lots of room. Send me email to sign up and tell your friends to do the same. There s a pop-up lunch on Friday, April 22 at the Faculty Club at 12:30PM. All are welcome. Regular office hours this week!

Dear Kenneth A. RIBET, Evaluations for your course(s) have opened to students. Although students received an invitation email and reminders along the way, previous research demonstrates that a personal reminder from the instructor and an explanation of how evaluations are used to inform your teaching can make a positive impact on response rate and quality.

Four remaining lectures: Today: Gaussian elimination This Thursday: Eigenvalues and eigenvectors Next Tuesday: Least squares, linear regression Next Thursday: Dynamic programming RRR week and exam week follow. Our exam: Monday, May 9, 11:30AM 2:30PM.

Gaussian elimination Gaussian elimination is actually the technique that most of you already know for solving systems of linear equations. The best way to discuss the technique is to start with a 3 3 example: 3x y + 2z = 7 x + 2y 5z = 10 x y + 3z = 6. Of course, one can proceed in lots of ways, but I propose to add the third equation to the second, to add 3 times the third equation to the first, to multiply the bottom equation by 1 and to move the bottom equation to the top: x + y 3z = 6 4y + 11z = 25 y 2z = 4.

Now I ll add 4 times the bottom equation to the middle equation and then swap the two bottom equations: x + y 3z = 6 y 2z = 4 3z = 9. I can t resist dividing the new bottom equation by 3: x + y 3z = 6 y 2z = 4 z = 3. The last equation now tells us that z = 3; then the middle equation yields that y 6 = 4, so y = 2. The first equation then reads x + 2 9 = 6, so x = 1. Thus (x, y, z) = (1, 2, 3).

To get from the first set of equations to the last set of equations, we performed operations of this kind: Add a non-zero multiple of one equation to another equation; Multiply one of the equations by a non-zero constant (e.g., 1/3); Re-order the equations (which we can do by a series of exchanges if we want). The elementary row operations are the additions and multiplications in the first two items and the exchanges in the third item. We can effect any desired re-ordering through a sequence of exchanges, as I said. Optimally, the last equation then tells us the value of the last variable; then the next-to-last equation tells us the value of the next-to-last variable, etc., etc. Finding the actual values is called back substitution.

If you re a professional (or a computer), you don t really need all the symbols that are present in the initial system 3x y + 2z = 7 x + 2y 5z = 10 x y + 3z = 6.

You can just write down the augmented matrix 3 1 2 7 1 2 5 10, 1 1 3 6 manipulating it by applying elementary row operations you find the augmented matrix 1 1 3 6 0 1 2 4 0 0 1 3, which makes it apparent how to solve the original system.

If A = 3 1 2 1 2 5 1 1 3 1 2 3 A 1 b = and b = 7 10 6, then. In other words, by doing Gaussian elimination, we ve computed A 1 times b. However, b is a completely arbitrary set of numbers; the only virtue in b is that I chose it so that the components of A 1 b didn t involve fractions.

Now here s the thing: instead of taking b = could take b = 1 0 0 7 10 6. Then we d compute A 1 is actually the first column of A 1. Similarly, using, we 1 0 0 0 1 0, which and 0 0, we could get the other two columns of A 1 and thereby 1 compute the inverse of A.

The professional method is to do Gaussian elimination on the augmented matrix 3 1 2 1 0 0 1 2 5 0 1 0 1 1 3 0 0 1 using the same operations as when we solved the system of equations 3x y + 2z = 7 x + 2y 5z = 10 x y + 3z = 6.,

I ended up with 1 1 3 0 0 1 0 1 2 0 1 1 0 0 3 1 4 7 and computed the three columns of A 1 by using back substitution and the three columns of the right-hand side of this new matrix. For the record, A 1 = 1/3 1/3 1/3 2/3 11/3 17/3 1/3 4/3 7/3. It s easy to guess that det A = 3; this is correct.

The good way to proceed is to continue operating on 1 1 3 0 0 1 0 1 2 0 1 1 0 0 3 1 4 7 until the left-hand side becomes the identity 3 3 matrix. The right-hand side then displays A 1. After bumbling around at home, I succeeded in doing this and hope to duplicate my work on the document camera. As a first step, we divide the bottom row by 3, getting as the new bottom row ( 0 0 1 1/3 4/3 7/3 ), whose right-hand side is the bottom row of A 1.

To conclude the story, I should explain what happens when there are infinitely many solutions to a system, and when there are no solutions to the system. Consider 3x y + 2z = 7 x + 2y 5z = 10 4x + y 3z = 3. The third equation is the sum of the first two it just comes along for the ride. There are really two equations in three unknowns, so there s every chance of having an infinite number of solutions. We have to imagine that someone hands us this system and that we try to solve it by Gaussian elimination.

I did this at home and got into a situation where one of the three equations was literally repeated. Then I was left with 7y + 17z = 37 3x y + 2z = 7. The interpretation is that z can be anything and that y can be computed from z via the first equation; then the value of x is found from the second equation. If z = t (a parameter ), then y = 37 + 17t, x = 4 + t 7 7. If, for example, t = 3, then x = 1 and y = 2. If t = 4, x = 0 and y = 15.

Now consider 3x y + 2z = 7 x + 2y 5z = 10 4x + y 3z = +3. I ve changed the sign on the bottom equation. When we start Gaussian elimination, we would naturally subtract 3 times the second equation from the first equation and 4 times the second equation from the third equation.

Doing this led me to x + 2y 5z = 10 7y + 17z = 37 7y + 17z = 43. Subtracting the second equation from the third, we get 0 = 6, which is trouble.