Matrices

An m by n matrix over a set S is a rectangular array of elements of S, arranged in m rows and n columns. It is customary to write an m by n matrix using notation such as

A = ( a 11 a 12 a 1 n a 21 a 22 a 2 n a m 1 a m 2 a m n )

The m x n matrix A can also be written compactly as A [aij]mxn or simply as A = [aij] or A = (aij), if the dimension is known from the context.

Fixed the i-esima row (or j-esima column) of a matrix A = (aij), the elements ai1,ai2, ain can be seen as vectors of ℝn. For this reason thye are known as row (column) vectors and are indicated as:

a i = ( a i 1 , a i 2 , , a i n ) o r a j = ( a i 1 a i 2 a m j )

Some Special Matrices

A matrix A = [aij]n×n, which has an equal number of rows and columns, is called a square matrix of order n. Otherwise it is called rectangular.

The elements a11, a22, ..., ann form the main diagonal of A. The sum of the elements on the main diagonal of A is called the trace of A, and it is denoted by

tr A = ∑ni=1 aii

A square matrix in which all the entries above (or below) the main diagonal are zero is called a lower (or an upper) triangular matrix. For example an upper triangular matrix has the form

A = ( a 11 a 12 a 13 a 1 n 0 a 22 a 23 a 2 n 0 0 a 33 a 3 n 0 0 0 a 4 n 0 0 0 a n n )

A square matrix A = [aij]n×n in which every entry off the main diagonal is zero, that is,

aij = 0 for i = j,

is called a diagonal matrix. The sum, the scalar product, and the product of diagonal matrices are again diagonal matrices. (The collection of all diagonal real n × n matrices is thus closed under these operations.)

Two matrices A = (aij) and B = (bij) are equal if every element of aij of A is equal to the correspondend element bij of B.

The set of al matrices m x n with elements in 𝕂 is denoted by 𝕄m,n(𝕂) and the set of all square matricec of order n by Mn(𝕂). Obviously 𝕄n,n(𝕂) = Mn(𝕂) and M1(𝕂) = 𝕂, because a 1 x 1 matrix is nothing elese than an element of 𝕂

Sum of Matrices

By setting

(aij) + (bij) = (aij + bij)
λ(aij) + (λaij)

∀(aij), (bij) ∈ 𝕄m,n(𝕂), λ∈ 𝕂, is defined on 𝕄m,n(𝕂) una struttura di 𝕂-spazio vettoriale. Lo zero è la matrice nulla.

If A = (aij) and B = (bij), λ∈ 𝕂, the matrices (aij) + (bij) and (λaij) are denoted by A + B and λA, respectively.

It is easy to verify that for the sum of matrices the commutative and associative properties hold:

A + B = B + A   (A + B) + C = A + (B + C)

Product of a matrix by a vector

Consideriamo il concetto importante di combinazione lineare di m vettori di dimensione n

a1x1 + a2x2 + . . . + am xm

questa combinazione lineare si può definire come il prodotto righe per colonne tra una matrice ed un vettore, quest'ultimo immaginato disposto come colonna.

( a 11 a 12 a 1 m a 21 a 22 a 2 m a n 1 a n 2 a n m ) ( x 1 x 2 x m ) = ( a 11 a 21 a n 1 ) x 1 + ( a 12 a 22 a n 2 ) x 2 + ( a 1 m a 2 m a n m ) x m = a 1 x 1 + a 2 x 2 + + a m x m = ( a 11 x 1 + a 12 x 2 + + a 1 m x m a 21 x 1 + a 22 x 2 + + a 2 m x m a n 1 x 1 + a n 2 x 2 + + a n m x m )
«Thermodynamic Systems Index Definizione limite per funzioni operanti tra spazi metrici o normati »