Académique Documents
Professionnel Documents
Culture Documents
Linear Algebra
Matrix Operations
Basic Elasticity
●Multiplication of a matrix by a
scalar.
[a] = k [c] aij = kcij
●Addition of matrices.
Matrices must be of same order (m x n)
Add them term by term
[c] = [a] +[b] cij = aij + bij
●Transpose of a matrix:
Interchange of rows and columns
T
aij a ji
If [a] is m x n then [a]T is n x m
If [a] = [a]T then [a] is symmetric.
[a] must be a square matrix
1 0 0
I 0 1 0
0 0 1
10/14/08 CE 551 - Introduction 7
Matrix Operations
a a
1
[I]
●Differentiating a matrix:
d daij
dx
a
dx
10/14/08 CE 551 - Introduction 9
Matrix Operations
Differentiating a matrix:
1 a11 a12 x
U [x y]
2 a 21 a 22 y
U
x a a12 x
11
U a
21 22 a y
y
10/14/08 CE 551 - Introduction 10
Matrix Operations
●Integrating a matrix.
[a]dx
ij
a dx
Then : [a ]1 C
T
ij
a
10/14/08 CE 551 - Introduction 13
Review of Elasticity
Equations
Linear, homogeneous,
isotropic material behavior.
1 0
E
D 1 1 0
1
0 0
2
10/14/08 CE 551 - Introduction 19
Plane Strain Matrix
1 0
E
D 1 0
1 1 2 1 2
0 0
2
a
j1
ij x j ci
In matrix form :
− 1 3 − 2 x 1 2
2 − 4 2 x 2 = 1
0 4 1 x 3 3
2 −4 2
0 4 1
I x a c
1
x a c
1
2 −4 1
(3)
d 0 4 3
x3 = = = −1.4
a −1 3 −2
2 −4 2
0 4 1
10/14/08 CE 551 - Introduction 31
Gaussian Elimination
a 11 a 12 a1n x 1 c1
a 21 a 22 a 2 n x 2 c 2
=
a n 1 an2 a nn x n c n
10/14/08 CE 551 - Introduction 32
Steps in Gaussian
Elimination
Eliminate the coefficient of x1 in
every equation except the first
one. Select a11 as the pivot
element.
① Add the multiple -a21/ a11 of the first
row to the second row.
② Add the multiple -a31/ a11 of the first
row to the third row.
③ Continue this procedure through the
nth row
10/14/08 CE 551 - Introduction 33
After this Step:
a 11 a 12 a1n x 1 c1
0 a ′22 a ′2 n x 2 c ′2
=
0 a ′n 2 a ′nn x n c n
a 11 a 12 a 13 a1n
x1 c1
0 a ′22 a ′23 a ′2 n
x 2 c ′2
0 0 a ′33
′ a ′3′ n =
x n c n
0 0 a ′n′ 3 a ′′ nn
n −1
cn
xn = n −1
a nn
1 a n
xi = 1, n + 1 − ∑ a ir x r
a ii r = i +1
2 2 1 x 1 9
2 1 0 x = 4
2
1 1 1 x 3 6
2 2 1 x1 9
0 − 1 − 1 x = − 5
2
0 0 0.5 x 3 1.5
2 2 1 x1 9
0 − 1 − 1 x = − 5
2
0 0 0.5 x 3 1.5
x3 =
c3′′ 3
= 2 =3
( )
a′33
′ 1
2
( )
x2 =
( − 5 + 3)
=2
−1
x2 =
( 9 − 2( 2) − 3 )
=1
2
10/14/08 CE 551 - Introduction 44
Gauss-Seidel Iteration
Write equations in form :
1
x1 = ( c1 − a12 x 2 − a13 x 3 − − a1n xn )
a11
1
x2 = ( c 2 − a 21x1 − a 23 x 3 − − a 2n xn )
a 22
1
xn = ( c n − a n 1 x 1 − a n 2 x 2 − − a n .n − 1 x n − 1 )
a nn
10/14/08 CE 551 - Introduction 45
Gauss-Seidel Iteration
Assume a set of initial values for
unknowns. Substitute into RHS of first
equation. Solve for new value of x1
Use new value of x1and assumed values
of other x’s to solve for x2 in second
equation.
Continue till new values of all variables
are obtained.
Iterate until convergence.
10/14/08 CE 551 - Introduction 46
Example
4x1 − x 2 =2
− x1 + 4x 2 − x 3 =5
− x 2 + 4x 3 − x 4 =6
− x 3 + 2x 4 = 6
x1 = 1 x2 = 1 x3 = 1 x 4 = −1
2
10/14/08 CE 551 - Introduction 47
Example
x1 = 1
4
( 2 + x 2 ) = 1 ( 2 + 1) = 3
4 4
x2 = 1 ( 5 + x1 + x 3 ) = 1 ( 5 + 3 + 1) = 1.68
4 4 4
x3 = 1
4
( 6 + x 2 + x 4 ) = 1 ( 6 + 1.68 + ( − 1) ) = 1.672
4
x4 = 1
2
( − 2 + x 3 ) = 1 ( − 2 + 1.67 ) = −0.16
2
x1 = 1
4
( 2 + x 2 ) = 1 ( 2 + 1.68 ) = 0.922
4
x2 = 1
4
( 5 + x1 + x 3 ) = 1 ( 5 + 0.922 + 1.672 ) = 1.899
4
x3 = 1
4
( 6 + x 2 + x 4 ) = 1 ( 6 + 1.899 + ( − 0.16 ) ) = 1.944
4
x4 = 1
2
( − 2 + x 3 ) = 1 ( − 2 + 1.944 ) = −0.0.28
2