1A - Systems of Linear Equations
1A - Systems of Linear Equations
ax + by = c
is a straight line (if a and b are not both zero), so such an equation is called a linear equation in the
variables x and y. However, it is often convenient to write the variables as x1 , x2 , . . . , xn , particularly
when more than two variables are involved. An equation of the form
a1 x1 + a2 x2 + · · · + an xn = b
is a linear equation; the coefficients of x1 , x2 , and x3 are 2, −3, and 5, and the constant term is 7. Note that
each variable in a linear equation occurs to the first power only.
Given a linear equation a1 x1 + a2 x2 + · · · + an xn = b, a sequence s1 , s2 , . . . , sn of n numbers is called
a solution to the equation if
a1 s 1 + a2 s 2 + · · · + an s n = b
that is, if the equation is satisfied when the substitutions x1 = s1 , x2 = s2 , . . . , xn = sn are made. A
sequence of numbers is called a solution to a system of equations if it is a solution to every equation in
the system.
For example, x = −2, y = 5, z = 0 and x = 0, y = 4, z = −1 are both solutions to the system
x+y+ z=3
2x + y + 3z = 1
A system may have no solution at all, or it may have a unique solution, or it may have an infinite family of
solutions. For instance, the system x + y = 2, x + y = 3 has no solution because the sum of two numbers
cannot be 2 and 3 simultaneously. A system that has no solution is called inconsistent; a system with at
least one solution is called consistent. The system in the following example has infinitely many solutions.
1
2 Systems of Linear Equations
Example 1.1.1
Show that, for arbitrary values of s and t,
x1 = t − s + 1
x2 = t + s + 2
x3 = s
x4 = t
Because both equations are satisfied, it is a solution for all choices of s and t.
The quantities s and t in Example 1.1.1 are called parameters, and the set of solutions, described in
this way, is said to be given in parametric form and is called the general solution to the system. It turns
out that the solutions to every system of equations (if there are solutions) can be given in parametric form
(that is, the variables x1 , x2 , . . . are given in terms of new independent variables s, t, etc.). The following
example shows how this happens in the simplest systems where only one equation is present.
Example 1.1.2
Describe all solutions to 3x − y + 2z = 6 in parametric form.
Solution. Solving the equation for y in terms of x and z, we get y = 3x + 2z − 6. If s and t are
arbitrary then, setting x = s, z = t, we get solutions
x=s
y = 3s + 2t − 6 s and t arbitrary
z=t
x = 13 (p − 2q + 6)
y = p p and q arbitrary
z = q
Example:
A network of one-way streets is shown here*.
Could we solve this using The Substitution Method? How about The Elimination Method?
Example:
Solve the following system of equations by substitution and by elimination. What do you notice?
3𝑥 − 𝑦 = 12
𝑥 + 2𝑦 = 4
COURSE NOTES FOR MATH 11044 LINEAR ALGEBRA AT SHERIDAN COLLEGE WRITTEN BY JACOB CHODORIWSKY
TEXTBOOK EXCERPTS FROM LINEAR ALGEBRA WITH APPLICATIONS BY W. KEITH NICHOLSON (LYRYX 2021, OER CC BY-NC-SA).
Matrix Methods and Elementary Row Operations
We can represent a system of equations using an augmented matrix:
3𝑥 − 𝑦 = 12 3 −1 12
+ , -
𝑥 + 2𝑦 = 4 1 2 4
We could back-solve from here using substitution, or take row operations as far as they will go.
In summary, there are three elementary operations that can be applied to either a system of linear
equations or on a matrix representing such a system.
COURSE NOTES FOR MATH 11044 LINEAR ALGEBRA AT SHERIDAN COLLEGE WRITTEN BY JACOB CHODORIWSKY
TEXTBOOK EXCERPTS FROM LINEAR ALGEBRA WITH APPLICATIONS BY W. KEITH NICHOLSON (LYRYX 2021, OER CC BY-NC-SA).
Advantages of Matrix Methods
The previous problem could be easily solved using methods from high school.
Example:
Solve the following linear system its matrix representation and elementary row operations.
𝑥 + 4𝑦 − 𝑧 = 0
2𝑥 − 𝑦 + 𝑧 = 3
−3𝑥 + 2𝑦 =7
You should get a solution of 𝑥 = −1, 𝑦 = 2, 𝑧 = 7 which corresponds to the point (−1,2,7) in 3D space.
This is the intersection of the three planes whose equations were given. Lines and planes will be
discussed in detail in week 3.
COURSE NOTES FOR MATH 11044 LINEAR ALGEBRA AT SHERIDAN COLLEGE WRITTEN BY JACOB CHODORIWSKY
TEXTBOOK EXCERPTS FROM LINEAR ALGEBRA WITH APPLICATIONS BY W. KEITH NICHOLSON (LYRYX 2021, OER CC BY-NC-SA).
A system of equations with at least one solution is called consistent.
When there are infinitely many solutions, we use parameter(s) to represent the input variable(s).
Example:
𝑥 − 2𝑦 =3
𝑦+𝑧 =5
We have 3 variables but only 2 equations, which means:
Try:
𝑥=
𝑦=
𝑥 − 2𝑦 = 3 𝑦+𝑧 =5
Since 𝑥, 𝑦, 𝑧 all depend on one parameter, the solution is a 1D object i.e. a line in 3D space.
Homework
• Read textbook section 1.1.
• Solve exercises 1.1 #1-15, 18-20.
COURSE NOTES FOR MATH 11044 LINEAR ALGEBRA AT SHERIDAN COLLEGE WRITTEN BY JACOB CHODORIWSKY
TEXTBOOK EXCERPTS FROM LINEAR ALGEBRA WITH APPLICATIONS BY W. KEITH NICHOLSON (LYRYX 2021, OER CC BY-NC-SA).