Module 1 System of Linear Equation
Module 1 System of Linear Equation
Introduction
Solving systems of linear equations is important across the whole of mathematics, as well as in
many other disciplines that use tools from mathematics. You already have strategies for solving
systems of equations such as substitution, elimination and graphical method. In this topic, we
will introduce Gaussian elimination as an algorithm in solving system of linear equations.
Learning Objectives
At the end of this topic, you should be able to demonstrate the following:
Presentation of Contents
Linear Equation
Definition. A linear equation is a first degree equation written generally in the form of
A solution to the system of linear equations is an ordered set of n numbers (s 1, s2, s3, …,
sn)satisfying each of the equation for x1 = s1, x2 = s2, x3 = s3, …, xn = sn.
Example: If n = 3 and m = 3, then the system has 3 unknowns with 3 equations also
known as 3 x 3 (read as “ three by three”) linear system such as
a11 x1 + a12 x2 + a13 x3 = b1
a21 x1 + a22 x2 + a23 x3 = b2
a31 x1 + a32 x2 + a33 x3 = b3
Observe the subscript of the coefficients of the variables such as a21. The first number (2)
means the second equation and the second number (1) means the first unknown variable. Thus
a21 is the coefficient of the first unknown variable in the second equation. Generally the
coefficient of any variable is denoted as aij.
For specific example, consider the 3 x 3 linear system below (3 equations with 3
unknowns).
X11 + 2x2 + 3x3 = 6 a11 = 1, a12 = 2 , a13 = 3, b1 = 6
2x21 – 3x2 + 2x3 = 14 a21 = 2, a22 = -3 , a23 = 2, b2 = 14
3x31 + x2 – x3 = -2 a31 = 1, a32 = 2 , a33 = 3, b3 = 6
be a linear system. Performing any one of the following operations on the system produces an equivalent
linear system.
1. Interchange any two equations.
The notation Ei ↔Ej will be used to indicate that equation i and equation j can interchange.
Example of this is -2E1 + E3 →E3 means add -2 times equation 1 to equation 3 and replace
equation 3.
x+y+z = 4 → E1
E1 + E2 →E2
\
x+y+z =4
+ -x – y + z = -2
0 + 0 + 2z = 2
2z = 2 → E2
-2E1 + E3 →E3
-2(x + y + z = 4) = -2x -2y -2z = -8
+2x – y + 2z = 2
-3y = -6
– 3y = -6 → E3
b. Next, interchanging equation 2 and 3 gives the triangular form of the system.
E2 ↔ E3
x+y+z =4 → E1
– 3y = -6 → E2
2z = 2 → E3
c. We further simplify the system by making the coefficients of y and z equal to 1 by using the
operations
−1 1
E2 and E3
3 2
x+y+z =4 → E1
– 3y = -6 → E2
y= 2
y =2 → E2
2z = 2 → E3
z=1 → E3
x+y+z=4
x+2+1=4
x=4–3
x=1
From E2 and E3, z = 1, y = 2. Using back substitution, x = 1. The solution is (1, 2, 1). The system
is consistent and has a unique solution.
Fact Summary
2. Interchanging any two equations in a linear system does not alter the set of solutions.
3. Multiplying any equation by a nonzero constant does not alter the set of solutions.
4. Replacing an equation in a system with the sum of one equation and a scalar multiple of another equation
does not alter the set of solutions.