Linear Algebra



Definition

A Matrix is a rectangular array of numbers denoted by:

  math08.jpg (6295 bytes)

 

Examples

  math09.jpg (6599 bytes)

 

Equality

Two m ´ n matrices A= [aij] and B=[bij] are equal if aij = bij for all i and j.

  math10.jpg (7145 bytes)

 

Sum

Two m ´ n matrices A= [aij] and B=[bij] can be added to result in C= [cij], such that

cij = aij + bij

 

Example

math11.jpg (6404 bytes)

 

 

Scalar Multiple

An m ´ n matrix A= [aij] may be multiplied by a real number c to form B= [caij]

 

Example

  math12.jpg (5565 bytes)

 

 

Product

If A= [aij] is an m ´ n matrix and B= [bij] is an n ´ p matrix, then the product of A and B, AB=C=[cij] is defined by:

cij = aik bkj = ai1 b1j + ai2 b2j + . . . + ain bnj

for k from 1 to n, i from 1 to m, and j from 1 to p

 

The general form of a matrix product is:

math13.jpg (16488 bytes)

 

Example

math14.jpg (15611 bytes)

 

 

Transpose

If A= [aij] is an m ´ n matrix, then the transpose of A, A’= [a’ij], is an n ´ m matrix defined by a’ij = aji

math15.jpg (5819 bytes)

 

 

Algebraic Properties

A + B = B + A

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

A(BC) = (AB)C

(A + B)C = AC + BC

r(sA) = (rs)A = s(rA)

A(rB) = r(AB)

 

 

Diagonal Matrix

A diagonal matrix D = [aij] is an n ´ n matrix where

aii = any real number

aij = 0

Example

 math16.jpg (3788 bytes)

 

 

Scalar Matrix

A scalar matrix S = [aij] is an n ´ n matrix where

aii = m (the same real number)

aij = 0

Example

  math17.jpg (4026 bytes)

 

 

Identity Matrix

An identity matrix I = [aij] is an n ´ n matrix where

aii = 1

aij = 0

Example

math18.jpg (3929 bytes)

 

 

Symmetric Matrix

A symmetric matrix A = [aij] is an n ´ n matrix where

A’ = A

Example

  math19.jpg (3628 bytes)

 

 

Matrix Singularity

An n ´ n matrix A is nonsingular if there exists an n ´ n matrix B such that,

AB = In

Otherwise, the matrix A is singular

Example, A is nonsingular,

math20.jpg (4543 bytes)

 

 

If A and B are n ´ n matrices, then B is the inverse of A if

AB= In

B is denoted as A-1

Thus, AA-1=In

 

Example, to find A-1

  math21.jpg (14399 bytes)

 

 

Exercise

Consider the following matrices,

  math22.jpg (9280 bytes)

 

Compute

1- C + E

2- AB

3- CB - D

4- A’

5- B’A’

6- A(2B)

7- B-1

8- C-1