0% found this document useful (0 votes)
101 views51 pages

Chapter 1 - Matrices

This document provides an overview of matrices and matrix operations covered in Chapter 1 of Engineering Mathematics I. It begins with definitions of matrices, their elements, and different types of matrices. It then covers key matrix operations including addition, subtraction, scalar multiplication, and matrix multiplication. Properties of these operations are described. Determinants of 2x2 and nxn matrices are also introduced. The chapter outline indicates it will further cover inverse and Cramer's rule for solving linear equations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
101 views51 pages

Chapter 1 - Matrices

This document provides an overview of matrices and matrix operations covered in Chapter 1 of Engineering Mathematics I. It begins with definitions of matrices, their elements, and different types of matrices. It then covers key matrix operations including addition, subtraction, scalar multiplication, and matrix multiplication. Properties of these operations are described. Determinants of 2x2 and nxn matrices are also introduced. The chapter outline indicates it will further cover inverse and Cramer's rule for solving linear equations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 51

EDI3313

ENGINEERING MATHEMATICS I

CHAPTER 1: MATRICES

HAZ/NSMM/NAAL/WHWH 1
CHAPTER OUTLINE
• Introduction
• Matrix operations
• Determinant of a matrix
• Multiplicative inverse of a matrix
• Solving linear equations:
• Inverse of a matrix
• Cramer’s rule

HAZ/NSMM/NAAL/WHWH 2
INTRODUCTION
A matrix is denoted by a bold capital letter and the elements within the matrix are
denoted by lower case letters
e.g. matrix [A] with elements aij What is:
1. Dimensions of matrix?
2. Elements of matrix?
Amxn= mAn
*Note:
i goes from 1 to m
j goes from 1 to n

3
HAZ/NSMM/NAAL/WHWH
INTRODUCTION

Different types of Matrices


• Column Matrix - a matrix with only one column.
• Row Matrix - a matrix with only one row.
• Square Matrix - a matrix that has the same number of rows and
columns.

4
HAZ/NSMM/NAAL/WHWH
Introduction
A rectangular array of numbers. The numbers in the array are called the entries in the matrix.

An entry of a row i and a column j of a matrix A is denoted as aij. Thus a A matrix with only one column
is called a column matrix
general m  n matrix might be written as:

A matrix with only one row is


called a row matrix

m
row main diagonal of A

n
column
A matrix with n rows and n columns is called
a square matrix of order n, and the entries
a11, a22, a33, …, ann are known as the main diagonal of A
Example 1
1) State the order of the matrix below:

a) b) c)

2) What is the order of matrix A? Identify and


INTRODUCTION
Definition of Equality of Matrices

Two matrices and are equal if


for and

The matrices and


.

are equal (A = B), if and only if w = ? , x = ? , y = ? , and z = ?.

HAZ/NSMM/NAAL/WHWH 7
EXAMPLE 2
Find w, x, y, and z if
a) The matrices and are equal (A = B)

b)

8
HAZ/NSMM/NAAL/WHWH
MATRIX OPERATIONS-ADDITION &
SUBSTRACTION
• If A = [aij] and B = [bij] are matrices both of sizes m × n, then their sum, A+B
is an m × n matrix resulting from the addition of the entries B to the
corresponding entries A i.e.

A + B = [aij + bij].

• Their differences, A-B is an m × n matrix obtained by subtracting the entries


of B from the corresponding entries of A i.e.

A − B = [aij − bij]
 
• Matrices of different sizes cannot be added or subtracted.

9
HAZ/NSMM/NAAL/WHWH
MATRIX OPERATIONS-ADDITION & SUBTRACTION ,

Let
*Note that: A+C, B+C,
A−C, B−C are undefined.
Then ,

Properties of Matrix Addition and Subtraction


 
Let A, B and C be m × n matrices.
1. A + B = B + A Commutative Property of Matrix Addition
2. A + (B + C) = (A + B) + C Associative Property of Matrix Addition
HAZ/NSMM/NAAL/WHWH 10
MATRIX ADDITION AND SUBTRACTION IN A
GIST!

Commutative Law:
A+B=B+A
Properties of Matrix
Associative Law: Addition and Subtraction
A + (B + C) = (A + B) + C = A + B + C

11
HAZ/NSMM/NAAL/WHWH
ADDITION AND SUBTRACTION

• Example 1: Add the matrices • Solution: Adding


corresponding entries we
have

• First, note that each matrix has


dimensions of 3X3, so we are able to
perform the addition. The result is
shown at right:

12
HAZ/NSMM/NAAL/WHWH
ADDITION AND SUBTRACTION

• Example 2: subtract the • Subtract corresponding


same two matrices entries as follows:

13
HAZ/NSMM/NAAL/WHWH
EXAMPLE 3

a) b)

c)
d)

14
HAZ/NSMM/NAAL/WHWH
MATRIX OPERATIONS:
MULTIPLICATIONS
• SCALAR MULTIPLICATION OF MATRICES
• Matrices can be multiplied by a scalar (constant or single element)
• Let k be a scalar quantity; then kA = Ak
Example: If k=4, and
Answer:

15
HAZ/NSMM/NAAL/WHWH
MATRIX OPERATIONS:
MULTIPLICATIONS
Properties of Matrix Scalar Multiplication
 Let A, B and C be m × n matrices and let c and d be scalars.

1. (cd)A = c(dA) Associative Property of Scalar Multiplication


2. 1A = A Scalar Identity
3. c(A + B) = cA + cB Distributive Property
4. (c + d)A = cA + dA Distributive Property

HAZ/NSMM/NAAL/WHWH 16
MATRIX OPERATIONS:
MULTIPLICATIONS
• The product of two matrices is another matrix
• Two matrices A and B must be conformable for multiplication to be possible
i.e. the number of columns of A must equal the number of rows of B
Example: A x B = C
(1x3) (3x1) (1x1)

17
HAZ/NSMM/NAAL/WHWH
MATRIX MULTIPLICATION

Try this!
Find AB and BA if

18
HAZ/NSMM/NAAL/WHWH
MATRIX MULTIPLICATIONS

• 1X4 row matrix multiplied by a 4X1 column matrix: Notice the manner in which
corresponding entries of each matrix are multiplied:

19
HAZ/NSMM/NAAL/WHWH
MATRIX MULTIPLICATIONS

• The following is an illustration of the product of a 2 x 4 matrix with a 4 x 3 . First,


the number of columns of the matrix on the left equals the number of rows of the
matrix on the right so matrix multiplication is defined. A row by column
multiplication is performed three times to obtain the first row of the product:
• 70 80 90.

HAZ/NSMM/NAAL/WHWH 20
EXAMPLE 4

Find a) 4B – BC b) A(B+C) c) A(CB)

Find a) ABC b) 2CAB

HAZ/NSMM/NAAL/WHWH 21
MATRIX OPERATIONS: TRANSPOSE ,

Theorem: Transpose of
Matrix
Let A and B denotes matrices of the same
size,
and let k denote a scalar.

HAZ/NSMM/NAAL/WHWH 22
EXAMPLE 5

HAZ/NSMM/NAAL/WHWH 23
DETERMINANT OF A MATRIX (2 X 2)
= is the determinant of A
If A is a square
(det(A))
matrix, then

Evaluate each
determinant:

a)

b)

HAZ/NSMM/NAAL/WHWH 24
DETERMINANT OF A MATRIX ( n > 2)

To find the determinant of any square matrix A of order n Properties :


(n > 2): 1. If each of the entries in a row (or column)
a) Select any row (or column) of A of A is 0, then
b) Multiply each entry in the row (column) by its cofactor. 2. If two rows (or columns) of A are
c) The sum of these products is defined to be the determinant identical,
of A and is called a determinant of order n. 3.If A is upper (or lower) triangular,
then is equal to the product of the main
diagonal entries.
4.
Using 1st row,

Try to use 2nd row!

HAZ/NSMM/NAAL/WHWH 25
EXAMPLE 6

Evaluate each determinant

HAZ/NSMM/NAAL/WHWH 26
Special types of matrices
Special types of matrices
Special types of matrices
INVERSE OF A MATRIX

• Matrix Inverse: Needed to perform the “division” of 2 square matrices


• In scalar terms A/B is the same as A * 1/B
• When we want to divide matrix A by matrix B we simply multiply by A by the
inverse of B
• An inverse matrix is defined as

30
HAZ/NSMM/NAAL/WHWH
INVERSE OF A MATRIX (2 X 2)

If given

i) Find the inverse of A and B


ii) Show that AB = BA = I

31
HAZ/NSMM/NAAL/WHWH
INVERSE OF A MATRIX (3 x 3)

is called the adjoint of A (adj A).

HAZ/NSMM/NAAL/WHWH 32
COFACTOR OF A MATRIX
The cofactor Cij of an element aij is defined as:

When the sum of a row number i and column j is even, cij = mij and when i+j is odd,
cij =-mij

HAZ/NSMM/NAAL/WHWH 33
EXAMPLE:

34
HAZ/NSMM/NAAL/WHWH
STEPS TO FIND INVERSE MATRIX 3X3:
1) Compute the cofactors of A

2) Transponse the cofactors of A to get Adj(A)

3) Calculate the determinant

4) Find the inverse

HAZ/NSMM/NAAL/WHWH 35
INVERSE OF A MATRIX (3 x 3) –
EXAMPLE
Find for

1) Compute the cofactors of A

Hence
INVERSE OF A MATRIX (3 x 3) -
EXAMPLE
Find for

2) Transponse the cofactors of A to get Adj(A) 4) Find the inverse

3) Calculate the determinant


EXAMPLE 7
Find if it is invertible, given that

38
HAZ/NSMM/NAAL/WHWH
SOLVING LINEAR EQUATIONS-INVERSE METHOD

Examples of systems of linear equations :

In general, a system of m linear equations in n unknowns can be conveniently written as :

Matrix Form

HAZ/NSMM/NAAL/WHWH 39
SOLVING LINEAR EQUATIONS- INVERSE METHOD
Example 8

40
HAZ/NSMM/NAAL/WHWH
LINEAR EQUATIONS – INVERSE
METHOD (another example)
Consider the following set of linear equations.

The coefficients can be arranged in a matrix form as shown.

41
HAZ/NSMM/NAAL/WHWH
LINEAR EQUATIONS – INVERSE
METHOD
The set of equations in matrix form is:

42
HAZ/NSMM/NAAL/WHWH
LINEAR EQUATIONS – INVERSE
METHOD

The resulting matrix of minors is:

43
HAZ/NSMM/NAAL/WHWH
LINEAR EQUATIONS – INVERSE
METHOD
The resulting matrix of cofactors is:

Evaluate the determinant

44
HAZ/NSMM/NAAL/WHWH
LINEAR EQUATIONS – INVERSE
METHOD

45
HAZ/NSMM/NAAL/WHWH
EXAMPLE 9
a) b)

46
HAZ/NSMM/NAAL/WHWH
SOLVING LINEAR EQUATIONS –
CRAMER’S RULE
Cramer’s Rule relies on determinants! Example:

47
HAZ/NSMM/NAAL/WHWH
LINEAR EQUATIONS – CRAMER’S
RULE
Where
:

48
HAZ/NSMM/NAAL/WHWH
SOLVING LINEAR EQUATIONS-CRAMER’S RULE

Solve

49
HAZ/NSMM/NAAL/WHWH
SOLVING LINEAR EQUATIONS-CRAMER’S RULE
Solve

Therefore , the value of x, y and z = ??


50
HAZ/NSMM/NAAL/WHWH
EXAMPLE 10
Repeat Example 9 using Cramer’s Rule

51
HAZ/NSMM/NAAL/WHWH

You might also like