Worksheet 2

3
Worksheet 2 (September 1st and 3rd) 1. Some questions to check your understanding: a) What is the largest possible number of pivots a 4 × 6 matrix can have? Why? b) What is the largest possible number of pivots a 6 × 4 matrix can have? Why? c) How many solutions does a consistent linear system of 3 equations and 4 unknowns have? Why? d) Suppose the coefficient matrix corresponding to a linear system is 4 × 6 and has 3 pivot columns. How many pivot columns does the augmented matrix have if the linear system is inconsistent? 2. Determine if the vector -5 11 -7 is a linear combination of 1 -2 2 , 0 5 5 , and 2 0 8 . 3. Give a geometric description of span 3 0 2 , -2 0 3 . 4. True or false? Justify your answers! (a) Let A be an m × n-matrix and B be an m × l-matrix, where l, m, n are all distinct. Then the product AB is defined. (b) The weights c 1 , ..., c p R in a linear combination c 1 v 1 + ... + c p v p cannot all be zero. (c) Given nonzero vectors u, v in R n , span{u, v} contains the line through u and the origin. Hint: can you describe this line as a set of vectors? (d) Asking whether the linear system corresponding to a 1 a 2 a 3 b is consistent, is the same as asking whether b is a linear combination of a 1 , a 2 , a 3 . 5. Determine whether 2 -1 6 is a linear combination of the columns of 1 0 5 -2 1 -6 0 2 8 . 6. Compute AB by the definition, where Ab 1 and Ab 2 are calculated separately. (a) A = 4 -2 -3 0 3 5 ,B = 1 3 2 -1 (b) A = 5 1 0 6 0 1 ,B = 6 1 0 -1 0 1 7. Let A = 2 1 4 2 . Tutoring Room (443 Altgeld Hall): Mon 4-6 PM, Tue 5-7 PM, Wed 6-8 PM Midterm Dates: September 29th, October 22nd, November 19th (All Midterms 7-8:15 PM, see learn.illinois.edu for locations)

description

linear

Transcript of Worksheet 2

Page 1: Worksheet 2

Worksheet 2 (September 1st and 3rd)

1. Some questions to check your understanding:

a) What is the largest possible number of pivots a 4× 6 matrix can have? Why?b) What is the largest possible number of pivots a 6× 4 matrix can have? Why?c) How many solutions does a consistent linear system of 3 equations and 4 unknowns

have? Why?d) Suppose the coefficient matrix corresponding to a linear system is 4× 6 and has 3 pivot

columns. How many pivot columns does the augmented matrix have if the linear systemis inconsistent?

2. Determine if the vector

−511−7

is a linear combination of

1−22

,

055

, and

208

.

3. Give a geometric description of span

3

02

,

−203

.

4. True or false? Justify your answers!

(a) Let A be an m×n-matrix and B be an m× l-matrix, where l,m, n are all distinct. Thenthe product AB is defined.

(b) The weights c1, ..., cp ∈ R in a linear combination c1v1 + ...+ cpvp cannot all be zero.(c) Given nonzero vectors u,v in Rn, span{u, v} contains the line through u and the origin.

Hint: can you describe this line as a set of vectors?(d) Asking whether the linear system corresponding to

[a1 a2 a3 b

]is consistent, is

the same as asking whether b is a linear combination of a1,a2,a3.

5. Determine whether

2−16

is a linear combination of the columns of

1 0 5−2 1 −60 2 8

.

6. Compute AB by the definition, where Ab1 and Ab2 are calculated separately.

(a) A =

4 −2−3 03 5

, B =

[1 32 −1

]

(b) A =

[5 1 06 0 1

], B =

6 10 −10 1

7. Let A =

[2 14 2

].

Tutoring Room (443 Altgeld Hall): Mon 4-6 PM, Tue 5-7 PM, Wed 6-8 PM

Midterm Dates: September 29th, October 22nd, November 19th (All Midterms 7-8:15 PM, see learn.illinois.edu

for locations)

Page 2: Worksheet 2

(a) If x =

[00

], what is Ax?

(b) If x =

[1−2

], what is Ax?

(c) Is Ax = b uniquely solvable: is there for a given b always exactly one x? Hint: useparts (a) and (b).

(d) Put A into echelon form. Are there any “missing” pivots?

8. (Some interesting matrices) Find matrices A,B,C,D (what size!) such that:

(a) A

[xy

]=

[xy

]

(b) B

[xy

]=

[x

y + 3x

].

(c) C

[xy

]=

[yx

]

(d) D

[xy

]=

[0y

]

2

Page 3: Worksheet 2

9. Colors on a computer are usually based on the RGB model. In this model colors are repre-sented by the percentages of the primary colors red (R), green (G) and blue (B) they contain.

That means a color c is a vector

rgb

, where r is the percentage of red, g the percentage of

green and b the percentage of blue in the mix c. Obviously in this system

red =

100

, green =

010

, blue =

001

.

Moreover, the color yellow is given by

110

and the color purple by

.50.5

.

We say a mix of colors c1, . . . , cn is a color c that is of the from c = a1c1 + · · · + ancn forsome a1, . . . , an between 0 and 1.

(a) Is every color a mix of red, green, and blue?(b) Is green a mix of yellow and purple?

The following may be useful in the above problems:

Definition. Given vectors v1, . . . ,vp in Rn and given scalars c1, . . . , cp, the vector y defined by

y = c1v1 + · · ·+ cpvp

is called a linear combination of v1, . . . ,vp using weights c1, . . . , cp.

Definition. Given vectors v1, . . . ,vp in Rn, the span of v1, . . . ,vp in Rn is the set

span{v1, . . . ,vp} = {c1v1 + · · ·+ cpvp : c1, . . . , cp ∈ R},i.e., the collection of all linear combinations of v1, . . . ,vp.

3