A comprehensive introduction to matrices, covering essential concepts, terminology, and operations. It explains the dimensions, types, and properties of matrices, including addition, subtraction, multiplication, transpose, and inverse. The document also includes illustrative examples to enhance understanding.
Download Introduction to Matrices: A Comprehensive Guide with Examples and more Exercises Mathematics in PDF only on Docsity!
Introduction to
Matrices
Matrices - Background
Some useful terminology:
A scalar is simply a single number (although it need not be a whole number
e.g., 3, −5, 0.5 are all scalars)
A vector is a one-dimensional array of numbers (see below for examples)
A matrix is a two-dimensional collection or array of numbers. The size of a matrix is given by its numbers of rows and columns
Matrices are very useful and important ways for organising sets of data together, which make manipulating and transforming them easy
Matrices are widely used in econometrics and finance for solving systems of linear equations, for deriving key results, and for expressing formulae.
Working with Matrices
A matrix having only one column is a column vector, which will be of dimension R × 1, where R is the number of rows, e.g.
When the number of rows and columns is equal (i.e. R = C ), it would be said that the matrix is square, e.g. the 2 × 2 matrix:
A matrix in which all the elements are zero is a zero matrix.
Working with Matrices 2
A symmetric matrix is a special square matrix that is symmetric about the leading diagonal so that mij = mji ∀ i, j , e.g.
A diagonal matrix is a square matrix which has non-zero terms on the leading diagonal and zeros everywhere else, e.g.
Matrix Addition or Subtraction
Addition and subtraction of matrices requires the matrices concerned to be of the same order (i.e. to have the same number of rows and the same number of columns as one another)
The operations are then performed element by element
Matrix Multiplication
Multiplying or dividing a matrix by a scalar (that is, a single number), implies that every element of the matrix is multiplied by that number
More generally, for two matrices A and B of the same order and for c a scalar, the following results hold
A + B = B + A
A + 0 = 0 + A = A
cA = Ac
c ( A + B ) = cA + cB
A 0 = 0 A = 0
Matrix Multiplication Example
The actual multiplication of the elements of the two matrices is done by multiplying along the rows of the first matrix and down the columns of the second
The Transpose of a Matrix
The transpose of a matrix, written A ′ or A T , is the matrix obtained by transposing (switching) the rows and columns of a matrix
If A is of dimensions R × C , A ′ will be C × R.
Calculating Inverse of a 2 2 Matrix
The inverse of a 2 × 2 non-singular matrix whose elements are will be
The expression in the denominator, ( ad − bc ) is the determinant of the matrix, and will be a scalar
If the matrix is the inverse will be
As a check, multiply the two matrices together and it should give the identity matrix I.