Here are the steps to solve the system of linear equations:
The given system of equations is:
- x1+x2−5x3=8
- −2x1+3x2+x3=12
- 3x1+x2+4x3=5
Step 1: Eliminate x1 from equations (1) and (2).
Multiply equation (1) by 2:
2(x1+x2−5x3)=2(8)
2x1+2x2−10x3=16(Equation 4)
Add Equation (4) to Equation (2):
(2x1+2x2−10x3)+(−2x1+3x2+x3)=16+12
5x2−9x3=28(Equation 5)
Step 2: Eliminate x1 from equations (1) and (3).
Multiply equation (1) by -3:
−3(x1+x2−5x3)=−3(8)
−3x1−3x2+15x3=−24(Equation 6)
Add Equation (6) to Equation (3):
(−3x1−3x2+15x3)+(3x1+x2+4x3)=−24+5
−2x2+19x3=−19(Equation 7)
Step 3: Solve the system of equations (5) and (7) for x2 and x3.
The new system is:
5) 5x2−9x3=28
7) −2x2+19x3=−19
Multiply Equation (5) by 2 and Equation (7) by 5:
2(5x2−9x3)=2(28)⟹10x2−18x3=56(Equation 8)
5(−2x2+19x3)=5(−19)⟹−10x2+95x3=−95(Equation 9)
Add Equation (8) and Equation (9):
(10x2−18x3)+(−10x2+95x3)=56+(−95)
77x3=−39
x3=−7739
Step 4: Substitute the value of x3 into Equation (5) to find x2.
5x2−9(−7739)=28
5x2+77351=28
5x2=28−77351
5x2=7728×77−351
5x2=772156−351
5x2=771805
x2=5×771805
x2=77361
Step 5: Substitute the values of x2 and x3 into Equation (1) to find x1.
x1+x2−5x3=8
x1+77361−5(−7739)=8
x1+77361+77195=8
x1+77361+195=8
x1+77556=8
x1=8−77556
x1=778×77−556
x1=77616−556
x1=7760
The solution to the system of equations is:
x1=7760,x2=77361,x3=−7739
x1=7760,x2=77361,x3=−7739
Send me the next one 📸