Systems of Linear Equations
Systems of Linear Equations
Systems of Linear Equations
Equations
Prepared by: Engr. Jessica B. Castillo
Linear Equation in
Two Unknowns
An equation of the form
𝑎𝑥 + 𝑏𝑦 + 𝑐 = 0
where a, b, and c are real constants such that
both a and b are nonzero, is called an
equation of the first degree because the
unknowns in the equation are each of the first
degree. It is also called a linear equation in
two unknowns because its graph is a straight
line.
It is evident that a linear equation in two
unknowns has infinitely many solutions. Thus,
it is called an indeterminate equation.
A pair of linear equations in two variables,
having one common set of values for the
variables or solution is called a system of
linear equations (in this case, in two
variables) or a set of simultaneous linear
equations. Thus, to solve a system of linear
equation in two variables means to find all the
ordered pairs of real numbers that will satisfy
both equations at the same time. Each of
these ordered pairs is called a solution or
root of the system. The set of all solutions is
called the solution set of the system.
Algebraic Method of
Solving Two Linear
Equations
Linear Combination Method or Elimination Method
2. 2𝑥 − 5𝑦 = 9
4𝑥 − 3𝑦 = −3
3. 3𝑥 + 4𝑦 = 6
5𝑥 − 3𝑦 = −19
The equations in the system
𝑎1 𝑥 + 𝑏1 𝑦 = 𝑐1 (1)
𝑎2 𝑥 + 𝑏2 𝑦 = 𝑐2 (2)
are dependent if the coefficients of the variables and the
constant in equation (1) are proportional to the coefficients of
the variables and the constant in equation (2); that is,
𝑎1 𝑏1 𝑐1
= =
𝑎2 𝑏2 𝑐2
and inconsistent if only the coefficients of the variables in
equation (1) are proportional to the coefficients of the variables
in equation (2); that is,
𝑎1 𝑏1 𝑐1
= ≠
𝑎2 𝑏2 𝑐2
Example
Determine whether the solution set is a point, infinite,
or the empty set.
1. 2𝑥 − 3𝑦 = 5
6𝑥 − 9𝑦 = 15
2. 3𝑥 + 4𝑦 = −7
6𝑥 + 8𝑦 = 10
Substitution Method
Example 1
Solve
𝑥 𝑦 7
+ = (1)
2 3 6
𝑥 𝑦
− =3 (2)
5 2
Simultaneous equations having fractions with variables in the
denominators may be solved without clearing the equations of
fractions.
Example 2
Solve
2 4 4
+ = (1)
𝑥 𝑦 3
5 1 13
− = 2
𝑥 𝑦 −6
Systems of Linear
Equations in Three
Unknowns
As a general rule, to find the solution of a system of
equations (neither dependent nor inconsistent), the
number of unknowns must be equal to the number of
equations, i.e., for problems involving two variables, two
equations are necessary; for three unknowns, three
equations, and so on.
To solve a system of linear equations in three unknowns,
perform the following steps:
1. Choose a pair of equations from the three equations
and eliminate one of the variables from the pair, say x,
to obtain an equation in two variables.
2. Choose another pair of equations and eliminate the
same unknown to obtain a second equation in the
same two variables.
3. Solve the two resulting equations for the two variables.
4. Substitute the values obtained in any one of the original
equations, and solve for the third variable.
5. Check the solution by substituting the values obtained
in the three equations.
Example: Solve the following systems.
1. 2𝑥 + 3𝑦 − 𝑧 = −1
3𝑥 − 4𝑦 + 2𝑧 = 14
5𝑥 − 2𝑦 − 3𝑧 = 6
3 4 2
2. + + =1
𝑥 𝑦 𝑧
2 2 5 8
− + =
𝑥 𝑦 𝑧 3
4 3 4 17
− + = −
𝑥 𝑦 𝑧 12
Solving Systems of
Linear Equations
Using Determinants
A determinant is a square array of numerals enclosed by
vertical bars.
𝑎1 𝑏1
𝑎2 𝑏2
The numbers 𝑎1 , 𝑎2 , 𝑏1 and 𝑏2 are called the entries (or
elements) of the determinant. The number of (horizontal)
rows and the number of (vertical) columns of entries in the
representation of a determinant determine its dimensions.
For example, the determinant indicated above is called a
two-by-two (2 x 2) determinant or a determinant of order
two because it has two rows and two columns of elements.
The value of the determinant of order two is defined
as 𝑎1 𝑏2 − 𝑎2 𝑏1 . It is obtained by subtracting the
product of the entries on the secondary (ascending)
diagonal from the lower left to the upper right from the
product of the entries on the principal (descending)
diagonal from the upper left to the lower right.
The equations 𝑎1 𝑥 + 𝑏1 𝑦 = 𝑘1 and 𝑎2 𝑥 + 𝑏2 𝑦 = 𝑘2 can
be solved as shown below.
𝑘1 𝑏1
𝑘2 𝑏2 𝑏2 𝑘1 − 𝑏1 𝑘2
𝑥= =
𝑎1 𝑏1 𝑎1 𝑏2 − 𝑎2 𝑏1
𝑎2 𝑏2
𝑎1 𝑘1
𝑎2 𝑘 2 𝑎1 𝑘2 − 𝑎2 𝑘1
𝑦= =
𝑎1 𝑏1 𝑎1 𝑏2 − 𝑎2 𝑏1
𝑎2 𝑏2
where 𝑎1 𝑏2 − 𝑎2 𝑏1 ≠ 0.
Example: Solve the following systems using
determinants.
1. 3𝑥 − 2𝑦 = 7
5𝑥 − 3𝑦 = 11
2. 5𝑥 + 6𝑦 = 5
3𝑥 − 8𝑦 = 3
For the system
𝑎1 𝑥 + 𝑏1 𝑦 + 𝑐1 𝑧 = 𝑘1
𝑎2 𝑥 + 𝑏2 𝑦 + 𝑐2 𝑧 = 𝑘2
𝑎3 𝑥 + 𝑏3 𝑦 + 𝑐3 𝑧 = 𝑘3
𝐷𝑥 𝐷𝑦 𝐷𝑧
the values of the unknowns will be 𝑥 = , y= , and z = ,
𝐷 𝐷 𝐷
where 𝐷 ≠ 0 and
𝑎1 𝑏1 𝑐1 𝑘1 𝑏1 𝑐1
𝐷 = 𝑎2 𝑏2 𝑐2 𝐷𝑥 = 𝑘2 𝑏2 𝑐2
𝑎3 𝑏3 𝑐3 𝑘3 𝑏3 𝑐3
𝑎1 𝑘1 𝑐1 𝑎1 𝑏1 𝑘1
𝐷𝑦 = 𝑎2 𝑘2 𝑐2 𝐷𝑧 = 𝑎2 𝑏2 𝑘2
𝑎3 𝑘3 𝑐3 𝑎3 𝑏3 𝑘3
The determinants of order three are expanded as follows:
1. Rewrite the first two columns after the third column.
𝑎1 𝑏1 𝑐1 𝑎1 𝑏1
𝑎2 𝑏2 𝑐2 𝑎2 𝑏2
𝑎3 𝑏3 𝑐3 𝑎3 𝑏3
2. Take the product of the entries along each diagonal arrow
as shown below.