Find the eigenvalues and eigenvectors of a matrix
2 0 1 0 2 0 1 0 2
Step 1: Find the characteristic equation.
Let A be the given matrix. The characteristic equation is |A - λI| = 0.
|A - λI| =
= 0
2-λ 0 1 0 2-λ 0 1 0 2-λ
Expanding along the second row (R2):
(2-λ) * [(2-λ)(2-λ) - (1)(1)] = 0
(2-λ) * [(2-λ)2 - 1] = 0
(2-λ) * [λ2 - 4λ + 4 - 1] = 0
(2-λ) * (λ2 - 4λ + 3) = 0
(2-λ) * (λ - 1) * (λ - 3) = 0
The eigenvalues (λ) are 1, 2, 3.
Step 2: Find the eigenvectors for each eigenvalue.
The eigenvector X = [x1, x2, x3]T is found by solving (A - λI)X = 0.
Case 1: λ = 1
(A - 1I)X = 0
1 0 1 0 1 0 1 0 1
=
x1 x2 x3
0 0 0
This gives the equations:
x1 + x3 = 0 → x1 = -x3
x2 = 0
Let x3 = k. Then x1 = -k, x2 = 0.
The eigenvector X1 is k * [-1, 0, 1]T.
Case 2: λ = 2
(A - 2I)X = 0
0 0 1 0 0 0 1 0 0
=
x1 x2 x3
0 0 0
This gives the equations:
x3 = 0
x1 = 0
x2 is a free variable. Let x2 = k.
The eigenvector X2 is k * [0, 1, 0]T.
Case 3: λ = 3
(A - 3I)X = 0
-1 0 1 0 -1 0 1 0 -1
=
x1 x2 x3
0 0 0
This gives the equations:
-x1 + x3 = 0 → x1 = x3
-x2 = 0 → x2 = 0
Let x3 = k. Then x1 = k, x2 = 0.
The eigenvector X3 is k * [1, 0, 1]T.
Using Cayley-Hamilton theorem, find A4 if
A =
1 2 3 2 -1 4 3 1 1
Step 1: Find the characteristic equation of A.
The characteristic equation is λ3 - S1λ2 + S2λ - S3 = 0.
Step 2: Apply the Cayley-Hamilton Theorem.
By the theorem, the matrix A satisfies its own characteristic equation:
A3 - A2 - 18A - 30I = 0
From this, we get: A3 = A2 + 18A + 30I.
Step 3: Express A4 in terms of lower powers.
Multiply the equation from Step 2 by A:
A4 = A(A3) = A(A2 + 18A + 30I)
A4 = A3 + 18A2 + 30A
Now, substitute the expression for A3 back into this equation:
A4 = (A2 + 18A + 30I) + 18A2 + 30A
A4 = 19A2 + 48A + 30I
Step 4: Calculate A2.
A2 = A × A =
1 2 3 2 -1 4 3 1 1
=
1 2 3 2 -1 4 3 1 1
=
1+4+9 2-2+3 3+8+3 2-2+12 4+1+4 6-4+4 3+2+3 6-1+1 9+4+1
14 3 14 12 9 6 8 6 14
Step 5: Calculate A4.
A4 = 19 *
+ 48 *
14 3 14 12 9 6 8 6 14
+ 30 *
1 2 3 2 -1 4 3 1 1
1 0 0 0 1 0 0 0 1
A4 =
+
266 57 266 228 171 114 152 114 266
+
48 96 144 96 -48 192 144 48 48
30 0 0 0 30 0 0 0 30
A4 =
266+48+30 57+96+0 266+144+0 228+96+0 171-48+30 114+192+0 152+144+0 114+48+0 266+48+30
| 344 | 153 | 410 |
| 324 | 153 | 306 |
| 296 | 162 | 344 |
Reduce the quadratic form 3x12 + 3x22 + 3x32 + 2x1x2 + 2x1x3 - 2x2x3 to canonical form through an orthogonal transformation. Also find its nature, index, signature.
Step 1: Write the matrix of the quadratic form.
The matrix A is constructed with diagonal elements as coefficients of squared terms and off-diagonal elements as half the coefficients of cross-product terms.
A =
3 1 1 1 3 -1 1 -1 3
Step 2: Find the eigenvalues of A.
The characteristic equation is λ3 - S1λ2 + S2λ - S3 = 0.
Step 3: Write the canonical form.
The canonical form is C = λ1y12 + λ2y22 + λ3y32.
Canonical Form: y12 + 4y22 + 4y32
Step 4: Determine nature, index, and signature.
Reduce the quadratic form 6x2 + 3y2 + 3z2 - 4xy - 2yz + 4xz into a canonical form through an orthogonal reduction.
Step 1: Write the matrix of the quadratic form.
A =
6 -2 2 -2 3 -1 2 -1 3
Step 2: Find the eigenvalues of A.
The characteristic equation is λ3 - S1λ2 + S2λ - S3 = 0.
Step 3: Write the canonical form.
The canonical form is C = λ1y12 + λ2y22 + λ3y32, where [x, y, z]T = NY and N is the normalized modal matrix.
Canonical Form: 2y12 + 2y22 + 8y32
Find the eigenvalues and eigenvectors of a matrix
2 2 0 2 1 1 -7 2 -3
Step 1: Find the characteristic equation.
Let A be the given matrix. The characteristic equation is λ3 - S1λ2 + S2λ - S3 = 0.
By inspection (testing factors of 12):
Step 2: Find the eigenvectors for each eigenvalue.
Solve (A - λI)X = 0.
Case 1: λ = 1
(A - 1I)X = 0
1 2 0 2 0 1 -7 2 -4
= 0x1 x2 x3
From R1: x1 + 2x2 = 0 → x1 = -2x2
From R2: 2x1 + x3 = 0 → x3 = -2x1 = -2(-2x2) = 4x2
Let x2 = k. Then x1 = -2k, x3 = 4k.
The eigenvector X1 is k * [-2, 1, 4]T.
Case 2: λ = 3
(A - 3I)X = 0
-1 2 0 2 -2 1 -7 2 -6
= 0x1 x2 x3
From R1: -x1 + 2x2 = 0 → x1 = 2x2
From R2: 2x1 - 2x2 + x3 = 0 → 2(2x2) - 2x2 + x3 = 0 → 4x2 - 2x2 + x3 = 0 → 2x2 + x3 = 0 → x3 = -2x2
Let x2 = k. Then x1 = 2k, x3 = -2k.
The eigenvector X2 is k * [2, 1, -2]T.
Case 3: λ = -4
(A - (-4)I)X = 0
6 2 0 2 5 1 -7 2 1
= 0x1 x2 x3
From R1: 6x1 + 2x2 = 0 → x2 = -3x1
From R2: 2x1 + 5x2 + x3 = 0 → 2x1 + 5(-3x1) + x3 = 0 → 2x1 - 15x1 + x3 = 0 → -13x1 + x3 = 0 → x3 = 13x1
Let x1 = k. Then x2 = -3k, x3 = 13k.
The eigenvector X3 is k * [1, -3, 13]T.
Using Cayley-Hamilton theorem find its inverse of the matrix
A =
1 2 3 2 4 5 3 5 6
Step 1: Find the characteristic equation of A.
The characteristic equation is λ3 - S1λ2 + S2λ - S3 = 0.
Step 2: Apply the Cayley-Hamilton Theorem.
A3 - 11A2 - 4A + 1I = 0
(Note: Since S3 = |A| = -1 ≠ 0, the inverse exists.)
Step 3: Find A-1.
Multiply the equation by A-1:
A-1(A3 - 11A2 - 4A + I) = A-1(0)
A2 - 11A - 4I + A-1 = 0
A-1 = -A2 + 11A + 4I
Step 4: Calculate A2.
A2 =
1 2 3 2 4 5 3 5 6
=
1 2 3 2 4 5 3 5 6
=
1+4+9 2+8+15 3+10+18 2+8+15 4+16+25 6+20+30 3+10+18 6+20+30 9+25+36
14 25 31 25 45 56 31 56 70
Step 5: Calculate A-1.
A-1 = -
+ 11 *
14 25 31 25 45 56 31 56 70
+ 4 *
1 2 3 2 4 5 3 5 6
1 0 0 0 1 0 0 0 1
A-1 =
+
-14 -25 -31 -25 -45 -56 -31 -56 -70
+
11 22 33 22 44 55 33 55 66
4 0 0 0 4 0 0 0 4
A-1 =
-14+11+4 -25+22+0 -31+33+0 -25+22+0 -45+44+4 -56+55+0 -31+33+0 -56+55+0 -70+66+4
| 1 | -3 | 2 |
| -3 | 3 | -1 |
| 2 | -1 | 0 |
Diagonalise the matrix A =
by Orthogonality transformation.
8 -6 2 -6 7 -4 2 -4 3
To diagonalize A, we find the diagonal matrix D = NTAN, where N is the normalized modal matrix (matrix of normalized eigenvectors).
Step 1: Find the eigenvalues of A.
λ3 - S1λ2 + S2λ - S3 = 0
Step 2: Find the eigenvectors.
Case 1: λ = 0
(A - 0I)X = 0
8 -6 2 -6 7 -4 2 -4 3
= 0x1 x2 x3
Using cross-multiplication on R1 and R2:
x1 / ((-6)(-4) - (2)(7)) = x2 / ((2)(-6) - (8)(-4)) = x3 / ((8)(7) - (-6)(-6))
x1 / (24 - 14) = x2 / (-12 + 32) = x3 / (56 - 36)
x1 / 10 = x2 / 20 = x3 / 20 → x1 / 1 = x2 / 2 = x3 / 2
X1 = [1, 2, 2]T.
Case 2: λ = 3
(A - 3I)X = 0
5 -6 2 -6 4 -4 2 -4 0
= 0x1 x2 x3
From R3: 2x1 - 4x2 = 0 → x1 = 2x2
From R1: 5x1 - 6x2 + 2x3 = 0 → 5(2x2) - 6x2 + 2x3 = 0 → 10x2 - 6x2 + 2x3 = 0 → 4x2 + 2x3 = 0 → x3 = -2x2
Let x2 = 1. X2 = [2, 1, -2]T.
Case 3: λ = 15
(A - 15I)X = 0
-7 -6 2 -6 -8 -4 2 -4 -12
= 0x1 x2 x3
Using R1 and a simplified R3 (x1 - 2x2 - 6x3 = 0):
x1 / ((-6)(-6) - (2)(-2)) = x2 / ((2)(1) - (-7)(-6)) = x3 / ((-7)(-2) - (-6)(1))
x1 / (36 + 4) = x2 / (2 - 42) = x3 / (14 + 6)
x1 / 40 = x2 / -40 = x3 / 20 → x1 / 2 = x2 / -2 = x3 / 1
X3 = [2, -2, 1]T.
Step 3: Normalize the eigenvectors.
Length of X1 = √(12 + 22 + 22) = √9 = 3.
Length of X2 = √(22 + 12 + (-2)2) = √9 = 3.
Length of X3 = √(22 + (-2)2 + 12) = √9 = 3.
The normalized modal matrix N is:
N =
= (1/3)
1/3 2/3 2/3 2/3 1/3 -2/3 2/3 -2/3 1/3
1 2 2 2 1 -2 2 -2 1
Step 4: Write the diagonalized matrix D.
The diagonalized matrix D is formed by the eigenvalues.
| 0 | 0 | 0 |
| 0 | 3 | 0 |
| 0 | 0 | 15 |
Reduce the quadratic form x12 + 2x22 + x32 - 2x1x2 + 2x2x3 to the canonical form through an orthogonal transformation and find its nature.
Step 1: Write the matrix of the quadratic form.
A =
1 -1 0 -1 2 1 0 1 1
Step 2: Find the eigenvalues of A.
λ3 - S1λ2 + S2λ - S3 = 0
Step 3: Write the canonical form.
The canonical form is C = λ1y12 + λ2y22 + λ3y32.
Canonical Form: 0y12 + 1y22 + 3y32 = y22 + 3y32
Step 4: Determine the nature.
Since the eigenvalues are 0, 1, 3 (all non-negative, with one being zero), the nature is positive semi-definite.
Nature: Positive Semi-definite
Obtain an orthogonal transformation which will transform the quadratic form Q = 2xy + 2yz + 2xz to canonical form.
This requires finding the normalized modal matrix N for the transformation X = NY.
Step 1: Write the matrix of the quadratic form.
A =
0 1 1 1 0 1 1 1 0
Step 2: Find the eigenvalues of A.
λ3 - S1λ2 + S2λ - S3 = 0
Step 3: Find the eigenvectors.
Case 1: λ = 2
(A - 2I)X = 0 →
-2 1 1 1 -2 1 1 1 -2
= 0x y z
Cross-multiplying R1 and R2: x / (1 - (-2)) = y / (1 - (-2)) = z / (4 - 1) → x/3 = y/3 = z/3.
X1 = [1, 1, 1]T.
Case 2: λ = -1 (repeated root)
(A - (-1)I)X = 0 →
1 1 1 1 1 1 1 1 1
= 0x y z
This gives one equation: x + y + z = 0.
We must find two orthogonal vectors (X2, X3) that satisfy this.
Let X2 be a simple vector satisfying this: Let y = -1, x = 1, then z = 0.
X2 = [1, -1, 0]T.
Now find X3 = [l, m, n]T such that it is orthogonal to both X1 and X2.
Step 4: Normalize the eigenvectors.
l(X1) = √(12+12+12) = √3.
l(X2) = √(12+(-1)2+02) = √2.
l(X3) = √(12+12+(-2)2) = √6.
Step 5: Write the transformation.
The transformation is X = NY, where N is the normalized modal matrix.
| x |
| y |
| z |
| 1/√3 | 1/√2 | 1/√6 |
| 1/√3 | -1/√2 | 1/√6 |
| 1/√3 | 0 | -2/√6 |
| y1 |
| y2 |
| y3 |
Diagonalise the symmetric matrix A =
by Orthogonality transformation.
2 0 4 0 6 0 4 0 2
Step 1: Find the eigenvalues of A.
The characteristic equation is |A - λI| = 0.
|A - λI| =
= 0
2-λ 0 4 0 6-λ 0 4 0 2-λ
Expanding along R2:
(6-λ) * [(2-λ)(2-λ) - (4)(4)] = 0
(6-λ) * [(2-λ)2 - 16] = 0
(6-λ) * [λ2 - 4λ + 4 - 16] = 0
(6-λ) * (λ2 - 4λ - 12) = 0
(6-λ) * (λ - 6) * (λ + 2) = 0
The eigenvalues (λ) are 6, 6, -2.
Step 2: Find the eigenvectors.
Case 1: λ = -2
(A - (-2)I)X = 0 →
4 0 4 0 8 0 4 0 4
= 0x1 x2 x3
From R1: 4x1 + 4x3 = 0 → x1 = -x3
From R2: 8x2 = 0 → x2 = 0
Let x3 = 1. X1 = [-1, 0, 1]T.
Case 2: λ = 6 (repeated root)
(A - 6I)X = 0 →
-4 0 4 0 0 0 4 0 -4
= 0x1 x2 x3
This gives one equation: -4x1 + 4x3 = 0 → x1 = x3.
x2 is a free variable.
We need two orthogonal vectors (X2, X3) satisfying x1 = x3.
Let X2 be a simple vector: Let x2 = 1, x1 = 0. Then x3 = 0.
X2 = [0, 1, 0]T.
Let X3 be another vector: Let x2 = 0, x1 = 1. Then x3 = 1.
X3 = [1, 0, 1]T.
Check for orthogonality: X2 · X3 = 0(1) + 1(0) + 0(1) = 0. They are orthogonal.
Step 3: Normalize the eigenvectors.
l(X1) = √((-1)2 + 02 + 12) = √2.
l(X2) = √(02 + 12 + 02) = √1 = 1.
l(X3) = √(12 + 02 + 12) = √2.
Step 4: Write the normalized modal matrix N and diagonal matrix D.
N =
-1/√2 0 1/√2 0 1 0 1/√2 0 1/√2
The diagonal matrix D is NTAN, which is simply the matrix of eigenvalues.
| -2 | 0 | 0 |
| 0 | 6 | 0 |
| 0 | 0 | 6 |