18.01.2015 Views

Appunti di Calcolo Numerico - Esercizi e Dispense - Università degli ...

Appunti di Calcolo Numerico - Esercizi e Dispense - Università degli ...

Appunti di Calcolo Numerico - Esercizi e Dispense - Università degli ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7. METODI DIRETTI PER LA SOLUZIONE DI SISTEMI LINEARI<br />

(c) Per risolvere il sistema Ax = b, adoperiamo il metodo <strong>di</strong> sostituzione in avanti e all’in<strong>di</strong>etro risolvendo<br />

i sistemi: Ly = b e poi L T x = y.<br />

Il primo sistema dà:<br />

⎛<br />

⎞⎛<br />

⎞ ⎛ ⎞<br />

4 0 0 y 1 20<br />

⎝−2 4 0⎠⎝y 2<br />

⎠ = ⎝ 28 ⎠<br />

1 1.5 3 y 3 28.25<br />

e otteniamo y 1 = 20/4 = 5, y 2 = (28 + 10)/4 = 9.5, y 3 = (28.25 − 5 − 14.25)/3 = 3.<br />

Nel risolvere il sistema L T x = y si ha<br />

⎛<br />

⎞⎛<br />

⎞ ⎛ ⎞<br />

4 −2 1 x 1 5<br />

⎝0 4 1.5⎠⎝x 2<br />

⎠ = ⎝9.5⎠<br />

0 0 3 x 3 3<br />

da cui x 3 = 1, x 2 = (9.5 − 1.5)/4 = 2, x 1 = (5 − 1 + 4)/4 = 2, quin<strong>di</strong> x = (2, 2, 1).<br />

Inoltre, da det(A) = det(LL T ) = det(L) 2 = (4 · 4 · 3) 2 = 48 2 = 2304 e da det(A 3 ) = (det(A)) 3 si ha<br />

det(A 3 ) = 2304 3 = 12230590464.<br />

112

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

Saved successfully!

Ooh no, something went wrong!