Assignment 1
Assignment 1
(MT1009)
of Computer and Emerging Sciences
Islamabad Spring 2025 A1 1
Assignment
1. Solve the following system of equations using the Gauss-Jordan elimination method:
𝑥 + 2𝑦 + 𝑧 = 6
2𝑥 + 3𝑦 + 3𝑧 = 14
𝑦 + 2𝑧 = 8
2. Solve the following system of equations using the Gaussian elimination method:
3𝑥 + 2𝑦 − 𝑧 = 7
2𝑥 − 2𝑦 + 4𝑧 = 10
−𝑥 + 0.5𝑦 − 𝑧 = 2
3. Express the vector [5, 2, 7] as a linear combination of the vectors [1, 0, 3], [0, 1, 1], and [1, 1, 2].
4. Determine whether the set of vectors {[1, 2, 3], [2, 4, 6], [1, 1, 1]} is linearly independent or dependent. Justify your
answer.
5. Find the vector equation of the line passing through the points 𝑃(1, 2, 3) and 𝑄(4, 5, 6).
6. Determine the values of k such that the linear system
9𝑥1 + 𝑘𝑥2 = 9
𝑘𝑥1 + 𝑥2 = −3
is consistent.
7.
(a) Solve the matrix equation Ax = b where
1 2 1 0
A =⌈1 3 0⌉, b = [ 0]
1 1 2 0
𝑏1
𝑏
(b) Is it possible to solve Ax = b for any given b = [ 2 ], where A is the matrix given in part (a)? Explain.
𝑏3
𝑏1
(c) Describe the set of all b = [𝑏2 ] for which Ax = b does have a solution.
𝑏3
8. Determine if the following sets of vectors are linearly independent. If not, write one vector as a linear combination
of other vectors in the set.
1 0
i. {[ ] , [ ]}
−1 0
−1 3
ii. {[ ] , [ ]}
2 3
1 3 4
iii. {[ 2 ] , [ 3 ] , [ 5 ]}
−4 −2 −6
(MT1009)
of Computer and Emerging Sciences
Islamabad Spring 2025 A1 1
1 −1 −4
iv. {[ 0 ], [ 3 ] , [ 2 ]}
−1 −4 −1
−5 −4 36 −3
v. {[ ] , [ ] , [ ] , [ ]}
10 −2 12 0