• Non ci sono risultati.

Exercise 1

N/A
N/A
Protected

Academic year: 2021

Condividi "Exercise 1"

Copied!
11
0
0

Testo completo

(1)

Exercise 1

Given the vectors of R3

v1= (1, 0, 1), v2= (2, 1, −1), v3= (4, 2, −1) and the vectors of R2

w1= (1, 1), w2= (0, 2), w3= (−1, 0)

1 Check that {v1, v2, v3} is a basis of R3

2 Given the map f : R3→ R2defined by f (vi) = wi for i = 1, 2, 3, construct the matrix associated to f with respect to the bases B = {v1, v2v3}, E2= {ε1, ε2} (canonical basis)

3 Orthonormalise basis B

(2)

Exercise 1, answer

Since

1 0 1

2 1 −1 4 2 −1

= −1 + 2 + 4 − 4 = 1 6= 0

vectors v1, v2, v3 form a basis.

The matrix associated to f with respect to the bases B, E2is

1 0 −1

1 2 0



(3)

Exercise 1, answer (cont.)

To find an orthonormal basis starting from B, let:

v10 =v1= (1, 0, 1) v20 =v2−v2· v10

||v10||2v10= (2, 1, −1) −1

2(1, 0, 1) = 3 2, 1, −3

2



v30 =v3−v3· v10

||v10||2v10−v3· v20

||v20||2v20 =

=(4, 2, −1) −3

2(1, 0, 1) −

19 2 11 2

 3 2, 1, −3

2



=

=

 4 − 3

2 −57

22, 2 −19

11, −1 −3 2+57

22



=



−1 11, 3

11, 1 11



(4)

Exercise 1, answer (cont.)

Then an ortonormal basis is

1

||v10||v10,||v10 2||v20,||v10

3||v30 , where 1

||v10||v10 = √2

2 , 0,

√2 2

!

1

||v20||v20 = 1 q9

4+ 1 + 94

 3 2, 1, −3

2



=

= 2

√22

 3 2, 1, −3

2



=

 3

√22, 2

√22, − 3

√22



1

||v30||v30 =√ 11



−1 11, 3

11, 1 11



=



− 1

√ 11, 3

√ 11, 1

√ 11



(5)

Exercise 2

Prove that the following matrix is positive definite

13 6 4 8

6 6 0 0

4 0 16 14

8 0 14 19

∈ Mat(R, 4, 4)

(6)

Exercise 2, answer

Using Sylvester’s criterion, it is enough to check that all leading principal minors are positive.

13 >0

13 6

6 6

=6(13 − 6) = 42 > 0

13 6 4

6 6 0

4 0 16

=24

13 6 4

1 1 0

1 0 4

= 24



6 4 0 4

+

13 4

1 4



=

=24(−24 + 52 − 4) > 0

(7)

Exercise 2, answer (cont.)

13 6 4 8

6 6 0 0

4 0 16 14

8 0 14 19

=12

13 6 4 8

1 1 0 0

2 0 8 7

8 0 14 19

=

=12

−

6 4 8

0 8 7

0 14 19

+

13 4 8

2 8 7

8 14 19

=

=12



−6

8 7

14 19

+ 13

8 7

14 19

− 4

2 7

8 19

+ 8

2 8

8 14



=

=12(7(152 − 98) − 4(38 − 56) + 8(28 − 64)) =

=12(7 · 54 + 4 · 18 − 8 · 36) =

=12(378 + 72 − 288) >

>0

(8)

Exercise 3

Compute the rank and the signature of the following quadratic forms.

(1)

F1(x , y , z) = y2+ 4z2+ 4xy + 6xz + 10yz (2)

F2(x , y , z) = x2− 3z2+ 4xy + 2xz − 2yz (3)

F3(x , y , z) = 4z2+ 4xy + 6xz − 2yz

(9)

Exercise 3, answer

(1) Quadratic form F1is associated to the matrix

0 2 3 2 1 5 3 5 4

. Its characteristic polynomial is

−λ 2 3

2 1 − λ 5

3 5 4 − λ

=

− λ(1 − λ)(4 − λ) + 30 + 30 + 9(λ − 1) + 4(λ − 4) + 25λ =

= −λ3+ 5λ2+ 34λ + 35

Notice that 0 is not an eigenvalue and, by Descartes’s rule, there is exactly one positive eigenvalue.

Thus the signature of F1is (1, 2), and the rank is 3.

(10)

Exercise 3, answer (cont.)

(2) Quadratic form F2is associated to the matrix

1 2 1

2 0 −1

1 −1 −3

. Its characteristic polynomial is

1 − λ 2 1

2 −λ −1

1 −1 −3 − λ

=

= λ(1 − λ)(3 + λ) − 2 − 2 + λ + 4(3 + λ) + λ − 1 =

= −λ3− 2λ2+ 9λ + 7

Notice that 0 is not an eigenvalue and, by Descartes’s rule, there is exactly one positive eigenvalue.

Thus the signature of F2is (1, 2), and the rank is 3.

(11)

Exercise 3, answer (cont.)

(3) Quadratic form F3is associated to the matrix

0 2 3

2 0 −1

3 −1 4

. Its characteristic polynomial is

−λ 2 3

2 −λ −1

3 −1 4 − λ

=

λ2(4 − λ) − 6 − 6 + 9λ + 4(λ − 4) + λ =

= −λ3+ 4λ2+ 14λ − 28

Notice that 0 is not an eigenvalue and, by Descartes’s rule, there are exactly two positive eigenvalues.

Thus the signature of F3is (2, 1) and the rank is 3.

Riferimenti

Documenti correlati

Using the Matlab command whos, compare the memory usage when A is stored as dense and as sparse, for a large enough matrix size. the same number of

Write another function, inverse power, that implements the inverse power method (use “backslash” to solve the linear system), and test it on the matrix used in the previous point

(i) she/he has passed the exam for the course on which the grant is available, and (ii) she/he does not exceed 150 teaching hours overall (including also the new grant). Suppose

[r]

Modify the parameters for the error control of the ordinary differential system by adopting a relative tolerance of 10  8 and an absolute one of 10  12 (respect to

Simulate the whole process, report the conditions of the PFR outlet, and plot the molar flow of the components versus the length of the reactor. How can the recovery of styrene

Initially, the distillation column is working in stationary conditions and in absence of external

Implement a shutdown strategy for the C4-C5 separation column. The sequence of events