Professional Documents
Culture Documents
1system of Linear Equations
1system of Linear Equations
LINEAR EQUATIONS
a) 5x – y + 3 = 0
Using x and y intercept, let x = 0 and solve for y then let y = 0 and solve for x.
If x = 0, y = 3 and if y = 0, x = -3/5 - 0.6
(0,3)
(-3/5,0)
Similarly, the equation of a plane in three-
dimensional space denoted by R3 has the form:
The given three linear equations has a unique solution. The solution set
for this is (x, y, z) = (3, 0, 1). If you want to check, substitute the respective
value for each linear equation of three unknowns and you could find out the it
will satisfy the equation. Meaning, there is a certain point where these three
plane region coincides to each other.
However, there are instances that these three linear equations with three variables
has an infinite solution and no solution.
No solution
Infinite Solution
Definition of a Linear
Equation in n Variables
In general, the definition of a linear equation
in n-variables is that:
Solution:
Choosing y and z to be the free variable, solve for x. So,
a11x1 + a12x2 = b1
a21x1 + a22x2 = b2
SYSTEM OF TWO and THREE
EQUATIONS IN TWO and THREE
VARIABLES RESPECTIVELY
NO SOLUTION
The following examples are example for a system of linear
equations with one solution, infinitely many solutions and an
inconsistent system.
Solution:
Note:
The course facilitator will be presented his solution on this
presentation. Please listen attentively with your course
facilitator.
Solution:
x – 2y + 3z = 9 (eq. 1)
- x + 3y – z = -6 (eq. 2)
2x – 5y + 5z = 17 (eq. 3)
Step 1. Equate (1) and (2) then eliminate x. If you want to
eliminate x in (1) and (2), the operation that you are going to use is
addition since the x variable here has different sign. You will notice also
that the numerical coefficient of x here in both equations are the same
which is 1. So you can now proceed to the elimination for x.
x – 2y + 3z = 9 ( 1)
- x + 3y – z = -6 (2)
y + 2z = 3 (3)
The new equation y + 2z = 3 becomes our equation 3.
Step 2. Equate (1) and (3). Since in step 1, we
eliminate the x variable and so as if you are
equating (1) and (3). To be able to eliminate x in
these equations, you need to multiply the equation
(2) by 2. So, the new equation (2) becomes;
2( - x + 3y – z = -6) -2x + 6y – 2z = - 12 (equation 2’)
Now, we could now equate (2’) and (3).
-2x + 6y – 2z = - 12
2x – 5y + 5z = 17
y + 3z = 5 (4)
Step 3. Equate (3) and (4) and eliminate y. No
need to multiply of any number equation 3 and 4
since they have already the same numerical
coefficient. So, proceed to subtraction since they
have the same sign. If you are going to subtract
equation 4 from 3, the sign of each term in equation
4 will be changed. So,
y + 2z = 3
-y - 3z = -5
- z = -2
So, z = 2.
Step 4. To solve for y, substitute the value of z = 2 either (3) or (4). Say you use (3),
so;
y + 2z = 3
y + 2(2) = 3
y+4=3
y =3–4
y = -1
Step 5. Now, we know the value of y = -1 and z = 2. We could now substitute
this value for y and z either (1), (2) or (3) to solve for the value of x. Let us say you
want to use (1), we have;
x – 2y + 3z = 9
x – 2(-1) + 3(2) = 9
x+2+6=9
x=9–2–6
x=1
Step 6. Write the result in a form of solution set, that is S.S. = {(x,y,z) | x = 1, y
= -1, z = 2}. Note that this is called 3-tuple.
The example below is an example for a system of linear equations with infinitely many
solutions and an inconsistent system.
Note:
The course facilitator will be presented his solution on this
powerpoint. Please listen attentively with your course facilitator
Solution
x + y = 3 (1)
2x + 2y = 6 (2)
Equate (1) and (2) and eliminate x. If you wish to eliminate x, you need to multiply the
equation 1 by 2. So, the new equation 1 after multiplying it by 2 becomes 2x + 2y = 6.
Then, equate this in (2). We have;
2x + 2y = 6
2x + 2y = 6
0=0
Now, since it becomes 0 = 0 we could write this as follows:
x +y=3
0=0
So, x + y = 3 and solve for x. It follows that;
x = 3 – y and let y = t where t is any real number. Hence
x=3-t
Example 4. Many solutions
Consider the system of equations
3x + 2y – 5z = 2
2x + 3y – 5z = -2 .
Solution:
Note:
The course facilitator will be presented his
solution on the board. Please listen attentively
with your course facilitator
Solution:
3x + 2y – 5z = 2 (1)
2x + 3y – 5z = -2 (2)
Step 1. Equate (1) and (2) and eliminate z. Since variable z
has the same numerical coefficient and sign, we will subtract
equation (2) from equation (1). It becomes;
3x + 2y – 5z = 2
-2x - 3y + 5z = 2
x – y = 4 (3)
Step 2. In equation 3, we need to solve x in terms of y,
so;
x–y=4
x=4+y
Step 3. We need to let y = t where t is any real number. So;
x=4+t
3x + 2y – 5z = 2
3(4 + t) + 2t – 5z = 2
12 + 3t + 2t – 5z = 2
12 + 5t – 5z = 2
-5z = 2 – 12 – 5t
-5z = -10 – 5t
z = (-10 – 5t)/-5
z=2+t
Note: Here, t is a free variable
Example 5. No Solution
Consider the linear system:
2x + 3y = 6 (1)
4x + 6y = -8 (2)
Solution:
Equate (1) and (2) and eliminate x. If you wish to eliminate x, you need to
make the numerical coefficient of an x-variable in both (1) and (2) are equal.
So, you need to multiply equation (1) by 2. After multiplying (1) by 2, the new
equation 1 would be:
Now, eliminating x in (1’) and (2) would be easy for us. Simply use subtraction
as our operation. So, it becomes;
4x + 6y = 12 (1’)
-4x - 6y = 8 (2)
0 = 20
Note that 0 20; hence there is no solution for this.
Example 6. No Solution
Consider the linear system (no solution)
2x - 4y + z = 3 (1)
8x – 2y + 4z = 14 (2)
-4x + y – 2z = -8 (3)
Solution:
Note:
The course facilitator will be presented his
solution on this powerpoint. Please listen
attentively with your course facilitator.
Consider the linear system
2x - 4y + z = 3 (1)
8x – 2y + 4z = 14 (2)
-4x + y – 2z = -8 (3)
Solution:
Let us examine and analyze our three given equations. Let us say we need
to equate (2) and (3) and eliminate one of the variables, say z. We need to
multiply equation 3 by 2 so that the numerical coefficient of the variable z
would be the same.
8x – 2y + 4z = 14
-8x + 2y – 4z = -16
0 = -2
Now, as you can see based on (2) and (3) after equating, it ends up to
0 = - 2 and we all know that it should not be the case. Hence, we could say that
there is no solution for this system of linear equation even we are not trying to
equate another combination of equations, say equating (1) and (2).
Example 7. No Solution
Consider the linear system
x + 3y = 5
3x – 6y = -30
4x + 7y = 10 .
Solution:
Note:
The course facilitator will be presented his
solution on the board. Please listen attentively
with your course facilitator
Consider the linear system
x + 3y = 5 (1)
3x – 6y = -30 (2)
4x + 7y = 10 (3)
Step 1. Let us equate (1) and (2) and eliminate one of the variables say
x. To be able to eliminate variable x in (1) and (2), multiply equation (1)
by 3 and the new equation will be;
3x + 9y = 15
Now, subtract equation (2) from (1) to eliminate x. Here, we have;
3x + 9y = 15
-3x + 6y = 30
15y = 45
y = 45/15
y=3
Step 2. Now, let us equate (2) and (3) and eliminate x also. To be able to
eliminate x, we need to make the numerical coefficient of variable x here
be the same, so we need to multiply (2) by 4 and (3) by 3. So, the new
equations would be:
12x – 24y = -120 (2’)
12x + 21y = 30 (3’)Now, subtract (3’) from (2’) and we got;
x – 2y + 3z = 9 x – 2y + 3z = 9
-x + 3y = -4 y + 3z = 5
2x – 5y + 5z = 17 z=2
a) 2x + 3y = 10 (eq. 1)
y = 2 (eq. 2)
b) x – 2y + 3z = 9 (eq. 1)
y + 3z = 5 (eq. 2)
z = 2 (eq. 3)
Example: Solve the system;
x – 2y + 3z = 9 (eq. 1)
-x + 3y = -4 (eq. 2)
2x – 5y + 5z = 17 (eq. 3)
Adding eq. 1 to eq. 2, we could produce another new equation.
x – 2y + 3z = 9
y + 3z = 5 (eq. 4)
2x – 5y + 5z = 17
Now, multiplying -2 to eq. 1 and add to eq. 3, we produce another
equation.
x – 2y + 3z = 9
y + 3z = 5
-y – z = -1 (eq. 5)
This time, add eq. 4 and 5 to produce another equation, i.e. 2z = 4, thus;
z = 2 (eq. 6)
So,
x – 2y + 3z = 9 (eq. 1)
y + 3z = 5 (eq. 4)
z = 2 (eq. 6)
2. Usually, the constant served as the given in the problem and the
required quantities served as the unknown or the variables. Use
appropriate or meaningful variables for a particular worded problems.
Note:
The course facilitator will be presented his
solution on the board. Please listen attentively
with your course facilitator
Based on the given example, the table could be written as system of linear
equation.
2x + y + z = 180 (1)
x + 3y + 2z = 300 (2)
2x + y + 2z = 240 (3)
a. 2x + y – 2z = -1
3x – 3y – z = 5
x – 2y + 3z = 6
b. x – 3y + z = 1
2x – y – 2z = 5
x + 2y - 3z = -1
c. y – z = 0
x – 3z = -1
-x + 3y = 1
Exercises
An oil refinery produces low-sulfur and high-sulfur
fuels. Each ton of low-sulfur fuel requires 5 minutes in the
blending plant and 4 minutes in the refining plant; each ton
of high-sulfur fuel requires 4 minutes in the blending plant
and 2 minutes in the refining plant. If the blending plant is
available for 3 hours and the refining plant is available for
2 hours, then how many tons of each type of fuel should be
manufactured so that the plant are fully utilized ?
Solution:
Exercises: Solve the system of linear
equation with the use of “Back-substitution in
row-echelon form.
5x – 3y + 2z = 3
2x + 4y – z = 7
x – 11y + 4z = 3