Docsity

Linear Algebra Studio Worksheets: Systems, Row Reduction, Vectors, & More, Summaries of Algebra

Toggle sidebar
bg1
Studio Worksheets for Math 1554
School of Mathematics, Georgia Institute of Technology
The Studio Worksheets are meant to be used by all sections of MATH 1554. The exact
pacing through the questions in the worksheets may vary from class to class.
“I never teach my pupils. I only attempt to provide the conditions in which they can learn.”
- Albert Einstein
“A problem isn’t finished just because you’ve found the right answer.”
- Y¯
oko Ogawa
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c

Partial preview of the text

Download Linear Algebra Studio Worksheets: Systems, Row Reduction, Vectors, & More and more Summaries Algebra in PDF only on Docsity!

Studio Worksheets for Math 1554

School of Mathematics, Georgia Institute of Technology

The Studio Worksheets are meant to be used by all sections of MATH 1554. The exact pacing through the questions in the worksheets may vary from class to class.

“I never teach my pupils. I only attempt to provide the conditions in which they can learn.”

  • Albert Einstein

“A problem isn’t finished just because you’ve found the right answer.”

  • Y ¯oko Ogawa

Worksheet 1.1, Systems of Linear Equations

Worksheet Solutions

A primary goal of this course is to prepare students for more advanced courses that have this course as a pre-requisite. To help us meet this goal, solutions are not are provided for worksheets. This is intentional: most upper level courses do not have recitations and solutions for everything. Students in this class are encouraged to ask questions they may have on Piazza, office hours, and with their peers. Calculators and software are also great ways to check your work. All of these methods develop skills that are transferable to higher level courses, and beyond.

Worksheet Exercises

Recitations are meant to be active: students are encouraged to work with other students in recitation. As students are working through exercises, the TA should circulate around the room, helping students. Students may be asked to present their work using a document camera or write a solution on a whiteboard.

  1. Written Explanation Exercise Answer each the following in one or two sen- tences.

(a) What does it mean for a linear system to be consistent? (b) How can we determine whether a linear system is consistent?

  1. Indicate whether the statements are true or false.

(a) If a linear system has more equations than unknowns, then the system can- not have a unique solution. (b) If a linear system has more unknowns than equations, then the system can- not have a unique solution.

  1. For what values of A and B, if any, does the system have (a) an infinite number of solutions? (b) no solutions? (c) exactly one solution?

x 1 + 2x 2 = 1 Ax 1 + Bx 2 = 2

For the case where there are an infinite number of solutions, sketch the set of solutions.

  1. Sketch the set of solutions to the linear system.

x − 4 y = 0 − 2 x + 8y = 0

Worksheet 1.3 and 1.4, Vector Equations and The Matrix

Equation

Worksheet Exercises

Recitations are meant to be active: students are encouraged to work with other students in recitation. As students are working through exercises, the TA should circulate around the room, helping students. Students may be asked to present their work using a document camera or write a solution on a whiteboard.

  1. Written Explanation Exercise

(a) What does the span of a set of vectors represent? (b) How do we determine whether a vector is in the span of a set of vectors?

  1. Indicate whether the statements are true or false.

a) If the equation A~x = ~b is inconsistent, then ~b is not in the set spanned by the columns of A. b) If the augmented matrix

[

A ~b

]

has a pivot position in every row, then the equation A~x = ~b must be consistent. c) There are exactly three vectors in Span{~a 1 , ~a 2 , ~a 3 }.

  1. Span{~v 1 , ~v 2 } is equal to which of the expressions below?

i) Span{~v 1 , ~v 2 , 3 ~v 1 } ii) Span{~v 1 , 3 ~v 1 } iii) Span{~v 1 , ~v 2 , 3 ~v 1 + 2~v 2 }

  1. For what values of h is ~b in the plane spanned by ~a 1 and ~a 2?

~a 1 =

 (^) , ~a 2 =

 (^) , ~b =

h

  1. Sketch the span of the columns of the matrix A =

Worksheet 1.5, Solution Sets of Linear Systems

Recitations are meant to be active: students are encouraged to work with other students in recitation. As students are working through exercises, the TA should circulate around the room, helping students. Students may be asked to present their work using a document camera or write a solution on a whiteboard. The worksheet for this week is shorter; we are assuming that there will be a quiz this week.

Worksheet Exercises

  1. Written Explanation Exercise

(a) When a homogeneous system has a nontrivial solution, what properties does that system have? List at least two.

  1. Indicate whether the statements are true or false.

(a) A non-trivial solution ~x to A~x = ~ 0 has all non-zero entries. (b) If A~x = ~b and A~y = ~b, then A(~x − ~y) = ~ 0. (c) Any 3 × 2 matrix A with two pivotal positions has a non-trivial solution to A~x = 0.

  1. Example Construction

(a) Give an example of a non-zero 2 × 3 matrix A such that ~x =

 (^) is a

solution of A~x = ~ 0.

(b) Give an example of a non-trivial solution to A~x = ~ 0 , where A =

  1. Express the solution to A~x = ~ 0 in parametric vector form, where A =

Worksheet 1.8, An Introduction to Linear Transforms

Worksheet Exercises

  1. Written Explanation Exercise Suppose T (x) = Ax for all x where A is a matrix and T is onto.

(a) What can we say about pivotal rows of A? (b) What can we say about the existence of solutions to Ax = b?

  1. Let A be an 3 × 4 matrix. What must c and d be if we define the linear transfor- mation T : Rc^ → Rd^ by T (~x) = A~x?
  2. Let T : R^2 → R^2 be a linear transformation such that

T

([

x 1 x 2

])

= x 1

[

]

  • x 2

[

]

Construct a matrix A so that T (~x) = A~x for all vectors ~x.

  1. Let T : R^4 → R^3 be a linear transformation such that

T

 =^ T

 6 =^

Identify a non-trivial solution ~x to T ~x = ~ 0.

  1. Let TA be the linear transformation with the matrix below. Match each choice of A on the left with the geometric description of the action of TA on the right. [ . 5 0 0. 5

]

rotation by 90 o

[

]

A shear

[

]

Projection onto y axis

[

]

dilation by 1/

Worksheet 1.9, Linear Transforms

  1. Indicate whether the statements are true or false.

(a) If A is a 3 × 2 matrix then the map x 7 → Ax cannot be one-to-one. (b) If A is a 2 × 3 matrix then the map x 7 → Ax cannot be onto. (c) TA : Rn^ → Rm^ is one-to-one if and only if A~x = ~ 0 only has the trivial solution.

  1. Construct the standard matrix of the linear transformation T.

(a) T : R^2 → R^4 , where T

([

])

 and^ T

([

])

(b) T is a vertical shear given by T (~e 2 ) = 2~e 2 and T (~e 1 ) = ~e 1 − 2 ~e 2. (c) A matrix A ∈ R^2 ×^2 such that T (~x) = A~x. T is a linear transformation that first reflects vectors across the line x 1 = x 2 , then rotates them counterclock- wise by π radians about the origin, then reflects them across the line x 2 = 0.

Worksheet 2.1, Matrix Operations

  1. Written Explanation Exercise For square matrices A, B, is it always true that (A+B)^2 = A^2 +2AB +B^2? Explain why/why not.
  2. Consider: A =

, B =

1 h k 1

For what values (if any) of k ∈ R and h ∈ R:

(a) do matrices A and B commute? (b) is the product AB equal to I 2? (c) is the product AB equal to the 2 × 2 zero matrix (^02) × 2?

  1. A is an n × n matrix that has elements aij where

aij =

0 , when i + j is odd 1 , when i + j is even

For n ≥ 2 , how many pivot columns does A have?

Worksheet 2.4 and 2.

Partitioned Matrices and Matrix Factorizations

Worksheet Exercises

  1. A and B are n × n invertible matrices, In is the n × n identity matrix, and 0 is the n × n zero matrix. Construct an expression for X in terms of A and B.

A B

A B 0

X

In BA

 = B^2 + BAX

  1. Compute the LU factorization for

A =

  1. Complete the LU factorization of A and use it to solve A~x = ~b.

A =

 (^) , ~b =

  1. Written Explanation Exercise What is the LU decomposition good for? Your reasoning should involve computational efficiency.

Worksheet 2.6, 2.7, 2.8: The Leontif Input-Output Model,

Computer Graphics, Subspaces of Rn

Worksheet Exercises

  1. An economy contains three sectors: X, Y, Z. For each unit of output,
    • X requires .2 units from X, .1 units from Y, and .1 units from Z
    • Y requires 0 units from X, .2 units from Y, and .1 units from Z
    • Z requires 0 units from X, 0 units from Y, and .2 units from Z

Construct the consumption matrix for this economy. What production level is required to satisfy a final demand of 80 units of X, 60 units of Y, and 160 units of Z?

  1. Rectangle S is determined by the data points, (1, 1), (3, 1), (3, 2), (1, 2). Transform T reflects points through the line y = 2 − x.

(a) Represent the data with a matrix, D. Use homogeneous coordinates. (b) Use matrix multiplication to determine the image of S under T. (c) Sketch S and its image under T.

  1. Transform TA = A~x rotates points in R^2 about the point (1, 2). Construct a stan- dard matrix for the transform using homogeneous coordinates. Leave your an- swer as a product of three matrices.
  2. Construct the matrix for the transformation that performs a rotation in R^3 about the x-axis by π radians.
  3. A has the reduced echelon form below. Construct a basis for ColA and for NulA.

A =

[

~a 1 ~a 2 ~a 3 ~a 4 ~a 5 ~a 6

]

Worksheet 3.1 to 3.3, Determinants

Worksheet Exercises

  1. Written Explanation Exercise Discuss the computational efficiency of computing det(A) by cofactor expansion and by row operations. Which method is computationally better if A is n × n and n is large? (Compare how many arithmetic operations it takes).
  2. Use a determinant to identify all values of t and k such that the are the matrices are singular. Assume that h and k must be real numbers.

(a) A =

− t I 2

(b) B =

0 1 t − 3 10 0 0 5 k

  1. Let

[

~a ~b ~c d~

]

be a 4 × 4 matrix whose determinant is equal to 2. Compute the

value of the determinant

∣d~ ~b 3 ~c ~a

  1. R is the parallelogram determined by ~p 1 =

, and ~p 2 =

. If A = ( 1 − 1 1 1

, what is the area of the image of R under the map ~x 7 → A~x?

  1. TA = A~x, where A ∈ R^2 ×^2 , is a linear transformation that first rotates vectors in R^2 counterclockwise by θ radians about the origin, then reflects them through the line x 1 = x 2. By inspection, what is the value of the determinant of A? You should compute its value to check your answer.

Worksheet 4.9, Applications to Markov Chains

Worksheet Exercises

  1. Determine whether P and Q are a regular stochastic matrices.

P =

Q =

  1. Consider the Markov chain below.

A

B

C

What is the transition matrix? Calculate the steady-state vector.

  1. Suppose there are two cities, X and Y. Every year,
    • 70% of the people from X stay in X, the remaining 30% move to Y.
    • 40% of the people from Y stay in Y, the remaining 60% move to X.

The initial populations of X and Y are 100 and 200 , respectively.

(a) What is the stochastic matrix that represents this situation? (b) After a long period of time, what is the population in city X?

  1. Written Explanation Exercise Let P be a stochastic n × n matrix with positive entries. Give two methods of finding the steady state solution.
  2. A mouse lives in a maze that has at least three rooms. Each room is connected to at least one other room (in other words, every room is connected). At every hour the mouse moves from the room where it is in, to one of the rooms it is connected to, with equal probability.

(a) Design any mouse maze and its corresponding transition matrix P. (b) Is your P regular stochastic? (c) In the long run, is there a room that the mouse is more likely to be in at a given time? If so, which room?

Note: this problem is related to the PageRank problem that we explore later in this class.

Worksheet 5.3, Diagonalization

Worksheet Exercises

  1. Recall from lecture: matrix A is diagonalizable if it can be written as A = P DP −^1.

(i) P is a matrix whose columns are.

(ii) D is a matrix.

(iii) The elements on the main diagonal of D are.

(iv) A diagonal matrix is a matrix that.

(v) The geometric multiplicity of an eigenvalue is:

(vi) A matrix can be diagonalized when the geometric multiplicities of all the eigenvalues:

  1. If possible, construct P and D so that A = P DP −^1. Eigenvalues of A are given.

(a) A =

 (^) , λ = 2, 2 , 5

(b) A =

, λ = − 2 , 5

(c) A =

, λ = 3, 3

  1. If possible, give an example of:

(a) A singular 2 × 2 matrix in echelon form that can be diagonalized. (b) A singular 2 × 2 matrix in echelon form that cannot be diagonalized. (c) An invertible 2 × 2 matrix in echelon form that can be diagonalized. (d) An invertible 2 × 2 matrix in echelon form that cannot be diagonalized.

  1. Indicate whether the statements are true or false.

(a) if A is diagonalizable, then so is A^2.

(b) if A^2 is diagonalizable, then so is A.

  1. Written Explanation Exercise Give an example of an upper triangular 4 × 4 matrix A such that 0 is its only eigenvalue and such that its eigenspace is 3 - dimensional. Explain why the eigenspace has dimension 3.

Worksheet 10.2, The Steady-State Vector and Page Rank

Worksheet Exercises

  1. A set of web pages link to each other according to this diagram.

V W

X

Y

Z

(a) Create the transition matrix, P , for this web. (b) Construct the Google Matrix for this web, G. Use damping factor p = 0. 85. (c) During an exam, to determine the page ranks of each page in the web a you would be given the steady-state vector of G. Because you are not taking an exam right now, compute the steady-state vector and page ranks of each page on the web. You can use software.

Hint: For a web with only two pages that are linked to each other, we can com- pute the steady state using MATLAB or Octave using these commands:

Pstar=1/2[0 1;1 0] K = 1/2ones(2) p = 0. G = pPstar + (1-p)K G ∧^ (100)

There are many free online Octave compilers.

  1. Suppose p and q are real numbers on the open interval (0, 1), and

A =

p 1 − q 1 − p q

(a) Is A stochastic? Is A regular? (b) By inspection, what is one eigenvalue of A? (c) Compute the steady-state vector of A. (d) Compute the limit limn→∞ An

  1. Consider the dynamical system ~xk = A~xk− 1 , k = 1, 2 , 3 ,.. ., where

A =

 (^) , ~x 0 =

The eigenvalues of A are 1 and 14. Analyze the long-term behaviour of the system. In other words, determine what ~xk tends to as k → ∞.

Worksheet 6.1, Inner Product, Length, and Orthogonality

The worksheet for this week is shorter; we are assuming that there will be a quiz this week.

Worksheet Exercises

  1. Fill in the blanks.

(a) The distance between the vector ~u =

and the line spanned by w~ = ( 1 0

is.

(b) If W is the plane spanned by the vectors ~u =

 (^) and ~v =

, a basis

of W ⊥^ is given by w~ =

(c) If V = {~x ∈ R^3 | x 1 + x 2 = x 3 }, then dim V = , and dim V ⊥^ =.

  1. W is the set of all vectors of the form

x y x + y

. Which of the vectors are in W ⊥?

~u =

 (^) , ~v =

 (^) , w~ =

  1. True or False.

(a) If ~x ∈ Null(A), then ~x is orthogonal to the rows of matrix A. (b) If ~u and ~v are non-zero orthogonal vectors, then they are linearly indepen- dent.

Worksheet 6.2, Orthogonal Sets

Worksheet Exercises

  1. Indicate whether the statements are true or false.

(a) If the columns of an n×n matrix A are orthonormal, then the linear mapping ~x 7 → A~x preserves lengths. (b) If P is a stochastic matrix, then the columns of P have unit length.

  1. Write ~y as the sum of a vector parallel to ~u and a vector perpendicular to ~u.

~y =

 (^) , ~u =

  1. Find the coordinates for ~v in the subspace spanned by the orthogonal vectors ~u 1 and ~u 2.

~v =

 (^) , ~u 1 =

 (^) , ~u 2 =

  1. Give examples of the following.

(a) A matrix, A, in RREF, such that dim

(Row(A))⊥

= 1 and dim

(Col(A))⊥

A =

(b) Two linearly independent vectors in R^3 , ~u and ~v, such that ~u · ~x = ~v · ~x = 0,

where ~x =

. ~u =

 ~v^ =

(c) A 3 × 3 matrix in RREF, A, such that (Null A)⊥^ is spanned by

A =

(d) A non-zero vector, w~, whose projection onto Col(A) is w~, where A =

w ~ =