Академический Документы
Профессиональный Документы
Культура Документы
Assignment 1 Solution
Section 1.1
6(e)
First, we compute the RREF of the original system:
2 1 3 1 2 1 3 1
R2←R2−2(R1)
4 3 5 1 −−−−−−−−→ 0 1 −1 −1
R3←R3−3(R1)
6 5 5 −3 0 2 −4 −6
1 3 1
1 2 2 2
R3←R3−2(R2)
−−−−−−−−→ 0 1 −1 −1
R1← R1
2 0 0 −2 −4
1 3 1
−R3
R3← 2
1 2 2 2
−−−−− → 0 1 −1 −1
0 0 1 2
x1 + x22 = − 52
Sub. x =2
−−−−−3−→ ⇒x2 = 1
x2 = 1
Sub. x2 =1
−−−−−−→ x1 = −3 ⇒x1 = −3
1
Therefore, the solution is given by
x1 = −3
x2 = 1
x3 = 2
6(f )
First, we perform elementary row operations on the following matrix:
2 1
3 2 1 0 R1
R1← 3
1 3 3
0
−2 1 −1 2 −−−−→ −2 1 −1 2
2 −1 2 −1 2 −1 2 −1
1 32 1
3
0
R2←R2+2(R1)
−−−−−−−−→ 0 73 − 13 2
R3←R3−2(R1)
0 − 7 4 −1
2 31 3
R2← 37 (R2)
1 3 3 0
−−−−−−−→ 0 1 − 17 67
R3←R3+R2
0 0 1 1
x1 + 2x32 = − 13
Sub. x3 =1
−−−−−−→ ⇒x2 = 1
x2 = 1
Sub. x2 =1
−−−−−−→ x1 = −1 ⇒x1 = −1
6(h)
2
First, we perform elementary row operations on the matrix:
0 1 1 1 0 1 1 1 2 6
3 0 3 −4 7 Switch R1 and R3 3 0 3 −4 7
1 1 1 2 6 −−−−−−−−−−→ 0 1 1 1 0
2 3 1 3 6 2 3 1 3 6
1 1 1 2 6
Switch R2 and R3 0 1 1 1 0
−−−−−−−−−−→ 3 0 3 −4 7
2 3 1 3 6
1 1 1 2 6
R3←R3−3(R1) 0 1 1 1 0
−−−−−−−−→
R4←R4−2(R1) 0 −3 0 −10 −11
0 1 −1 −1 −6
1 1 1 2 6
Switch R3 and R4 0 1 1 1 0
−−−−−−−−−−→ 0 1 −1 −1 −6
0 −3 0 −10 −11
1 1 1 2 6
R3←R3−R1 0 1 1 1 0
−−−−−−−→
R4←R4+R2 0 0 −2 −2 −6
0 0 3 −7 −11
1 1 1 2 6
−(R3) 0 1 1 1
R3← 0
−−−−−−2−−→
3(R3) 0 0 1 1 3
R4←R4+ 2
0 0 0 −10 −20
1 1 1 2 6
−(R4)
R4← 0 1 1 1 0
−−−−−2−→ 0 0 1 1 3
0 0 0 1 2
3
Therefore, the original system is equivalent to
x1 + x2 + x3 + 2x4 = 6
x2 + x3 + x4 = 0
⇒x4 = 2
x3 + x4 = 3
x4 = 2
x1 + x2 + x3 = 2
Sub. x =2
−−−−−4−→ x2 + x3 = −2 ⇒x3 = 1
x3 = 1
Sub. x =1 x1 + x2 = 1
−−−−−3−→ ⇒x2 = −3
x2 = −3
Sub. x =−3
−−−−−2−−→ x1 = 4 ⇒x1 = 4
8
We can solve the two systems simultaneously by doing elementary row oper-
ations to the following matrix:
1 2 −2 1 9 1 2 −2 1 9
R2←R2−2(R1)
2 5 1 9 9 − −−−−−−−→ 0 1 5 7 −9
R3←R3−R1
1 3 4 9 −2 0 1 6 8 −11
1 2 −2 1 9
R3←R3−R2
−−−−−−−→ 0 1 5 7 −9
0 0 1 1 −2
4
By doing backward substitutions, the solutions of the two systems are given
by
x1 = −1 x1 = 3
x2 = 2 and x2 = 1
x3 = 1 x3 = −2
respectively.
9
(a) Suppose m1 6= m2 , then (−m2 ) − (−m1 ) = m1 − m2 6= 0. Hence, the
system has the unique solution
x1 = mb21 −b
1
−m2
x2 = 0
5
Section 1.2
5(f )
The row echlon form of the corresponding matrix of the system is given by
1 −1 2 4 1 −1 2 4
row echlon form
2 3 −1 1 − −−−−−−−−→ 0 1 −1 − 75
7 3 4 7 0 0 0 1
Therefore, the system is consistent but has free variables. For any x4 ∈ R,
we have the solution
x1 = 2 − 6x4
x2 = 4 + x4
x3 = 3 − x4
5(l)
The row echlon form of the corresponding matrix of the system is given by
1 −3 1 1 1 −3 1 1
2 1 −1 2 row echlon form 0 1 − 3 0
1 4 −2 1 −−−−−−−−−→ 0 0
7
0 0
5 −8 2 5 0 0 0 0
6
Therefore, the system is consistent and has no free variables. By backward
substitution we have the solution
x1 = 1
x2 = 0
x3 = 0
6(b)
The reduced row echlon form (RREF) of the corresponding matrix of the
system is given by
1 3 1 1 3 1 3 1 1 3
row echlon form
2 −2 1 2 8 − −−−−−−−−→ 0 1 81 − 41
2
3 1 2 −1 1 0 0 0 1 3
1 0 8 0 43
5
RREF
−−−→ 0 1 18 0 − 14
0 0 0 1 3
for any x3 ∈ R.
10
The row echlon form of the corresponding matrix of the system is given by
1 1 3 2 1 1 3 2
R2←R2−R1
1 2 4 3 − −−−−−−→ 0 1 1 1
R3←R3−R1
1 3 a b 0 2 a−3 b−2
1 1 3 2
R3←R3−2(R2)
−−−−−−−−→ 0 1 1 1
0 0 a−5 b−4
7
12
The row echlon form of the corresponding matrix of the systems is given by
1 2 1 2 −1 1 2 1 2 −1
R2←R2+R1
−1 −1 2 3 2 −−−−−−−−→ 0 1 3 5 1
R3←R3−2(R1)
2 3 0 0 −2 0 −1 −2 −4 0
1 2 1 2 −1
R3←R3+R2
−−−−−−−→ 0 1 3 5 1
0 0 1 1 1
By doing backward substitutions, the solutions of the two systems are given
by
x1 = −3 x1 = 2
x2 = 2 and x2 = −2
x3 = 1 x3 = 1
respectively.