4 Pages

math171a_hw3_sol

Course: MATH 171A, Spring 2012
School: UCSD
Rating:
 
 
 
 
 

Word Count: 1037

Document Preview

171A Math Homework 3 Solutions Instructor: Jiawang Nie February 1, 2012 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 Null(AT ). (a) Show that bR and bN are unique. Solution: By contradiction, assume there are two decompositions, i.e. b = bR + bN = ^R + ^N b b bR , ^R Range(A) and bN , ^N Null(AT ) b b and we want to show...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> UCSD >> MATH 171A

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
171A Math Homework 3 Solutions Instructor: Jiawang Nie February 1, 2012 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 Null(AT ). (a) Show that bR and bN are unique. Solution: By contradiction, assume there are two decompositions, i.e. b = bR + bN = ^R + ^N b b bR , ^R Range(A) and bN , ^N Null(AT ) b b and we want to show that bR = ^R and bN = ^N . b b First we note that by above we have bR - ^R = ^N - bN b b since Range(A) and Null(AT ) are vector subspaces, we have that bR - ^R b ^N Null(AT ) and by the above equality we have Range(A) and bN - b bR - ^R , bN - ^N Range(A) Null(AT ) b b 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 = ^R and b ^N . To do so, lets suppose we have some z Range(A) Null(AT ). Since bN = b 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 Null(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 bT bN = 0. R Solution: To show that bT bN = 0 we note that bR = Ax for some x since bR R Range(A) and thus substituting this expression for bR into the inner-product we have (Ax)T bN = xT AT bN = 0 since bN Null(AT ). 1 for which (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, = 0 such that bR = bN . But by (1b) we have that 0 = bT bN = (bN )T bN = ||bN ||2 R 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. 2. (4 points) Consider the matrix A 7 0 0 2 7 7 6 2 A= 5 3 9 6 5 2 and vector y given by -7 -7 4 6 -7 7 14 -3 -2 0 , y = 1 . 1 4 -1 3 9 -1 1 (a) Find the rank of A. Use the Matlab command null to find a basis for Null(A). Solution: Using matlab, one should find that the rank of A is 2 and a basis for Null(A) is 0.1611 0.3879 -0.4253 -0.8017 0.7387 -0.3185 0.4795 -0.3507 Code as follows: A = [ 7 0 -7 -7; 0 2 4 6; 7 7 7 14; 6 2 -2 0; 5 3 1 4; 9 6 3 9; 5 2 -1 1]; Null(A) (b) Find the unique vectors yR Range(AT ) and yN Null(A) such that y = yR + yN . Solution: Denote the basis of Null(A) in question (a) as w1 and w2 , and use MATLAB command orth to get a basis for R(AT ), denote as z1 and z2 . Then we form the matrix B = w1 w2 z1 z2 It's full rank, and we want to get y = yR + yN , let yR = u1 w1 + u2 w2 and yN = u3 z1 + u4z2 . To get the u1 coefficients , u2 , u3, u4 , we just solve Bu = y. Then we will have y = u1 w1 + u2 w2 + u3 z1 + u4 z2 . The solution for this question is: -6.941 -0.059 -2.765 -0.235 yR = 1.412 yN = -0.412 -1.353 0.353 2 Matlab code is as follow: A = [ 7 0 -7 -7;0 2 4 6; 7 7 7 14; 6 2 -2 0; 5 3 1 4; 9 6 3 9; 5 2 -1 1]; y = [-7;-3;1;-1]; z = Null(A); w = orth(A'); B = [w z]; u = inv(B)*y; yR = w*u(1:2) yN = z*u(3:4) 3. (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. 4. (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= -4 1 -3 -8 3 2 2 6 , b= -1 , 3 cT = 2 17 -1 -10 . (a) Find a basic x which is feasible for this linear program problem. Solution: It's easy to see that basic solution of constraints Ax = b will be a feasible point. So we just need to get a basic solution. Pick the {1, 2} columns of matrix A, -4 1 C= -3 -8 The determinant is nonzero, so it's invertible, solve Cy = b, we get y = (0.1429, -0.4286), and the feasible point x = (0.1429, -0.4286, 0, 0). (b) Find a minimizer x and a Lagrange multiplier , and explain whether or not they are unique. Solution: We know that since A has full row rank, all feasible vectors for which Ax = b minimize the function cT x. So take whatever you got in (4a). And this will be a minimizer, but it is certainly not unique. To find a Lagrange multiplier, solve AT = c which turns out to have a unique solution since we can show that c R(A ). This is an overdetermined linear system, it has solution, should be unique. 3 5. (4 points) Consider the equality-constrained linear program: minimize cT x subject to Ax = b. Show that if A has full column rank and b Range(A), then this linear program problem always has a unique bounded solution for any given vector c. Do Lagrange multipliers exist? If they exist, are they unique? Solution: We consider the ELP min cT x s.t. Ax = b where A has full column rank and b Range(A). These two conditions imply that the feasible region consists of one point x which is clearly bounded and x is the unique point at which cT x reaches a minimum. Moreover, AT has full row rank meaning that AT = c always possesses an infinite number of solutions. This translates to the fact that Lagrange multipliers do exist, however, they are may not unique. 4
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

UCSD - MATH - 171A
Math 171A Homework 4 SolutionsInstructor: Jiawang Nie February 14, 20121. (4 points) Consider the matrix of active constraints of an LP at a certain point x -1 -8 4 -7 -3 -4 2 0 4 -2 . Aa () = x -6 0 -3 3 5 0 0 5 2 7 Use Matlab to find a direction p alo
UCSD - MATH - 171A
Math 171A Homework 5 SolutionsInstructor: Jiawang Nie February 21, 20121. (5 points) Consider the linear program Minimize 3x1 subject to -2x1 x1 -2x1 2x1 x1 x2 -x2 +2x3 +4x2 +4x3 +4x2 +x3 +x2 +2x3 -2x2 -3x2 +x3 6 5 1 0 -2 0 0 x3 0and the point x = (1,
UCSD - MATH - 171A
Math 171A Homework 6 SolutionsInstructor: Jiawang Nie March 4, 20121. (5 points) Consider the LP of minimizing cT x subject to Ax b where 1 0 1 A= 1 0 0 1 1 0 0 1 0 0 1 1 , 0 0 1 2 5 4 b = , c = AT 1 1 1 0 1 1 . 1 0 0Find the minimizer of this LP by us
UCSD - MATH - 171A
Math 171A Practice Midterm IIInstructor: Jiawang Nie March 5, 20121. Consider the LP of minimizing c 2 3 A = 4 2 3x subject to Ax b where -15 3 5 -13 4 3 , b = -20 , c = A 5 1 -12 4 4 -13 5 2 0 1 0 . 1 1Find the minimizer of this LP by using optimali
UCSD - MATH - 171A
Math 171A Homework 1 SolutionsInstructor: Jiawang Nie January 24, 20121. Find the optimal solution to the following LP maximize x1 + 4x2 + 3x3 subject to 2x1 + x2 + x3 4 x1 - x3 = 1 x2 0, x3 0. Solution: The second equality constraint x1 = x3 + 1 allows
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #1 Due Friday January 14, 2011 I know that you are all aware of the importance of doing the homework assignments. This is the best way to keep up with the cla
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #1 Due Friday January 14, 2011 I know that you are all aware of the importance of doing the homework assignments. This is the best way to keep up with the cla
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #3 Due Friday January 28, 2011 Remember that the first midterm exam will be held in class on Wednesday, January 26. Starred exercises require the use of Matla
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #4 Due Friday February 4, 2011 Starred exercises require the use of Matlab. Exercise 4.1. Suppose that the constant vector c is such that cTp 0 for all p such
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #5 Due Friday February 11, 2011 Starred exercises require the use of Matlab. Exercise 5.1. Consider the set of inequality constraints Ax b, where 1 1 4 0 3 1
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #6 Due Friday February 18, 2011 Starred exercises require the use of Matlab. Exercise 6.1. (a) Consider the matrix of active constraints -1 -8 4 -7 -3 -4 2 0
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #7 Due Friday February 25, 2011 Starred exercises require the use of Matlab. Exercise 7.1. Consider the linear program of minimizing cTx subject to the genera
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #8 Due Friday March 4, 2011 The second midterm exam will be held in class on Wednesday, March 2. Starred exercises require the use of Matlab. Exercise 8.1. Co
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #9 Due Friday March 11, 2011 The final will be held Friday, March 18, 11:30am-2:30pm. Starred exercises require the use of Matlab. Exercise 9.1. Let a denote
UCSD - MATH - 171A
Math 171A: Mathematical ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #1 Due Friday January 14, 2011 I know that you are all aware of the importance of doing the homework assignments. This is the best way to keep up with t
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #2 Due Friday January 21, 2011 The starred exercises require the use of Matlab. Remember that it is necessary to do all the Matlab assignments to obtain credi
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #3 Due Friday January 28, 2011 Remember that the first midterm exam will be held in class on Wednesday, January 26. Starred exercises require the use of Matla
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #4 Due Friday February 4, 2011 Starred exercises require the use of Matlab. Exercise 4.1. Suppose that the constant vector c is such that cTp 0 for all p such
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #5 Due Friday February 11, 2011 Starred exercises require the use of Matlab. Exercise 5.1. Consider the set of inequality constraints Ax b, where 1 1 4 0 3 1
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #6 Due Friday February 18, 2011 Starred exercises require the use of Matlab. Exercise 6.1. (a) Consider the matrix of active constraints -1 -8 4 -4 2 0 Aa = -
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #7 Due Friday February 25, 2011 Starred exercises require the use of Matlab. Exercise 7.1. Consider the linear program of minimizing cTx subject to the genera
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #8 Due Friday March 4, 2011 The second midterm exam will be held in class on Wednesday, March 2. Starred exercises require the use of Matlab. Exercise 8.1. Co
UCSD - MATH - 171A
Math 171A: Linear ProgrammingInstructor: Philip E. GillWinter Quarter 2011Homework Assignment #9 Due Friday March 11, 2011 The final will be held Friday, March 18, 11:30am-2:30pm. Starred exercises require the use of Matlab. Exercise 9.1. Let a denote
Cal Poly - MCB - 32
1. The Cori cycle involves formation of glucose made by gluconeogenesis in the liver from lactic acid produced by fermentation in skeletal muscles. True False 2. Skeletal muscle contains glucose 6-phosphatase to produce free glucose from glucose 6phosphat
Cal Poly - MCB - 32
Chapter 15 - Defense Mechanisms I. Nonspecific defense: barriers to penetration of body/ A. Antigens large, complex, and foreign molecules internal defenses. B. Antigenic determinant sites stimulate production of diff. A. Phagocytic cells engulf invading
Cal Poly - MCB - 32
Glomerular Filtration I. Filtrate from plasma in glomerulusbasement mem of glom cap/ thru slits in processes of podocytes (inner layer of Bowman's capsule) A. Glomerular ultrafiltrate, formed under force of bp, low [protein] net filtration pressure = 10 m
Cal Poly - MCB - 32
AdrenergicEpinephrine, norepinephrine - Sympathetic "fight or flight" - Effects = stimulation of heart, vasoconstriction of skin, bronchodilation, glycogenolysis - alpha and beta (both have 2 subtypes) Nerve endings that release acetylcholine as a neurot
Cal Poly - MCB - 32
Number and Name I Olfactory II Optic III Oculomotor IV Trochlear V Trigeminal Mandibular Division VI Abducens VII Facial VIII Vestibulocochlear IX Glossopharyngeal X Vagus XI Accessory XII Hypoglossal Endocrine Gland Adipose Tissue Adrenal Cortex Adrenal
Cal Poly - MCB - 32
Number and Name I Olfactory II Optic III Oculomotor IV Trochlear V Trigeminal Mandibular Division VI Abducens VII Facial VIII Vestibulocochlear IX Glossopharyngeal X Vagus XI Accessory XII Hypoglossal Endocrine Gland Adipose Tissue Adrenal Cortex Adrenal
Cal Poly - MCB - 32
Guided Reading The Study of Body Function I 1. Blood plasma and interstitial fluid are separated from each other and there is little communication and exchange between these fluids. True False 2. The secretion of many hormones is regulated through negativ
Cal Poly - MCB - 32
Guided Reading - Enzymes and Energy I 1. Regulation of a metabolic pathway by the final product of the pathway is termed A. allosteric inhibition. B. end-product inhibition. C. negative feedback. D. Both end-product inhibition and negative feedback are co
Cal Poly - MCB - 32
Guided Reading - Cells and the Extracellular Environment I 1. Which of the following is a function of the steep Na+/K+ gradient across the cell membrane? A. provides energy for coupled transport B. creates electrochemical impulses C. maintains osmotic pre
Cal Poly - MCB - 32
Guided Reading - Cell Respiration and Metabolism I1. _ is the opposite of glycogenesis. A. Glycolysis B. Glyconeogenesis C. Glycogenolysis D. Gluconeogenesis 2. The process of fat formation from acetyl CoA is called A. lipogenesis. B. lipolysis. C. beta-
Cal Poly - MCB - 32
Guided Reading - Cell Respiration and Metabolism II1. Which of the following is a superoxide radical? A. an oxygen molecule with an extra, unpaired electron B. an oxygen molecule with two paired electrons C. hydrogen peroxide D. All of these choices are
Cal Poly - MCB - 32
Guided Reading - Cell Respiration and Metabolism II1. Which of the following is a superoxide radical? A. an oxygen molecule with an extra, unpaired electron B. an oxygen molecule with two paired electrons C. hydrogen peroxide D. All of these choices are
Cal Poly - MCB - 32
Guided Reading - Cell Respiration and Metabolism III1. Glycolysis converts glucose into two _ molecules. A. glycogen B. lactic acid C. acetyl CoA D. pyruvic acid2. Beta-oxidation of an 18 carbon fatty acid will yield _ acetyl CoA molecules. A. 9 B. 6 C.
Cal Poly - MCB - 32
Guided Reading - Cell Respiration and Metabolism III1. Glycolysis converts glucose into two _ molecules. A. glycogen B. lactic acid C. acetyl CoA D. pyruvic acid2. Beta-oxidation of an 18 carbon fatty acid will yield _ acetyl CoA molecules. A. 9 B. 6 C.
Cal Poly - MCB - 32
Guided Reading - Cell Structure and Genetic Control I1. Cells actively involved in secreting proteins would contain large numbers or quantities of A. lysosomes. B. peroxisomes. C. rough endoplasmic reticulum. D. smooth endoplasmic reticulum.2. Release o
Cal Poly - MCB - 32
Guided Reading - Cell Structure and Genetic Control I1. Cells actively involved in secreting proteins would contain large numbers or quantities of A. lysosomes. B. peroxisomes. C. rough endoplasmic reticulum. D. smooth endoplasmic reticulum.2. Release o
Cal Poly - MCB - 32
Guided Reading - Cell Structure and Genetic Control II1. Which of the following is NOT a molecular motor used to move substances along the cytoskeleton? A. melanin B. kinesin C. myosin D. dynein2. Which of the following locations have ciliated cells? A.
Cal Poly - MCB - 32
Guided Reading - Cell Structure and Genetic Control II1. Which of the following is NOT a molecular motor used to move substances along the cytoskeleton? A. melanin B. kinesin C. myosin D. dynein2. Which of the following locations have ciliated cells? A.
Cal Poly - MCB - 32
Guided Reading - Cell Structure and Genetic Control III1. The movement of chromosomes during mitosis is due to A. spindle fibers. B. telomeres. C. chromatids. D. actin and myosin.2. Small RNA and protein regions are joined together to make functional mR
Cal Poly - MCB - 32
Guided Reading - Cell Structure and Genetic Control IV1. The main function of the peroxisome is to release energy from food molecules and transform the energy into usable ATP. True False 2. Microtubules and microfilaments are the primary components of th
Cal Poly - MCB - 32
Guided Reading - Cells and the Extracellular Environment I1. Which of the following is a function of the steep Na+/K+ gradient across the cell membrane? A. provides energy for coupled transport B. creates electrochemical impulses C. maintains osmotic pre
Cal Poly - MCB - 32
Guided Reading - Cells and the Extracellular Environment II 1. Edema will result if a person has an abnormally low concentration of plasma proteins. True False 2. Osmoreceptors are involved in the regulation of blood volume. True False 3. Ion channels tha
Cal Poly - MCB - 32
Guided Reading Cells and the Extracellular Environment III1. The resting membrane potential is closest to the equilibrium potential for A. sodium ions. B. chloride ions. C. calcium ions. D. potassium ions.2. The transport maximum is related to the prope
Cal Poly - MCB - 32
Guided Reading - Cells and the Extracellular Environment IV 1. Which of the following is NOT a primary active transport pump? A. GLUT4 B. calcium pump C. sodium/potassium pump D. proton pump 2. What cofactor do matrix metalloproteinases need to be functio
Cal Poly - MCB - 32
Guided Reading - Chemical Composition of the Body I1. Molecules with polar covalent bonds are hydrophobic. True False2. How many single bonds can a carbon atom form if it is double-bonded to an oxygen atom? A. 1 B. 2 C. 3 D. 43. The ionized form of the
Cal Poly - MCB - 32
Guided Reading - Chemical Composition of the Body II1. Steroids are derived from cholesterol. True False 2. A blood pH of 7.6 is A. indicative of acidosis. B. indicative of alkalosis. C. in the normal physiological range. D. indicates effective buffering
Cal Poly - MCB - 32
Guided Reading - Chemical Composition of the Body III1. Lipids containing glycerol would include _ and _. A. triglycerides, steroids B. prostaglandins, phospholipids C. triglycerides, phospholipids D. steroids, prostaglandins2. The base that is NOT foun
Cal Poly - MCB - 32
Guided Reading - Enzymes and Energy I1. Regulation of a metabolic pathway by the final product of the pathway is termed A. allosteric inhibition. B. end-product inhibition. C. negative feedback. D. Both end-product inhibition and negative feedback are co
Cal Poly - MCB - 32
Guided Reading - Enzymes and Energy II1. Isomers are different forms of an enzyme. True False 2. During oxidation, a molecule or atom A. gains protons. B. loses protons. C. gains electrons. D. loses electrons. 3. Oxidized nicotinamide adenine dinucleotid
Cal Poly - MCB - 32
Guided Reading - Enzymes and Energy III1. Catalysts increase reaction rates by lowering the activation energy of a reaction. True False2. An enzyme elevated in the plasma of men with prostate cancer is A. alkaline phosphatase. B. catalase. C. creatine k
Cal Poly - MCB - 32
Guided Reading The Study of Body Function I1. Blood plasma and interstitial fluid are separated from each other and there is little communication andexchange between these fluids.True False2. The secretion of many hormones is regulated through negativ
Cal Poly - MCB - 32
Guided Reading - The Study of Body Function II1. Which of the following is NOT a major organ of the circulatory system?A. spleenB. heartC. lymphatic vesselsD. blood vessels2. Endocrine gland secretion is often controlled by the nervous system.True
Cal Poly - MCB - 32
Guided Reading - The Study of Body Function III1. Enamel, which is harder than bone or dentin, cannot be regenerated. True False2. Aristotle is considered the father of physiology because he attempted to apply physical laws to the study of human functio
Cal Poly - MCB - 32
Guided Reading - The Autonomic Nervous System I - Key1. Damage to the autonomic motor nerves would probably result in A. no change in muscle tone. B. muscle atrophy. C. flaccid paralysis. D. increased skeletal muscle contraction.Blooms Level: 2. Underst
Cal Poly - MCB - 32
Guided Reading - The Autonomic Nervous System I 1. Damage to the autonomic motor nerves would probably result in A. no change in muscle tone. B. muscle atrophy. C. flaccid paralysis. D. increased skeletal muscle contraction. 2. Damage to the thoracic and
Cal Poly - MCB - 32
Guided Reading - Blood, Heart, and Circulation I 1. Endogenously applied _ or tissue plasminogen activator (TPA) can induce blood clot dissolution. A. albumin B. streptokinase C. thromboxane A2 D. penicillin 2. What type of cell found in the blood produce
Cal Poly - MCB - 32
Guided Reading - Cardiac Output, Blood Flow, and Blood Pressure I 1. The type of shock resulting from lipopolysaccharides is termed A. hypovolemic shock. B. cardiogenic shock. C. septic shock. D. neurogenic shock. 2. Hypotension could be induced by A. exc
Cal Poly - MCB - 32
Blood, Heart, and Circulation Key101. Which anticoagulant and its action is NOT correctly matched? A. aspirin - inhibits prostaglandin production and platelet aggregation B. heparin - inhibits action of thrombin C. coumadin - inhibits tissue thromboplast