0% found this document useful (0 votes)
35 views24 pages

Lect2 LinSys

This document discusses linear systems of equations and their solutions. It defines linear systems and their components. It explains that a solution to a linear system is a set of values for the unknowns that satisfies all equations simultaneously. A linear system can have either a unique solution, infinitely many solutions involving parameters, or no solution if the system is inconsistent. The document uses examples to illustrate each of these three solution scenarios.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views24 pages

Lect2 LinSys

This document discusses linear systems of equations and their solutions. It defines linear systems and their components. It explains that a solution to a linear system is a set of values for the unknowns that satisfies all equations simultaneously. A linear system can have either a unique solution, infinitely many solutions involving parameters, or no solution if the system is inconsistent. The document uses examples to illustrate each of these three solution scenarios.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

Algebra

Linear Systems

Lecture 2
UNSW Canberra

Semester 1, 2021
Outline

1 Linear Systems of Equations


Definitions
Solution scenarios

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.

The coefficients ai and the right-hand side (or “source terms”) b


are known real numbers.

3 18
A system of linear equations

Definition 2.
The general system of m equations in n unknowns
x1 , x2 , x3 , . . . xn is

a11 x1 + a12 x2 + a13 x3 + · · · + a1n xn = b1


a21 x1 + a22 x2 + a23 x3 + · · · + a2n xn = b2
a31 x1 + a32 x2 + a33 x3 + · · · + a3n xn = b3
.. ..
. .
am1 x1 + am2 x2 + am3 x3 + · · · + amn xn = bm

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?

A solution to a system of equations is a set of values for the


unknowns that simultaneously satifies each and every equation
in the system.

6 18
What is a solution?

A solution to a system of equations is a set of values for the


unknowns that simultaneously satifies each and every equation
in the system.

A solution may be fixed in value or dependent on a parameter.

6 18
Unique solutions

Consider the system

x + 2y = 40
2x + y = 35

7 18
Unique solutions

Consider the system

x + 2y = 40
2x + y = 35

This system has the unique solution (x, y) = (10, 15). This is no

other solution to this system.

7 18
Graphical version

x+
2y 30
=4
0

10

10 30 50

2x + y = 35
8 18
Infinitely many solutions

If we remove one equation from the previous system and have

x + 2y = 40

we now lack enough constraints to fix the values of all


unknowns.

9 18
Infinitely many solutions

If we remove one equation from the previous system and have

x + 2y = 40

we now lack enough constraints to fix the values of all


unknowns. The solution could be written as

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

A system of equations can have some redundancy in the


information presented. A clear example of this would be the
system

x + 2y = 40
3x + 6y = 120

where the second equation is 3 times the first equation. No new


information comes from the first equation.

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

It is not always obvious. Consider the system

x + y + z = 1
3x + 2y + z = 5
x + 2y + 3z = −1

12 18
Infinitely many solutions

It is not always obvious. Consider the system

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

The last scenario is when no solution exists and the system is


said to be inconsistent . This occurs for the system

x + 2y = 40
x + 2y = 20

Algebraically this system requires 20 = 40 which is clearly


nonsense. Geometrically the equation represent two parallel
lines. Thus there is no intersection.

14 18
Inconsistent

A inconsistent system need not be parallel lines. The system

x + 2y = 40
2x + y = 35
x + 6y = 60

is inconsistent. Any pair of equations can be satisfied but not all


three.

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.

Why can’t we have a different number of solutions? Why not just


2 solutions?

17 18
Summary

For a system of linear equations:


a solution is a set of numerical values for the unknowns that
satisfies each and every equation;
there are the following possibilities.
1. There may be a unique solution: consistent equations with
enough information to find all unknowns.
2. There may be an infinite number of solutions with a
parameter involved: consistent equations, but not enough
information to find unique values for all unknowns.
3. There may be no solution: inconsistent equations.

18 / 18

You might also like