CHAPTER 2matrices Slide
CHAPTER 2matrices Slide
Engineering
Mathematics I
By: Dr Nur Farhana Diyana Mohd Yunos
Faculty of Chemical Engineering Technology
Email: farhanadiyana@unimap.edu.my
CHAPTER 2: 01 Introduction
02 Types of Matrices
MATRICES
03 Operations
04 Determinants
05 Inverse
06 Systems of Linear Equations
INTRODUCTION
A matrix is a rectangular array of elements or entries aij involving m rows and n
columns Columns, n
Diagonal Matrix
Matrix with order n x n with aij ≠ 0 and
aij = 0 for i ≠ j Identity Matrix
A diagonal matrix in which the diagonal elements
are ‘1’, aii = 1 and aij ≠ 0 for i ≠ j
Types of Matrices Upper Triangular Matrix
Zero Matrix If every elements below the diagonal is zero
A matrix which contains only zero or aij = 0, i > j
elements, aij = 0
DIAGONAL
Negative Matrix
A negative matrix of A =[aij] denoted by
–A where -A =[-aij] Lower Triangular
Matrix
If every elements above
the diagonal is zero or
aij = 0, i < j DIAGONAL
Types of Matrices
Transpose of Matrix
If A =[aij] is an m x n matrix, then the transpose
of A, AT =[aij]T is the n x m matrix defined by Properties Transposition Operation
[aij] = [aji]T
Let A and B matrices and k, .
Then,
Types of Matrices
Symmetric Matrix Skew Symmetric Matrix
If AT = A, where the elements obey the If AT = - A, where the elements obey the rule
rule aij = aji aij = - aji, so that the diagonal must contain
zeroes.
Example 2
Types of Matrices
LEADING 1
Row Echelon Form (REF)
Matrix A is said to be in REF if it
satisfies the following properties:
• Rows consisting entirely ZEROS ROW AT THE
zeroes occur at the bottom BOTTOM
of the matrix.
• For each row that doesn’t
consist entirely of zeroes, Name Here
LEADING 1
the 1st nonzero is 1.
• For each non zero row,
number 1 appear to the right
of the leading 1 of the
previous row.
LEADING 1
Types of Matrices
Reduced Row Echelon Form (RREF)
Matrix A is said to be in RREF if it
ZEROS ROW AT THE
satisfies the following properties:
BOTTOM • Rows consisting entirely zeroes
occur at the bottom of the matrix.
• For each row that doesn’t consist
entirely of zeroes, the 1st nonzero
LEADING 1 is 1.
• For each non zero row, number 1
appear to the right of the leading
1 of the previous row.
• If a column contains a leading 1,
then all other entries in the
column are zero
OPERATIONS OF MATRICES
Definition 2.15
Let and are matrices of order m x n. Matrices C=A+B is defined
by which is and Two matrices A and
B will be said conformable for addition only if they are both of the same order.
Definition 2.16
Let and are matrices of order m x n. . Matrices C=A-B is defined by
which is and Two matrices A and B will
be said conformable for subtraction only if they are both of the same order.
where
Properties of Scalar Multiplication
If and then
Definition 2.18
Suppose A is an m x n matrix
and B is a p x q matrix. For the
product AB to exist, it must be
that n=p, that is the number of
columns in A must be the
same as the number of rows in
B.
Example 3
Determinants: 2x2 Determinants: 3x3
Determinant of matrix A is defined by det(A) or |A|
Simple PowerPoint Presentation Definition 2.20
Definition 2.19
Simple PowerPoint Presentation
If Simple PowerPoint
is a 2x2 matrix, then the determinant Given is a 3x3
Presentation
Example
If and find det(A)
You can simply impress your audience and
add a unique zing and appeal to your
Presentations. Easy to change colors, photos
and det (B). Solution:
and Text. You can simply impress your
audience and add a unique zing and appeal to
your Presentations.
Determinants: 3x3 (minors &
cofactors)
Definition 2.21 Definition 2.22 Presentation
Simple PowerPoint
Simple PowerPoint
Cofactor of aij : Presentation
Let n ≥ 2 and A = [ aij ]nxn . Matrices
(n -1)x (n -1) submatrix of A is Simple PowerPoint Presentation
Cofactor
▪ Expanding along the jth column: =
You can simply impress your audience and
add a unique zing and appeal to your
Presentations. Easy to change colors, photos
and Text. You can simply impress your
determinant
audience and add a unique zing and appeal to
your Presentations.
of A:
Determinants: 3x3 (minors &
cofactors)
Exercise 2:
Find determinant of B and cofactor B:
Determinant Properties
Suppose A is n x n matrix and k is a Adding or subtraction a multiple of one
scalar. Suppose the matrix B is obtained row (column) to the other row (column)
by multiplying a single row or column of leaves the determinant unchanged.
A by k. Then det (B) = k det (A)
Example
Find the adjoint of A:
Example
Find the adjoint of B:
Adjoint
Example
Find the adjoint of A:
Inverse Definition
Inverse: 2 x 2
Definition 2.25 If , then is the inverse of A where
If A is a square matrix of order n and if
there exists a matrix A-1 such that
Theorem 1
Theorem 3
Let A and I both be n x n matrices, the
augmented matrix
Theorem 2
If A is nxn matrix, |A|≠0, then A-1 is
defined by:
may be reduced to by using
elementary row operation (ERO)
Inverse using the Cofactor Method
Find the inverse of each matrix using the
Cofactor Method: Step 4: find the inverse of A
Example
Cramer’s Rule
04
Gauss-Jordan
03 Elimination
Gauss Elimination
02
The Inverse of the
01 Coefficient Matrix
METHODS OF SOLVING SYSTEMS OF
EQUATIONS
A) The Inverse of the Coefficient Matrix Example
Consider a system of equations written in Solve the system by using the inverse of
the form AX=B, where the coefficient matrix:
Solution: Answer
Write in the form AX=B :
Where:
METHODS OF SOLVING SYSTEMS OF
EQUATIONS
A) The Inverse of the Coefficient Matrix
Find the inverse of A, where
Answer
:
The system can be written in the Solution
augmented form [A|B]. Write in augmented form: X=[A|B]
The augmented form: X=[A|B]
Apply ERO, use
appropriate
characteristics:
x1 x2 x3
METHODS OF SOLVING SYSTEMS OF EQUATIONS
Example
You manage an ice cream factory that makes three
B. Gauss Elimination flavors: Creamy Vanilla, Continental Mocha, and
Example Succulent Strawberry. Into each batch of Creamy
Solve the system by using the Gauss Vanilla go two eggs, one cup of milk, and two cups of
elimination method. cream. Into each batch of Continental Mocha go one
(i) egg, one cup of milk, and two cups of cream. Into
each batch of Succulent Strawberry go one egg, two
cups of milk, and one cup of cream. Your stocks of
eggs, milk, and cream vary from day to day. How
(ii) many batches of each flavor should you make in order
to use up all of your ingredients if you have 350 eggs,
350 cups of milk and 400 cups of cream?
100 Creamy Vanilla flavour
50 Continental Mocha flavour
100 Succulent Strawberry flavour
METHODS OF SOLVING SYSTEMS OF EQUATIONS
C. Gauss-Jordan Elimination Example
Consider a system of linear equations: Solve the system by using the
Gauss-Jordan elimination method
Solution Answer
Write in augmented form: X=[A|B] :
The system can be written in the
augmented form [A|B].
The augmented form: X=[A|B]
Therefore:
METHODS OF SOLVING SYSTEMS OF EQUATIONS
Example
The Arctic Juice Company makes three juice blends:
C. Gauss-Jordan Elimination PineOrange, using 2 quarts of pineapple juice and 2
Example quarts of orange juice per gallon; PineKiwi, using 3
Solve the system by using the quarts of pineapple juice and 1 quart of kiwi juice per
Gauss-Jordan elimination method. gallon; and OrangeKiwi, using 3 quarts of orange
(i) juice and 1 quart of kiwi juice per gallon. The amount
of each kind of juice the company has on hand varies
from day to day. How many gallons of each blend can
it make on a day if they have 650 quarts of pineapple
(ii) juice, 800 quarts of orange juice and 350 quarts of
kiwi juice?
Then,
where
Step of solution
(i) Compute D, determinant of A and D ≠ 0. Answer
(ii) Compute Di , i=1,2,3,…n, where Di is obtained :
from D by replacing the ith column of D by B.
Solution
(iii) Solution are given by Write down A, B and X:
Find the eigenvalues and eigenvectors using Hence, we have three possible eigenvalues.
Gaussian elimination method.
Step 2: Find eigenvectors corresponding to each
Solution: eigenvalue:
Therefore, When
Augmented matrix,
Solve from 2nd row:
Let and
From the 1st row:
Augmented matrix
EIGENVALUES & EIGENVECTORS
EIGENVALUES & EIGENVECTORS
Example 2 Therefore,
Consider matrix
Solution
Step 1: Find eigenvalue by computing
Sinc
e
Augmented matrix
Let,
Solve 1st row: