EME4403 Finite Element
EME4403 Finite Element
PowerPoint® Slides
By Ir. Dr. Patrick Teo
Compulsory page
Learning Objectives
Last Updated: Last Updated:October 19, 2023 © I-Station Solutions Sdn Bhd 2
Compulsory page
Learning Outcomes
Last Updated: Last Updated:October 19, 2023 © I-Station Solutions Sdn Bhd 3
What is a matrix?
A rectangular array of numbers (we will
concentrate on real numbers). A n x m matrix
has ‘n’ rows and ‘m’ columns
M11 M12 M13 M14 First row
M 3x4
M 21 M 22 M 23
M 24 Second row
M31 M32 M33 M34 Third row
a 1 a2 a3 a4
A column vector of length ‘m’ is a mx1
matrix
a1
a
2
a3
1 2 4 a b c
A 3 0 7 B d e f
9 1 5 g h i
a 1, b 2, c 4,
A B d 3, e 0, f 7,
g 9, h 1, i 5.
1 2 4
A 3 0 7 c 3
9 1 5
3 6 12
cA 9 0 21
27 3 15
Last Updated: © I-Station Solutions Sdn Bhd 10
Matrix operations: Multiplication by a scalar
If A is a matrix and c =-1 is a scalar, then the product
(-1)A =-A is a matrix whose entries are obtained by
multiplying each of the entries of A by -1
1 2 4
A 3 0 7 c 1
9 1 5
1 2 4
cA -A 3 0 7
9 1 5
1 2 4 1 3 10
A 3 0 7 B 3 1 0
9 1 5 1 0 6
2 1 6
C A B 0 1 7
8 1 1
Note that A - A 0 and 0 - A -A
Last Updated: © I-Station Solutions Sdn Bhd 12
Special operations: Transpose
AA T
a b a 1b1 a 2 b 2 a 3 b 3
T
A B = AB
mxr rxn mxn
inside
outside
A B BA I
Then
(a)The matrix A is called invertible, and
(b) the matrix B is the inverse of A and is
denoted as A-1.
A -1 1
A
Property 2: If A is any invertible square matrix
and k is any scalar then
1 -1
k A 1
A
k
A B 1
B A
1 -1
(AB) AB I
1
A ABAB
-1 1
A 1
BAB A 1
1
a11 a12
A ; det( A ) a11a 22 a12a 21
a 21 a 22
1 3
Consider the matrix A
5 7
1 3
det( A ) 1 7 3 5 8
5 7
ForONLY
a11 a12
a13matrix
a 3x3 a11
write down 13 atwo
a12theafirst 11 a12
a
A a 21 a 22 a 23 third column
columns after the a
21 a 22 a 23 21 a 22
a 31 a 32 a 33 a 31 a 32 a 33 a 31 a 32
2 4 - 3 2 4 3 2 4
A 1 0 4
1 0
4 1 0
2 - 1 2
2 1 2 2 1
0 -8 8 0 32 3
Sum of red terms = 0 + 32 + 3 = 35
Sum of blue terms = 0 – 8 + 8 = 0
Determinant of matrix A= det(A) = 35 – 0 = 35
If A isaa11square a13
a12 matrix
A a 21 a 22 a 23
a 31 a 32 a 33
The minor, Mij, of entry aij is the determinant of the submatrix
that remains after the ith row and jth column are deleted from A.
The cofactor of entry aij is Cij=(-1)(i+j) Mij
a 21 a 23
M 12 a 21a 33 a 23a 31
a 31 a 33
a 21 a 23
C12 M 12
a 31 a 33
Last Updated: © I-Station Solutions Sdn Bhd 30
What is a cofactor?
Sign of cofactor -
- -
-
Find the minor and cofactor of a33
2 4 - 3
A 1 0 4
Minor 2 4
2 - 1 2 M 33 2 0 4 1 4
1 0
Cofactor C ( 1) ( 3 3 ) M M 4
33 33 33
det( A ) a 1j C 1j a 2j C 2j a n jC n j
1 0 2 -3
A= 3 4 0 1
det(A) = a11C11 +a12C12 + a13C13 +a14C14
-1 5 2 -2
0 1 1 3
4 0 1 3 0 1 3 4 1
5 2 -2 -1 2 -2 -1 5 -2
det(A)=(1) 1 1 3 - (0) 0 1 3 +2 0 1 3
3 4 0
-1 5 2 = (1)(35)-0+(2)(62)-(-3)(13)=198
- (-3) 0 1 1
det(A)=a13C13 +a23C23+a33C33
1 0 1 5 1 5
det(A)= -3* (-1)4 +2*(-1)5 +2*(-1)6
3 -1 3 -1 1 0
= det(A)= -3(-1-0)+2(-1)5(-1-15)+2(0-5)=25
d1 k11 k12
Let d k Symmetric
d 2 k 21 k 22 matrix
Then
k11 k12 d1
U d k d d1 d 2
T
k12 k 22 d 2
k11d1 k12 d 2
d1 d 2
k12 d1 k 22 d 2
d1 (k11d1 k12 d 2 ) d 2 (k12 d1 k 22 d 2 )
2 2
k11d1 2k12 d1 d 2 k 22 d 2
Last Updated: © I-Station Solutions Sdn Bhd 36
Differentiation of quadratic form
Differentiate U wrt d1
U
2 k 11 d 1 2 k 12 d 2
d 1
Differentiate U wrt d2
U
2 k 12 d 1 2 k 22 d 2
d 2
U
U d 1 k11 k12 d 1
2
d U k12 k 22 d 2
d 2
2k d
Last Updated: Last Updated:October 19, 2023 © I-Station Solutions Sdn Bhd 39 39