Docsity

Gaussian Elimination and Matrix Operations, Assignments of Electronics

Toggle sidebar
bg1
1. For the equations x+y=4, 2x−2y=4, draw the row picture (two intersecting
lines) and the column picture (combination of two columns equal to the column
vector (4,4)on the right side).
Chapter 1
Matrices and Gaussian Elimination
3. (Recommended) Describe the intersection of the three planes u+v+w+z=6 and
u+w+z=4 and u+w=2 (all in four-dimensional space). Is it a line or a point or
an empty set? What is the intersection if the fourth plane u=−1 is included? Find
a fourth equation that leaves us with no solution.
4. Sketch these three lines and decide if the equations are solvable:
3 by 2 system
x+2y=2
x−y=2
y=1.
What happens if all right-hand sides are zero? Is there any nonzero choice of right-
hand sides that allows the three lines to intersect at the same point?
8. Explain why the system
u+v+w=2
u+2v+3w=1
v+2w=0
is singular by finding a combination of the three equations that adds up to 0 =1.
What value should replace the last zero on the right side to allow the equations to
have solutions—and what is one of the solutions?
9. The column picture for the previous exercise (singular system) is
u
1
1
0
+v
1
2
1
+w
1
3
2
=b.
1.2 The Geometry of Linear Equations
Show that the three columns on the left lie in the same plane by expressing the third
column as a combination of the first two. What are all the solutions (u,v,w)if bis
the zero vector (0,0,0)?1
1.2 The Geometry of Linear Equations
pf3
pf4
pf5
pf8

Partial preview of the text

Download Gaussian Elimination and Matrix Operations and more Assignments Electronics in PDF only on Docsity!

  1. For the equations x + y = 4, 2x − 2 y = 4, draw the row picture (two intersecting

lines) and the column picture (combination of two columns equal to the column vector ( 4 , 4 ) on the right side).

Chapter 1

Matrices and Gaussian Elimination

  1. (Recommended) Describe the intersection of the three planes u + v + w + z = 6 and

u + w + z = 4 and u + w = 2 (all in four-dimensional space). Is it a line or a point or an empty set? What is the intersection if the fourth plane u = −1 is included? Find a fourth equation that leaves us with no solution.

  1. Sketch these three lines and decide if the equations are solvable:

3 by 2 system x + 2 y = 2 x − y = 2 y = 1. What happens if all right-hand sides are zero? Is there any nonzero choice of right- hand sides that allows the three lines to intersect at the same point?

  1. Explain why the system

u + v + w = 2 u + 2 v + 3 w = 1 v + 2 w = 0 is singular by finding a combination of the three equations that adds up to 0 = 1. What value should replace the last zero on the right side to allow the equations to have solutions—and what is one of the solutions?

  1. The column picture for the previous exercise (singular system) is

u

 + v

 + w

 = b. 1.2 The Geometry of Linear Equations Show that the three columns on the left lie in the same plane by expressing the third column as a combination of the first two. What are all the solutions (u, v, w) if b is the zero vector ( 0 , 0 , 0 )? 1.2 The Geometry of Linear Equations

  1. (Recommended) Under what condition on y 1 , y 2 , y 3 do the points ( 0 , y 1 ), ( 1 , y 2 ),

( 2 , y 3 ) lie on a straight line?

  1. These equations are certain to have the solution x = y = 0. For which values of a is

there a whole line of solutions? ax + 2 y = 0 2 x + ay = 0 1.2 The Geometry of Linear Equations

  1. For the system

u + v + w = 2 u + 3 v + 3 w = 0 u + 3 v + 5 w = 2 , what is the triangular system after forward elimination, and what is the solution? Problems 20–22 move up to 4 by 4 and n by n. 2 u − v = 0 −u + 2 v − w = 0 − v + 2 w − z = 0 − w + 2 z = 5. You may carry the right-hand side as a fifth column (and omit writing u, v, w, z until the solution at the end).

  1. Solve the system and find the pivots when

1.3 An Example of Gaussian Elimination

  1. The first row of AB is a linear combination of all the rows of B. What are the coeffi-

cients in this combination, and what is the first row of AB, if

A =

[ 2 1 4 0 − 1 1 ]

and B =

  1. Describe the rows of EA and the columns of AE if

E =

[

1 7 0 1 ] .

  1. Suppose A commutes with every 2 by 2 matrix (AB = BA), and in particular

A =

[

a b c d

]

commutes with B 1 =

[

1 0 0 0 ]

and B 2 =

[

0 1 0 0 ] .

Show that a = d and b = c = 0. If AB = BA for all matrices B, then A is a multiple of the identity.

  1. Let x be the column vector ( 1 , 0 ,... , 0 ). Show that the rule (AB)x = A(Bx) forces the

first column of AB to equal A times the first column of B. A( θ ) =

[

cos^ θ^ −^ sin^ θ sin θ cos θ

]

.

Verify that A( θ 1 )A( θ 2 ) = A( θ 1 + θ 2 ) from the identities for cos( θ 1 + θ 2 ) and sin( θ 1 + θ 2

  1. The matrix that rotates the x-y plane by an angle^ θ^ is

). What is A( θ) times A(− θ)? (a) E 21 subtracts 5 times row 1 from row 2. (b) E 32 subtracts −7 times row 2 from row 3. Problems 22–31 are about elimination matrices.

  1. Write down the 3 by 3 matrices that produce these elimination steps:

(c) P exchanges rows 1 and 2, then rows 2 and 3. 1.4 Matrix Notation and Matrix Multiplication 1.4 Matrix Notation and Matrix Multiplication

  1. Factor A into LU, and write down the upper triangular system Ux = c which appears

after elimination, for Ax =

u v w

  1. Solve by elimination, exchanging rows when necessary:

u + 4 v + 2 w = − 2 − 2 u − 8 v + 3 w = 32 v + w = 1 and v + w = 0 u + v = 0 u + v + w = 1. Which permutation matrices are required?

  1. Find the PA = LDU factorizations (and check them) for

A =

   0 1 1 1 0 1 2 3 4  

 and^ A^ =

  1. The less familiar form A = LPU exchanges rows only at the end:

A =

  1 1 1 1 1 3 2 5 8   → L− 1 A =   1 1 1 0 0 2 0 3 6   = PU =   1 0 0 0 0 1 0 1 0     1 1 1 0 3 6 0 0 2  .

What is L is this case? Comparing with PA = LU in Box 1J, the multipliers now stay in place (21 is 1 and 31 is 2 when A = LPU). Problems 20–31 compute the factorization A = LU (and also A = LDU).

  1. What three elimination matrices E 21 , E 31 , E 32 put A into upper triangular form

E 32 E 31 E 21 A = U? Multiply by E 32 −^1 , E 31 −^1 and E 21 −^1 to factor A into LU where L = E 21 −^1 E 31 −^1 E 32 −^1. Find L and U: A =

1.5 Triangular Factors and Row Exchanges 1.5 Triangular Factors and Row Exchanges

  1. (a) If A is invertible and AB = AC, prove quickly that B = C.

(b) If A = [ 1 00 0 ], find an example with AB = AC but B 6 = C.

  1. If the inverse of A^2 is B, show that the inverse of A is AB. (Thus A is invertible

whenever A^2 is invertible.)

  1. Use the Gauss-Jordan method to invert

A 1 =

  1 0 0 1 1 1 0 0 1   , A 2 =   2 − 1 0 − 1 2 − 1 0 − 1 2   , A 3 =   0 0 1 0 1 1 1 1 1  . .

  1. If B is square, show that A = B + BT^ is always symmetric and K = B − BT^ is always

skew-symmetric—which means that KT^ = −K. Find these matrices A and K when B = [ 1 31 1 ], and write B as the sum of a symmetric matrix and a skew-symmetric matrix. 1 2 3 6 ]^ has no inverse by trying to solve for the column^ (x,^ y): [ 1 2 3 6

] [

x t y z

]

= [ 1 0 0 1 ]

must include

[

1 2 3 6 ] [

x y

]

= [ 1 0 ] .

Problems 35–39 are about the Gauss-Jordan method for calculating A^ −^1

  1. Invert these matrices A by the Gauss-Jordan method starting with [A I]:

A =

   1 0 0 2 1 3 0 0 1  

 and^ A^ =

  1. Show that [
  2. (a) How many entries can be chosen independently in a symmetric matrix of order

n? (b) How many entries can be chosen independently in a skew-symmetric matrix (KT^ = −K) of order n? The diagonal of K is zero! 1.6 Inverses and Transposes 1.6 Inverses and Transposes

  1. Suppose elimination fails because there is no pivot in column 3:

Missing pivot A =

Show that A cannot be invertible. The third row of A−^1 , multiplying A, should give the third row [0 0 1 0] of A−^1 A = I. Why is this impossible?