Professional Documents
Culture Documents
This document may contain errors that will be corrected in class. It is your responsibility
to take note of these corrections. This may be considered as a supplementary material
only and should not be used as substitute to the class discussions and reading materials.
Not everything that you need to know is included in these notes.
Contents
1 Introduction 4
1.1 Mathematical Methods for Mining, Metallurgical, and Mate-
rials Engineering . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1.1 Course Overview . . . . . . . . . . . . . . . . . . . . 4
1.1.2 Course Outcomes . . . . . . . . . . . . . . . . . . . 4
1.2 Linear Algebra . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2.1 Introduction to Linear Algebra . . . . . . . . . . . . . 5
1.2.2 Applications of Linear Algebra . . . . . . . . . . . . . 7
1
First Exam Notes MMME 21
5 Eigenvalues 60
5.1 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
5.2 Eigenspaces . . . . . . . . . . . . . . . . . . . . . . . . . . 61
5.3 Characteristic Polynomial . . . . . . . . . . . . . . . . . . . 63
5.4 Eigenvalues of a Triangular Matrix . . . . . . . . . . . . . . 66
6 Applications 69
6.1 Curve Fitting . . . . . . . . . . . . . . . . . . . . . . . . . . 69
6.2 Spring-mass System . . . . . . . . . . . . . . . . . . . . . . 70
6.3 Stresses and Strains . . . . . . . . . . . . . . . . . . . . . . 72
1 Introduction
The term “algebra” was coined by the 9th century mathematician Abu
Ja’far Muhammad ibn Musa al-Khwarizmi. It comes from the Arabic word
al-jebr, meaning reunion of broken parts.
1. The admission fee at a small fair is 150 for children and 400 for
adults. On a certain day, 2200 people entered the fair and 505,000
was collected. How many children and how many adults attended?
Answer: 1,500 children and 700 adults
2. The sum of the digits of a two-digit number is 7. When the digits are
reversed, the number is increased by 27. Find the number.
Answer: 25
3. Find the equation of the parabola that passes through the points
(-1, 9), (1, 5), and (2, 12).
Answer: y = 3x2 − 2x + 4
The main goal is to present a library of linear algebra tools, and more
importantly, to teach a conceptual framework for understanding which tools
should be applied in a given context.
If a computer program can find the answer faster than you can, then your
question is just an algorithm: this is not real problem solving. The sub-
tle part of the course lies in understanding what computation to ask the
computer to do for you-it is far less important to know how to perform com-
putations that a computer can do better than you anyway.
AX = B or AX = λX or AX ≈ B
Take note that nearly all engineering or scientific computations involve lin-
ear algebra. Consequently, linear algebra algorithms have been highly
optimized.
3. Numerical modeling
x + 2y − 3z = 2 x = 1
2x − 3y + 4z = 1 −→ y = −1
3x + 4y − 5z = 4 z = −1
2.1 Definitions
a11 a12 · · · a1n
a21 a22 · · · a2n
A=
.. .. .. .. (1)
. . . .
an1 an2 · · · ann
Unless stated, we assume that all our matrices are composed of real num-
bers.
The horizontal groups of elements are called the rows of the matrix. The
ith row of A is
The vertical groups of elements are called the columns of the matrix. The
jth column of A is
a1j
a2j
.
. (1 ≤ j ≤ n) (3)
.
aij
We refer to aij as the entry or the element in the ith row and jth column
of the matrix.
A = [aij ] (4)
1. Row matrix or row vector – is a matrix that consists of only one row.
h i
B = b1 b 2 · · · bj · · · bn (5)
0 0 u33
0 0 d33
0 0 s
0 0 1
10. Symmetric matrix – is a square matrix whose elements aij and aji
are equal.
1 2 4
S = 2 2 −5 (13)
4 −5 3
4 5 0
Two matrices A = [aij ] and B = [bij ] are equal if and only if the following
conditions are satisfied:
3. All elements in A agree with the elements in B. (aij = bij , for all i and
j.)
3 b z 3 4 c+1
If A = [aij ] and B = [bij ] are matrices of the same size m × n, then the sum
A + B is another m × n matrix C = [cij ] where cij = aij + bij for i = 1 to
m and j = 1 to n. Matrix addition is accomplished by adding algebraically
corresponding elements in A and B.
" # " #
1 −2 4 3 2 −2
A+B = +
−3 2 1 4 −1 1
" #
1+3 −2 + 2 4 + (−2)
=
−3 + 4 2 + (−1) 1+1
" #
4 0 2
=
1 1 2
−2 4 7 −8 16 28
" # " #
3 4 −2 2 −1 4
A−B = + (−1)
5 7 −4 −3 8 3
" #
3 − 2 4 + 1 −2 − 4
=
5 + 3 7 − 8 −4 − 3
" #
1 5 −6
=
8 −1 −7
NOTE: We can only add or subtract matrices with the same number of
rows and columns.
n
X
cij = aik bkj (16)
k+1
for i = 1 to m and j = 1 to p.
The formula tells us that in order to get the element cij of the matrix C, get
the elements of the ith row of A (the pre-multiplier) and the elements on
the jth column of B (the post-multiplier). Afterwards, obtain the sum of the
products of corresponding elements on the two vectors.
NOTE: The product is defined only if the number of columns of the first
" # " #
1(2) + 2(3) 1(−4) + 2(−1) 8 −6
AB = =
3(2) + 4(3) 3(−4) + 4(−1) 18 −16
" # " #
2(1) + −4(3) 2(2) + −4(4) −10 −12
BA = =
3(1) + −1(3) 3(2) + −1(4) 0 2
Example:
2 −1 " # " #
6 2 −3 1 3
A= 5 3 B= C=
−1 4 5 2 −1
−4 6
Show:
2 −1 " # 13 0 −11
6 2 −3
A×B = 5 3 × = 27 22 0
−1 4 5
−4 6 −30 16 42
#" 2 −1 " #
6 2 −3 34 −18
B×A= × 5 3 =
−1 4 5 −2 43
−4 6
How about A × C =? and C × B =?
Example:
1 2 −2
−1 3 1 −1 2 5
4
If A = then AT = 2 3 −1 3
2 −1 3
−2 4 3 −2
5 3 −2
(AT )T = A
(A + B)T = AT + B T
(kA)T = kAT
(AB)T = B T AT
3.1 Determinants
3.1.1 Permutation
Examples:
If S = 1, 2, 3 then S3 = {123, 132, 213, 231, 312, 321}
If S = 1, 2, 3, 4 then there are 4! = 24 elements of S4 . Can you list all the
elements of 4!?
S1 has only one permutation; that is 1, which is even since there are no
inversions.
S3 has 3! = 6 permutations: 123, 231and 312 are even while 132, 213,
and 321 are odd.
n! n!
For any Sn , where n > 1 it contains 2
even permutations and 2
odd
permutations.
3.1.3 Determinant
X
det(A) = |A| = (±)a1j1 a2j2 · · · anjn (17)
Examples:
" #
a11 a12
If A = , then to get |A| we write down the terms a1− a2− and
a21 a22
replace the dashes with the all-possible permutations of S = {1, 2}, namely
12 (even) and 21 (odd). Thus |A| = a11 a22 − a12 a21 .
a11 a12 a13
If A = a21 a22 a23 , then to compute the |A| we write down the six
0 1 2
=8+9+0−0−2−6
=9
1. 2×2 matrix
!
a11 a12
det = a11 a22 − a12 a21 (18)
a21 a22
a11 a12
a21 a22
Example: !
1 2
det = (1)(1) − (−2)(2) = 5
−2 1
Compute the determinant:
! !
1 2 1 2
det = det =
−2 −1 2 1
2. 3×3 matrix
a11 a12 a13
a11 a22 a33 + a12 a23 a31 + a13 a21 a32
det a21 a22 a23 =
−a31 a22 a13 − a32 a23 a11 − a33 a21 a12
a31 a32 a33
(19)
Examples:
1 2 3
(1)(1)(2) + (2)(3)(3) + (3)(2)(1)
det 2 1 3 = =6
−(3)(1)(3) − (1)(3)(1) − (2)(2)(2)
3 1 2
1 −2 3
(1)(−1)(2) + (−2)(3)(3) + (3)(2)(−1)
det 2 −1 3 = = −6
−(3)(−1)(3) − (−1)(3)(1) − (2)(2)(−2)
3 −1 2
−3 1 2 3 1 2
n
X
det(A) = ai1 Ai1 + ai2 Ai2 + · · · + ain Ain = aik Aik (20)
k=1
n
X
det(A) = a1j A1j + a2j A2j + · · · + anj Anj = akj Akj (21)
k=1
The minors are all 1×1 matrices. As we have seen that the determinant of
a 1×1 matrix is just the number inside of it, the cofactors are therefore,
det(A) = a11 A11 + a21 A21 = a11 a22 − a21 a12 (22)
The determinant of A is
This is similar to the diagonal method for 3×3 matrix (Eq. 19, p. 22).
3 1 2
3 3 −3
The determinant of the matrix is thus using cofactor expansion along the
first row,
1 2 3
det 2 1 3 = (1)(−1) + (2)(5) + (3)(−1) = 6
3 1 2
Along the second row,
1 2 3
det 2 1 3 = (2)(−1) + (1)(−7) + (3)(5) = 6
3 1 2
3 1 2
3 1 2
3 1 2
3 1 2
Show:
1 0 3 0
2 1 4 −1
det = −13
3 2 4 0
0 3 −1 0
4. As a corollary to the third theorem, if A has a row (or column) that has
a common factor l, then this k may be factored out of the determinant
of A, where a simplified matrix B is formed. (i.e. |A| = k|B|).
Example:
2xy 2 3x 2x y 3x 2x y 3x 2x
2
4x y 6y 8y = 2xy 2x 6y 8y = 2xy(2) x 3y 4y
6xy 18 2xy 3 18 2xy 3 18 2xy
6. If two rows (or columns) of a matrix A = [aij ] are identical then |A| =
0.
Example:
2x
3x − y 5z xyz
2x
3x − y 5z xyz
2x − y 3x 2z x 2x − y 3x 2z x
= 3x =0
6x2 2 2
9x − 3xy 15xz 3x yz
2x
3x − y 5z xyz
4z 3y x − z xy 2 4z 3y x − z xy 2
2x −3 2 3 −4a 5
−4 6z −4 × a 6b 5 =2×3=6
6y 1 2xy 2a a + b 2b2
Step 1: Get the cofactors of all the elements in the original matrix.
Recall: the cofactor of an element aij can be denoted as Aij and is defined
by:
Step 2: Set up the adjoint matrix by taking the transpose of the matrix of
cofactors.
3 1 2
Solution: Recall the cofactor matrix has been determined previously which
is (see page 26)
−1 5 −1
−1 −7 5
3 3 −3
Hence, the adjoint of the matrix is
1 2 3 −1 −1 3
Adj 2 1 3 = 5 −7 3
3 1 2 −1 5 −3
Not all matrices has its inverse. However, if the inverse of a matrix exists,
it is unique. If the inverse of a matrix exists, we say that the matrix is in-
vertible or non-singular. Otherwise, we say that the matrix is non-invertible
or singular.
adjA
A−1 = (26)
|A|
Example:
" #−1 " #
4 7 1 6 −7
=
2 6 4 × 6 − 2 × 7 −2 4
" #
1 6 −7
=
10 −2 4
" #
0.6 −0.7
=
−0.2 0.4
Or (A−1 )A = In
" #" # " # " #
0.6 −0.7 4 7 2.4 − 1.4 4.2 − 4.2 1 0
= = = I2
−0.2 0.4 2 6 −0.8 + 0.8 −1.4 + 2.4 0 1
3 1 2
−1 5 −3
1 7 −7
Solution:
Using the diagonal method to solve for the determinant of A, |A|
1 1 1
|A| = 2 5 −2 = −35 − 2 + 14 − 5 + 14 + 14 = 0
1 7 −7
4 −2 3
Solution:
|A| = 6 − 12 − 2 − 8 + 6 + 3 = −7
−5 −2 3
The adjoint is
12 1 −5
adjA = [Aij ]−1 = 9 −1 −2
−10 −2 3
Consequently,
12 1 −5
adjA 1
A−1 = = 9 −1 −2
|A| −7
−10 −2 3
Why use inverse? Because with matrices we can’t divide. However we
can multiply by an inverse.
where aij are constant coefficients of the unknowns xi while the bi are
constants.
Referring to the matrix form, we can actually rewrite the system of equa-
tions as a compact matrix operation:
AX = B. (27)
AX = B
A−1 × AX = A−1 × B
(A−1 A) × X = A−1 × B
I × X = A−1 × B
X = A−1 B
NOTE: the derivation assumes that A−1 exists. If A−1 does not exist, we
can not find the solution to the system AX = B.
Solution:
In matrix form, the system of equations becomes,
1 −1 1 x1 1
1 2 3 x2 = 6
4 −2 3 x3 5
4 −2 3
12 1 −5
adjA 1
A−1 = = 9 −1 −2
|A| −7
−10 −2 3
Solving for X = A−1 B
12 1 −5 1 1
1
X= 9 −1 −2 6 = 1
−7
−10 −2 3 5 1
x3 1
You can check your solution,
Equation 1: 1 − 1 + 1 = 1 X
Equation 2: 1 + 2(1) + (3)1 = 6 X
Equation 3: 4(1) − 2(1) + 3(1) = 5 X
Recall that a system of equation with “n” equations in “n” unknowns can
be modeled as a matrix operation AX = B.
a11 a12 a13 · · · a1n x1 b1
a21 a22 a23 · · · a2n x2 b2
a31 a32 a33 · · · a3n
x3 = b 3
.. .. .. . . .
.. ..
. . . . .. ..
|Ai |
xi = (28)
|A|
1 2 −1 x3 3
Solution:
Compute for the determinant |A|,
1 2 1
|A| = 3 3 1 = −3 + 2 + 6 − 3 − 2 + 6 = 6
1 2 −1
3 2 −1
The determinant of A1 is
1 2 1
|A1 | = 2 3 1 = −3 + 6 + 4 − 9 + 4 − 2 = 0
3 2 −1
Solving for x1
|A1 | 0
x1 = = =0
|A| 6
Using the same procedure for solving x2 and x3 ,
1 1 1
A2 = 3 2 1
1 3 −1
The determinant of A2 is
1 1 1
|A2 | = 3 2 1 = −2 + 9 + 1 − 2 − 3 + 3 = 6
1 3 −1
Solving for x2
|A2 | 6
x2 = = =1
|A| 6
For x3 ,
1 2 1
A3 = 3 3 2
1 2 3
The determinant of A3 is
1 2 1
|A3 | = 3 3 2 = 9 + 4 + 6 − 3 − 4 − 18 = −6
1 2 3
Solving for x3
|A3 | −6
x3 = = = −1
|A| 6
Hence, the solution is
x1 0
x2 = 1
x3 −1
4.3 LU Factorization
Example: Let
1 0 −2 0
A = −3 1 6 −4
2 −8 2 2
Interchanging rows 1 and 3 of A (R1 ↔ R3 ), we obtain
2 −8 2 2
B = −3 1 6 −4
1 0 −2 0
1 −4 1 1
2 −8 2 2
In theory any square matrix A may be factored into a product of lower and
upper triangular matrices.
Notice that the diagonal elements of the upper triangular matrix have been
set to values of 1 for reason of simplicity. Also, LU Factorization is not
unique.
a12
a12 = l11 (u12 ) + 0(1) + 0(0) + 0(0) or u12 =
l11
a13
a13 = l11 (u13 ) + 0(u23 ) + 0(1) + 0(0) or u13 =
l11
a14
a14 = l11 (u14 ) + 0(u24 ) + 0(u34 ) + 0(1) or u14 =
l11
a22 = l21 (u12 ) + l22 (1) + 0(0) + 0(0) or l22 = a22 − l21 (u12 )
a32 = l31 (u12 ) + l32 (1) + l33 (0) + 0(0) or l32 = a32 − l31 (u12 )
a42 = l41 (u12 ) + l42 (1) + l43 (0) + l44 (0) or l42 = a42 − l41 (u12 )
a33 = l31 (u13 ) + l32 (u23 ) + l33 (1) + 0(0) or l33 = a33 − l31(u13 ) − l32 (u23 )
a43 = l41 (u13 ) + l42 (u23 ) + l43 (1) + l44 (0) or l43 = a43 − l41(u13 ) − l42 (u23 )
Two-stage solution:
1 2 1 x3 8
Solution: Let
−4 2 1
A = −3 5 −1
1 2 1
Transforming to L and U .
For U , use row operation to zero the elements below the diagonal,
−4 2 1 −4 2 1
0
−3 5 −1 R2 = R2 − ( 43 )R1 ⇒ 0 27 − 74
1 2 1 R03 = R3 − (− 14 )R1 0 52 45
−4 2 1 −4 2 1
0 27 − 74 ⇒ 0 27 − 47 = U
0 25 54 R03 = R3 − ( 57 )R2 0 0 52
To get L, let the diagonal elements be equal to 1 and the lower elements
equal to the multipliers used to get U
1 0 0
L = 43 1 0
− 14 5
7
1
− 14 5
7
1 0 0 52
x3 3
Alternative LU decomposition
−4 0 0 1 − 12 − 14
L = −3 27 0 U = 0 1 − 12
1 52 25 0 0 1
1 52 52 y3 8 y1 + 25 y2 + 52 y3 = 8 → y3 = 3
x3 3
Example:
1 −2 5 −2 1
If A = 7 1 −6 and B = 0 2
−3 −3 8 7 −4
1 −2 5 | −2 1
then [A : B] = 7 1 −6 | 0 2
−3 −3 8 | 7 −4
The augmented matrix associated to a system of linear equation AX =
is the matrix [A : B]. For example, we can now rewrite the system of
equation:
2 −1 3 x 1 2 −1 3 | 1
1 2 6 y = 1 as simply 1 2 6 | 1
−2 4 1 z 1 −2 4 1 | 1
1. All rows whose elements are all zeros, if exist, are at the bottom of
the matrix.
2. If at least one element on a row is not equal to zero, the first non-zero
element is 1, and this is called the leading entry of the row.
3. If two successive rows of the matrix have leading entries, the leading
entry of the row below the other row must appear to the right of the
leading entry of the other row.
4. If a column contains a leading entry of some row, then all the other
entries must be zero.
Examples:
The following matrices are not in row echelon form. Why not?
1 2 0 −1 3 2 1 0 0 0
1 2 2 −4
0 1 0 1 −3 5 0 1 2 0
0 1 6 −7
A=
0 0 0 1 9 2 B=
0 0 −1 0 C=
0 0 1 8
0 0 0 0 0 0 0 0 0 1
0 1 0 0
0 0 0 0 0 1 0 0 0 0
The following matrices are in row echelon form but not in reduced row
echelon form.
1 0 8 0
1 2 3 4
1 0 −5 6 2 0 1 0 −3
0 1 2 3
D= E = 0 1 0 0 −8 F = 0 0 1 0
0 0 1 2
0 0 1 0 0 0 0 0 0
0 0 0 1
0 0 0 0
The following matrices are in reduced row echelon form. Hence, in row
echelon form.
1 0 −3
1 0 0 0
0 1 0 0 2 0 1 0
0 1 0 0
G= H = 0 0 1 0 −3 J = 0 0 0
0 0 1 0
0 0 0 1 0 0 0 0
0 0 0 1
0 0 0
To reduce any matrix to row echelon form, apply the following steps:
2. If the 1st row has a zero in the column of step 1, interchange it with
one that has a non-zero entry in the same column.
4. Cover the top row and repeat the same process starting with step 1
applied to the leftover submatrix. Repeat this process with the rest of
the rows. For each row obtain leading entry 1 by dividing each row
by their corresponding leading entry.
x +2y +3z = 9
2x −y +z = 8
3x −z = 3
3 0 −1 | 3
0 0 1 | 3
z=3 −→ z = 3
y+z =2 −→ y = −1
x + 2y + 3z = 9 −→ x = 2
z 3
To reduce any matrix to reduced row echelon form, apply the following
steps (SINE):
1. Search – search the ith column of the augmented matrix from the
ith row to the nth row for the maximum pivot, i.e. element with the
largest absolute value.
4. Eliminate – eliminate the ith column from the first up to the nth equa-
tion, except in the ith equation itself using the transformations.
x + 2y + 3z = 9
2x − y + z = 8
3x − z =3
3 0 −1 | 3
0 0 1 | 3
z 3
The rank of a matrix A = [aij ] is the order of the largest square submatrix
of A with a non-zero determinant. We denote the rank of A by rank(A) or
simply r(A).
Example: What is the rank of A?
1 2 3 4
A = 2 1 4 3
3 0 5 −10
Solution:
Checking out first the determinants of 3×3 submatrices:
1 2 3 1 2 4 1 3 4 2 3 4
2 1 4 = 0 2 1 3 = 0 2 4 3 = 14 6= 0 1 4 3 = −60 6= 0
3 0 5 3 0 −10 3 5 −10 0 5 −10
C0 =
0
1 1 1 1 1 R3 = R3 − R2
1 1 1 1 1 R40 = R4 − R3
1 1 1 1 1 R50 = R5 − R4
We could easily see that all 5×5, 4×4 and 3×3 submatrices of C 0 have
determinants equal to zero (THEOREM: Identical rows). But for at least
one 2×2 submatrix of C 0 has a non-zero determinant.
1 2
= −1 6= 0
1 1
Recall that for the system of “m” linear equations in “n” unknowns AX = B.
We can associate the system of equation to the augmented matrix of the
system [A : B].
1 −1 1 | 1 0 0 1 | 3
2. If r(A) = r([A : B]) < n, then the solution to the system is non-
unique.
Example:
1 1 −1 | 0 1 0 0 | 1
2 −1 1 | 3 → 0 1 0 | −1
4 −2 2 | 6 0 0 0 | 0
3. If r(A) < r([A : B]), then the system has no solution or inconsistent.
Example:
2 −1 1 | 3 1 0 0 | 45
4 2 −2 | 2 → 0 1 0 | − 32
6 1 −1 | 6 0 0 0 | −3
1. a unique solution
2. a non-unique solution
3. no solution
2x − 3y + 3z = 2k
x − 2y + 4z = 5k
− y + 5z = 8k 2
0 −1 5 | 8k 2
0 −1 5 | 8k 2 0 −1 5 | 8k 2
1 −2 4 | 5k R30 = R3 + R2 1 −2 4 | 5k
0 1 −5 | −8k −→ 0 1 −5 | −8k
2
0 −1 5 | 8k 0 0 0 | 8k 2 − 8k
Therefore, we have the following conclusions:
8k 2 − 8k = 0 ⇒ k = 0, 1
3. For the system to be inconsistent, r(A) < r[A : B]. This will be
satisfied if r[A : B] = 3 > 2. This will happen when the last element
8k 2 − 8k 6= 0 ⇒ k 6= 0, 1
Example 2:
For what values of m will the system of equations have
1. a unique solution
2. a non-unique solution
3. no solution
a + b + c = 2
(m + 2)a + c = 0
2
a + b + m c = m+4
Solution: In augmented matrix form
1 1 1 | 2
m + 2 0 1 | 0
1 1 m2 | m + 4
0 0 m2 − 1 | m + 2
Therefore we have the following conclusions:
m2 − 1 = 0 and m + 2 = 0
There is no value of m that will satisfy both equation. The other value
of m to be checked is when m = −2. Substituting this to the system
gives the system:
1 1 1 | 2
0 0 1 | 0
0 0 3 | 0
Clearly, we could see that the resulting system gives a non-unique
solution because, r(A) = r[A : B] = 2 < 3. Thus, the system gives
non-unique solutions when m = −2.
m2 –1 = 0 and m + 2 6= 0.
5 Eigenvalues
5.1 Definitions
Let A be an n × n matrix,
5.2 Eigenspaces
Ax = λx (29)
Ax − λx = 0 (30)
Ax − λIn x = 0 (31)
(A − λIn )x = 0 (32)
The above observation is important because it says that finding the eigen-
vectors for a given eigenvalue means solving a homogeneous system of
equations. For instance, if
7 1 3
A = −3 2 −3
−3 −2 −1
−3 −2 −1 z z
This translates to the system of equations
7x + y + 3z = λx (7 − λ)x + y + 3z =0
−3 + 2y − 3z = λy =⇒ −3 + (2 − λ)y − 3z =0
−3 − 2y − z = λz −3 − 2y − (1 − λ)z = 0
−3 −2 −1 − λ z
i.e., (A − λI3 )x = 0
Solution:
" # " #!
5 2 λ 0
f (λ) = det(A − λIn ) = det −
2 1 0 λ
!
5−λ 2
= det
2 1−λ
= (5 − λ)(1 − λ) − (2)(2)
= λ2 − 6λ + 1
0 12 0
Solution:
0 6 8 λ 0 0
f (λ) = det(A − λIn ) = det 21 0 0 − 0 λ 0
0 12 0 0 0 λ
−λ 6 8
1
= det 2 −λ 0
1
0 2
−λ
= −λ3 + 0 + 8 21 12 − 0 − 0 − 6 12 (−λ)
= −λ2 + 3λ + 4
f (λ) = λ2 − 6λ + 1
√
The parametric form of the general solution is x = !
(1 + 2)y, so the (3 +
√
√ 1+ 2
2 2) -eigenspace is the line spanned by . We compute in the
1
√ !
√ 1− 2
same way that the (3−2 2)-eigenspace is the line spanned by .
1
0 0 6
(A − λ1 I3 )x = 0
For λ1 =1
1 2 3 1 0 0 0 2 3
A − λ1 I3 = 0 4 5 − (1) 0 1 0 = 0 3 5
0 0 6 0 0 1 0 0 5
0 0 5 | 0 0 0 0 | 0
x1 x1
x2 = 0
x3 0
x1
The general solution: X = 0
0
1
The solution set: x1 0
0
For λ2 =4
1 2 3 1 0 0 −3 2 3
A − λ2 I3 = 0 4 5 − (4) 0 1 0 = 0 0 5
0 0 6 0 0 1 0 0 2
0 0 2 | 0 0 0 0 | 0
2
x1 x
3 2
=
x2 x2
x3 0
2
x
3 2
The general solution: X = x2
2
3
The solution set: x2 1
0
For λ3 =6
1 2 3 1 0 0 −5 2 3
A − λ3 I3 = 0 4 5 − (6) 0 1 0 = 0 −2 5
0 0 6 0 0 1 0 0 0
0 0 0 | 0 0 0 0 | 0
8
x1 x
5 3
5
x2 = 2 x3
x3 x3
8
5
x 3
The general solution: X = 52 x3
x
3
8
5
5
The solution set: x3 2
1
6 Applications
Solution:
A(−1)2 + B(−1) + C = 9
A(1)2 + B(1) + C = 5
A(2)2 + B(2) + C = 12
In matrix form,
1 −1 1 A 9
1 1 1 B = 5
4 2 1 C 12
Augmented matrix form
1 −1 1 | 9
1 1 1 | 5
4 2 1 | 12
0 0 1 | 4
The solution is
A 3
B = −2
C 4
The parabolic equation is
y = 3x2 − 2x + 4
d 2 x1
m1 = −kx1 + k(x2 − x1 )
dt2
d 2 x2
m2 2 = −k(x2 − x1 )
dt
Rewriting the equations
d 2 x1
m1 + kx1 − k(x2 − x1 ) = 0
dt2
d2 x2
m2 2 + k(x2 − x1 ) = 0
dt
Let m1 = 10, m2 = 20, and k = 15, hence
d2 x1
10 + 15x1 − 15(x2 − x1 ) = 0
dt2
d2 x2
20 2 + 15(x2 − x1 ) = 0
dt
From vibration theory, the solutions can be of the form
xi = Ai sin(ωt − φ)
−10A1 ω 2 − 15(−2A1 + A2 ) = 0
−20A2 ω 2 − 15(A1 − A2 ) = 0
Rearranging
Simplifying
Then
[A][X] − λ[X] = 0
[A][X] = λ[X]
For the stress (strain) tensor, the eigenvalues represent principal stresses
(strains), and eigenvectors represent principal axes (i.e., faces with zero
shear stress (strain)).
The principal stresses are the eigenvalues (λi ) of the stress tensor and
can be solved by
det(σ − λI) = 0
" #
80 − λ 30
det =0
30 40 − λ
(80 − λ)(40 − λ) − 302 = 0
λ2 − 120λ + 2300 = 0
Hence,
" # " #
λ1 96.05
=
λ2 23.95
The principal directions are the eigenvectors and can be solved using
(σ − λi I)ni = 0
For λ1 = 96.05
" #" # " #
80 − 96.05 30 x1 0
=
30 40 − 96.05 y1 0
(80 − 96.05)x1 + 30 = 0
30
x1 =
16.05
" # " #
30
1 16.05 0.88
n1 = q =
30 2
( 16.05 ) + 12 1 0.47