Professional Documents
Culture Documents
LECTURE MODULE 1
This module covers the following topic(s):
1. Matrix
MATRIX
Matrix (pl. Matrices) a set of numbers arranged in
arrays of rows and columns. The values or variables in a
matrix are the elements or entities. Matrices are defined
by the number of m rows and n columns and denoted as m
x n matrix.
B=
-8
-2
-8
aij
A=
a12
a13
a21
a22
a23
a31
a32
a33
Answer(s):
BT =
SPECIAL MATRICES
Upper and Lower Triangular Matrices
Upper triangular matrix is a matrix in which has non-zero
entities above the main diagonal. Lower triangular
matrix has non-zero entities below the main diagonal.
e.g.
Upper triangular matrix:
2. a23
3. a32
2
-1
-4
M=
Answer(s):
3 x 3 matrix
Main diagonal
1. a12 = 1
2. a23 = 3
.
3. a22 = -4
4]
4 x 4 matrix
-1
Column vector: B =
Main diagonal
-4
A=[
Page
Row vector:
3
ENGR 410 Advanced Engineering Mathematics
DEPARTMENT OF ENGINEERING SCIENCES, College of Engineering, Central Luzon State University
2010
erpj/esdept
ADDITION OF MATRICES
And
A=
-7
-1
10
11
12
B=
Answer(s):
(A + B)T = AT + BT =
14
10
16
12
18
MULTIPLICATION OF MATRICES
Scalar Multiplication
And
B=
-7
-2
-8
Answer:
(0+9)
(9+1)
(6+2)
(-1+5)
A=
-7
-1
-7
-1
6(0)
6(9)
6(6)
6(-7)
6(4)
6(-1)
6(5)
6(6)
6(2)
54
36
-42
-24
-6
30
36
12
Answer(s):
9
10
A+B = -4
-2
-6
cA =
6 x
2. A + (B + C) = (A + B) + C
Written as ( A + B + C )
3. A + 0 = A, 0 is a matrix of all zero elements.
4. A + (-A) = 0
5. (A + B)T = AT + BT
cA =
Prove property number 5 given the following matrices:
1
Page
A=
2010
erpj/esdept
A=
B=
i = 1, , m
k = 1, , q
a11
a12
a1n
a21
am1
a22 ...
am2
a2n
amn
b11
b12
b1q
b21
bp1
b22 ...
bp2
b2q
bpq
then C = AB is
a11b11+a12b21++a1nbp1 a11b12+a12b22++a1nbp2 a11b1q+a12b2q+a1nbpq
C=
C=
-2
-9
B=
-1
-7
-1
2(6)+3(0)+5(-1)
2(7)+3(-1)+5(4)
2(1)+3(-7)+5(2)
8(6)+5(0)+1(-1)
8(7)+5(-1)+1(4)
8(1)+5(-7)+1(2)
1(6)+(-2)(0)+(-9)(-1)
1(7)+(-2)(-1)+(-9)(4)
1(1)+(-2)(-7)+(-9)(2)
31
-9
47
55
-25
15
-27
-3
.
2010
erpj/esdept
Page
A=
e.g.
Find the product of two matrices given:
BA =
2. A(BC) = (AB)C
61
51
28
-15
62
32
13
-19
3. (A+B)C = AC + BC
4. (AB)T = BTAT
EXERCISES
5. AB BA
For property number 4, given the matrices A and B. Find
the product.
3
-1
-7
A=
B=
3(-1)+4(4)+5(7)
3(3)+4(-7)+5(8)
7(-1)+8(4)+9(7)
7(3)+8(-7)+9(8)
21
A=
C=
AB =
48
48
88
21
37
then (AB)T =
AB =
88
37
-7
-9
-5
-2
-1
-9
-1
B=
-3
5
2
D=
E=
0
-4
-7
B =
(-1)(7)+4(8)+7(9)
3(3)+(-7)(4)+8(5)
3(7)+(-7)(8)+8(9)
48
88
21
37
BA =
.
A=
B=
-2
-9
-1
-7
-1
A+A
2 x [A + CT]
BA
CTDT
EF
References:
- Kreyszig, Erwin. Advanced Engineering Mathematics. 9th edition.
- Riley, K. F., et.al. Mathematical Methods for Physics and Engineering.
2nd edition.
-1(3)+4(4)+7(5)
BTAT =
F=
Page
AT =
2010
erpj/esdept
e.g.
Find the determinant of the 3 x 3 matrix below.
4
-6
-2
-6
-6
-2
-2
Det D
Det D
=
=
=
1. Determinants
2. Inverse of a matrix
Answer(s):
DETERMINANT
Determinant a number that denotes the value of a
matrix. It is a special number that is particularly associated
with a square matrix, that is, an m x n matrix with m = n.
Determinant of the second order (2nd Order
Determinant) a determinant associated with two rows and
two columns.
a11
a12
D=
= a11a22 a21a12
a21
a22
D=
A=
Answer(s):
A=
.
a11
a12
a13
a21
a22
a23
a31
a32
a33
rd
det A = a11
a22
a23
a33
a31
a33
a21
a22
a31
a32
+ a13
a12
a13
a11
a12
a21
a22
a23
a21
a22
a31
a32
a33
a31
a32
+ - +
The signs associated with each element are: - + + - +
Thus, the operations are shown as + - +.
e.g.
Using the previous example, solve the determinant by
minors and cofactors of (a) first row, (b) second column.
2010
erpj/esdept
a11
Page
A=
a21
- a12
a32
Standard operations
a23
Answer(s)
det D = 4
A=
a11
a12
a13
...a1j
a21
a22
a23
a2j
a31
ai1
a32
ai2
a33
ai3
a3j
aij
- (-6)
-2
1
2
-2
+1
The determinant using the minor of first row is determined
by:
det D
det D = -6
1
1
ai2
a33
ai3
...a3j
...aij
a21
a23
...a2j
a31
ai1
a33
ai3
...a3j
...aij
a21
a22
...a2j
a31
ai1
a32
ai2
...a3j
...aij
a21
a22
...a2(j-1)
a31
ai1
a32
ai2
...a3(j-1)
...ai(j-1)
+ (-1)1+2 (a12)
7
...a2j
+1
7
a23
- (-2)
+ (-1)1+3 (a13)
det D = - (-6) [2(1) 7(3)] + 1 [4(1) 7(1)]
(-2) [4(3) 2(1)]
= - (-6)(-19) + 1(-3) (-2)(10)
= -114 + (-3) (-20)
= -97.
determinants
+ (-1)1+j (a1j)
for row
D=
for column
Where:
aij elements of row or column used as minor
Mij the sub-determinants formed after
deleting
the row and the column associated with aij.
-8
-2
for (a)
L=
a22
Page
For (b)
ENGR 410 Advanced Engineering Mathematics
DEPARTMENT OF ENGINEERING SCIENCES, College of Engineering, Central Luzon State University
2010
erpj/esdept
Answer(s)
Det L
Det L
= 217
Det L
= (-1)1+1 (-1)
+ (-1)1+2 (9)
+ (-1)1+3 (4)
-2
-8
e.g.
Considering the previous set of elements of a determinant,
find det L using (a) minors of first two rows, (b) minors of
first and third column.
Answer(s):
-8
-2
-1
L=
+ (-1)1+4 (2)
-8
-8
-2
-2
Det L
Det L
= 217
Det L
-1
-1
-2
-1
-2
-8
-8
-8
-2
= (-1)1+1+1+2+2+1+2+2
= (-1)4+1 (2)
+ (-1)4+2 (1)
+ (-1)4+3 (5)
-8
-2
-1
-8
-2
-1
-2
-1
-8
Det L = 217
+ (-1)1+1+1+4+2+1+2+4
+ (-1)1+2+1+3+2+2+2+3
- (-1)1+2+1+4+2+2+2+4
+ (-1)1+3+1+4+2+3+2+4
Page
+ (-1)4+4 (8)
Det L
- (-1)1+1+1+3+2+1+2+3
2010
erpj/esdept
-8
-2
Answer(s)
D=
-6
-2
L=
-8
-2
-8
-6
-2
Det L = - (-1)1+2+1+4+2+2+2+4
DT =
+ (-1)1+2+1+4+3+2+3+4
Next, form an adjoint matrix. Adjoint matrix is a matrix
formed by the minors of elements of rows and columns.
- (-1)1+2+1+4+4+2+4+4
-1
-1
- (-1)2+2+2+4+3+2+3+4
+ (-1)2+2+2+4+4+2+4+4
Adj DT =
-2
-8
-1
-2
+7
-(-4)
+(-19)
-(-19)
+(-3)
-10
+(-11) -34
- (-1)3+2+3+4+4+2+4+4
+16
Det L = 217
-7/97
D-1 =
-4/97
19/97
-19/97 3/97
10/97
11/97
16/97
34/97
Inverse of a Matrix
Check if DD-1 results in an identity matrix, that is
-1
e.g.
Find the inverse of D (same set of elements used in
previous problem in determinants).
RANK OF A MATRIX
The rank of matrix is determined by the number of linearly
independent vectors. It can also be determined by the size
of the largest square matrix, or submatrix (a matrix
formed from a larger or main matrix), whose determinant is
not equal to zero.
2010
erpj/esdept
Page
e.g.
Determine the rank of the matrix
A=
N=
-2
-1
Answer(s): -12.
2-2. Given the matrix, evaluate using
Answer(s):
(a) Minor of second and third column
(b) Minor of first and fourth row
(a)
-2
-2
-2
= 0,
B=
Answer(s): -477
(b)
(c)
(d)
= 0,
2-3. Find the inverse of the following matrix. Validate your
result by proving the identity CC-1.
= 0,
-1
-1
C=
-1
References:
- Kreyszig, Erwin. Advanced Engineering Mathematics. 9th edition.
- Riley, K. F., et.al. Mathematical Methods for Physics and Engineering.
2nd edition.
= -2.
Page
2010
erpj/esdept
a11
b1
a1n
Dx2 = a21
b2
a2n
am1
bn
amn
a11
a12
b1
Dxn = a21
a22
b2
am2
bn
1. Cramers Rule
2. Gauss Elimination
CRAMERS RULE
Determinants are used in solving system of linear equations.
Gabriel Cramer (1704-1752), a Swiss mathematician, has
introduced such method in solving engineering problems
such as eigenvalues, vector algebra, differential equations,
and other variables.
am1
Cramers rule can be applied only for square matrix and the
determinant of unknown variables is non-zero.
x2 = Dx2 / D
xn = Dxn / D
e.g.
Given the equations below, determine the values of
unknown variables.
3x + 6y - z = 33
-7x 4y + 6z = 6
2x 2y + 2z = 16
Answer(s):
3
-1
33
a11
a12
a1n
b1
-7
-4
a21
a22
a2n
b2
-2
16
am2
amn
bn
33
-1
-4
16
-2
D = 146
for x:
for y:
b1
a12
a1n
33
-1
Dx1 = b2
a22
a2n
-7
am2
amn
16
Dy = 730
Page
bn
Dx = 584
10
am1
2010
erpj/esdept
for z:
33
-7
-4
-2
16
(73/15) z = 219/5
z = 9.
Dz = 1314
Substitute the value of z to any equation in matrix (a) to get
y = 5.
then,
x = Dx / D = 584 / 146 = 4
x = 4.
y = Dy / D = 730 / 146 = 5
EXERCISES
.
z = Dz / D = 1314 / 146 = 9.
Answer(s):
3
33
-7
-4
-2
16
(-7/3) (2/3)
References:
- Kreyszig, Erwin. Advanced Engineering Mathematics. 9th edition.
- Riley, K. F., et.al. Mathematical Methods for Physics and Engineering.
2nd edition.
Set all of the first column elements of second row and third
row to zero. Divide -7 to 3 to get the multiplier (-7/3), then
multiply the quotient to 3 and subtract -7 eliminate -7. Then,
multiply -7/3 to 6 and subtract -4. Do this procedure to
other elements including vector columns of known variables.
Same procedure is also applied for third row. The resulting
matrix will be:
Matrix (a)
0
-10
-11/3
-83
-8/3
(-3/5)
11
73/15
Page
Matrix (b)
219/5
2010
erpj/esdept
Power Series
POWER SERIES
The power series is the method used in finding solutions
to linear differential equations that contains variable
coefficients. Power series is in the form:
(
) =
) +
) +
(a) 1/(1-x) =
(b) ex
(c) cos x
[(
)!
(d) sin x
[(
(
/ !) = 1 + + (
= 1 +
)
)!
/2!) +
Page
12
p(x)
2010
erpj/esdept