11.04.2014 Views

Linear Algebra Exercises-n-Answers.pdf

Linear Algebra Exercises-n-Answers.pdf

Linear Algebra Exercises-n-Answers.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Answers</strong> to <strong>Exercises</strong> 33<br />

Maple thought for perhaps twenty seconds and gave this reply.<br />

[ −d p + q c<br />

−<br />

−b c + a d , −b p + a q ]<br />

−b c + a d<br />

Topic: Input-Output Analysis<br />

1 These answers were given by Octave.<br />

(a) s = 33 379, a = 43 304<br />

(b) s = 37 284, a = 43 589<br />

(c) s = 37 411, a = 43 589<br />

2 Octave gives these answers.<br />

(a) s = 24 244, a = 30 309<br />

(b) s = 24 267, a = 30 675<br />

Topic: Accuracy of Computations<br />

1 Sceintific notation is convienent to express the two-place restriction. We have .25 × 10 2 + .67 × 10 0 =<br />

.25 × 10 2 . The 2/3 has no apparent effect.<br />

2 The reduction<br />

−3ρ 1 +ρ 2 x + 2y = 3<br />

−→<br />

−8 = −7.992<br />

gives a solution of (x, y) = (1.002, 0.999).<br />

3 (a) The fully accurate solution is that x = 10 and y = 0.<br />

(b) The four-digit conclusion is quite<br />

(<br />

different.<br />

)<br />

−(.3454/.0003)ρ 1+ρ 2 .0003 1.556 1.569<br />

−→ =⇒ x = 10460, y = −1.009<br />

0 1789 −1805<br />

4 (a) For the first one, first, (2/3) − (1/3) is .666 666 67 − .333 333 33 = .333 333 34 and so (2/3) +<br />

((2/3) − (1/3)) = .666 666 67 + .333 333 34 = 1.000 000 0. For the other one, first ((2/3) + (2/3)) =<br />

.666 666 67 + .666 666 67 = 1.333 333 3 and so ((2/3) + (2/3)) − (1/3) = 1.333 333 3 − .333 333 33 =<br />

.999 999 97.<br />

(b) The first equation is .333 333 33 · x + 1.000 000 0 · y = 0 while the second is .666 666 67 · x +<br />

2.000 000 0 · y = 0.<br />

5 (a) This calculation<br />

⎛<br />

−(2/3)ρ 1+ρ 2<br />

−→ ⎝ 3 2 1 6<br />

⎞<br />

0 −(4/3) + 2ε −(2/3) + 2ε −2 + 4ε⎠<br />

−(1/3)ρ 1 +ρ 3<br />

0 −(2/3) + 2ε −(1/3) − ε −1 + ε<br />

⎛<br />

−(1/2)ρ 2+ρ 3<br />

−→ ⎝ 3 2 1 6<br />

⎞<br />

0 −(4/3) + 2ε −(2/3) + 2ε −2 + 4ε⎠<br />

0 ε −2ε −ε<br />

gives a third equation of y−2z = −1. Substituting into the second equation gives ((−10/3)+6ε)·z =<br />

(−10/3) + 6ε so z = 1 and thus y = 1. With those, the first equation says that x = 1.<br />

(b) The solution with two digits kept<br />

⎛<br />

⎝ .30 × ⎞<br />

101 .20 × 10 1 .10 × 10 1 .60 × 10 1<br />

.10 × 10 1 .20 × 10 −3 .20 × 10 −3 .20 × 10 1 ⎠<br />

.30 × 10 1 .20 × 10 −3 −.10 × 10 −3 .10 × 10 1<br />

−(2/3)ρ 1 +ρ 2<br />

−→<br />

−(1/3)ρ 1 +ρ 3<br />

−(.67/1.3)ρ 2 +ρ 3<br />

−→<br />

comes out to be z = 2.1, y = 2.6, and x = −.43.<br />

⎛<br />

⎞<br />

.30 × 10 1 .20 × 10 1 .10 × 10 1 .60 × 10 1<br />

⎝ 0 −.13 × 10 1 −.67 × 10 0 −.20 × 10 1 ⎠<br />

0 −.67 × 10 0 −.33 × 10 0 −.10 × 10 1<br />

⎛<br />

⎝ .30 × ⎞<br />

101 .20 × 10 1 .10 × 10 1 .60 × 10 1<br />

0 −.13 × 10 1 −.67 × 10 0 −.20 × 10 1 ⎠<br />

0 0 .15 × 10 −2 .31 × 10 −2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!