You are on page 1of 3

Quiz 1 Linear Algebra (MATH-104B) Wednesday, 22-06-2022

Total Marks: 10 Time Allowed: 20 Minutes


Solution
Student Name: _________________________ Solution
Student ID: _______________________

Problem (10 Marks)

Solve the following systems of linear equations using GAUSS ELIMINATION Method.
𝑥 + 5𝑦 − 2𝑧 = 4
2𝑥 + 3𝑦 + 4𝑧 = 9
𝑥 + 𝑦 − 2𝑧 = 0

1 5 −2 ⋮ 4
[𝐴 ⋮ 𝑏] = [2 3 4 ⋮ 9]
1 1 −2 ⋮ 0

1 5 −2 ⋮ 4 𝑅2 → 𝑅2 + (−2)𝑅1
[𝐴 ⋮ 𝑏] = [0 −7 8 ⋮ 1]
𝑅3 → 𝑅3 + (−1)𝑅1
0 −4 0 ⋮ −4
1 5 −2 ⋮ 4
[𝐴 ⋮ 𝑏] = [0 −7 8 ⋮ 1 ] 𝑅3 → 𝑅3 + (−4/7)𝑅2
0 0 −32/7 ⋮ −32/7 .

−32 −32
𝑧= ⇒ 𝑧=1
7 7
−7𝑦 + 8𝑧 = 1 ⇒ 𝑦=1

𝑥 + 5𝑦 − 2𝑧 = 4 ⇒ 𝑥=1
Quiz 1 Linear Algebra (MATH-104B) Wednesday, 22-06-2022
Total Marks: 10 Time Allowed: 20 Minutes
Solution
Student Name: _________________________ Solution
Student ID: _______________________

Problem (10 Marks)

Solve the following systems of linear equations using GAUSS ELIMINATION Method.
2𝑥 + 8𝑦 − 2𝑧 = 8
2𝑥 + 3𝑦 + 5𝑧 = 10
10𝑥 + 20𝑦 − 10𝑧 = 20
2 8 −2 ⋮ 8
[𝐴 ⋮ 𝑏] = [ 2 3 5 ⋮ 10]
10 20 −10 ⋮ 20
2 8 −2 ⋮ 8 𝑅2 → 𝑅2 + (−1)𝑅1
[𝐴 ⋮ 𝑏] = [0 −5 7 ⋮ 2 ] 𝑅3 → 𝑅3 + (−5)𝑅1
0 −20 0 ⋮ −20
2 8 −2 ⋮ 8
𝑅3 → 𝑅3 + (−4)𝑅2
[𝐴 ⋮ 𝑏] = [0 −5 7 ⋮ 2 ]
.
0 0 −28 ⋮ −28
−28𝑧 = −28 ⇒ 𝑧=1
−7𝑦 + 7𝑧 = 2 ⇒ 𝑦=1
2𝑥 + 8𝑦 − 2𝑧 = 8 ⇒ 𝑥=1
Quiz 1 Linear Algebra (MATH-104B) Wednesday, 22-06-2022
Total Marks: 10 Time Allowed: 20 Minutes
Solution
Student Name: _________________________ Solution
Student ID: _______________________

Problem (10 Marks)

Solve the following systems of linear equations using GAUSS ELIMINATION Method.
𝑥 + 2𝑦 + 3𝑧 = 6
2𝑥 + 2𝑦 − 2𝑧 = 2
2𝑥 + 4𝑦 − 6𝑧 = 0
1 2 3 ⋮ 6
[𝐴 ⋮ 𝑏] = [2 2 −2 ⋮ 2]
2 4 −6 ⋮ 0
1 2 3 ⋮ 6 𝑅2 → 𝑅2 + (−2)𝑅1
[𝐴 ⋮ 𝑏] = [0 −2 8 ⋮ −10]
𝑅3 → 𝑅3 + (−2)𝑅1
0 0 −12 ⋮ −12
−12𝑧 = −12 ⇒ 𝑧=1
−2𝑦 + 8𝑧 = −10 ⇒ 𝑦=1
𝑥 + 2𝑦 + 3𝑧 = 6 ⇒ 𝑥=1

You might also like