• Non ci sono risultati.

*L a=881, 2,-1<,84, 1,-1<,82, 0, 1<<

N/A
N/A
Protected

Academic year: 2021

Condividi "*L a=881, 2,-1<,84, 1,-1<,82, 0, 1<<"

Copied!
3
0
0

Testo completo

(1)

Quit@D;

H* AUTOVALORI ED AUTOVETTORI *L H* Esempio 1. *L

a=881, 2,-1<,84, 1,-1<,82, 0, 1<<; id=IdentityMatrix@3D;

MatrixForm@aD Eigenvalues@aD Eigenvectors@aD

1 2 -1 4 1 -1 2 0 1 :3,- 3 , 3>

:82, 3, 2<,:-1 2

- 3

2 ,

3 2

+ 3

2

, 1>,:-1 2

+ 3

2 ,

3 2

- 3

2 , 1>>

a1=a- Λ *id;

MatrixForm@a1D eq=Det@a1D Š0 eval=Solve@eq,ΛD

1- Λ 2 -1 4 1- Λ -1 2 0 1- Λ -9+3Λ +3Λ2- Λ3Š0

:8Λ ®3<,:Λ ® - 3>,:Λ ® 3>>

eval@@1DD eval@@2DD eval@@3DD 8Λ ®3<

:Λ ® - 3>

:Λ ® 3>

x=8x1, x2, x3<;

sys1=Dot@Ha1. eval@@1DDL, xD Š0 sol1=Solve@sys1, xD@@1DD

sol1. x3®2

8-2 x1+2 x2-x3, 4 x1-2 x2-x3, 2 x1-2 x3< Š0

Solve::svars : Equations may not give solutions for all "solve" variables. ‡ :x1®x3, x2® 3 x3

2 >

8x1®2, x2®3<

(2)

sys2=Dot@Ha1. eval@@2DDL, xD Š0;

sol2=Solve@sys2, xD@@1DD sol2. x3®1

Solve::svars : Equations may not give solutions for all "solve" variables. ‡ :x2® -

1

2J-3- 3Nx3, x1® - 1

2J1+ 3Nx3>

:x2® 1

2 J3+ 3N, x1® 1

2J-1- 3N>

sys3=Dot@Ha1. eval@@3DDL, xD Š0;

sol3=Solve@sys3, xD@@1DD sol3. x3®1

Solve::svars : Equations may not give solutions for all "solve" variables. ‡ :x2® -

1

2J-3+ 3Nx3, x1® - 1

2J1- 3Nx3>

:x2® 1

2 J3- 3N, x1® 1

2J-1+ 3N>

H* Secondo esempio *L

Clear@aD;

a=880, 1<,8-1, 0<<; id=IdentityMatrix@3D; MatrixForm@aD

Eigenvalues@aD

0 1 -1 0 ,<

H* Terzo esempio *L

Clear@aD;

a=881, 1<,8-1, 2<<; id=IdentityMatrix@3D; MatrixForm@aD

Eigenvalues@aD

1 1 -1 2 :1

2J3+ ä 3N, 1

2J3- ä 3N>

H* Quarto esempio *L

Clear@aD;

a=881, 1, 0<,8-1, 2, 0<,80, 0, 3<<; id=IdentityMatrix@3D;

MatrixForm@aD Eigenvalues@aD

1 1 0

-1 2 0

0 0 3

:3, 1

2J3+ ä 3N, 1

2J3- ä 3N>

H* Quinto esempio *L 2 Iterativi1.nb

(3)

Clear@aD;

a=881, 2, 3<,8-1,-2,-3<,84, 5, 1<<; id=IdentityMatrix@3D;

MatrixForm@aD Eigenvalues@aD

1 2 3

-1 -2 -3

4 5 1

2 , 2 , 0>

Iterativi1.nb 3

Riferimenti

Documenti correlati

[r]

Scrivere un programma che, per ogni elemento a della lista L1 verifichi se esiste una coppia di elementi b e c consecutivi nella lista L2 tali che b&lt;a&lt;c.. Se tale

[r]

Enunciare e dimostrare il Principio di Massimo p er l'equazione

- un metodo che restituisce una stringa che descrive un volo non diretto tramite sigla del volo, citt`a e nome dell’aereoporto di partenza, citt`a e nome dell’aereoporto di

Scrivere un metodo che, data una matrice di interi, restituisce true se gli ele- menti sul bordo esterno della matrice sono tutti uguali, false altrimenti.. Scrivere un metodo

[r]

[r]