Ripetizioni di AnalisiMaths for EconomicsUnlockedITSearch

Theory

Matrices, determinants and linear systems

How to work with matrices, how to compute the determinant, the inverse and the rank, when a linear system has solutions and how to find them with Cramer, Rouché-Capelli and Gauss, also in the presence of a parameter, with the equilibrium of two markets and the Leontief model.

On this page
  1. Matrices and operations
  2. Square matrices

Matrices and operations

1. Matrix

An matrix is a table of real numbers arranged in rows and columns:

The number is the entry in position , that is, in row and column , and one also writes . A matrix is a row vector, an matrix is a column vector. For example

is a matrix with and . Matrices collect in a single object the coefficients of a linear system, or data arranged in a table.

2. Sum and product by a scalar

Let and be two matrices and let . The sum and the product by the scalar are computed entry by entry:

The sum is defined only between matrices with the same dimensions, and it is commutative and associative; the zero matrix is the neutral element. With the matrix of the previous definition and we have

3. Row-by-column product

Let be an matrix and an matrix, that is, the number of columns of equals the number of rows of . The product is the matrix whose entry in position is obtained by multiplying row of by column of , entry by entry, and adding:

With , of type , and , of type , the product is :

The product , instead, is a matrix.

4. Properties of the product

For matrices with dimensions such that the products and sums are defined, and for every , the following hold:

  • associativity: ;
  • distributivity: and ;
  • compatibility with scalars: .

The properties follow by writing the generic entry of both sides. By associativity one writes without parentheses, and for a square matrix one defines the powers , and so on.

Warning

The matrix product is not commutative, even when and are both defined and have the same dimensions. For example

Moreover, the product of two nonzero matrices can be the zero matrix, since . Therefore does not imply that or .

5. Transpose matrix

The transpose of a matrix of type is the matrix of type whose rows are the columns of , that is, . The following hold:

and in the last formula the order of the factors is reversed. For example .

Square matrices

1. Square matrix and identity matrix

A matrix is square of order if it has rows and columns. The entries form the main diagonal. The identity matrix is the square matrix of order with on the main diagonal and elsewhere:

For every square matrix of order we have , because the product of by column of is column of ; in the matrix product the identity therefore plays the role of the number .

2. Diagonal and triangular matrices

Let be a square matrix of order .

  • is diagonal if for every , that is, if the entries off the main diagonal are zero.
  • is upper triangular if for every , that is, if the entries below the main diagonal are zero.
  • is lower triangular if for every .

The product of two diagonal matrices is diagonal and is obtained by multiplying the corresponding diagonal entries, so the powers of a diagonal matrix are computed at once:

Gauss’s method transforms a square matrix into an upper triangular matrix, whose determinant is the product of the diagonal entries.

3. Symmetric matrix

A square matrix is symmetric if , that is, if for every and ; the entries are arranged symmetrically with respect to the main diagonal. For example is symmetric. For every matrix the matrix is symmetric, since . Symmetric matrices appear in the study of functions of two variables, where the Hessian matrix is symmetric by Schwarz’s theorem.

The theory continues with 8 more sections (determinant, properties of the determinant, inverse matrix…), plus all worked examples, the solutions and the PDF.

Unlock now
Contents