You are on page 1of 5

Student Name: __________________ Student I.D.

______________

Mohammad Ali Jinnah University

Linear Algebra
Assignment 1
Attempt all Questions.
Q.1 Solve by elementary row operations. (by Gauss Elimination)
x 1−2 x 2+ x 3 =0

2 x2 −8 x3 =8
−4 x1 +5 x 2+ 9 x3 =−9

1 −2 1 0

[
A ns . 0 1 −4 4
0 0 1 3 ]
x 1=2 9 , x 2=16 , x 3=3

Q.2 Solve by elementary row operations. (by Gauss Elimination)


x 2−4 x3 =8
2 x1 −3 x 2 +2 x3 =1

5 x 1−8 x 2+7 x 3=1

1 −3 /2 1 1/2

[
Ans . 0
0
1
0
−4 8
0 5/2 ]
No Solution.

Q.3 Solve by elementary row operations. (by Gauss Elimination)


x 2+ 4 x 3=−5
x 1+ 3 x 2 +5 x3 =−2
3 x 1+7 x 2 +7 x 3=6

1 3 5 −2
Ans. [ 0 1 4 −5
0 0 01 ]
No Solution.

Q.4 Solve by elementary row operations. (by Gauss Elimination)


x 1−3 x 3=8

2 x1 +2 x 2+ 9 x 3=7
x 2+ 5 x 3=−2

1 0 −3 8

[
Ans . 0 1 15/2 −9/2
0 0 1−1 ]
x 1=5 , x2 =3 , x 3=−1

Unique Solution.
Q.5 Solve by elementary row operations. (by Gauss Elimination)
x 1+ 3 x 3=2
x 2−3 x 4=3

−2 x2 +3 x 3 +2 x 4 =1
3 x 1 7 x 4=−5

−1
Ans : x1=3 , x 2=−3 x 3= , x 4=−2
3

Q.6 Evaluate the matrix


2 −1 −1 4

[ 3 4 −2 11
3 −2 4 11 ] into Reduced Echelon form.

1 0 0 3
Ans. [ 0 1 0 1
0 0 1 1 ]
Q.7 Evaluate the matrix
1 −1 2 0

[ 4 1 2 1
1 1 1 −1 ] into Echelon form.

1 −1 2 0
Ans. [ 0 1 −6 /5 1/5
0 0 1 −1 ]
Q.8 Solve the following system by Gaussian Jordan method.
5 x 1++ 4 x 3 +2 x 4 =3

x 1−x 2+ 2 x 3 + x 4=1

4 x1 + x 2 +2 x 3=1
x 1+ x2 + x 3 + x 4=0

Ans : x1=1 , x 2=−1 , x 3=−1, x 4 =1

Q.9 Solve by elementary row operations.


4 x+5 y =2
11 x+ y +2 z=3
x +5 y+ 2 z=1
3 2 −1
Ans : x= , y= , z=
11 11 11

Q.10 Solve by elementary row operations. (by Gauss Elimination)


¿ 2 x1 + x 2+5 x 3=4

3 x 1−2 x 2 +2 x3 =2

5 x 1−8 x 2−4 x 3=1

1 1 /2 5 /2 2
Ans. [ 0 1 11/7 8/7
0 0 0 1 ] (No Solution)

Q.11 Solve by elementary row operations. (by Gauss Elimination)


2 x1 ++ x 3=1
2 x1 + 4 x 2−x 3=−2

x 1−8 x 2−3 x 3=2

1 0 1/2 1/2

[
Ans . 0 1 −1/2 −3 /4
0 0 1 3 /5 ] (No Solution)

Q.12 Solve by elementary row operations. (by Gauss Jordan)


6 x 1−6 x 2+ 6 x3 =6
2 x1 −4 x 2−6 x 3=12

10 x 1−5 x 2 +5 x 3=30
Ans . x 1=5 , x 2=11/5 , x3 =−9 /5

Q.13 Solve by elementary row operations. (by Gauss Jordan)


5 x 1−2 x 2 + x 3=0
3 x 1+2 x 2+ 7 x 3 =0

x 1+ x2 +3 x 3=0

1 −2 /5 1/5 0

[
Ans . 0
0
1
0
2 0
0 0 ]
Infinite

Q.14 Solve by elementary row operations. (by Gauss Jordan)


3 x 1 +2 x2 + 4 x 3=7

2 x1 + x 2 + x 3=4
x 1+ 3 x 2 +5 x3 =3

Ans . x 1=2 , x2 =−1/2, x 3=1/2

You might also like