Ripetizioni di Analisi
EN

Theory

Matrices, determinants, and linear systems

Matrix operations, determinants, inverses, and rank. The chapter explains when linear systems have solutions and how to find them using Cramer’s rule, the Rouché–Capelli theorem, and Gaussian elimination, including systems with a parameter. Applications include equilibrium in 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 , at row and column . The matrix can also be written . A matrix is a row vector, and an matrix is a column vector. For example,

is a matrix with and . A matrix can hold the coefficients of a linear system or represent data arranged in a table.

2. Matrix addition and scalar multiplication

Let and be two matrices and let . The sum and multiplication by the scalar are defined entry by entry.

Addition is defined only for matrices of the same dimensions. It is commutative and associative, with the zero matrix as the additive identity. For the matrix in the definition and , we have

3. Matrix multiplication

Let be an matrix and an matrix. Thus the number of columns of equals the number of rows of . The product is an matrix. To find the entry in position , multiply the corresponding entries in row of and column of and add the products.

For of size and of size , the product has size .

By contrast, the product is a matrix.

4. Properties of matrix multiplication

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

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

These properties follow by comparing the corresponding entries on both sides. Associativity lets us write without grouping the factors. For a square matrix it also allows the powers , , and so on to be defined.

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 of a matrix

For a matrix of size , its transpose is the matrix of size whose rows are the columns of , so . The identities are

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 any square matrix of order , we have because multiplying by column of gives column of . The identity matrix therefore plays the same role in matrix multiplication as does for numbers.

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 can be computed directly. For example,

Gaussian elimination 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 , or equivalently if for every and . Its entries are symmetric across the main diagonal. For example, is symmetric. For any matrix , the matrix is symmetric because . Symmetric matrices occur in functions of two variables, where the Hessian is symmetric by Schwarz’s theorem.

End of the free preview

The theory of this topic continues with 9 more sections

  1. Determinant
  2. Properties of the determinant
  3. Inverse matrix
  4. Rank
  5. Linear systems and Cramer’s rule
  6. Rouché–Capelli theorem and Gaussian elimination
  7. Systems with a parameter
  8. Economic applications
  9. Keep studying

Full access also includes the other 5 worked examples of this topic and the solutions of the 14 practice exercises.

Unlock Maths for Economics · €59

Read the first 3 worked examples in this chapter for free.

Report a mistake

Where:

Ripetizioni di Analisi

Keep studying

With a free account, you can pick up where you left off and see your progress next time you visit.

Sign up for free

Already have an account? Sign in

Contents