Module 2 Eigen Values and Eigen Vectors, Diagonalisation
Module 2 Eigen Values and Eigen Vectors, Diagonalisation
Module 2 Eigen Values and Eigen Vectors, Diagonalisation
Eigen values are the change in length of the Eigen vector from the
original length. Therefore, Eigen value is the factor by which the
Eigen vector is scaled when multiplied by a matrix.
Definition :
Let A be a square matrix then there exist a scalar λ and a nonzero
vector X such that 𝐴𝑋 = 𝜆𝑋 . Then λ is called characteristic value or
Eigen value of A and X is called characteristic vector or Eigen
vector.
1. Radio System
Frequencies are used in electrical
systems. When we tune our radio,
we change the resonant frequency
until it matches the frequency at
which the station is broadcasting.
Engineers use Eigen values when
they design the radio.
2. Car Design
Car Designers analyze Eigen
values in order to damp out the
noise so that occupant have a
quite ride. Eigen value analysis is
also used in the design of car
stereo system so that the sounds
are directed correctly for the
listening pleasure of the
passengers and driver
3. Beams and Bridges
Eigen values can be used to test for
cracks or deformities in a solid. When
a beam is struck, its natural
frequency (Eigen value) can be
heard. If the beam rings, then it is not
flawed. A dull sound will result from
a flawed beam, because the flawed
causes the Eigen values to change
The natural frequency of the bridge
is the eigenvalue of smallest
magnitude of a system that models
the bridge. The engineers exploit this
knowledge to ensure the stability of
their constructions.
How to Find Eigen Value :
Let X be an Eigen vector of matrix A. Then there must exist Eigen value
λ such that
𝐴𝑋 = 𝜆𝑋 (By definition)
⟹ 𝐴𝑋 − 𝜆𝑋 = 0
⟹ 𝐴 − 𝜆𝐼 𝑋 = 0
This is homogeneous system and has solution if 𝐴 − λ𝐼 = 0
∴ 𝐴 − λ𝐼 = 0 is called the characteristic equation of A.
The roots of characteristic equation gives the Eigen values of A.
Computational Approach :
We summarize the computational approach for determining
Eigen Pairs (λ, X) (Eigen values and Eigen vectors) as a two-step
procedure.
1. Word “Eigen value” derived from German word “Eigen wert” Eigen
means proper and wert means value therefore Eigen value is also
called as Proper value or Characteristic roots or Latent roots or
Pole.
2. The eigen values of a square matrix A are the roots of
corresponding characteristic equation 𝑎0 𝜆𝑛 + 𝑎1 𝜆𝑛−1 +⋯ + 𝑎𝑛 = 0
3. An 𝑛 × 𝑛 matrix has at least one eigen value and at most ‘n’
numerically different eigen values.
Properties of Eigen Values:
1. Eigenvalues and eigenvectors are only defined for square matrices
(i.e. Number of rows ‘m’ = Number of Columns ‘n’)
2. The sum of eigen values of a matrix is equal to the sum of the
principal diagonal elements.
i.e. 𝜆1 + 𝜆2 + ⋯ + 𝜆𝑛 = 𝑎11 + 𝑎22 + ⋯ + 𝑎𝑛𝑛 (Trace of matrix)
3. The eigen values of an upper or lower triangular or diagonal matrix
are the elements on its main diagonal.
4. The product of the eigen values of a matrix is equal to the determinant
of the matrix. i.e. 𝜆1 × 𝜆2 × ⋯ × 𝜆𝑛 = 𝐴 (Determinant of matrix)
Note: The inverse of matrix exist iff all eigen values are non-zero.
5. If 𝜆1 , 𝜆2 , … , 𝜆𝑛 are the eigen values of A then the eigen values of
1 1 1
𝐴−1 are , , …, .
𝜆1 𝜆 2 𝜆𝑛
𝑥 −𝑦 𝑧
= 𝑎 𝑐 = = 𝑘(𝑠𝑎𝑦)
𝑏1 𝑐1 1 1 𝑎1 𝑏1
𝑏2 𝑐2 𝑎2 𝑐2 𝑎2 𝑏2
Eigen Values and Eigen Vectors
corresponding to Non-
symmetric matrices
What is Non-Symmetric Matrix ?
Non-symmetric matrix is the matrix of the form A ≠ 𝐴𝑇 .
i.e. The matrix which is not a symmetric matrix is a non-symmetric
matrix .
e.g.
1 −2 3 2 4 −7
1 2 0 7
a) b) 4 3 −4 c) −4 0 10 d)
−2 0 −7 0
5 5 7 7 −10 3
Eigen Values and Eigen Vectors corresponding
to Non-Symmetric matrices:
There are two types for Eigen values and eigen vectors
corresponding to Non-Symmetric Matrices such as
a) Non Symmetric matrix with Non Repeated Eigen Values
b) Non Symmetric matrix with Repeated Eigen Values
Non Symmetric matrix with Non Repeated
Eigen Values :
Ex. Find all the Eigenvalues and Eigenvectors of the matrix
1 −1 4
3 2 −1
2 1 −1
Solution: Given,
1 −1 4
A = 3 2 −1
2 1 −1
Now we have to find Characteristic equation for A
𝜆3 − 𝑆1 𝜆2 + 𝑆2 𝜆 − 𝑆3 = 0
Where 𝑆1 = sum of main diagonal (i.e. Trace of a matrix) =1+2-1 = 2
𝑆2 = Sum of minor of main diagonal elements = 𝑚11 + 𝑚22 + 𝑚33
2 −1 1 4 1 −1
= + + = (-2+1) + (-1- 8) + (2+3) = -5
1 −1 2 −1 3 2
1 −1 4
𝑆3 = Det(A) = 𝐴 = 3 2 −1 = 1(-2+1) +1(-3+2)+4(3-4) =-6
2 1 −1
∴ The characteristic equation is given by
𝜆3 − 2𝜆2 − 5𝜆 + 6 = 0
To find the solution of characteristic equation we are going to use Synthetic
division method .
Here one root of the characteristic equation is 1 ( ∵ 13 − 2 1 2 −
5(1) + 6 = 0 )
1 1 -2 -5 6
0 1 -1 -6
1 -1 -6 0
Therefore the 𝜆 = 1 and other roots are given by 𝜆2 − 𝜆 − 6 = 0
∴ (𝜆+2)(𝜆-3) = 0 ⇒ 𝜆 = -2, 3
∴ The Eigen values are 1, -2, 3 (Here the A is non symmetric matrix and
eigen values are non repeated i.e. distinct)
Now we have to find the Eigen vectors:
(A - 𝜆I)X = 0
1 −1 4 1 0 0
3 2 −1 − 𝜆 0 1 0 X = 0
2 1 −1 0 0 1
1−𝜆 −1 4 𝑥1 0
3 2−𝜆 −1 𝑥2 = 0
2 1 −1 − 𝜆 𝑥3 0
(1− 𝜆)𝑥1 −𝑥2 + 4𝑥3 = 0
3𝑥1 + (2 − 𝜆)𝑥2 − 𝑥3 = 0 ……. (1)
2𝑥1 + 𝑥2 −(1 + 𝜆)𝑥3 = 0
Case 1: Put 𝜆 = 1 in equation (1) we get
−𝑥2 + 4𝑥3 = 0 …. (2)
3𝑥1 + 𝑥2 − 𝑥3 = 0 …. (3)
2𝑥1 + 𝑥2 − 2 𝑥3 = 0 …. (4)
After Solving these three equations (2), (3), (4) we get
−𝟏
∴ 𝐗𝟏 = 𝟒
𝟏
Case 2: Put 𝜆 = -2 in equation (1) we get
3𝑥1 − 𝑥2 + 4𝑥3 = 0 …. (5)
3𝑥1 + 4𝑥2 − 𝑥3 = 0 …. (6)
2𝑥1 + 𝑥2 + 𝑥3 = 0 …. (7)
After Solving these three equations (5), (6), (7) we get
−𝟏
∴ 𝐗𝟐 = 𝟏
𝟏
Case 3: Put 𝜆 = -2 in equation (1) we get
−2𝑥1 − 𝑥2 + 4𝑥3 = 0 …. (8)
3𝑥1 − 𝑥2 − 𝑥3 = 0 …. (9)
2𝑥1 + 𝑥2 − 4𝑥3 = 0 …. (10)
After Solving these three equations (5), (6), (7) we get
𝟏
∴ 𝐗𝟑 = 𝟐
𝟏
∴ The eigen values for A are 1, −2 and 3 and the respective eigen vectors are
−𝟏 −𝟏 𝟏
𝟒 , 𝟏 and 𝟐 .
𝟏 𝟏 𝟏
Non Symmetric matrix with Repeated Eigen
Values
Ex. Find all the Eigenvalues and Eigenvectors of the matrix
−2 2 −3
2 1 −6
−1 −2 0
Solution: Given,
−2 2 −3
A= 2 1 −6
−1 −2 0
Now we have to find Characteristic equation for A
𝜆3 − 𝑆1 𝜆2 + 𝑆2 𝜆 − 𝑆3 = 0
Where 𝑆1 = sum of main diagonal (i.e. Trace of a matrix) =-2+1+0 = -1
𝑆2 = Sum of minor of main diagonal elements = 𝑚11 + 𝑚22 + 𝑚33
1 −6 −2 −3 −2 2
= + + = (0-12) + (0-3) + (-2-4) = -21
−2 0 −1 0 2 1
−2 2 −3
𝑆3 = Det(A) = 𝐴 = 2 1 −6 = 45
−1 −2 0
∴ The characteristic equation is given by
𝜆3 + 𝜆2 − 21𝜆 − 45 = 0
To find the solution of characteristic equation we are going to use
Synthetic division method .
Here one root of the characteristic equation is -3 ( ∵ (−3)3 +32 −
21(3) − 45 = 0)
-3 1 1 -21 -45
0 -3 6 45
1 -2 -15 0
Therefore the 𝜆 = -3 and other roots are given by 𝜆2 − 2𝜆 − 15 = 0
∴ (𝜆 − 5)(𝜆 + 3) = 0 ⇒ 𝜆 = 5, -3
∴ The Eigen values are 5, -3, -3 (Here the A is non symmetric matrix and
eigen value -3 is repeated )
Now we have to find the Eigen vectors:
(A - 𝜆I)X = 0
−2 2 −3 1 0 0
2 1 −6 − 𝜆 0 1 0 X=0
−1 −2 0 0 0 1
−2− 𝜆 2 −3 𝑥1 0
2 1− 𝜆 −6 𝑥2 = 0
−1 −2 −𝜆 𝑥3 0
For example:
5 3 7
3 26 2 is a symmetric matrix because
7 2 10
5 3 7
𝐴 = 𝐴𝑇 = 3 26 2
7 2 10
Q. Find the eigen values and eigen vectors of the following matrix.
1 2
2 1
Verify that eigenvectors corresponding to distinct eigenvalues for this matrix
are orthogonal.
Ans.
Step 1: Write characteristic equation |A − 𝜆𝑥| = 0 and find 𝜆
1−𝜆 2
=0
2 1−𝜆
𝜆2 − 2𝜆 − 3 = 0
⇒ 𝜆 = −1,3
Step 2: Find eigen vectors for each eigen value by using 𝐴 − 𝜆𝐼 𝑥 = 0
For 𝜆 = −1,
2 2 𝑥 0
𝑦 =
2 2 0
We can solve the above equation by using augmented form
2 2 : 0
2 2 : 0
Doing row operation 𝑅2 → 𝑅2 − 𝑅1
2 2 : 0
0 0 : 0
Solving the above system we get eigen vector:
−1
1
For 𝜆 = 3,
−2 2 𝑥 0
𝑦 =
2 −2 0
We can solve the above equation by using augmented form
−2 2 : 0
2 −2 : 0
Doing row operation 𝑅2 → 𝑅2 + 𝑅1
−2 2 : 0
0 0 : 0
Solving the above system we get eigen vector:
1
1
Thus, we can verify that both eigen vectors are orthogonal to each other.
−1 T 1
Since, =0
1 1
Example: Eigen values are repeated
Que. Find the eigen values and eigen vectors of the following matrix.
1 2 3
2 4 6
3 6 9
Verify that eigenvectors corresponding to distinct eigenvalues for this matrix
are orthogonal.
Ans.
Step 1: Write characteristic equation |A − 𝜆𝑥| = 0 and find 𝜆
1−𝜆 2 3
2 4−𝜆 6 =0
3 6 9−𝜆
−𝜆3 + 14𝜆2 = 0
⇒ 𝜆 = 0,0,14
Step 2: Find eigen vectors for each eigen value by using 𝐴 − 𝜆𝐼 𝑥 = 0
For 𝜆 = 0,
1 2 3 𝑥 0
2 4 6 𝑦 = 0
3 6 9 𝑧 0
We can solve the above equation by using augmented form
1 2 3 : 0
2 4 6 : 0
3 6 9 : 0
Doing row operation 𝑅2 → 𝑅2 − 2𝑅1 , 𝑅3 → 𝑅3 − 3𝑅1
1 2 3 : 0
0 0 0 : 0
0 0 0 : 0
Solving the above system we get eigen vectors:
−3 −2
0 , 1
1 0
For 𝜆 = 14,
−13 2 3 𝑥 0
2 −10 6 𝑦 = 0
3 6 −5 𝑧 0
We can solve the above equation by using augmented form
−13 2 3 : 0
2 −10 6 : 0
3 6 −5 : 0
−𝑅1
Doing row operation 𝑅1 →
13
2 3
1 − − : 0
13 13
2 −10 6 : 0
3 6 −5 : 0
Doing row operation 𝑅2 → 𝑅2 − 2𝑅1 , 𝑅3 → 𝑅3 − 3𝑅1
2 3
1 − − : 0
13 13
126 84
0 − : 0
13 13
84 56
0 − : 0
13 13
−13𝑅2 13𝑅3
Doing row operation 𝑅2 → , 𝑅3 →
126 4
2 3
1 − − : 0
13 13
2
0 1 − : 0
3
0 21 14 : 0
Doing row operation 𝑅3 → 𝑅3 − 21𝑅2
2 3
1 − − : 0
13 13
2
0 1 − : 0
3
0 0 0 : 0
Solving the above system we get eigen vector:
1
2
3
−3 −2
Thus, eigen vectors corresponding to 𝜆 = 0 are 0 , 1 and
1 0
1
corresponding to 𝜆 = 14 is 2 .
3
−3 T 1 −2 T 1
We can verify that 0 2 = 0 and 1 2 = 0.
1 3 0 3
Thus, for this example eigenvectors corresponding to distinct eigenvalues
are orthogonal.
Exercise Questions:
1. Find the eigen values and eigen vectors of the following matrix.
8 −6 2
−6 7 −4
2 −4 3
Verify that eigenvectors corresponding to distinct eigenvalues for this matrix
are orthogonal.
2. Find the eigen values and eigen vectors of the following matrix.
2 0 1
0 2 0
1 0 2
Verify that eigenvectors corresponding to distinct eigenvalues for this matrix
are orthogonal.
Exercise Questions:
3. Find the eigen values and eigen vectors of the following matrix.
6 −2 2
−2 3 −1
2 −1 3
Verify that eigenvectors corresponding to distinct eigenvalues for this matrix
are orthogonal.
4. Find the eigen values and eigen vectors of the following matrix.
2 1 −1
1 1 −2
−1 −2 1
Verify that eigenvectors corresponding to distinct eigenvalues for this matrix
are orthogonal.
Answers:
1. 0,3,5; (1,2,2),(2,1,-2),(2,-2,1)
2. 1,2,3; (1,0,-1),(0,1,0),(1,0,1)
3. 8,2,2; (2,-1,1),(1,0,-2),(1,2,0)
4. 2,3,-1; (3,1,1),(-4,1,-3),(0,5,5)
Applications of eigen values and eigen vectors
Eigenvalues and eigenvectors have significant applications in various
branches of engineering, such as:
1. Mechanical Engineering:
- In mechanical systems, eigenvalues correspond to the system's natural
frequencies.
- Eigenvalue analysis is used in vibration analysis to avoid resonance, which
can lead to failure.
2. Control Systems:
- In control systems, eigenvalues determine the stability of the system.
- They are used to analyze the system’s dynamic behavior by examining the
eigenvalues of the system's state matrix.
3. Signal Processing:
- In signal processing, eigenvalue decomposition is used in data
compression and noise reduction, such as in principal component analysis
(PCA).
Theorem:
Let 𝐴 be an 𝑛 × 𝑛 matrix.
i. 𝐴 is diagonalizable if and only if 𝐴 has 𝑛 linearly independent
eigenvectors 𝑋1 , 𝑋2 , ⋯ , 𝑋𝑛 such that the matrix 𝑃 = [𝑋1 , 𝑋2 , ⋯ , 𝑋𝑛 ] is
invertible.
ii. If 𝐴 is diagonalizable, 𝑃−1 𝐴𝑃 = 𝑑𝑖𝑎𝑔(𝜆1 , 𝜆2 , … , 𝜆𝑛 ) where, for each 𝑖,
𝜆𝑖 is the eigenvalue of A corresponding to 𝑋𝑖 .
Modal Matrix & Spectral Matrix
Remarks:
i. The matrix 𝑃 which diagonalizes 𝐴 constitutes the eigenvector of 𝐴
as its column entries.
ii. The diagonal matrix 𝐷 has the eigenvalues of 𝐴 as its diagonal
entries
iii. An 𝑛 × 𝑛 matrix with 𝑛 distinct eigenvalues is diagonalizable
Multiplicity of an Eigenvalue.
Multiplicity of an eigenvalue:
An eigenvalue λ of a square matrix 𝐴 is said to have multiplicity 𝑚 if
it occurs 𝑚 times as a root of the characteristic equation.
By 𝑅1 : 𝑥1 − 𝑥2 + 𝑥3 = 0 and by 𝑅2 : 2𝑥2 = 0 ⇒ 𝑥2 = 0
Thus 𝑥1 − 𝑥2 + 𝑥3 = 0 ⇒ 𝑡 − 0 + 𝑥3 = 0 ⇒ 𝑥3 = −𝑡
1
∴ Eigenvector corresponding to 𝜆1 = 2 is 𝑋1 = 0 (with 𝑡 = 1)
−1
𝑥1
Let 𝑋2 = 𝑥2 be an eigenvector corresponding to eigenvalue 𝜆2 = 3, then
𝑥3
0 −1 1 𝑥1 0
−1 2 −1 𝑥2 = 0
1 −1 0 𝑥3 0
0 −1 1 𝑅13 1 −1 1
Consider −1 2 −1 −1 2 −1
1 −1 0 0 −1 1
𝑅2 +𝑅1 1 −1 0 𝑅3+𝑅2 1 −1 0
0 1 −1 0 1 −1
0 −1 1 0 0 0
𝜌 𝐴 − 3𝐼 = 2 < 3, thus the system have infinite number of solutions with
3 − 2 = 1 free variable 𝑡. (Let 𝑥1 = 𝑡 be the free variable)
By 𝑅1 : 𝑥1 − 𝑥2 = 0 and by 𝑅2 : 𝑥2 − 𝑥3 = 0
⇒ x1 = x2 = 𝑥3 = 𝑡
1
∴ Eigenvector corresponding to 𝜆2 = 3 is 𝑋2 = 1 (with 𝑡 = 1)
1
𝑥1
Let 𝑋3 = 𝑥2 be an eigenvector corresponding to eigenvalue 𝜆3 = 6, then
𝑥3
−3 −1 1 𝑥1 0
−1 −1 −1 𝑥2 = 0
1 −1 −3 𝑥3 0
−3 −1 1 𝑅13 1 −1 −3
Consider −1 −1 −1 −1 −1 −1
1 −1 −3 −3 −1 1
𝑅2 +𝑅1
𝑅3 +3𝑅1
1 −1 −3 𝑅3 −2𝑅2 1 −1 −3 −
𝑅2 1 −1 −3
2
0 −2 −4 0 −2 −4 0 1 2
0 −4 −8 0 0 0 0 0 0
𝜌 𝐴 − 6𝐼 = 2 < 3, thus the system have infinite number of solutions with
3 − 2 = 1 free variable 𝑡. (Let 𝑥3 = 𝑡 be the free variable)
By 𝑅1 : 𝑥1 + 𝑥2 = 0 ⇒ 𝑥1 = −𝑠
−𝑠 −1 0
Eigenvector corresponding to 𝜆1 = 5 is 𝑋 = 𝑠 = 𝑠 1 + 𝑡 0
𝑡 0 1
−1 0
∴ Eigenvectors corresponding to 𝜆 = 5 are 𝑋1 = 1 and 𝑋2 = 0
0 1
𝑥1
Let 𝑋3 = 𝑥2 be an eigenvector corresponding to eigenvalue 𝜆 = 1
𝑥3
Since 𝐴 is symmetric, its eigenvectors are pairwise orthogonal
∴ 𝑋1𝑇 𝑋3 = 0 ⇒ −𝑥1 +𝑥2 = 0 ⇒ 𝑥1 = 𝑥2 and 𝑋2𝑇 𝑋3 = 0 ⇒ 𝑥3 = 0
1
∴ Eigenvector corresponding to 𝜆2 = 1 is 𝑋3 = 1
0
−1 0 1
Thus Modal Matrix 𝑃 = 𝑋1 , 𝑋2 , 𝑋3 = 1 0 1 which is invertible.
0 1 0
1 1
− 0 5 0 0
2 2
𝑃−1 = 0 0 1 and 𝑃−1 𝐴𝑃 = 0 5 0 =𝐷
1 1
0 0 0 1
2 2
Example
1 1
(Example 3) Show that 𝐴 = is not diagonalizable.
0 1
Solution:
The characteristic equation of 𝐴 is given by: 1 − 𝜆 2
𝐴2024
=
1 −1 −1 2024 0 1 1
0 1 0 1 0 1
1 0
𝐴2024 = =𝐼
0 1
Exercises
2 1 1
Is 𝐴 = 1 2 1 diagonalizable?
0 −1 1
Check if the following matrices are diagonalizable and if so, diagonalize it.
1 0 −1 1 −3 3 2 1 1
i) 0 1 0 ii) 0 −5 6 iii) 1 2 1
0 0 2 0 −3 4 0 −1 1
Find the modal matrix which diagonalizes the matrix 𝐴 and hence find 𝐴8
1 6 1
where 𝐴 = 1 2 0
0 0 3
Reduction of Quadratic form to
Canonical form by Linear Transformation
Quadratic form
𝑄(𝑥) = 𝑋 ′ 𝐴X
= 𝑄(𝑥)
Remarks :
1
1. In matrix 𝐴, 𝑎𝑖𝑗 = 𝑎𝑗𝑖 = coefficient of 𝑥𝑖 𝑥𝑗
2
3. Rank of symmetric matrix 𝐴 is called rank of the quadratic form 𝑄(𝑥). The
number of non-zero eigen values of 𝐴 also gives the rank of the quadratic
form 𝑄(𝑥).
Qn. Write the following quadratic form in matrix notation.
1 3 1 𝑥1
Ans : 𝑄(𝑥) = 𝑋 ′ 𝐴𝑋 = 𝑥1 𝑥2 𝑥3 3 2 −2 𝑥2
1 −2 3 𝑥3
Qn. Write quadratic form corresponding to the given matrix .
1 3 2
𝐴= 3 0 4
2 4 2
Note :
1. Here 𝐵 = 𝑃’𝐴𝑃 is the matrix of the transformed quadratic form 𝑄’(𝑥).
Reduction of quadratic form to canonical form
If the quadratic form 𝑄(𝑋) = 𝑋’𝐴𝑋 is reduced to the another quadratic
form 𝑄’(𝑋) = 𝑌’𝐵𝑌 by non-singular transformation 𝑋 = 𝑃𝑌, then reduced
quadratic form is called Canonical form or the sum of squares form or
principal axes form.
The difference between the positive terms (𝑝) and negative terms
(𝑟 − 𝑝) is known as the signature of the quadratic form and is
denoted by 𝑠 .
Thus signature 𝑠 = 𝑝 − (𝑟 − 𝑝) = 2𝑝 − 𝑟.
Definite and semi-definite Forms :
6 −2 2 𝑥1
Q(x) = 𝑋 ′ 𝐴X= 𝑥1 𝑥2 𝑥3 −2 3 −1 𝑥2
2 −1 3 𝑥3
The matrix of the quadratic form is
6 −2 2
A = −2 3 −1
2 −1 3
To reduce the given quadratic form to sum of squares
𝑄’(𝑥) = 𝑌’𝐵𝑌 and to find matrix 𝑃 of the linear transformation 𝑋 = 𝑃𝑌 ,
we write 𝐴 = 𝐼𝐴.
6 −2 2 1 0 0
−2 3 −1 = 0 1 0 𝐴
2 −1 3 0 0 1
1 −2
1
3 7
𝑃 = (𝑃’)’ = 0 1
1
7
0 0 1
Reduce the following quadratic forms to canonical form and find its rank
and signature.
= 𝑌 ′ 𝑃′ 𝐴 𝑃𝑌
= 𝑌 ′ (𝑃′ 𝐴𝑃) 𝑌
= 𝑌 ′ (𝑃−1 𝐴𝑃) 𝑌
= 𝑌 ′ BY
= 𝑄 ′ (x)
Remark-
Since we know that orthogonal matrix p diagonalizes
matrix A enters on the main diagonal. Thus 𝑃−1 𝐴𝑃 =
𝐵=diagonal matrix. Hence the quadratic form 𝑄 𝑥 is reduced
to canonical form or “sum of the square form”.
𝑛
𝑄 ′ 𝑥 = 𝑌 ′ 𝐵𝑌 = 𝜆𝑖 𝑦𝑖 2
𝑖=1
Note-
If [𝑙1 𝑚1 𝑛1 ]′ , [𝑙2 𝑚2 𝑛2 ]′ , [𝑙3 𝑚3 𝑛3 ]′ are normalized
eigen vectors corresponding to eigen values 𝜆1 , 𝜆2 , 𝜆3 respectively,
then orthogonal transformation matrix (modal matrix) P of X=PY
for quadratic form 𝑄 𝑥 = 𝑋 ′ 𝐴𝑋 is given by
𝑙1 𝑙2 𝑙3
𝑃 = 𝑚1 𝑚2 𝑚3
𝑛1 𝑛2 𝑛3
and diagonal matrix
𝜆1 0 0
B = 0 𝜆2 0
0 0 𝜆3
Examples-
1) Reduce the quadratic form to canonical form by
orthogonal transformation. State the transformation matrix.
3𝑥 2 + 5𝑦 2 + 3𝑧 2 − 2𝑥𝑦 + 2𝑥𝑧 − 2𝑦𝑧
𝑄 𝑥 = 𝑋 ′ 𝐴𝑋
1 −1 −3 𝑥3 0
0 −2 −4 𝑦3 = 0
0 −4 −8 𝑧3 0
Perform 𝑅3 → 𝑅3 − 2𝑅2
1 −1 −3 𝑥3 0
0 −2 −4 𝑦3 = 0
0 0 0 𝑧3 0
By Back substitution method
𝑦3 = −2𝑧3 = 𝑡
−𝑡
𝑧3 =
2
𝑥3 − 𝑦3 − 3𝑧3 = 0
3
𝑥3 − 𝑡 + 𝑡 = 0
2
𝑡
𝑥3 = −
2
𝑥3 1
∴ 𝑋3 = 𝑦3 = −2
𝑧3 1
i) For 𝜆1 = 1,
from matrix equation 𝐴 − 𝜆1 𝐼 𝑋1 = 0
1
𝑋1 = 0
0
ii) For 𝜆2 = 2,
from matrix equation 𝐴 − 𝜆2 𝐼 𝑋2 = 0
0
𝑋2 = 1
1
iii) For 𝜆3 = 4,
from matrix equation 𝐴 − 𝜆3 𝐼 𝑋3 = 0
0
𝑋3 = 1
−1
1 0 0
The modal matrix M is M= 0 1 1
0 1 −1
And the diagonal matrix
1 0 0
B= 0 2 0
0 0 4
Normalizing the column of matrix M of unit magnitude, we get the
orthogonal transformation matrix as
The orthogonal transformation 𝑋 = 𝑃𝑌 is
1 0 0
𝑥1 1 1 𝑦1
0
𝑥2 = 2 2 𝑦2
𝑥3 1 1 𝑦3
0 −
2 2
The canonical form of the quadratic form Q(x) by orthogonal
transformation 𝑋 = 𝑃𝑌 is 1 0 0 𝑦1
𝑄 ′ 𝑥 = 𝑌 ′ 𝐵𝑌 = 𝑦1 𝑦2 𝑦3 0 2 0 𝑦2
0 0 4 𝑦2
Here index 𝑝 = 3,
signature(s)=2𝑝 − 𝑟 = 3
and the quadratic form is positive definite because 𝑟 = 𝑛 = 𝑝 = 3.
3) Reduce the following quadratic forms to canonical form and find
its rank and signature.
i) 2𝑥 2 + 𝑦 2 − 3𝑧 2 + 12𝑥𝑦 − 4𝑥𝑧 − 8𝑦𝑧
17 6 7
− −
5 30 5 5 5 6
10 5 10
The normalized eigenvectors are 𝑣1 = 5 30
, 𝑣2 = − , 𝑣3 = 5 6
5 5
19 8 1
5 30 5 5 5 6
17 6 7
− −
5 30 5 5 5 6
10 5 10
Thus 𝑉 = 𝑣1 𝑣2 𝑣3 = 5 30
−
5 5 5 6
and
19 8 1
5 30 5 5 5 6
17 10 19
5 30 5 30 5 30
6 5 8
𝑉𝑇 = −
5 5
−
5 5 5 5
7 10 1
−
5 6 5 6 5 6
Σ= 30 0 0
0 5 0
Note that Σ has the same dimension as our original matrix A.
Form the matrix 𝑈 :
Form the matrix 𝑈 by considering the modified form 𝐴 = 𝑈Σ𝑉 𝑇 , and
isolating each column of 𝑈. Because of the diagonal nature of Σ, this results
1
in 𝑢𝑖 = 𝐴𝑣𝑖 for each non-zero 𝜎𝑖 .
𝜎𝑖
17
5 30 3
1 1 3 2 1 10 5
𝑢1 = 𝐴𝑣1 = = 4 and
𝜎1 30 2 1 4 5 30
19 5
5 30
6
− 4
5 5
1 1 3 2 1 5 −
5
𝑢2 = 𝐴𝑣2 = − = 3
𝜎2 5 2 1 4 5 5
8 5
5 5
3 4
−
5 5
Thus U = 𝑢1 𝑢2 = 4 3
5 5
Note that the columns of 𝑈 are orthonormal.
1 1
2 2
Thus U = 𝑢1 𝑢2 = 1 1
−
2 2
Form the matrix Σ :
To determine the matrix Σ, list the nonzero singular values, 𝜎𝑖 , in
decreasing magnitude down the main diagonal of Σ, where 𝜎𝑖 = 𝜆𝑖 .
(Add zero rows and columns if needed to retain the original dimension of
𝐴 in Σ)
5 0 0
Σ=
0 3 0
Form 𝐴𝑇 𝐴:
3 2 13 12 2
𝑇 3 2 2
𝐴 𝐴= 2 3 = 12 13 −2
2 3 −2
2 −2 2 −2 8
Note: If two eigenvectors are known, the third eigenvector can also
be found using orthogonality property.
Application to Image Processing :