Professional Documents
Culture Documents
CH-2 Computational Methods 2022
CH-2 Computational Methods 2022
(EPCE 2204)
Credit: 3 Hrs (Lecture: 2 Hr & Lab: 3 Hr)
___________________________________________
Chapter-Two
Review of Matrices
Outline:
1. Introduction
2. Elementary Properties of Matrices
3. Orthogonality and Orthonormality of Vectors and Matrices
4. Norm of Vectors and Matrices
5. System of Linear Equations
Review of Matrices and system of linear Equations
Introduction
• A matrix is a rectangular array of numbers that is arranged systematically in rows and columns as shown below.
• In general form, a matrix A is denoted as
• Where m indicate the row of the element and n indicate the column of each
element of matrix.
• A matrix of m rows and n columns is said to be of m x n order matrix.
• If m=n, the matrix is called a square matrix of order m or n.
• The sum of the diagonal elements of a square matrix A is called the trace* of A .
• A matrix in which every element is zero, is called a zero matrix.
Matrix Operations
Solution:
Example 2:
Solution:
1. Upper triangular matrix 3. Diagonal matrix • A diagonal matrix is called a scalar matrix, if
where a11=a22=a33=…..=ann=K, k is a scalar.
• A scalar matrix with K=1 , is called an identity
matrix .
• The MATLAB eye(n) function displays an nxn
identity matrix.
eye(4)% Display a 4 by 4 identity matrix
2. Lower triangular matrix
4. Transpose of a matrix
• Denoted as AT, is the matrix that is obtained when the rows and
columns of matrix A are interchanged.
For example, if
7. Determinants
Example:
• Let matrix A be defined as the square matrix
Solution:
Example:
Given that
Redding assignment
1. Orthogonality and Orthonormality of Vectors and Matrices
Questions?