Docsity

Chapter 1 matrices, Exercises of Accounting

Toggle sidebar
bg1
Engineering Mathematics 3
Chapter 1
MATRICES
Page 1 of 15 BTB28304
1.0 MATRICES
A set of m x n numbers or functions, arranged in a rectangular array of m rows and n
column is called a matrix of order m x n, read as m by n.
To indicate the position of an element in a matrix, denote each element by a letter
followed by two suffixes.
A matrix of order m x n with double suffix notation is given by:
mnmm
n
n
aaa
aaa
aaa
...
....
...
...
21
22221
11211
The suffixes i and j in the element
ij
a
indicate that the element
ij
a
belongs to the i th row
and j th column. Thus
23
a
belongs to second row and third column.
1.1 TYPES OF MATRICES
a) Row matrix – a matrix that has only one row.
Example:
741A
Order of A: 1 x 3
b) Column matrix – a matrix that has only one column.
Example:
2
5
7
A
Order of A: 3 x 1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Chapter 1 matrices and more Exercises Accounting in PDF only on Docsity!

MATRICES

1.0 MATRICES

A set of m x n numbers or functions, arranged in a rectangular array of m rows and n column is called a matrix of order m x n , read as m by n.

To indicate the position of an element in a matrix, denote each element by a letter followed by two suffixes.

A matrix of order m x n with double suffix notation is given by:

m m mn

n

n

a a a

a a a

a a a

...

1 2

21 22 2

11 12 1

The suffixes i and j in the element aij indicate that the element aij belongs to the i th^ row and j th^ column. Thus a 23 belongs to second row and third column.

1.1 TYPES OF MATRICES

a) Row matrix – a matrix that has only one row. Example: A  1 4 7  Order of A : 1 x 3

b) Column matrix – a matrix that has only one column. Example:

A Order of A : 3 x 1

MATRICES

c) Square matrix – a matrix which the numbers of row ( m ) and column ( n ) are equal. The matrix is called a square matrix of order n x n or n. Example:

A Order of A : 4 x 4 or 4

d) Diagonal matrix – it is a square matrix of whose elements except those in the leading diagonal are zero i.e. aij = 0 when ij. Example:

A

A diagonal matrix whose diagonal elements are all equal is called a scalar matrix. Example:

A

A diagonal matrix whose diagonal elements are all equal to unity is called a unit /identity matrix denoted by I. Example:

I  (^)  01 01  and  

I

e) Null /zero matrix – a matrix whose elements are all zero. Example:

A

MATRICES

i) Skew symmetric matrix – if a square matrix A such that AT^  A Example:

A  ^0202  AT^  ^20  02 ^0202  A

j) Singular matrix – a matrix whose determinant A is equal to zero. If A  0 , A is a non-singular matrix.

k) Adjoint matrix – a matrix whose elements are the transpose of cofactor matrix.

l) Equal matrix – Two matrices A and B are said to be equal when they are of the same order and the element in the corresponding positions are equal.

1.2 MATRIX OPERATIONS

1.2.1 Addition / Subtraction Two matrices A and B can be added /subtracted only if the order of A and B are the same order (both have the same shape and size).

Example 1: Given the following matrices:

A  (^)  31 22 31  B  (^) ^12  11 ^02  C  (^)  41 32 

Solution: AB ^2131 ^31  AB  50 13 33 

The expression AC , BC , AC and BC are undefined since they have different orders.

MATRICES

Note: In general, matrix addition is commutative that is  ABBAA  ( BC )( AB ) C

1.2.2 Scalar Multiplication For any matrix A , we can multiply A by a scalar, to form a new matrix of the same order as A. This multiplication is performed by multiplying every element of A by the scalar.

Example 2:

Let 

A. Find 2 A and  31 A.

Solution:

2 A 2

1 A

1.2.3 Matrix Multiplication Two matrices A and B can be multiplied if and only if matrix A has the same number of columns as B has in its rows (i.e. A is the order of p x n and B is the order of n x q ). The resulting matrix AB will be of order p x q.

Example 3:

If C  1 3 and D  (^)  02 ^1253 , can the product CD be formed?

Commutative laws:

  • If changing the order of the operands does not change theresult.
  • Swap the numbers over you still get the same result.

MATRICES

1.3 MINOR AND COFACTORS

1.2.2 Minor

Definition: Let A be an n x n matrix. The minor , Mij , of the element aij is the determinant of the matrix obtained by deleting the i -th row vector and j -th column vector of A. Example:

If 

31 32 33

21 22 23

11 12 13 a a a

a a a

a a a A , then M 23 (^)  aa 3111 aa 3212

1.2.3 Cofactor

Definition: Let A be an n x n matrix. The cofactor , Aij , of the element aij is defined by Aij    1  ijMij , where Mij is the minor of aij. The appropriate sign in the cofactor Aij , is easy to remember, since it alternates in

the following manner: : : : : :

1.4 DETERMINANT

Definition: the determinant of an n x n matrix A , denoted det( A )or A , is a scalar associated with the matrix A that is defined as follows: ... if 1 det( ) if^1 11 11 12 12 1 1

11 

a A a A a A n A a n n n where A 1 (^) j   1  1  j det M (^1) j , j  1 , 2 , 3 ,..., n are the cofactor associated with the entries in the first row of A.

MATRICES

Example 5:

If 

A , find det A .

Solution: Expand the determinant along the first row:

***** Note: we can expand the determinant by any row or column in the same way and obtain the same result in each case.

1.4.1 Singular Matrix Theorem: An n x n matrix is nonsingular if and only if det( A ) 0. If det  A   0 , then A is a singular matrix. Example 6: Determine whether the following matrices are nonsingular or singular.

C and 

D

Solution: C is a nonsingular matrix because det( C ) 52  0. D is a singular matrix becausedet( D ) 0

1.4.2 Use the Determinants to find Vector Products. If a = a 1 i + a 2 j + a 3 k and b = b 1 i + b 2 j + b 3 k , then

a x b = 1 2 3

1 2 3 b b b

a a a

i j k

 

2 [( 2 6 ) ( 4 5 )] 3 [( 0 6 ) ( 4 ( 2 ))] [( 0 5 ) ( 2 ( 2 ))]

( 1 )^02

det 22 4

A      

MATRICES

1.6.1 Elementary Row Operations and Determinants Let A be an n x n matrix. P1: If B is a matrix obtained by interchanging two distinct rows of A , then det A  det( B ) P2: If B is the matrix obtained by dividing any row of A by a nonzero scalar k , then det  A   k det( B ) P3: If B is the matrix obtained by adding a multiple of any row of A to a different row of A thendet  A  det( B )

Example 9:

Let 

A. Find det A by using the properties of determinants.

Solution:

R R :

by [ P1 ]

R 2 R 2 2R 1 : 

   by [ P3 ]

R 3 R 3 3R 1 :

   by [ P3 ]

R 2 R 3 :

 by [ P1 ]

MATRICES

R 2 101 R 2 : 10

 by [ P2 ]

R 3 R 3 3 R 2 : 10

  by [ P3 ]

So,det( A ) 10  1  1  2  20

P4: If A is an n x n matrix, then det  A T^  det( A ).

P5: Let A and B be n x n matrices. Let a 1 , a 2 ,..., an denote the row vectors of A. If the i -th row vector of A is the sum of two row vectors, for example aibici , then det( A ) det( B )det( C )

where



n

i

i

i

a

a

b

a

a

B :

1

1

1

and



n

i

i

i

a

a

c

a

a

C :

1

1

1

.

The corresponding property is also true for columns.

P6: If A has a row(or column) of zeros, then det A   0.

P7: If two rows ( or columns) of A are the same, then det  A   0.

P8: If A and B are matrices of the same size, thendet AB  det A  det B 

P9: Let A be an n x n matrix and k be a scalar, thendet kA   kn^ det A 

P10: Let A be an invertible matrix, then det  A ^1  det(^1 A ).

MATRICES CHAPTER 1

Example 11:

Find A ^1 if 

A.

Solution:

  1. Find det A :

32 4 3 1

Since det A   32  0 , A is a nonsingular matrix so A ^1 exists.

  1. Find the matrix of cofactor:

         4  14 6

So, the matrix of cofactor is 

  1. Find adjoint matrix, adj( A ):

adj( A )= 

  1. Find matrix inverse, A ^1 det^1  A  adj( A )

A ^1  321  

MATRICES CHAPTER 1

1.8 ROW TRANSFORMATION METHOD

Row transformation method is another method used to determine A ^1.

Example 12:

Use row transformation method to find A ^1 if 

A.

Solution: Start with  A |I, where I is an identity matrix.

Use ERO:

R 1 R 3 :

R 2 2 R 1 :

R 3 6 R 1 :

81 R^2 :

R 3 7 R 2 :

74 R^3 :

reduce the LHS to an identity matrix