Docsity

Homework Solution 1 - Elementary Linear Algebra | MATH 2300, Assignments of Linear Algebra

Toggle sidebar
bg1
Jan 2006 Homework Solutions 1 Math 230(Mackey/Thomas)
Section 1.2, p. 27, #9 Consider a linear system whose augmented matrix is of the form
1 2 1 0
2 5 3 0
−11β0
(a) Is it possible for the system to be inconsistent?
It is not possible for the system to be inconsistent because the choice xi= 0 for i= 1,2,3 is
a solution for this (homogeneous) system. Thus the solution set is nonempty, implying that
the system is consistent.
(b) For what values of βwill the system have infinitely many solutions?
We first reduce our system to row echelon form.
1 2 1 0
2 5 3 0 R2←R2−2R1
−1 1 β0R3←R3+R1
1 2 1 0
0 1 1 0
0 3 1 + β0R3←R3−3R2
1 2 1 0
0 1 1 0
0 0 −2 + β0
When β= 2, R3reduces to 0 = 0; furthermore, examining the other equations, we see that
the system is consistent. Thus x3is a free variable and β= 2 is the unique value of βthat
yields infinitely many solutions. We now backsolve, expressing x2and x1in terms of the free
variable x3. This yields
R2:x2=−x3
R1:x1=−2x2−x3
=−2(−x3)−x3
=x3
Thus our solution set is {(x1, x2, x3) = x3(1,−1,1) : x3∈ <}.
Check:
121
253
−112
1
−1
1
=
0
0
0
For practice, we construct the LU factorization for A. Recall that the diagonal entries for the
L matrix are 1 and note from the above row operations that the (2,1) entry is 2 (the opposite
of −2, the multiple of R1that we add to R2), the (3,1) entry is −1 and the (3,2) entry is 3.
Thus our LU factorization for A is:
1 0 0
2 1 0
−1 3 1
1 2 1
0 1 1
0 0 0
=
1 2 1
2 5 3
−1 1 2
pf2

Partial preview of the text

Download Homework Solution 1 - Elementary Linear Algebra | MATH 2300 and more Assignments Linear Algebra in PDF only on Docsity!

Jan 2006 Homework Solutions 1 Math 230(Mackey/Thomas)

Section 1.2, p. 27, #9 Consider a linear system whose augmented matrix is of the form

− 1 1 β 0

(a) Is it possible for the system to be inconsistent? It is not possible for the system to be inconsistent because the choice xi = 0 for i = 1, 2 , 3 is a solution for this (homogeneous) system. Thus the solution set is nonempty, implying that the system is consistent.

(b) For what values of β will the system have infinitely many solutions? We first reduce our system to row echelon form.

1 2 1 0 2 5 3 0 R 2 ← R 2 − 2 R 1 − 1 1 β 0 R 3 ← R 3 + R 1

1 2 1 0 0 1 1 0 0 3 1 + β 0 R 3 ← R 3 − 3 R 2

1 2 1 0 0 1 1 0 0 0 −2 + β 0

When β = 2, R 3 reduces to 0 = 0; furthermore, examining the other equations, we see that the system is consistent. Thus x 3 is a free variable and β = 2 is the unique value of β that yields infinitely many solutions. We now backsolve, expressing x 2 and x 1 in terms of the free variable x 3. This yields R 2 : x 2 = −x 3 R 1 : x 1 = − 2 x 2 −x 3 = −2(−x 3 ) −x 3 = x 3

Thus our solution set is {(x 1 , x 2 , x 3 ) = x 3 (1, − 1 , 1) : x 3 ∈ <}.

Check:

For practice, we construct the LU factorization for A. Recall that the diagonal entries for the L matrix are 1 and note from the above row operations that the (2,1) entry is 2 (the opposite of −2, the multiple of R 1 that we add to R 2 ), the (3,1) entry is −1 and the (3,2) entry is 3.

Thus our LU factorization for A is:

Section 1.2, , p. 28, #14 Consider the traffic flow diagram given on page 28 of the text, where ai, bj are fixed positive integers for i, j = 1,... , 4. Set up a linear system in the unknowns xi, i = 1,... , 4, and show that the system will be consistent if and only if

a 1 + a 2 + a 3 + a 4 = b 1 + b 2 + b 3 + b 4.

What can you conclude about the number of automobiles entering and leaving the traffic network?

We have four equations, each corresponding to flow through an intersection in the diagram. Our convention shall be that equation i corresponds to the intersection being entered by ai (so the top left intersection corresponds to equation 1).

x 1 + a 1 = b 1 + x 2 (1) x 2 + a 2 = b 2 + x 3 (2) x 3 + a 3 = b 3 + x 4 (3) x 4 + a 4 = b 4 + x 1 (4)

Each equation must hold for traffic to flow. If equation 1 does not hold, say if x 1 + a 1 > b 1 + x 2 , then cars would stack up in intersection 1, halting flow. We rewrite each equation, bringing all the xi’s to the left hand side.

x 1 − x 2 = b 1 − a 1 x 2 − x 3 = b 2 − a 2 x 3 − x 4 = b 3 − a 3 −x 1 + x 4 = b 4 − a 4 This corresponds to the augmented matrix 

  

1 − 1 0 0 b 1 − a 1 0 1 − 1 0 b 2 − a 2 0 0 1 − 1 b 3 − a 3 − 1 0 0 1 b 4 − a 4

Performing three row operations on row four, namely R 4 ← R 4 + R 1 , followed by R 4 ← R 4 + R 2 , followed by R 4 ← R 4 + R 3 , we transform to the matrix

   

1 − 1 0 0 b 1 − a 1 0 1 − 1 0 b 2 − a 2 0 0 1 − 1 b 3 − a 3 0 0 0 0 b 1 − a 1 + b 2 − a 2 + b 3 − a 3 + b 4 − a 4

For the system to be consistent, it must be the case that b 1 − a 1 + b 2 − a 2 + b 3 − a 3 + b 4 − a 4 = 0. This is the same as b 1 + b 2 + b 3 + b 4 = a 1 + a 2 + a 3 + a 4. We conclude that the number of automobiles entering the traffic system must equal the number or automobiles exiting the system for traffic to flow.