Docsity

MATH 4364, Section 6 Homework: Solving Systems of Linear Equations, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Department of Mathematics Fall 2008
MATH 4364, Section 24266 MW 5:30-7:00PM
A. Caboussat
Partial Answers Homework 9
Section 6.1 Exercise 3
a. With exact calulations (no rounding arithmetic):
4−1 1
2 5 2
1 1 4
x1
x2
x3
=
8
3
11
1−1/4 1/4
0 22/4 3/2
0 9/4 15/4
x1
x2
x3
=
2
−1
9
1−1/4 1/4
0 1 3/11
0 0 138/44
x1
x2
x3
=
2
−2/11
414/44
b. (same)
4 1 2
2 4 −1
1 1 −3
x1
x2
x3
=
9
−5
−9
1 1/4 1/2
0 7/2−2
0 3/4−7/2
x1
x2
x3
=
9/4
−19/2
−45/4
1 1/4 1/2
0 1 −4/7
0 0 −62/14
x1
x2
x3
=
9/4
−19/7
−93/7
Section 6.1 Exercise 6
a. With exact calulations (no rounding arithmetic):
0 1 −2
1−1 1
1 0 −1
x1
x2
x3
=
4
6
2
,
1−1 1
0 1 −2
1 0 −1
x1
x2
x3
=
6
4
2
1−1 1
0 1 −2
0 1 −2
x1
x2
x3
=
6
4
−4
,
1−1 1
0 1 −2
0 0 0
x1
x2
x3
=
6
4
−8
The system admits no solution.
pf3
pf4
pf5

Partial preview of the text

Download MATH 4364, Section 6 Homework: Solving Systems of Linear Equations and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Department of Mathematics Fall 2008 MATH 4364, Section 24266 MW 5:30-7:00PM A. Caboussat

Partial Answers Homework 9

Section 6.1 Exercise 3

a. With exact calulations (no rounding arithmetic):  

x 1 x 2 x 3

x 1 x 2 x 3

x 1 x 2 x 3

b. (same)  

x 1 x 2 x 3

x 1 x 2 x 3

x 1 x 2 x 3

Section 6.1 Exercise 6

a. With exact calulations (no rounding arithmetic):  

x 1 x 2 x 3

x 1 x 2 x 3

x 1 x 2 x 3

x 1 x 2 x 3

The system admits no solution.

Section 6.1 Exercise 9

The system admits no solution or an infinite number of solutions if det(A) = 0. Thus det(A) = −2 + 18α^2 = 0, implies α = ± 1 /3. When α = 1/3, the system becomes: ( (^2) − 2 1 − 1

) ( (^) x 1 x 2

and admits an infinite number of solutions. When α = − 1 /3, the system becomes: ( (^2 ) − 1 − 1

) ( (^) x 1 x 2

and admits no solutions. When α 6 = ± 1 /3, one can solve the 2 × 2 system by substitution and obtain

x 1 = 32 − 3 α (^) 2(1^9 α −^ − 9 α^32 ) x 2 = (^) 2(1^9 α −^ − 9 α^32 )

Section 6.1 Exercise 19

a. Since  

(component by component) the answer is yes. b. For instance, the maximal population of the first species being allowed to satisfy the consumption-supply balance (the other population remaining constant) is the quantity x 1 , such that  

x 1 500 350 400

The answer in that case is x 1 = min{ 1300 , 1200 , ∞} = 1200. Same for the other populations.

Section 6.2 Exercise 1

a. (^)  

x 1 x 2 x 3

x 1 x 2 x 3

x 1 x 2 x 3

No exchanges of rows are needed.

Section 6.6 Exercise 5

a. We have A = LLT^ with

L =

Note that MATLAB return actually:

chol(A) ans = 1.4142 -0.7071 0 0 1.2247 -0. 0 0 1.

which is LT^.

Section 6.6 Exercise 16

We compute xT^ Ax and reach a conclusion for α. Let x = (x 1 x 2 x 3 )T^ be any vector. We have:

xT^ Ax = αx^21 + 2x^22 + 4x^23 − 2 x 1 x 2 + 2x 1 x 3 − 2 x 2 x 3 = (x^21 − 2 x 1 x 2 + x^22 )^ + (x^22 − 2 x 2 x 3 + x^23 )^ + ( 3 x^23 + 2x 1 x 3 + (α − 1)x^21 )^.

In order for the third term to be positive for any x, we must have α > 2.

Section 6.6 Exercise 18

The first line gives the relation 4 > |α| + 1, i.e. |α| < 3. The second line gives:

2 |β| + 4 < 5 , i.e. |β| < (^12)

The third line gives |β| + 2 < |α|. Since β > 0, we conclude that

β < 12 , β + 2 < |α| < 3

Section 6.6 Exercise 21

See answers at the back of the book.

Section 6.6 Exercise 32

Assume A = LLT^ , and A = LDˆ LˆT^. a. clear

b. We can write A = LDˆ LˆT^ = LDˆ^1 /^2 D^1 /^2 LˆT^ = LDˆ^1 /^2 ( LDˆ^1 /^2 )T^. Since LDˆ^1 /^2 is lower triangular, by uniqueness of the Cholesky decomposition, we have L = LDˆ^1 /^2.