155
Linear algebra and differential equations (Math 54): Lecture 1 Vivek Shende January 22, 2019

Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Linear algebra and differential equations(Math 54): Lecture 1

Vivek Shende

January 22, 2019

Page 2: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Hello and welcome to class!

I am Vivek ShendeI will be teaching you this semester.

My office hours

2-4 pm on Friday, 873 Evans hall.Come ask questions!

Your GSIsLuya WangOnyebuchi EkentaGuillaume MassasMagda HlavacekDun TangBenjamin SiskindAdele PadgettJames DixMostafa Adnane

Page 3: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Some administrative details:

Enrolling in the class/sections:

Thomas Brown, 965 Evans Hall, [email protected]

The bookLay, Linear AlgebraNagle, Saff and Snider, Fundamentals of Differential Equations(combined Berkeley custom edition)

Prerequisites

Math 1b, 10b, or equivalent. Warning: Math 1b covers more thana seemingly analogous class at another university might, especiallyincluding some exposure to differential equations.

Page 4: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Grading

Your grade is determined by the homework (10%), quizzes (10%),midterms (20% each), and final (40%).

HomeworkOne assignment per lecture, due 6 days after, in section.

QuizzesEvery thursday, in section.

ExamsTwo in-class midterms (Feb. 14 and Mar. 21), and the final exam(May 16, 7-10 pm).

Page 5: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Makeup policy

There are no makeups for any reason

Instead,

I The two lowest homework grades and quiz grades will bedropped.

I The lowest midterm grade will be replaced by the final examgrade, if it is higher.

If you miss both mitderms, or the final, you will fail the class.Incompletes will be offered only if a medical emergency causes youto miss the final, and then only if your work until that point hasbeen satisfactory.

Page 6: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Website

http://math.berkeley.edu/~vivek/54.html

The website has a full syllabus, including all of the above

All homework assignments for the semester are posted now.

I will also post the slides on the website after each class.

We will also use bcourses and piazza.

Page 7: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

In its most concrete formLinear algebra is the study of systems of equations like this one:

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

We will spend the first few days on the concrete manipulationof such equations

But let me give you a hint of what is to come:

Page 8: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

In its most concrete formLinear algebra is the study of systems of equations like this one:

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

We will spend the first few days on the concrete manipulationof such equations

But let me give you a hint of what is to come:

Page 9: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

In its most concrete formLinear algebra is the study of systems of equations like this one:

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

We will spend the first few days on the concrete manipulationof such equations

But let me give you a hint of what is to come:

Page 10: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

Systems of equations have a geometric meaning:

The region where each equation is satisfied is a plane, so thesimultaneous solution to all the equations is where the planesintersect.

Page 11: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

Systems of equations have a geometric meaning:

Linear algebra is the basic tool for understanding such geometricconfigurations, say in computer graphics or computer vision.

Page 12: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

More abstractly, linear algebra is the study of transformationsof spaces which carry lines to lines.

What is a space? What is a line? What is a transformation?

We will not try to give the general answers yet.

First we will study many examples of the above phenomenon.

Page 13: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

More abstractly, linear algebra is the study of transformationsof spaces which carry lines to lines.

What is a space?

What is a line? What is a transformation?

We will not try to give the general answers yet.

First we will study many examples of the above phenomenon.

Page 14: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

More abstractly, linear algebra is the study of transformationsof spaces which carry lines to lines.

What is a space? What is a line?

What is a transformation?

We will not try to give the general answers yet.

First we will study many examples of the above phenomenon.

Page 15: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

More abstractly, linear algebra is the study of transformationsof spaces which carry lines to lines.

What is a space? What is a line? What is a transformation?

We will not try to give the general answers yet.

First we will study many examples of the above phenomenon.

Page 16: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

More abstractly, linear algebra is the study of transformationsof spaces which carry lines to lines.

What is a space? What is a line? What is a transformation?

We will not try to give the general answers yet.

First we will study many examples of the above phenomenon.

Page 17: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

The more abstract perspective is worth the effort.

Many phenomena are linear in this abstract sense, and they all canbe studied concretely using systems of linear equations.

Schrodinger’s equation for a quantum mechanical particle:

i~∂

∂tΨ(x, t) =

[− ~2

2µ∇2 + V (x, t)

]Ψ(x, t)

Here the space is a space of functions which might be our desiredΨ(x , t), and the linear transformations are the partial differential

operators i~ ∂∂t and − ~2

2µ∇2 + V (~x , t).

Page 18: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

The more abstract perspective is worth the effort.

Many phenomena are linear in this abstract sense, and they all canbe studied concretely using systems of linear equations.

Schrodinger’s equation for a quantum mechanical particle:

i~∂

∂tΨ(x, t) =

[− ~2

2µ∇2 + V (x, t)

]Ψ(x, t)

Here the space is a space of functions which might be our desiredΨ(x , t), and the linear transformations are the partial differential

operators i~ ∂∂t and − ~2

2µ∇2 + V (~x , t).

Page 19: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

The more abstract perspective is worth the effort.

Many phenomena are linear in this abstract sense, and they all canbe studied concretely using systems of linear equations.

Schrodinger’s equation for a quantum mechanical particle:

i~∂

∂tΨ(x, t) =

[− ~2

2µ∇2 + V (x, t)

]Ψ(x, t)

Here the space is a space of functions which might be our desiredΨ(x , t), and the linear transformations are the partial differential

operators i~ ∂∂t and − ~2

2µ∇2 + V (~x , t).

Page 20: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

The more abstract perspective is worth the effort.

Many phenomena are linear in this abstract sense, and they all canbe studied concretely using systems of linear equations.

Schrodinger’s equation for a quantum mechanical particle:

i~∂

∂tΨ(x, t) =

[− ~2

2µ∇2 + V (x, t)

]Ψ(x, t)

Here the space is a space of functions which might be our desiredΨ(x , t),

and the linear transformations are the partial differential

operators i~ ∂∂t and − ~2

2µ∇2 + V (~x , t).

Page 21: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

The more abstract perspective is worth the effort.

Many phenomena are linear in this abstract sense, and they all canbe studied concretely using systems of linear equations.

Schrodinger’s equation for a quantum mechanical particle:

i~∂

∂tΨ(x, t) =

[− ~2

2µ∇2 + V (x, t)

]Ψ(x, t)

Here the space is a space of functions which might be our desiredΨ(x , t), and the linear transformations are the partial differential

operators i~ ∂∂t and − ~2

2µ∇2 + V (~x , t).

Page 22: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

But this equation is still linear!

And by the end of the class, Schrodinger’s equation

i~∂

∂tΨ(x, t) =

[− ~2

2µ∇2 + V (x, t)

]Ψ(x, t)

will look no worse to you than this one:

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

Page 23: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

But this equation is still linear!

And by the end of the class, Schrodinger’s equation

i~∂

∂tΨ(x, t) =

[− ~2

2µ∇2 + V (x, t)

]Ψ(x, t)

will look no worse to you than this one:

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

Page 24: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

But this equation is still linear!

And by the end of the class, Schrodinger’s equation

i~∂

∂tΨ(x, t) =

[− ~2

2µ∇2 + V (x, t)

]Ψ(x, t)

will look no worse to you than this one:

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

Page 25: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

But this equation is still linear!

And by the end of the class, Schrodinger’s equation

i~∂

∂tΨ(x, t) =

[− ~2

2µ∇2 + V (x, t)

]Ψ(x, t)

will look no worse to you than this one:

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

Page 26: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

Many phenomena are approximately linear:

Discovering such statistical linearities plays a major role in theexperimental sciences of all kinds, and in search algorithms andeconomic forecasting.

Page 27: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

Many phenomena are approximately linear:

Discovering such statistical linearities plays a major role in theexperimental sciences of all kinds, and in search algorithms andeconomic forecasting.

Page 28: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

Many phenomena are approximately linear:

Discovering such statistical linearities plays a major role in theexperimental sciences of all kinds, and in search algorithms andeconomic forecasting.

Page 29: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

Many phenomena are approximately linear:

Linear algebra is the language for discussing the differential andintegral calculus, especially in higher dimensions.

Page 30: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

Many phenomena are approximately linear:

Linear algebra is the language for discussing the differential andintegral calculus, especially in higher dimensions.

Page 31: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What is linear algebra?

Many phenomena are approximately linear:

Linear algebra is the language for discussing the differential andintegral calculus, especially in higher dimensions.

Page 32: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What will you learn in this class?

Concrete procedures for manipulating linear equations

Abstract notions capturing and organizing the idea of linearity

Many real world examples of linear phenomena, especially in theform of differential equations

It will be a lot of work — both in terms of the raw amount of newconcepts to process, and correspondingly, in terms of the numberof exercises assigned to help you master them (20-30 per week) —but you will leave this class equipped with a powerful conceptualframework on which the vast majority of mathematics, science,engineering, etc., depend.

Page 33: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What will you learn in this class?

Concrete procedures for manipulating linear equations

Abstract notions capturing and organizing the idea of linearity

Many real world examples of linear phenomena, especially in theform of differential equations

It will be a lot of work — both in terms of the raw amount of newconcepts to process, and correspondingly, in terms of the numberof exercises assigned to help you master them (20-30 per week) —but you will leave this class equipped with a powerful conceptualframework on which the vast majority of mathematics, science,engineering, etc., depend.

Page 34: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What will you learn in this class?

Concrete procedures for manipulating linear equations

Abstract notions capturing and organizing the idea of linearity

Many real world examples of linear phenomena, especially in theform of differential equations

It will be a lot of work — both in terms of the raw amount of newconcepts to process, and correspondingly, in terms of the numberof exercises assigned to help you master them (20-30 per week) —but you will leave this class equipped with a powerful conceptualframework on which the vast majority of mathematics, science,engineering, etc., depend.

Page 35: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What will you learn in this class?

Concrete procedures for manipulating linear equations

Abstract notions capturing and organizing the idea of linearity

Many real world examples of linear phenomena, especially in theform of differential equations

It will be a lot of work — both in terms of the raw amount of newconcepts to process, and correspondingly, in terms of the numberof exercises assigned to help you master them (20-30 per week) —but you will leave this class equipped with a powerful conceptualframework on which the vast majority of mathematics, science,engineering, etc., depend.

Page 36: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What will you learn in this class?

Concrete procedures for manipulating linear equations

Abstract notions capturing and organizing the idea of linearity

Many real world examples of linear phenomena, especially in theform of differential equations

It

will be a lot of work — both in terms of the raw amount of newconcepts to process, and correspondingly, in terms of the numberof exercises assigned to help you master them (20-30 per week) —but you will leave this class equipped with a powerful conceptualframework on which the vast majority of mathematics, science,engineering, etc., depend.

Page 37: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What will you learn in this class?

Concrete procedures for manipulating linear equations

Abstract notions capturing and organizing the idea of linearity

Many real world examples of linear phenomena, especially in theform of differential equations

It will

be a lot of work — both in terms of the raw amount of newconcepts to process, and correspondingly, in terms of the numberof exercises assigned to help you master them (20-30 per week) —but you will leave this class equipped with a powerful conceptualframework on which the vast majority of mathematics, science,engineering, etc., depend.

Page 38: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What will you learn in this class?

Concrete procedures for manipulating linear equations

Abstract notions capturing and organizing the idea of linearity

Many real world examples of linear phenomena, especially in theform of differential equations

It will be

a lot of work — both in terms of the raw amount of newconcepts to process, and correspondingly, in terms of the numberof exercises assigned to help you master them (20-30 per week) —but you will leave this class equipped with a powerful conceptualframework on which the vast majority of mathematics, science,engineering, etc., depend.

Page 39: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What will you learn in this class?

Concrete procedures for manipulating linear equations

Abstract notions capturing and organizing the idea of linearity

Many real world examples of linear phenomena, especially in theform of differential equations

It will be a

lot of work — both in terms of the raw amount of newconcepts to process, and correspondingly, in terms of the numberof exercises assigned to help you master them (20-30 per week) —but you will leave this class equipped with a powerful conceptualframework on which the vast majority of mathematics, science,engineering, etc., depend.

Page 40: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What will you learn in this class?

Concrete procedures for manipulating linear equations

Abstract notions capturing and organizing the idea of linearity

Many real world examples of linear phenomena, especially in theform of differential equations

It will be a lot

of work — both in terms of the raw amount of newconcepts to process, and correspondingly, in terms of the numberof exercises assigned to help you master them (20-30 per week) —but you will leave this class equipped with a powerful conceptualframework on which the vast majority of mathematics, science,engineering, etc., depend.

Page 41: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What will you learn in this class?

Concrete procedures for manipulating linear equations

Abstract notions capturing and organizing the idea of linearity

Many real world examples of linear phenomena, especially in theform of differential equations

It will be a lot of

work — both in terms of the raw amount of newconcepts to process, and correspondingly, in terms of the numberof exercises assigned to help you master them (20-30 per week) —but you will leave this class equipped with a powerful conceptualframework on which the vast majority of mathematics, science,engineering, etc., depend.

Page 42: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What will you learn in this class?

Concrete procedures for manipulating linear equations

Abstract notions capturing and organizing the idea of linearity

Many real world examples of linear phenomena, especially in theform of differential equations

It will be a lot of work

— both in terms of the raw amount of newconcepts to process, and correspondingly, in terms of the numberof exercises assigned to help you master them (20-30 per week) —but you will leave this class equipped with a powerful conceptualframework on which the vast majority of mathematics, science,engineering, etc., depend.

Page 43: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What will you learn in this class?

Concrete procedures for manipulating linear equations

Abstract notions capturing and organizing the idea of linearity

Many real world examples of linear phenomena, especially in theform of differential equations

It will be a lot of work — both in terms of the raw amount of newconcepts to process, and correspondingly, in terms of the numberof exercises assigned to help you master them (20-30 per week) —

but you will leave this class equipped with a powerful conceptualframework on which the vast majority of mathematics, science,engineering, etc., depend.

Page 44: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What will you learn in this class?

Concrete procedures for manipulating linear equations

Abstract notions capturing and organizing the idea of linearity

Many real world examples of linear phenomena, especially in theform of differential equations

It will be a lot of work — both in terms of the raw amount of newconcepts to process, and correspondingly, in terms of the numberof exercises assigned to help you master them (20-30 per week) —but you will leave this class equipped with a powerful conceptualframework on which the vast majority of mathematics, science,engineering, etc., depend.

Page 45: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s get to work

Page 46: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Linear equations

Example.

The equation x + 2y + 3z = 6 is linear in x , y , z .

Definition. An equation in variables x1, x2, . . . , xn is linear if it canbe put in the form

a1x1 + a2x2 + · · ·+ anxn = b

where a1, a2, . . . , an and b do not depend on any of the xi .

Usually, the ai and b will just be explicit real or complex numbers.

Page 47: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Linear equations

Example.

The equation x + 2y + 3z = 6 is linear in x , y , z .

Definition. An equation in variables x1, x2, . . . , xn is linear if it canbe put in the form

a1x1 + a2x2 + · · ·+ anxn = b

where a1, a2, . . . , an and b do not depend on any of the xi .

Usually, the ai and b will just be explicit real or complex numbers.

Page 48: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Linear equations

Example.

The equation x + 2y + 3z = 6 is linear in x , y , z .

Definition. An equation in variables x1, x2, . . . , xn is linear if it canbe put in the form

a1x1 + a2x2 + · · ·+ anxn = b

where a1, a2, . . . , an and b do not depend on any of the xi .

Usually, the ai and b will just be explicit real or complex numbers.

Page 49: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Linear equations

Example.

The equation x + 2y + 3z = 6 is linear in x , y , z .

Definition. An equation in variables x1, x2, . . . , xn is linear if it canbe put in the form

a1x1 + a2x2 + · · ·+ anxn = b

where a1, a2, . . . , an and b do not depend on any of the xi .

Usually, the ai and b will just be explicit real or complex numbers.

Page 50: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Linear equations

Example.

The equation x + 2y + 3z = 6 is linear in x , y , z .

Definition. An equation in variables x1, x2, . . . , xn is linear if it canbe put in the form

a1x1 + a2x2 + · · ·+ anxn = b

where a1, a2, . . . , an and b do not depend on any of the xi .

Usually, the ai and b will just be explicit real or complex numbers.

Page 51: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Linear equations

Example.

The equation x + 2y + 3z = 6 is linear in x , y , z .

Definition. An equation in variables x1, x2, . . . , xn is linear if it canbe put in the form

a1x1 + a2x2 + · · ·+ anxn = b

where a1, a2, . . . , an and b do not depend on any of the xi .

Usually, the ai and b will just be explicit real or complex numbers.

Page 52: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Linear equations

Definition. An equation in variables x1, x2, . . . , xn is linear if it canbe put in the form

a1x1 + a2x2 + · · ·+ anxn = b

where a1, a2, . . . , an and b do not depend on any of the xi .

Usually, the ai and b will just be explicit real or complex numbers.

Nonexample.

The equation x3 = 6 is not linear in x .

You might try writing it as(x2)x = 6 and pretend x2 is a coefficient, but this is no goodbecause x2 depends on x .

Page 53: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Linear equations

Definition. An equation in variables x1, x2, . . . , xn is linear if it canbe put in the form

a1x1 + a2x2 + · · ·+ anxn = b

where a1, a2, . . . , an and b do not depend on any of the xi .

Usually, the ai and b will just be explicit real or complex numbers.

Nonexample.

The equation x3 = 6 is not linear in x . You might try writing it as(x2)x = 6 and pretend x2 is a coefficient, but this is no goodbecause x2 depends on x .

Page 54: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Linear equations

Definition. An equation in variables x1, x2, . . . , xn is linear if it canbe put in the form

a1x1 + a2x2 + · · ·+ anxn = b

where a1, a2, . . . , an and b do not depend on any of the xi .

Usually, the ai and b will just be explicit real or complex numbers.

Example-nonexample.

The equation xy = 1 is “linear in the variable x”, and it is “linearin the variable y”, but it is not “linear in the variables x and y”.

Page 55: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Which of these equations are linear in x1, x2, . . . , xn?

I x1 = 5

linear

I x1 + x2 + · · ·+ xn = 1 linear

I 4x1 + 17x2 = −x3 linear

I 4x1 + 17x2 = −x3 cos(s) linear

I x1 + x2 + · · ·+ xn = x1x2 · · · xn nonlinear

I x1/x2 = 4 I will try not to ask this question on an exam

The equation x1/x2 = 4 is equivalent to the equation x1 = 4x2,subject to the condition that x2 6= 0. Depending on the context,one might or might not want to call this linear.

Page 56: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Which of these equations are linear in x1, x2, . . . , xn?

I x1 = 5 linear

I x1 + x2 + · · ·+ xn = 1 linear

I 4x1 + 17x2 = −x3 linear

I 4x1 + 17x2 = −x3 cos(s) linear

I x1 + x2 + · · ·+ xn = x1x2 · · · xn nonlinear

I x1/x2 = 4 I will try not to ask this question on an exam

The equation x1/x2 = 4 is equivalent to the equation x1 = 4x2,subject to the condition that x2 6= 0. Depending on the context,one might or might not want to call this linear.

Page 57: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Which of these equations are linear in x1, x2, . . . , xn?

I x1 = 5 linear

I x1 + x2 + · · ·+ xn = 1

linear

I 4x1 + 17x2 = −x3 linear

I 4x1 + 17x2 = −x3 cos(s) linear

I x1 + x2 + · · ·+ xn = x1x2 · · · xn nonlinear

I x1/x2 = 4 I will try not to ask this question on an exam

The equation x1/x2 = 4 is equivalent to the equation x1 = 4x2,subject to the condition that x2 6= 0. Depending on the context,one might or might not want to call this linear.

Page 58: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Which of these equations are linear in x1, x2, . . . , xn?

I x1 = 5 linear

I x1 + x2 + · · ·+ xn = 1 linear

I 4x1 + 17x2 = −x3 linear

I 4x1 + 17x2 = −x3 cos(s) linear

I x1 + x2 + · · ·+ xn = x1x2 · · · xn nonlinear

I x1/x2 = 4 I will try not to ask this question on an exam

The equation x1/x2 = 4 is equivalent to the equation x1 = 4x2,subject to the condition that x2 6= 0. Depending on the context,one might or might not want to call this linear.

Page 59: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Which of these equations are linear in x1, x2, . . . , xn?

I x1 = 5 linear

I x1 + x2 + · · ·+ xn = 1 linear

I 4x1 + 17x2 = −x3

linear

I 4x1 + 17x2 = −x3 cos(s) linear

I x1 + x2 + · · ·+ xn = x1x2 · · · xn nonlinear

I x1/x2 = 4 I will try not to ask this question on an exam

The equation x1/x2 = 4 is equivalent to the equation x1 = 4x2,subject to the condition that x2 6= 0. Depending on the context,one might or might not want to call this linear.

Page 60: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Which of these equations are linear in x1, x2, . . . , xn?

I x1 = 5 linear

I x1 + x2 + · · ·+ xn = 1 linear

I 4x1 + 17x2 = −x3 linear

I 4x1 + 17x2 = −x3 cos(s) linear

I x1 + x2 + · · ·+ xn = x1x2 · · · xn nonlinear

I x1/x2 = 4 I will try not to ask this question on an exam

The equation x1/x2 = 4 is equivalent to the equation x1 = 4x2,subject to the condition that x2 6= 0. Depending on the context,one might or might not want to call this linear.

Page 61: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Which of these equations are linear in x1, x2, . . . , xn?

I x1 = 5 linear

I x1 + x2 + · · ·+ xn = 1 linear

I 4x1 + 17x2 = −x3 linear

I 4x1 + 17x2 = −x3 cos(s)

linear

I x1 + x2 + · · ·+ xn = x1x2 · · · xn nonlinear

I x1/x2 = 4 I will try not to ask this question on an exam

The equation x1/x2 = 4 is equivalent to the equation x1 = 4x2,subject to the condition that x2 6= 0. Depending on the context,one might or might not want to call this linear.

Page 62: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Which of these equations are linear in x1, x2, . . . , xn?

I x1 = 5 linear

I x1 + x2 + · · ·+ xn = 1 linear

I 4x1 + 17x2 = −x3 linear

I 4x1 + 17x2 = −x3 cos(s) linear

I x1 + x2 + · · ·+ xn = x1x2 · · · xn nonlinear

I x1/x2 = 4 I will try not to ask this question on an exam

The equation x1/x2 = 4 is equivalent to the equation x1 = 4x2,subject to the condition that x2 6= 0. Depending on the context,one might or might not want to call this linear.

Page 63: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Which of these equations are linear in x1, x2, . . . , xn?

I x1 = 5 linear

I x1 + x2 + · · ·+ xn = 1 linear

I 4x1 + 17x2 = −x3 linear

I 4x1 + 17x2 = −x3 cos(s) linear

I x1 + x2 + · · ·+ xn = x1x2 · · · xn

nonlinear

I x1/x2 = 4 I will try not to ask this question on an exam

The equation x1/x2 = 4 is equivalent to the equation x1 = 4x2,subject to the condition that x2 6= 0. Depending on the context,one might or might not want to call this linear.

Page 64: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Which of these equations are linear in x1, x2, . . . , xn?

I x1 = 5 linear

I x1 + x2 + · · ·+ xn = 1 linear

I 4x1 + 17x2 = −x3 linear

I 4x1 + 17x2 = −x3 cos(s) linear

I x1 + x2 + · · ·+ xn = x1x2 · · · xn nonlinear

I x1/x2 = 4 I will try not to ask this question on an exam

The equation x1/x2 = 4 is equivalent to the equation x1 = 4x2,subject to the condition that x2 6= 0. Depending on the context,one might or might not want to call this linear.

Page 65: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Which of these equations are linear in x1, x2, . . . , xn?

I x1 = 5 linear

I x1 + x2 + · · ·+ xn = 1 linear

I 4x1 + 17x2 = −x3 linear

I 4x1 + 17x2 = −x3 cos(s) linear

I x1 + x2 + · · ·+ xn = x1x2 · · · xn nonlinear

I x1/x2 = 4

I will try not to ask this question on an exam

The equation x1/x2 = 4 is equivalent to the equation x1 = 4x2,subject to the condition that x2 6= 0. Depending on the context,one might or might not want to call this linear.

Page 66: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Which of these equations are linear in x1, x2, . . . , xn?

I x1 = 5 linear

I x1 + x2 + · · ·+ xn = 1 linear

I 4x1 + 17x2 = −x3 linear

I 4x1 + 17x2 = −x3 cos(s) linear

I x1 + x2 + · · ·+ xn = x1x2 · · · xn nonlinear

I x1/x2 = 4 I will try not to ask this question on an exam

The equation x1/x2 = 4 is equivalent to the equation x1 = 4x2,subject to the condition that x2 6= 0. Depending on the context,one might or might not want to call this linear.

Page 67: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Which of these equations are linear in x1, x2, . . . , xn?

I x1 = 5 linear

I x1 + x2 + · · ·+ xn = 1 linear

I 4x1 + 17x2 = −x3 linear

I 4x1 + 17x2 = −x3 cos(s) linear

I x1 + x2 + · · ·+ xn = x1x2 · · · xn nonlinear

I x1/x2 = 4 I will try not to ask this question on an exam

The equation x1/x2 = 4 is equivalent to the equation x1 = 4x2,subject to the condition that x2 6= 0. Depending on the context,one might or might not want to call this linear.

Page 68: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Systems of linear equations

Definition. A system of linear equations in x1, x2, . . . , xn is a finitecollection of linear equations in x1, x2 . . . , xn.

It is helpful to “line up the x ’s” and write such systems in the form

a11x1 + a12x2 + · · ·+ a1nxn = b1

a21x1 + a22x2 + · · ·+ a2nxn = b2...

am1x1 + am2x2 + · · ·+ amnxn = bm

We say this is a system of m linear equations in n unknowns.

Page 69: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Systems of linear equations

Definition. A system of linear equations in x1, x2, . . . , xn is a finitecollection of linear equations in x1, x2 . . . , xn.

It is helpful to “line up the x ’s” and write such systems in the form

a11x1 + a12x2 + · · ·+ a1nxn = b1

a21x1 + a22x2 + · · ·+ a2nxn = b2...

am1x1 + am2x2 + · · ·+ amnxn = bm

We say this is a system of m linear equations in n unknowns.

Page 70: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Systems of linear equations

Definition. A system of linear equations in x1, x2, . . . , xn is a finitecollection of linear equations in x1, x2 . . . , xn.

It is helpful to “line up the x ’s” and write such systems in the form

a11x1 + a12x2 + · · ·+ a1nxn = b1

a21x1 + a22x2 + · · ·+ a2nxn = b2...

am1x1 + am2x2 + · · ·+ amnxn = bm

We say this is a system of m linear equations in n unknowns.

Page 71: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Systems of linear equations: examples

We now have a description for our old friend

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

It is a system of 3 linear equations in 3 unknowns (namely x , y , z).

Page 72: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Systems of linear equations: examples

We now have a description for our old friend

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

It is a system of 3 linear equations in 3 unknowns (namely x , y , z).

Page 73: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Systems of linear equations: examples

We now have a description for our old friend

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

It is a system of 3 linear equations in 3 unknowns (namely x , y , z).

Page 74: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Systems of linear equations: examples

An example of 2 equations in 3 unknowns

x + y + z = 0

x + y = 1

An example of 2 equations in 1 unknown

x = 1

x = 2

Page 75: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Systems of linear equations: examples

An example of 2 equations in 3 unknowns

x + y + z = 0

x + y = 1

An example of 2 equations in 1 unknown

x = 1

x = 2

Page 76: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solutions of systems of linear equations

Definition. The set of solutions to a system of linear equations inx1, . . . , xn is the set of all tuples of numbers (s1, . . . , sn) such thatsubstituting si for xi gives an identity.

Examples.

I The equation x1 = 5 has solution set {5}.I The system x1 = 2 and x1 + x2 = 7 has solution set {(2, 5)}.I The system x1 = 2 and x1 = 7 has the empty solution set.

I The system x1 + x2 = 0 has the solution set {(s,−s)} where stakes any value.

Page 77: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solutions of systems of linear equations

Definition. The set of solutions to a system of linear equations inx1, . . . , xn is the set of all tuples of numbers (s1, . . . , sn) such thatsubstituting si for xi gives an identity.

Examples.

I The equation x1 = 5 has solution set {5}.I The system x1 = 2 and x1 + x2 = 7 has solution set {(2, 5)}.I The system x1 = 2 and x1 = 7 has the empty solution set.

I The system x1 + x2 = 0 has the solution set {(s,−s)} where stakes any value.

Page 78: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solutions of systems of linear equations

Definition. The set of solutions to a system of linear equations inx1, . . . , xn is the set of all tuples of numbers (s1, . . . , sn) such thatsubstituting si for xi gives an identity.

Examples.

I The equation x1 = 5 has solution set {5}.

I The system x1 = 2 and x1 + x2 = 7 has solution set {(2, 5)}.I The system x1 = 2 and x1 = 7 has the empty solution set.

I The system x1 + x2 = 0 has the solution set {(s,−s)} where stakes any value.

Page 79: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solutions of systems of linear equations

Definition. The set of solutions to a system of linear equations inx1, . . . , xn is the set of all tuples of numbers (s1, . . . , sn) such thatsubstituting si for xi gives an identity.

Examples.

I The equation x1 = 5 has solution set {5}.I The system x1 = 2 and x1 + x2 = 7 has solution set {(2, 5)}.

I The system x1 = 2 and x1 = 7 has the empty solution set.

I The system x1 + x2 = 0 has the solution set {(s,−s)} where stakes any value.

Page 80: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solutions of systems of linear equations

Definition. The set of solutions to a system of linear equations inx1, . . . , xn is the set of all tuples of numbers (s1, . . . , sn) such thatsubstituting si for xi gives an identity.

Examples.

I The equation x1 = 5 has solution set {5}.I The system x1 = 2 and x1 + x2 = 7 has solution set {(2, 5)}.I The system x1 = 2 and x1 = 7 has the empty solution set.

I The system x1 + x2 = 0 has the solution set {(s,−s)} where stakes any value.

Page 81: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solutions of systems of linear equations

Definition. The set of solutions to a system of linear equations inx1, . . . , xn is the set of all tuples of numbers (s1, . . . , sn) such thatsubstituting si for xi gives an identity.

Examples.

I The equation x1 = 5 has solution set {5}.I The system x1 = 2 and x1 + x2 = 7 has solution set {(2, 5)}.I The system x1 = 2 and x1 = 7 has the empty solution set.

I The system x1 + x2 = 0 has the solution set {(s,−s)} where stakes any value.

Page 82: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Consistency and inconsistency.

Definition. A system of linear equations is consistent if it hassolutions, and inconsistent otherwise.

We saw examples of both consistent and inconsistent systemsalready. In all the examples so far, there were either 0, 1, or ∞solutions. We will learn soon that this is always the case.

Page 83: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Find all solutions to the following. Is it a consistent system? Howmany solutions are there?

x = 1

x = 2

The solution set is the empty set. The system is inconsistent, withzero solutions.

Page 84: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Find all solutions to the following. Is it a consistent system? Howmany solutions are there?

x = 1

x = 2

The solution set is the empty set. The system is inconsistent, withzero solutions.

Page 85: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Find all solutions to the following. Is it a consistent system? Howmany solutions are there?

x + y + z = 0

x + y = 1

The solution set of possible (x , y , z) is

{(s, 1− s,−1) | any number s}

The system is consistent, with infinitely many solutions.

Page 86: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

Find all solutions to the following. Is it a consistent system? Howmany solutions are there?

x + y + z = 0

x + y = 1

The solution set of possible (x , y , z) is

{(s, 1− s,−1) | any number s}

The system is consistent, with infinitely many solutions.

Page 87: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

I’ll do one

Find the solution set. Is it a consistent system? How manysolutions are there?

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

Page 88: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

Here is one way to arrive at the solution. Of the equations,

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

we can pick one, say x − y + z = 1, and use it to express x interms of the other variables: x = 1 + y − z . Now, we substitutethis back into the other two, giving

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

Page 89: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

Here is one way to arrive at the solution. Of the equations,

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

we can pick one, say x − y + z = 1,

and use it to express x interms of the other variables: x = 1 + y − z . Now, we substitutethis back into the other two, giving

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

Page 90: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

Here is one way to arrive at the solution. Of the equations,

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

we can pick one, say x − y + z = 1, and use it to express x interms of the other variables:

x = 1 + y − z . Now, we substitutethis back into the other two, giving

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

Page 91: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

Here is one way to arrive at the solution. Of the equations,

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

we can pick one, say x − y + z = 1, and use it to express x interms of the other variables: x = 1 + y − z .

Now, we substitutethis back into the other two, giving

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

Page 92: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

Here is one way to arrive at the solution. Of the equations,

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

we can pick one, say x − y + z = 1, and use it to express x interms of the other variables: x = 1 + y − z . Now, we substitute

this back into the other two, giving

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

Page 93: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

Here is one way to arrive at the solution. Of the equations,

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

we can pick one, say x − y + z = 1, and use it to express x interms of the other variables: x = 1 + y − z . Now, we substitutethis back into the other two, giving

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

Page 94: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

Here is one way to arrive at the solution. Of the equations,

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

we can pick one, say x − y + z = 1, and use it to express x interms of the other variables: x = 1 + y − z . Now, we substitutethis back into the other two, giving

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

Page 95: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

These two equations

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

simplify into

3y + 2z = 5 and 5y + 2z = 7

We can use the first to write z = (5− 3y)/2, and then substitutethis into the second to find 5y + 2(5− 3y)/2 = 7, which wesimplify to 2y = 2, then y = 1. We substitute back into either oneof the two equations above to find z = 1, which we substitute intoany of the original equations to get x = 1.

Page 96: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

These two equations

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

simplify into

3y + 2z = 5 and 5y + 2z = 7

We can use the first to write z = (5− 3y)/2, and then substitutethis into the second to find 5y + 2(5− 3y)/2 = 7, which wesimplify to 2y = 2, then y = 1. We substitute back into either oneof the two equations above to find z = 1, which we substitute intoany of the original equations to get x = 1.

Page 97: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

These two equations

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

simplify into

3y + 2z = 5 and 5y + 2z = 7

We can use the first

to write z = (5− 3y)/2, and then substitutethis into the second to find 5y + 2(5− 3y)/2 = 7, which wesimplify to 2y = 2, then y = 1. We substitute back into either oneof the two equations above to find z = 1, which we substitute intoany of the original equations to get x = 1.

Page 98: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

These two equations

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

simplify into

3y + 2z = 5 and 5y + 2z = 7

We can use the first to write z = (5− 3y)/2,

and then substitutethis into the second to find 5y + 2(5− 3y)/2 = 7, which wesimplify to 2y = 2, then y = 1. We substitute back into either oneof the two equations above to find z = 1, which we substitute intoany of the original equations to get x = 1.

Page 99: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

These two equations

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

simplify into

3y + 2z = 5 and 5y + 2z = 7

We can use the first to write z = (5− 3y)/2, and then substitute

this into the second to find 5y + 2(5− 3y)/2 = 7, which wesimplify to 2y = 2, then y = 1. We substitute back into either oneof the two equations above to find z = 1, which we substitute intoany of the original equations to get x = 1.

Page 100: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

These two equations

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

simplify into

3y + 2z = 5 and 5y + 2z = 7

We can use the first to write z = (5− 3y)/2, and then substitutethis into the second to find 5y + 2(5− 3y)/2 = 7,

which wesimplify to 2y = 2, then y = 1. We substitute back into either oneof the two equations above to find z = 1, which we substitute intoany of the original equations to get x = 1.

Page 101: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

These two equations

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

simplify into

3y + 2z = 5 and 5y + 2z = 7

We can use the first to write z = (5− 3y)/2, and then substitutethis into the second to find 5y + 2(5− 3y)/2 = 7, which wesimplify to 2y = 2, then y = 1.

We substitute back into either oneof the two equations above to find z = 1, which we substitute intoany of the original equations to get x = 1.

Page 102: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

These two equations

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

simplify into

3y + 2z = 5 and 5y + 2z = 7

We can use the first to write z = (5− 3y)/2, and then substitutethis into the second to find 5y + 2(5− 3y)/2 = 7, which wesimplify to 2y = 2, then y = 1. We substitute

back into either oneof the two equations above to find z = 1, which we substitute intoany of the original equations to get x = 1.

Page 103: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

These two equations

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

simplify into

3y + 2z = 5 and 5y + 2z = 7

We can use the first to write z = (5− 3y)/2, and then substitutethis into the second to find 5y + 2(5− 3y)/2 = 7, which wesimplify to 2y = 2, then y = 1. We substitute back into either oneof the two equations above to find z = 1,

which we substitute intoany of the original equations to get x = 1.

Page 104: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

These two equations

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

simplify into

3y + 2z = 5 and 5y + 2z = 7

We can use the first to write z = (5− 3y)/2, and then substitutethis into the second to find 5y + 2(5− 3y)/2 = 7, which wesimplify to 2y = 2, then y = 1. We substitute back into either oneof the two equations above to find z = 1, which we substitute

intoany of the original equations to get x = 1.

Page 105: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solving a system

These two equations

(1 + y − z) + 2y + 3z = 6 and 2(1 + y − z) + 3y + 4z = 9

simplify into

3y + 2z = 5 and 5y + 2z = 7

We can use the first to write z = (5− 3y)/2, and then substitutethis into the second to find 5y + 2(5− 3y)/2 = 7, which wesimplify to 2y = 2, then y = 1. We substitute back into either oneof the two equations above to find z = 1, which we substitute intoany of the original equations to get x = 1.

Page 106: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

That worked

But it was a bit of a mess.

Page 107: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

That worked

But it was a bit of a mess.

Page 108: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up.

We transformed

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

into

3y + 2z = 5

x − y + z = 1

5y + 2z = 7

by solving the original second equation for x , plugging into theothers, and then simplifying. Instead: subtract the second equationfrom the first, and twice the second equation from the third.

Page 109: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up.

We transformed

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

into

3y + 2z = 5

x − y + z = 1

5y + 2z = 7

by solving the original second equation for x , plugging into theothers, and then simplifying. Instead: subtract the second equationfrom the first, and twice the second equation from the third.

Page 110: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up.

We transformed

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

into

3y + 2z = 5

x − y + z = 1

5y + 2z = 7

by solving the original second equation for x , plugging into theothers, and then simplifying.

Instead: subtract the second equationfrom the first, and twice the second equation from the third.

Page 111: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up.

We transformed

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

into

3y + 2z = 5

x − y + z = 1

5y + 2z = 7

by solving the original second equation for x , plugging into theothers, and then simplifying. Instead: subtract the second equationfrom the first, and twice the second equation from the third.

Page 112: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up

We did some more substitutions to find y = 1. Instead, we cantransform

3y + 2z = 5

x − y + z = 1

5y + 2z = 7

into

3y + 2z = 5

x − y + z = 1

2y = 2

by subtracting the first equation from the third.

Page 113: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up

After dividing the last equation by 2, we have

3y + 2z = 5

x − y + z = 1

y = 1

Now we can add multiples of the bottom equation to the top two,

2z = 2

x + z = 2

y = 1

Page 114: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up

After dividing the last equation by 2, we have

3y + 2z = 5

x − y + z = 1

y = 1

Now we can add multiples of the bottom equation to the top two,

2z = 2

x + z = 2

y = 1

Page 115: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up

Divide the top equation by 2,

z = 1

x + z = 2

y = 1

and finally, subtract the top equation from the middle one:

z = 1

x = 1

y = 1

Page 116: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up

Divide the top equation by 2,

z = 1

x + z = 2

y = 1

and finally, subtract the top equation from the middle one:

z = 1

x = 1

y = 1

Page 117: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Why did that work?

Solving one linear equation for a given variable,

and then pluggingthat in to another linear equation

is the same as

adding a multiple of the first equation to the second. This is onlytrue of linear equations!

Page 118: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Why did that work?

Solving one linear equation for a given variable, and then pluggingthat in to another linear equation

is the same as

adding a multiple of the first equation to the second. This is onlytrue of linear equations!

Page 119: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Why did that work?

Solving one linear equation for a given variable, and then pluggingthat in to another linear equation

is the same as

adding a multiple of the first equation to the second. This is onlytrue of linear equations!

Page 120: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Why did that work?

Solving one linear equation for a given variable, and then pluggingthat in to another linear equation

is the same as

adding a multiple of the first equation to the second.

This is onlytrue of linear equations!

Page 121: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Why did that work?

Solving one linear equation for a given variable, and then pluggingthat in to another linear equation

is the same as

adding a multiple of the first equation to the second. This is onlytrue of linear equations!

Page 122: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What did we do?

We solved a system of linear equations,

by transforming them into simpler but equivalent — i.e., havingthe same solution set — systems of equations.

We only used the following “elementary” equivalences

adding a multiple of one equation to another and multiplying anequation by a nonzero number. We also allow ourselves to re-orderthe equations.

Page 123: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What did we do?

We solved a system of linear equations,

by transforming them into simpler but equivalent — i.e., havingthe same solution set — systems of equations.

We only used the following “elementary” equivalences

adding a multiple of one equation to another and multiplying anequation by a nonzero number. We also allow ourselves to re-orderthe equations.

Page 124: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What did we do?

We solved a system of linear equations,

by transforming them into simpler but equivalent — i.e., havingthe same solution set — systems of equations.

We only used the following “elementary” equivalences

adding a multiple of one equation to another and multiplying anequation by a nonzero number. We also allow ourselves to re-orderthe equations.

Page 125: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What did we do?

We solved a system of linear equations,

by transforming them into simpler but equivalent — i.e., havingthe same solution set — systems of equations.

We only used the following “elementary” equivalences

adding a multiple of one equation to another

and multiplying anequation by a nonzero number. We also allow ourselves to re-orderthe equations.

Page 126: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What did we do?

We solved a system of linear equations,

by transforming them into simpler but equivalent — i.e., havingthe same solution set — systems of equations.

We only used the following “elementary” equivalences

adding a multiple of one equation to another and multiplying anequation by a nonzero number.

We also allow ourselves to re-orderthe equations.

Page 127: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

What did we do?

We solved a system of linear equations,

by transforming them into simpler but equivalent — i.e., havingthe same solution set — systems of equations.

We only used the following “elementary” equivalences

adding a multiple of one equation to another and multiplying anequation by a nonzero number. We also allow ourselves to re-orderthe equations.

Page 128: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Augmented matrix

We can abbreviate

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

as 1 2 3 61 −1 1 12 3 4 9

This is called the augmented matrix of the system. There are asmany rows as equations, and one more column than the number ofunknowns.

Page 129: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Augmented matrix

We can abbreviate

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

as 1 2 3 61 −1 1 12 3 4 9

This is called the augmented matrix of the system. There are asmany rows as equations, and one more column than the number ofunknowns.

Page 130: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Augmented matrix

We can abbreviate

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

as 1 2 3 61 −1 1 12 3 4 9

This is called the augmented matrix of the system. There are asmany rows as equations, and one more column than the number ofunknowns.

Page 131: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Augmented matrix

We can abbreviate

x + 2y + 3z = 6

x − y + z = 1

2x + 3y + 4z = 9

as 1 2 3 61 −1 1 12 3 4 9

This is called the augmented matrix of the system. There are asmany rows as equations, and one more column than the number ofunknowns.

Page 132: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up

We can just write our solution as a series of augmented matrices:

1 2 3 61 −1 1 12 3 4 9

0 3 2 5

1 −1 1 10 5 2 7

0 3 2 5

1 −1 1 10 2 0 2

0 3 2 51 −1 1 10 1 0 1

0 0 2 2

1 0 1 20 1 0 1

0 0 1 1

1 0 1 20 1 0 1

0 0 1 11 0 0 10 1 0 1

Page 133: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up

We can just write our solution as a series of augmented matrices: 1 2 3 61 −1 1 12 3 4 9

0 3 2 51 −1 1 10 5 2 7

0 3 2 5

1 −1 1 10 2 0 2

0 3 2 51 −1 1 10 1 0 1

0 0 2 2

1 0 1 20 1 0 1

0 0 1 1

1 0 1 20 1 0 1

0 0 1 11 0 0 10 1 0 1

Page 134: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up

We can just write our solution as a series of augmented matrices: 1 2 3 61 −1 1 12 3 4 9

0 3 2 5

1 −1 1 10 5 2 7

0 3 2 51 −1 1 10 2 0 2

0 3 2 51 −1 1 10 1 0 1

0 0 2 2

1 0 1 20 1 0 1

0 0 1 1

1 0 1 20 1 0 1

0 0 1 11 0 0 10 1 0 1

Page 135: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up

We can just write our solution as a series of augmented matrices: 1 2 3 61 −1 1 12 3 4 9

0 3 2 5

1 −1 1 10 5 2 7

0 3 2 5

1 −1 1 10 2 0 2

0 3 2 51 −1 1 10 1 0 1

0 0 2 2

1 0 1 20 1 0 1

0 0 1 1

1 0 1 20 1 0 1

0 0 1 11 0 0 10 1 0 1

Page 136: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up

We can just write our solution as a series of augmented matrices: 1 2 3 61 −1 1 12 3 4 9

0 3 2 5

1 −1 1 10 5 2 7

0 3 2 5

1 −1 1 10 2 0 2

0 3 2 51 −1 1 10 1 0 1

0 0 2 21 0 1 20 1 0 1

0 0 1 1

1 0 1 20 1 0 1

0 0 1 11 0 0 10 1 0 1

Page 137: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up

We can just write our solution as a series of augmented matrices: 1 2 3 61 −1 1 12 3 4 9

0 3 2 5

1 −1 1 10 5 2 7

0 3 2 5

1 −1 1 10 2 0 2

0 3 2 51 −1 1 10 1 0 1

0 0 2 2

1 0 1 20 1 0 1

0 0 1 11 0 1 20 1 0 1

0 0 1 11 0 0 10 1 0 1

Page 138: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up

We can just write our solution as a series of augmented matrices: 1 2 3 61 −1 1 12 3 4 9

0 3 2 5

1 −1 1 10 5 2 7

0 3 2 5

1 −1 1 10 2 0 2

0 3 2 51 −1 1 10 1 0 1

0 0 2 2

1 0 1 20 1 0 1

0 0 1 1

1 0 1 20 1 0 1

0 0 1 11 0 0 10 1 0 1

Page 139: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Let’s clean it up

We can just write our solution as a series of augmented matrices: 1 2 3 61 −1 1 12 3 4 9

0 3 2 5

1 −1 1 10 5 2 7

0 3 2 5

1 −1 1 10 2 0 2

0 3 2 51 −1 1 10 1 0 1

0 0 2 2

1 0 1 20 1 0 1

0 0 1 1

1 0 1 20 1 0 1

0 0 1 11 0 0 10 1 0 1

Page 140: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Row reduction

At each stage, we reduced the number of non-zero entries in thematrix, by adding multiples of one row to another.

This procedureis called row reduction, or Gaussian elimination.

It was in 9 chapters on the mathematical art, 2000 years before.

Page 141: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Row reduction

At each stage, we reduced the number of non-zero entries in thematrix, by adding multiples of one row to another. This procedureis called

row reduction, or Gaussian elimination.

It was in 9 chapters on the mathematical art, 2000 years before.

Page 142: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Row reduction

At each stage, we reduced the number of non-zero entries in thematrix, by adding multiples of one row to another. This procedureis called row reduction,

or Gaussian elimination.

It was in 9 chapters on the mathematical art, 2000 years before.

Page 143: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Row reduction

At each stage, we reduced the number of non-zero entries in thematrix, by adding multiples of one row to another. This procedureis called row reduction, or Gaussian elimination.

It was in 9 chapters on the mathematical art, 2000 years before.

Page 144: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Row reduction

At each stage, we reduced the number of non-zero entries in thematrix, by adding multiples of one row to another. This procedureis called row reduction, or Gaussian elimination.

It was in 9 chapters on the mathematical art, 2000 years before.

Page 145: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Try it yourself!

For what numerical values of s are the systems

x + sy = 0

−x + y = s + 1

andx − y = 0

equivalent?

Page 146: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solution

We write and reduce the augmented matrix for the first system:

[1 s 0−1 1 s + 1

]→

[1 s 00 1 + s s + 1

]If s = −1, then the second equation says 0 = 0 and the first saysx − y = 0; i.e., in this case, it is equivalent to the second system.

Otherwise, we can divide the second equation by 1 + s to find[1 s 00 1 1

]→

[1 0 −s0 1 1

]i.e., x = −s and y = 1. This is not equivalent to the secondsystem, which has solutions (s,−s) for any s.

The systems are equivalent if and only if s = −1.

Page 147: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solution

We write and reduce the augmented matrix for the first system:[1 s 0−1 1 s + 1

]

→[

1 s 00 1 + s s + 1

]If s = −1, then the second equation says 0 = 0 and the first saysx − y = 0; i.e., in this case, it is equivalent to the second system.

Otherwise, we can divide the second equation by 1 + s to find[1 s 00 1 1

]→

[1 0 −s0 1 1

]i.e., x = −s and y = 1. This is not equivalent to the secondsystem, which has solutions (s,−s) for any s.

The systems are equivalent if and only if s = −1.

Page 148: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solution

We write and reduce the augmented matrix for the first system:[1 s 0−1 1 s + 1

]→

[1 s 00 1 + s s + 1

]If s = −1, then the second equation says 0 = 0 and the first saysx − y = 0;

i.e., in this case, it is equivalent to the second system.

Otherwise, we can divide the second equation by 1 + s to find[1 s 00 1 1

]→

[1 0 −s0 1 1

]i.e., x = −s and y = 1. This is not equivalent to the secondsystem, which has solutions (s,−s) for any s.

The systems are equivalent if and only if s = −1.

Page 149: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solution

We write and reduce the augmented matrix for the first system:[1 s 0−1 1 s + 1

]→

[1 s 00 1 + s s + 1

]If s = −1, then the second equation says 0 = 0 and the first saysx − y = 0; i.e., in this case, it is equivalent to the second system.

Otherwise, we can divide the second equation by 1 + s to find[1 s 00 1 1

]→

[1 0 −s0 1 1

]i.e., x = −s and y = 1. This is not equivalent to the secondsystem, which has solutions (s,−s) for any s.

The systems are equivalent if and only if s = −1.

Page 150: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solution

We write and reduce the augmented matrix for the first system:[1 s 0−1 1 s + 1

]→

[1 s 00 1 + s s + 1

]If s = −1, then the second equation says 0 = 0 and the first saysx − y = 0; i.e., in this case, it is equivalent to the second system.

Otherwise, we can divide the second equation by 1 + s to find[1 s 00 1 1

]

→[

1 0 −s0 1 1

]i.e., x = −s and y = 1. This is not equivalent to the secondsystem, which has solutions (s,−s) for any s.

The systems are equivalent if and only if s = −1.

Page 151: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solution

We write and reduce the augmented matrix for the first system:[1 s 0−1 1 s + 1

]→

[1 s 00 1 + s s + 1

]If s = −1, then the second equation says 0 = 0 and the first saysx − y = 0; i.e., in this case, it is equivalent to the second system.

Otherwise, we can divide the second equation by 1 + s to find[1 s 00 1 1

]→

[1 0 −s0 1 1

]

i.e., x = −s and y = 1. This is not equivalent to the secondsystem, which has solutions (s,−s) for any s.

The systems are equivalent if and only if s = −1.

Page 152: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solution

We write and reduce the augmented matrix for the first system:[1 s 0−1 1 s + 1

]→

[1 s 00 1 + s s + 1

]If s = −1, then the second equation says 0 = 0 and the first saysx − y = 0; i.e., in this case, it is equivalent to the second system.

Otherwise, we can divide the second equation by 1 + s to find[1 s 00 1 1

]→

[1 0 −s0 1 1

]i.e., x = −s and y = 1. This is not equivalent to the secondsystem, which has solutions (s,−s) for any s.

The systems are equivalent if and only if s = −1.

Page 153: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Solution

We write and reduce the augmented matrix for the first system:[1 s 0−1 1 s + 1

]→

[1 s 00 1 + s s + 1

]If s = −1, then the second equation says 0 = 0 and the first saysx − y = 0; i.e., in this case, it is equivalent to the second system.

Otherwise, we can divide the second equation by 1 + s to find[1 s 00 1 1

]→

[1 0 −s0 1 1

]i.e., x = −s and y = 1. This is not equivalent to the secondsystem, which has solutions (s,−s) for any s.

The systems are equivalent if and only if s = −1.

Page 154: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Next time:

We will continue to refine our solution method — transforming agiven linear system into equivalent, but increasingly easy to solve,linear systems. We will also consider various reformulations andinterpretations of linear equations.

See you next time!

Page 155: Linear algebra and di erential equations (Math 54): Lecture 1vivek/54slides/1.slides.pdf · The website has afull syllabus, including all of the above All homework assignments for

Next time:

We will continue to refine our solution method — transforming agiven linear system into equivalent, but increasingly easy to solve,linear systems. We will also consider various reformulations andinterpretations of linear equations.

See you next time!