Ripetizioni di AnalisiMaths for EconomicsUnlockedITSearch

Worked examples · Sheet 1

Matrix operations

Theory used: Sum and product by a scalarRow-by-column productTranspose matrixProperties of the product

Go to: Exercise 1Exercise 2Exercise 3

Exercise 1

Given the matrices

compute .

The transpose of is obtained by writing the rows of as columns, so the first row becomes the first column and the second row becomes the second column. The product by a scalar multiplies every entry, hence has the entries of multiplied by and those of multiplied by . The two matrices are both , so the difference is defined and is computed entry by entry. The result is .

Exercise 2

Given the matrices

compute, if they are defined, the products and .

The matrix is and the matrix is . The product is defined because the number of columns of , that is , equals the number of rows of , and the result is a matrix. Each entry of is obtained with the row-by-column product; for example the entry in position is the first row of , , times the second column of , , that is .

is also defined, because has columns and has rows, but it is a matrix. The entry in position , for example, is the third row of , , times the second column of , , that is . The two products have different dimensions, so in this case and cannot even be compared.

Exercise 3

Find all matrices of order that commute with

that is, such that .

We write the unknown matrix with four entries , , , and compute the two products with the row-by-column rule. Two matrices are equal when all their corresponding entries are equal, so the equality is equivalent to a system of four equations. The first equation gives , that is, ; the second gives , that is, ; the third is always true and the fourth again gives . The entries and remain free, hence the matrices that commute with are exactly those of the form . For example and itself are of this form, whereas is not, and indeed it does not commute with .

Contents