Numerical Solutions For Civil Engineers: Prepared By: Engr. Christine L. Renomeron
Numerical Solutions For Civil Engineers: Prepared By: Engr. Christine L. Renomeron
SOLUTIONS
FOR CIVIL
ENGINEERS
P R E PA R E D BY:
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
and an 3 × 3 matrix is
Generally, we use bold phase letter, like A, to denote a matrix, and lower case letters with
subscripts, like 𝑎 , to denote element of a matrix. Here 𝑎 would be the element at 𝑖 row
and 𝑗 column. So 𝑎 is an element at 1st row and column. Sometime we use the
abbreviation A = (𝑎 ) for a matrix with elements 𝑎 .
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Vectors and Matrices
SPECIAL MATRICES
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Vectors and Matrices
2. Null matrix
This matrix also known as zero matrix is a matrix whose elements are equal to
zero.
0 0
A=
0 0
3. Square Matrix
A matrix with equal umber of rows and columns is called a square matrix. A
square matrix of size n x n is also called a matrix of order n.
7 1 2
A= 5 4 8
3 6 10
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Vectors and Matrices
4. Identity matrix
A square matrix is called an identity matrix if all its diagonal elements are equal
to 1 and all its off-diagonal elements are equal to 0.
5. Diagonal Matrix
A diagonal matrix is a square matrix in which every element not on the principal
diagonal is zero and whose diagonal elements can take any value.
7 0 0
A= 0 4 0
0 0 3
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Vectors and Matrices
6. Scalar matrix
Scalar matrix is a diagonal matrix where all entries along the principal diagonal are all equal, that
is, 𝑎 = 𝑎 = 𝑎 .
4 0 0
Let A = 0 4 0
0 0 4
be a scalar matrix of order 3. The matrix can also be written as 4I where I is identity matrix.
7. Symmetric Matric
A square matrix in which the corresponding off-diagonal elements are equal, that is 𝑎 = 𝑎 for all I
and j is called a symmetric matrix.
1 5 3 4
A= 5 6 7 9
3 7 2 3
4 9 3 5
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Vectors and Matrices
8. Transpose Matrix
Let A = (𝑎 ) be am x n matrix. The transpose of A by 𝐴 is defined by 𝐴 = (𝑎 ) where the
corresponding rows and columns of A are interchanged.
3 −1
0 8 3 0 6 −2
A= The transpose of A is a 2 x 4 matrix 𝐴 where 𝐴 =
6 5 −1 8 5 3
−2 3
9. Singular Matrix
A square matrix having no inverse is called a singular matrix. Thus a square
matrix for which the inverse exists is called nonsingular matrix.
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Vectors and Matrices
Examples:
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Vectors and Matrices
Examples:
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Vectors and Matrices
Examples:
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Matrix Operations
Matrix Addition/Subtraction
Consider the following properties:
Two matrices are conformable with respect to addition if they have the same
dimensions
A. The sum of two matrices A and B which are conformable with respect to
addition is a matrix whose elements are sum of corresponding elements of A and
B.
B. Addition of matrices is commutative A+B = B+A.
C. Addition of matrices of associative A+(B+C) = (A+B)+C = (A+C)+B
Note that the above properties are also true for matrix subtraction. The addition
of conformable matrices A and B is summarized by
A+B =C= (𝐶 ) = (𝑎 + 𝑏 )
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Matrix Operations
Examples(Matrix Addition/Subtraction):
1.)
Find A + 𝐵 .
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Matrix Operations
Examples(Matrix Addition/Subtraction):
Find A-B.
7 3 −3 0 7 − (−3) 3−0 10 3
A-B = 5 9 - 8 1 = 5−8 9−1 = −3 8
11 −2 −3 −4 11 − (−3) −2 − (−4) 14 2
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Matrix Operations
Matrix Multiplication
• Not all matrices can be multiplied together, just as not all
matrices can be added
• The ability to multiply is dependent on the order of the
matrices
• If has order × ( rows and columns) and has order
× ( rows and columns), we can multiply × only if = .
The resultant matrix will have order ×
• We say the product is undefined if the matrices cannot be
multiplied
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Matrix Operations
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Matrix Operations
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Matrix Operations
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Matrix Operations
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Matrix Operations
How to multiply matrices
Rule: Let 𝐴 and 𝐵 be matrices whose product, 𝐴 × 𝐵, is defined as 𝐶.
To calculate the value of element 𝑐 , ,we combine the 𝑖 row of matrix 𝐴 and the 𝑗 column of
matrix 𝐵.
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Matrix Operations
How do we actually combine the elements of the row and column?
Example:
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Matrix Operations
EXAMPLE:
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Matrix Operations
Kathrin’s meryenda sells for Banana cue for 10.40Php, Tokneneng for 11.50Php and
Puto pao for 6.00Php.
Her sales of those three items over one week are represented in a matrix, where each column represents a
weekday, and each row represents a menu item.
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020
MATRICES
Matrix Operations
PREPARED BY: ENGR. CHRISTINE L. RENOMERON NUMERICAL SOLUTIONS FOR CIVIL ENGINEERS 2020