15/06/2024
Solution to the Simultaneous equation posted earlier
Using Elimination method
To solve this system of linear equations simultaneously, we can use the method of substitution or elimination. Here, we'll use the elimination method.
First, let's rewrite the equations:
Equation 1: 2x + 3y - 5z = 8
Equation 2: 3x - 2y - 3z = -3
Equation 3: 2x + 5y + 8z = 27
Our goal is to eliminate one variable at a time. Let's start by eliminating x.
Multiply Equation 1 by 3 and Equation 2 by 2 to make the coefficients of x equal:
Equation 1': 6x + 9y - 15z = 24 (multiplied by 3)
Equation 2': 6x - 4y - 6z = -6 (multiplied by 2)
Now, subtract Equation 2' from Equation 1' to eliminate x:
(6x + 9y - 15z) - (6x - 4y - 6z) = 24 - (-6)
This simplifies to:
13y - 9z = 30 ... (Equation 4)
Now, let's eliminate x from Equation 3 by subtracting Equation 1 from Equation 3:
Equation 3' = Equation 3 - Equation 1
2x + 5y + 8z = 27
- (2x + 3y - 5z = 8)
This simplifies to:
2y + 13z = 19 ... (Equation 5)
Now we have two equations with two variables:
Equation 4: 13y - 9z = 30
Equation 5: 2y + 13z = 19
Multiply Equation 4 by 2 and Equation 5 by 13 to make the coefficients of y equal:
Equation 4': 26y - 18z = 60 (multiplied by 2)
Equation 5': 26y + 169z = 247 (multiplied by 13)
Now, subtract Equation 4' from Equation 5' to eliminate y:
(26y + 169z) - (26y - 18z) = 247 - 60
This simplifies to:
187z = 187
Divide by 187:
z = 1
Now that we have the value of z, substitute it into one of the equations with two variables (y and z) to find the value of y. We'll use Equation 4:
13y - 9z = 30
13y - 9(1) = 30
13y - 9 = 30
13y = 39
y = 3
Finally, substitute the values of y and z into one of the original equations to find the value of x. We'll use Equation 1:
2x + 3y - 5z = 8
2x + 3(3) - 5(1) = 8
2x + 9 - 5 = 8
2x+4=8
2x=8-4
2x = 4
x = 2
Hance :
x = 2
y = 3
z = 1
I hope u understand 🤗🤗