Docsity

Problem Set 4 Solutions - Linear Algebra | MATH 332, Assignments of Linear Algebra

Toggle sidebar
bg1
MATH 332 - Linear Algebra June 29, 2009
Homework 4, Summer 2009 Due: July 2, 2009
Matrix Equations - Matrix Inversion - Invertible Matrix Theorem - Matrix Partitioning - Matrix Factorization
1. Given,
A(θ) = "cos(θ)−sin(θ)
sin(θ) cos(θ)#, θ ∈(0,2π].(1)
We now consider the action of Aon vectors from R2. That is, we wish to study the effect of the linear transformation
T:R2→R2represented by the matrix A(θ) where θ∈(0,2π].
(a) First show that the transformation is one-to-one. 1
(b) Given this matrix representation of Tfind the matrix representation of the inverse transformation. That is find A−1.
(c) Let x= [1 0]t. Describe or draw the action of the linear transformation Ax for θ∈Swhere S=n0,π
6,π
3,π
2o. What
would the action of A−1be?
(d) Let A(θ)x=bfor each θ∈S. Calculate, x·b
|x||b|.2How is this related to θ?3
(e) If we define the derivative of a matrix function as a matrix of derivatives then a typical product rule results. That is,
if A,Bhave elements, which are functions of θthen d[AB]
dθ =AdB
dθ +dA
dθ B.4Using this and the identity AA−1=I
to prove that dA−1
dθ =−A−1d[A]
dθ A−1. Verify this formula using the matrix given above.
2. Given,
A=
367
021
234
.
(a) Calculate A−1and check your result with the appropriate matrix multiplication.
(b) Let A−1
left = (AtA)−1At. Prove that A−1
left exists and show that A−1
leftA=I.5
(c) Let A−1
right =At(AAt)−1. Prove that A−1
right exists and show that AA−1
right =I.6
(d) Let A1= [2 2]tand A2= [2 2]. Using the previous formula find the left-inverse of A1and the right-inverse of A2.
Check your results with the appropriate multiplication.
1Recall that a transformation is one-to-one if and only if T(x) = 0has only the trivial solution.
2Recall that x·yand |x|are the standard dot-product and magnitude, respectively, from vector-calculus. These operations hold for vectors in Rn
but now have the following definitions, x·y=xtyand |x=√xtx.
3What we are trying to extract here is the standard result from calculus, which relates the dot-product or inner-product on vectors to the angle
between them. This is clear when we have vectors in R2or R3since we have tools from trigonometry and geometry but when treating vectors in
Rn, n ≥4 these tools are no longer available. However, we would still like to have similar results to those of Rn, n = 2,3. To make a long story short,
we will have these results for arbitrary vectors in Rnbut not immediately. The first thing we must do is show that |x·y| ≤ |x||y|, which is known as
Schwarz’s inequality. Without this we cannot be permitted to always relate x·b
|x||b|to θvia inverse trigonometric functions. These details will occur in
chapter 6 where we find that by using the inner-product on vectors from Rnwe will define the notion of angle and from that distance. Using these
definitions and Schwarz’s inequality will then give us a triangle-inequality for arbitrary finite-dimensional vectors. This is to say that the algebra of
vectors in Rncarries its own definition of angle and length - very nice of it don’t you think? Also, it should be noted that these results exist for certain
so-called infinite-dimensional spaces, but are harder to prove - of course, and that the study of linear transformations of such spaces is the general
setting for quantum mechanics - see MATH503:Functional Analysis for more details.
4To see why this is true differentiate an arbitrary element of AB to find d
dθ [AB]ij =d
dθ
n
X
k=1
aikbkj =
n
X
k=1
daik
dθ bkj +aik
dbkj
dθ .
5This matrix is called the left-inverse of Aand it can be shown that if A∈Rm×nsuch that Ahas a pivot in every column then the left inverse
exists.
6This matrix is called the right-inverse of Aand it can be shown that if A∈Rm×nsuch that Ahas a pivot in every row then the right inverse
exists.
1
pf2

Partial preview of the text

Download Problem Set 4 Solutions - Linear Algebra | MATH 332 and more Assignments Linear Algebra in PDF only on Docsity!

MATH 332 - Linear Algebra June 29, 2009 Homework 4, Summer 2009 Due: July 2, 2009

Matrix Equations - Matrix Inversion - Invertible Matrix Theorem - Matrix Partitioning - Matrix Factorization

  1. Given,

A(θ) =

[

cos(θ) − sin(θ) sin(θ) cos(θ)

]

, θ ∈ (0, 2 π]. (1)

We now consider the action of A on vectors from R^2. That is, we wish to study the effect of the linear transformation T : R^2 → R^2 represented by the matrix A(θ) where θ ∈ (0, 2 π].

(a) First show that the transformation is one-to-one. 1 (b) Given this matrix representation of T find the matrix representation of the inverse transformation. That is find A−^1. (c) Let x = [1 0]t. Describe or draw the action of the linear transformation Ax for θ ∈ S where S =

0 , π 6 , π 3 , π 2

. What would the action of A−^1 be? (d) Let A(θ)x = b for each θ ∈ S. Calculate, (^) |xx^ ||·^ bb|.^2 How is this related to θ? 3 (e) If we define the derivative of a matrix function as a matrix of derivatives then a typical product rule results. That is, if A, B have elements, which are functions of θ then d^ [AB dθ ]= A d dθB + d dθA B. 4 Using this and the identity AA−^1 = I

to prove that d^

[

A−^1

]

dθ =^ −A

− 1 d^ [A] dθ A

− (^1). Verify this formula using the matrix given above.

  1. Given,

A =

(a) Calculate A−^1 and check your result with the appropriate matrix multiplication. (b) Let A− left^1 = (AtA)−^1 At. Prove that A− left^1 exists and show that A− left^1 A = I. 5 (c) Let A− right^1 = At(AAt)−^1. Prove that A− right^1 exists and show that AA− right^1 = I.^6 (d) Let A 1 = [2 2]t^ and A 2 = [2 2]. Using the previous formula find the left-inverse of A 1 and the right-inverse of A 2. Check your results with the appropriate multiplication. (^1) Recall that a transformation is one-to-one if and only if T (x) = 0 has only the trivial solution. (^2) Recall that x · y and |x| are the standard dot-product and magnitude, respectively, from vector-calculus. These operations hold for vectors in Rn but now have the following definitions, x · y = xty and |x = √xtx. (^3) What we are trying to extract here is the standard result from calculus, which relates the dot-product or inner-product on vectors to the angle between them. This is clear when we have vectors in R^2 or R^3 since we have tools from trigonometry and geometry but when treating vectors in Rn, n ≥ 4 these tools are no longer available. However, we would still like to have similar results to those of Rn, n = 2, 3. To make a long story short, we will have these results for arbitrary vectors in Rn^ but not immediately. The first thing we must do is show that |x · y| ≤ |x||y|, which is known as Schwarz’s inequality. Without this we cannot be permitted to always relate (^) |xx^ ||·^ bb| to θ via inverse trigonometric functions. These details will occur in chapter 6 where we find that by using the inner-product on vectors from Rn^ we will define the notion of angle and from that distance. Using these definitions and Schwarz’s inequality will then give us a triangle-inequality for arbitrary finite-dimensional vectors. This is to say that the algebra of vectors in Rn^ carries its own definition of angle and length - very nice of it don’t you think? Also, it should be noted that these results exist for certain so-called infinite-dimensional spaces, but are harder to prove - of course, and that the study of linear transformations of such spaces is the general setting for quantum mechanics - see MATH503:Functional Analysis for more details. (^4) To see why this is true differentiate an arbitrary element of AB to find d dθ [AB]ij^ =^

d dθ

X^ n k=

aik bkj =

X^ n k=

daik dθ bkj^ +^ aik

dbkj dθ. (^5) This matrix is called the left-inverse of A and it can be shown that if A ∈ Rm×n (^) such that A has a pivot in every column then the left inverse exists. (^6) This matrix is called the right-inverse of A and it can be shown that if A ∈ Rm×n (^) such that A has a pivot in every row then the right inverse exists.

1

  1. Noting any theorems used from class or the text, prove the following statements:

(a) If A is an n × n matrix and A−^1 exists, then the columns of A span Rn. (b) If A is an n × n matrix and Ax = b has a solution for each b ∈ Rn, then A is invertible. (c) If the matrix A is invertible, then the columns of A−^1 are linearly independent. (d) If the equation Ax = b, where A ∈ Rn×n, has more than one solution for some b ∈ Rn, then the columns of A do not span Rn. (e) If the equation Ax = b, where A ∈ Rn×n, is inconsistent for some b ∈ Rn, then the equation Ax = 0 has a non-trivial solution. (f) If A is a square matrix with two identical columns then A−^1 does not exist.

  1. Suppose that A ∈ Rn×n^ is written in partitioned form as,

A =

[

P Q

R S

]

(a) Suppose that A and P are non-singular and prove that,

A−^1 =

[

X −P−^1 QW

−WRP−^1 W

]

where W = (S − RP−^1 Q)−^1 and X = P−^1 + P−^1 QWRP−^1. (b) Suppose that A and S are non-singular and prove that,

A−^1 =

[

X −XQS−^1

−S−^1 RX W

]

where X = (P − QS−^1 R)−^1 and W = S−^1 + S−^1 RXQS−^1. (c) Show that if P, S, A are all non-singular matrices then the two previous forms are equivalent and that (S−RP−^1 Q)−^1 = S−^1 + S−^1 RXQS−^1. (d) Finally, test these previous formula for P = a, Q = b, R = c, S = d where a, b, c, d ∈ R such that ad − bc 6 = 0.

  1. Determine the LU-Decomposition of the matrix A and check your result for L by multiplication of three elementary matrices.

A =

Hint: The matrix U, found by three steps of row reduction on A, will have two pivot columns. These two pivot columns are used to determine the first two columns of L 3 × 3. The remaining column of L is equal the last column of I 3.