Professional Documents
Culture Documents
Mat103 AHSAN 1009
Mat103 AHSAN 1009
ASSIGNMENT TERM
YEAR:Summer,2024
StudentID:0452310005101009
Submission Date:07-06-2024
Q:(1) Solve the following system of linear equations by using the Gauss elimination method:
x{1} + x{2} + x{3} = 2
2x{1} + 3x{2} - x{3} = 9
x{1} + 3x{2} + 2x{3} = 5
Ans:We can solve the system of linear equations using Gaussian elimination:x1+x2+x3=2
2x1+3x2−x3=9 x1+3x2+2x3=5
We can solve the system of equations using Gaussian elimination. This method involves eliminating one
variable from two or more equations, and then solving for the remaining variables.
Steps to solve:1. Eliminate x₁ from the second and third equations:x1+x2+x3=2x2−3x3=5 (subtract
the first equation from the second equation) x1+3x2+2x3=5
6. Substitute x₃ and x₂ back into the first equation to solve for x₁:x1+2+(−1)=2x1=1
Answer:x1=1,x2=2,x3=−1
Q: (2) Solve the following system of linear equations by using the Gauss elimination method:
x + y + 2z = 14
x - 3y + 2z = 10
2x - y + 2z = 15
Ans: We can solve the system of linear equations using Gaussian elimination:x+y+2z=14
x−3y+2z=10
2x−y+2z=15
We can solve the system of equations using Gaussian elimination. This method involves eliminating one
variable from two or more equations, and then solving for the remaining variables.
Steps to solve:1. Eliminate y from the second and third equations:x+y+2z=14x−3y+2z=10 (subtract
the first equation from the second equation) −4y=−4
6. Notice that the third equation is the same as the equation obtained in step 3. This indicates that
the system has a unique solution.
7. Substitute y and z back into the first equation to solve for x (optional):x+1+2(5)=14x+11=14x=3
Answer:x=3,y=1,z=5