Docsity

Assignment 3 for Mathematical Programming | MATH 171A, Assignments of Mathematics

Toggle sidebar
bg1
Math 171A Homework Assignment # 3
Instructor: Jiawang Nie
Assigned Date: January 20, 2010 Due Date: January 27, 2010
1. (4 points) For a given nonzero matrix Aand nonzero vector b, assume that bmay be written
as b=bR+bN, where bR∈Range(A) and bN∈N ull(AT).
(a) Show that bRand bNare unique.
Solution: To show uniqueness of the above decomposition we assume that we have two
decompositions, i.e.
b=bR+bN=ˆ
bR+ˆ
bN
for which
bR,ˆ
bR∈Range(A) and bN,ˆ
bN∈Null(AT)
and show that bR=ˆ
bRand bN=ˆ
bN
First we note that by above we have
bR−ˆ
bR=ˆ
bN−bN
since Range(A) and N ull(AT) are vector subspaces, we have that bR−ˆ
bR∈Range(A)
and bN−ˆ
bN∈Null(AT) and by the above equality we have
bR−ˆ
bR, bN−ˆ
bN∈Range(A)∩N ull(AT)
Now if we can just show that the only vector which lies in the intersection of Range(A)
and Null(AT) is the zero vector, we will have shown that bR=ˆ
bRand bN=ˆ
bN. To
do so, lets suppose we have some z∈Range(A)∩Null(AT). Since z∈Range(A) there
exists some xsuch that Ax =z. Then we have,
||z||2=||Ax||2=xTATAx =xTATz= 0
since z∈Null(AT) implies ATz= 0. Since the norm of a vector is zero if and only if
the vector itself is zero, we have that z= 0. This proves our claim.
(b) Show that bT
RbN= 0.
Solution: To show that bT
RbN= 0 we note that bR=Ax for some xsince bR∈Range(A)
and thus substituting this expression for bRinto the inner-product we have
(Ax)TbN=xTATbN= 0
since bN∈Null(AT).
(c) If bRand bNare both nonzero, show that they are linearly independent.
Solution: Suppose bRand bNare both non-zero and are linearly dependent. Then one
must be a non-zero scalar multiple of the other i.e. there exists α∈R,α6= 0 such that
bR=αbN. But by (1b) we have that 0 = bT
RbN= (αbN)TbN=α||bN||2and thus either
α= 0 or bN= 0. In either case we have a contradiction, so bRand bNcannot be linearly
dependent i.e they are linearly independent.
1
pf3

Partial preview of the text

Download Assignment 3 for Mathematical Programming | MATH 171A and more Assignments Mathematics in PDF only on Docsity!

Math 171A Homework Assignment # 3

Instructor: Jiawang Nie

Assigned Date: January 20, 2010 Due Date: January 27, 2010

  1. (4 points) For a given nonzero matrix A and nonzero vector b, assume that b may be written as b = bR + bN , where bR ∈ Range(A) and bN ∈ N ull(AT^ ). (a) Show that bR and bN are unique. Solution: To show uniqueness of the above decomposition we assume that we have two decompositions, i.e. b = bR + bN = ˆbR + ˆbN for which bR, ˆbR ∈ Range(A) and bN , ˆbN ∈ N ull(AT^ ) and show that bR = ˆbR and bN = ˆbN First we note that by above we have bR − ˆbR = ˆbN − bN since Range(A) and N ull(AT^ ) are vector subspaces, we have that bR − ˆbR ∈ Range(A) and bN − ˆbN ∈ N ull(AT^ ) and by the above equality we have bR − ˆbR, bN − ˆbN ∈ Range(A) ∩ N ull(AT^ )

Now if we can just show that the only vector which lies in the intersection of Range(A) and N ull(AT^ ) is the zero vector, we will have shown that bR = ˆbR and bN = ˆbN. To do so, lets suppose we have some z ∈ Range(A) ∩ N ull(AT^ ). Since z ∈ Range(A) there exists some x such that Ax = z. Then we have, ||z||^2 = ||Ax||^2 = xT^ AT^ Ax = xT^ AT^ z = 0 since z ∈ N ull(AT^ ) implies AT^ z = 0. Since the norm of a vector is zero if and only if the vector itself is zero, we have that z = 0. This proves our claim. (b) Show that bTRbN = 0. Solution: To show that bTRbN = 0 we note that bR = Ax for some x since bR ∈ Range(A) and thus substituting this expression for bR into the inner-product we have (Ax)T^ bN = xT^ AT^ bN = 0 since bN ∈ N ull(AT^ ). (c) If bR and bN are both nonzero, show that they are linearly independent. Solution: Suppose bR and bN are both non-zero and are linearly dependent. Then one must be a non-zero scalar multiple of the other i.e. there exists α ∈ R, α 6 = 0 such that bR = αbN. But by (1b) we have that 0 = bTRbN = (αbN )T^ bN = α||bN ||^2 and thus either α = 0 or bN = 0. In either case we have a contradiction, so bR and bN cannot be linearly dependent i.e they are linearly independent.

  1. (4 points) Consider the matrix A and vector y given by

A =

, y =

(a) Find the rank of A. Use the Matlab command null to find a basis for N ull(A). Solution: Using matlab, one should find that the rank of A is 2 and a basis for N ull(A) is (^)  



(b) Find the unique vectors yR ∈ Range(AT^ ) and yN ∈ N ull(A) such that y = yR + yN. Solution: There are various ways to solve this problem, but I will outline one of them. Using the MATLAB command orth we can find a basis for R(AT^ ). We denote the basis elements of N (A) found in 2a. by z 1 and z 2 and those basis elements in R(AT^ ) by w 1 and w 2. If we then form the matrix

B =

w 1 w 2 z 1 z 2

and solve Bu = y then we will have found the coefficients for which y = u 1 w 1 + u 2 w 2 + u 3 z 1 + u 4 z 2. Now just let yR = u 1 w 1 + u 2 w 2 and yN = u 3 z 1 + u 4 z 2. You should get

yR =

 yN^ =

  1. (4 points) Suppose that the constant vector c is such that cT^ p ≥ 0 for all p satisfying Ap = 0. Show that this implies that cT^ p = 0 for all p satisfying Ap = 0. Solution: We suppose that for every vector p such that Ap = 0 we have that cT^ p ≥ 0. Thus, let p be any vector for which Ap = 0. Then since multiplication by A is linear operation we also have that A(−p) = −Ap = 0 which by our assumption means that cT^ p ≥ 0 and cT^ (−p) ≥ 0. This is the same as −cT^ p ≥ 0 or cT^ p ≤ 0. Since 0 ≤ cT^ p ≤ 0 we must have cT^ p = 0.
  2. (4 points) Consider the equality-constrained linear program: minimize cT^ x subject to Ax = b, where A, b, c are given in the below

A =

[

]

, b =

[

]

, cT^ =

[

]

(a) Find a basic ¯x which is feasible for this linear program problem. Solution: Since, you’ve had multiple exam and practice exam questions like this, I’d hope you know how to do these, but I’ll give you a brief outline anyways. To find an