Share this:

Specific Objectives

By the end of the topic the learner should be able to:

(a) Define a matrix;

(b) State the order of a matrix;

(c) Define a square matrix;

(d) Determine compatibility in addition and multiplication of matrices;

(e) Add matrices;

(f) Multiply matrices;

(g) Identify matrices;

(h) Find determinant of a 2 x 2 matrix;

(i) Find the inverse of a 2 x 2 matrix;

(j) Use matrices to solve simultaneous equations.

 

Content

(a) Matrix

ecolebooks.com

(b) Order of a matrix

(c) Square matrix

(d) Compatibility in addition and multiplication of matrices

(e) Multiplication of a matrix by a scalar

(f) Matrix multiplication

(g) Identify matrix

(h) Determinant of a 2 x 2 matrix

(i) Inverse of a 2 x 2 matrix

(j) Singular matrix

(k) Solutions of simultaneous equations in two unknowns.

 

(i)

 

Introduction

 

A matrix is a rectangular arrangement of numbers in rows and columns. For instance, matrix A below has two rows and three columns. The dimensions of this matrix are 2 x 3 (read “2 by 3”). The numbers in a matrix are its entries. In matrix A, the entry in the second row and third column is 5.

A =

Some matrices (the plural of matrix) have special names because of their dimensions or entries.

 

Order of matrix

Matrix consist of rows and columns. Rows are the horizontal arrangement while columns are the vertical arrangement.

Order of matrix is being determined by the number of rows and columns. The order is given by stating the number of rows followed by columns.

 

Note;

If the number of rows is m and the number of columns n, the matrix is of order.

 E.g. If a matrix has m rows and n columns, it is said to be order m´n.

 

e.g.  Image From EcoleBooks.com is a matrix of order 3´4.

 

e.g.  Image From EcoleBooks.com is a matrix of order 3.

e.g.  Image From EcoleBooks.com is a 2´3 matrix.

e.g.  Image From EcoleBooks.com is a 3´1 matrix.

Elements of matrix

The element of a matrix is each number or letter in the matrix. Each element is locating by stating its position in the row and the column.

 

 

For example, given the 3 x 4 matrix Image From EcoleBooks.com

 

  • The element 1 is in the third row and first column.
  • The element 6 is in the first row and forth column.

Note;

A matrix in which the number of rows is equal to the number of columns is called a square matrix.

 Image From EcoleBooks.com

 

 

 Image From EcoleBooks.com Is called a row matrix or row vector.

 

 Image From EcoleBooks.com Is called a column matrix or column vector.

 

 Image From EcoleBooks.com Is a column vector of order 3´1.

 Image From EcoleBooks.comis a row vector of order 1´3.

Two or more matrices re equal if they are of the same order and their corresponding elements are equal. Thus, if then, a = 3, b =4 and d=5.

Addition and subtraction of matrices

Matrices can be added or subtracted if they are of the same order. The sum of two or more matrices is obtained by adding corresponding elements. Subtraction is also done in the same way.

Example

 

 

  1. A + B 2.) A – B

Solution

  1. A+B =

 

  1. A – B =

     

Example

– +

=

 

Note;

After arranging the matrices you must use BODMAS

 

The matrix above cannot be added because they are not of the same order

Matrix multiplication

To multiply a matrix by a number, you multiply each element in the matrix by the number.

Example

3

solution

=

 

Example

-2

Solution

 

=

Example

A woman wanted to buy one sack of potatoes, three bunches of bananas and two basket of onion. She went to kikuyu market and found the prices as sh 280 for the sack of potatoes ,sh 50 for a bunch of bananas and sh 100 for a basket of onions. At kondelee market the corresponding prices were sh 300, sh 48 and sh 80.

  1. Express the woman’s requirements as a row matrix
  2. Express the prices in each market as a column matrix
  3. Use the matrices in (a) and (b) to find the total cost in each market

 

Solution

  1. Requirements in matrix form is (1 3 2)
  2. Price matrix for Kikuyu market is

     

     

    Price matrix for kondelee market

  3. Total cost in shillings at Kikuyu Market is;

     

(1 3 2)= (1 x 280 + 3 x 50 +2 x 100) = (630)

 

Total cost in shillings at Kondelee Market is;

(1 3 2 ) = ( 1 x 300 + 3 x 48 + 2 x 80) =(604)

The two results can be combined into one as shown below

(1 3 2)

Note;

The product of two matrices A and B is defined provided the number of columns in A is equal to the number of rows in B.

If A is an m x n matrix and B is an n x p matrix, then the product AB is an m a p matrix.

A X B = AB

m X n n X p = m X p

Each time a row is multiplied by a column

Example

Find AB if A = and B=

 

 

 

 

 

 

Solution

Because A is a 3 x 2 matrix and B is a 2 x 2 matrix, the product AB is defined and is a 3 x 2 matrix. To write the elements in the first row and first column of AB, multiply corresponding elements in the first row of A and the first column of B. Then add. Use a similar procedure to write the other entries of the product.

 

AB=

=

 

=

 

Identity matrix

For matrices, the identity matrix or a unit matrix is the matrix that has 1’s on the main diagonal and 0’s elsewhere. The main diagonal is the one running from top left to bottom right .It is also called leading or principle diagonal. Examples are;

I=

2 X 2 identity matrix 3 x 3 identity matrix

If A is any n x n matrix and I is the n x n identity matrix, then IA = A and AI = A.

Determinant matrix

The determinant of a matrix is the difference of the products of the elements on the diagonals.

Examples

The determinant of A, det A or |A| is defined as follows:

(a)  If n=2, Image From EcoleBooks.com

 

Example

Find the determinant

Solution

Subtract the product of the diagonals

1 x 5 – 2 x 3 = 5 – 6 = -1

Determinant is -1

Inverse of a matrix

Two matrices of order n x n are inverse of each other if their product (in both orders) is theidentity matrix of the same order n x n. The inverse of A is written as

Example

Show that B=

Solution

AB=

=

=

BA=

= AB=BA=I. Hence, A is the inverse of B

Note;

To get the inverse matrix

  • Find the determinant of the matrix. If it is zero, then there is no inverse
  • If it is non zero, then;
  • Interchange the elements in the main diagonal
  • Reverse the signs of the element in the other diagonals
  • Divide the matrix obtained by the determinant of the given matrix

 

 

In summary

The inverse of the matrix A = is

=

 

Example

Find the inverse of A=

Solution

 

Check

You can check the inverse by showing that A

And

 

Solutions of simultaneous linear equations using matrix

Using matrix method solve the following pairs of simultaneous equation

 

 

Solution

 

 

 

 

 

We need to calculate the inverse of A =

=

Hence

=

=

Hence the value of x = 2 and the value of y = 1 is the solution of the simultaneous equation

 

 

 

End of topic  

Did you understand everything?

If not ask a teacher, friends or anybody and make sure you understand before going to sleep!

 

Past KCSE Questions on the topic

 

1.  A and B are two matrices. If A = 1 2 find B given that A2 = A + B

4 3

2.  Given that A= 1 3 , B= 3 1 , C = p 0 and AB =BC, determine the value of P

5 3 5 -1 0 q

Image From EcoleBooks.com3.  A matrix A is given by A = x 0

5 y

a) Determine A2

 

Image From EcoleBooks.comImage From EcoleBooks.comb) If A2 = determine the possible pairs of values of x and y

4.  (a)  Find the inverse of the matrix 9 8

7 6

(b)  In a certain week a businessman bought 36 bicycles and 32 radios for total of Kshs 227 280. In the following week, he bought 28 bicycles and 24 radios for a total of Kshs 174 960. Using matrix method, find the price of each bicycle and each radio that he bought

(c)  In the third week, the price of each bicycle was reduced by 10% while the price of each radio was raised by 10%. The businessman bought as many bicycles and as many radios as he had bought in the first two weeks.

Find by matrix method, the total cost of the bicycles and radios that the businessman bought in the third week.

Image From EcoleBooks.com

5.  Determine the inverse T-1 of the matrix  1 2

 1 -1

Hence find the coordinates to the point at which the two lines x + 2y=7 and x-y=1

 

Image From EcoleBooks.comImage From EcoleBooks.com6.  Given that A = 0  -1  and B = -1   0

3   2 2  -4

 Find the value of x if

 (i)  A – 2x = 2B

 (ii)  3x – 2A = 3B

 (iii)  2A – 3B = 2x

Image From EcoleBooks.com7.  Find the non- zero value of k for which k + 1 2 is an inverse.

4k  2k

8.  A clothes dealer sold 3 shirts and 2 trousers for Kshs. 840 and 4 shirts and 5 trousers for Kshs 1680. Form a matrix equation to represent the above information. Hence find the cost of 1 shirt and the cost of 1 trouser.




Share this:


subscriber

Leave a Reply

Your email address will not be published. Required fields are marked *

Accept Our Privacy Terms.*