Lect2 LinSys
Lect2 LinSys
Linear Systems
Lecture 2
UNSW Canberra
Semester 1, 2021
Outline
1 18
Linear Systems of Equations
Linear systems
Goals:
I Defining the problem
I Defining what a solution is
I Identifying all possible solution scenarios
I Solution technique
I Prelude to matrices
2 18
A single linear equation
Definition 1.
The general linear equation in n unknowns x1 , x2 , x3 , . . . xn is
a1 x1 + a2 x2 + a3 x3 + · · · + an xn = b.
3 18
A system of linear equations
Definition 2.
The general system of m equations in n unknowns
x1 , x2 , x3 , . . . xn is
The coefficients aij and the right-hand side bi are known real
numbers.
4 18
A nonlinear system
The systems we deal with in this course are linear. We will not be
dealing with systems of nonlinear equations such as
x − x2 − xy = 0
3 1
y − y2 − xy = 0
4 2
5 18
What is a solution?
6 18
What is a solution?
6 18
Unique solutions
x + 2y = 40
2x + y = 35
7 18
Unique solutions
x + 2y = 40
2x + y = 35
This system has the unique solution (x, y) = (10, 15). This is no
7 18
Graphical version
x+
2y 30
=4
0
10
10 30 50
2x + y = 35
8 18
Infinitely many solutions
x + 2y = 40
9 18
Infinitely many solutions
x + 2y = 40
1
x = s, y = 20 − s, where s ∈ R
2
or
y = t, x = 40 − 2t, where t ∈ R
Here s and t are parameters.
9 18
Infinitely many solutions
x + 2y = 40
3x + 6y = 120
10 18
Infinitely many solutions
y y
3x
20 20
x+ x + + 6y
2y 2y = 1
= = 20
40 40
x x
20 20
11 18
Infinitely many solutions
x + y + z = 1
3x + 2y + z = 5
x + 2y + 3z = −1
12 18
Infinitely many solutions
x + y + z = 1
3x + 2y + z = 5
x + 2y + 3z = −1
The solution is
x = 3 + t
y = −2 (t + 1)
z = t
where t ∈ R.
12 18
13 18
Inconsistent
x + 2y = 40
x + 2y = 20
14 18
Inconsistent
x + 2y = 40
2x + y = 35
x + 6y = 60
15 18
40
2x +
y=
y
35
20
x+
2y
=
40
x+6
y=6
0
x
20 40 60
16 18
Question
We can have
one solution;
no solution; or
infinitely many solutions.
17 18
Summary
18 / 18