Lecture-4 Reduction of Quadratic Form
Lecture-4 Reduction of Quadratic Form
Quadratic Form
To
Canonical Form
1
Quadratic Form
2
In Matrix Notation
𝑎 ℎ 𝑥
𝑄 𝑥, 𝑦, 𝑧. = 𝑋 𝑇 𝐴𝑋
= 𝑥 𝑦
ℎ 𝑏 𝑦
Here A is known as matrix of quadratic form
3
In three variables
In matrix notation
𝑎 ℎ 𝑔 𝑥
𝑄 𝑥, 𝑦, 𝑧 = 𝑋 𝑇 𝐴𝑋= 𝑥 𝑦 𝑧 ℎ 𝑏 𝑓 𝑦
𝑔 𝑓 𝑐 𝑧
4
To write matrix of quadratic form in three variables
1 1
𝑐𝑜𝑒𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑡(𝑥 2 ) 2
𝑐𝑜𝑒𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑡(𝑥𝑦) 2
𝑐𝑜𝑒𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑡(𝑥𝑧)
1 1
A= 2 𝑐𝑜𝑒𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑡(𝑥𝑦) 𝑐𝑜𝑒𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑡(𝑦 2 ) 𝑐𝑜𝑒𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑡(𝑦𝑧)
2
1 1
𝑐𝑜𝑒𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑡(𝑥𝑧) 𝑐𝑜𝑒𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑡(𝑦𝑧) 𝑐𝑜𝑒𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑡(𝑧 2 )
2 2
5
Ex. Obtain the matrix of the Quadratic form
Q= 𝑥 2 + 2 𝑦 2 − 7𝑧 2 − 4𝑥𝑦+8𝑥𝑧 + 5𝑦𝑧
6
Ex. Obtain the matrix of the Quadratic form
Q= 2𝑥 2 + 3 𝑦 2 + 𝑧 2 − 3𝑥𝑦+2𝑥𝑧 + 4𝑦𝑧
3
𝑎 ℎ 𝑔 2 − 1
2
Ans. 𝐴= ℎ 𝑏 𝑓 = 3
𝑔 𝑓 𝑐 − 3 2
2
1 2 1
7
EX. Write down the quadratic form corresponding to the
matrix
1 2 5
𝐴= 2 0 3
5 3 4 𝐴=
𝑥
𝑆𝑜𝑙. Quadratic form 𝑖𝑠 𝑋 𝑇 𝐴𝑋 𝑤ℎ𝑒𝑟𝑒 𝑋 = 𝑦
𝑧
1 2 5 𝑥
𝑋 𝑇 𝐴𝑋 = 𝑥 𝑦 𝑧 2 0 3 𝑦
5 3 4 𝑧
8
EX. Write down the quadratic form corresponding to the matrix
3 2 4
𝐴= 2 0 4
4 4 3
𝑥
Sol. Quadratic form = 𝑋 𝑇 𝐴𝑋 𝑤ℎ𝑒𝑟𝑒 X = 𝑦
𝑧
3 2 4 𝑥
𝑋 𝑇 𝐴𝑋 = 𝑥 𝑦 𝑧 2 0 4 𝑦
4 4 3 𝑧
9
CANONICAL FORM OR
SUM OF SQUARE FORM
10
Working Method
11
4. Form a modal matrix B of normalized eigen
vector
i.e. B = 𝑋1 𝑋2 𝑋3
𝑥1
𝑥1 2 + 𝑥2 2 + 𝑥3 2
𝑥1 𝑥2
If X1 = 𝑥2 then 𝑋1 =
𝑥3 𝑥1 2 + 𝑥2 2 + 𝑥3 2
𝑥3
𝑥1 2 + 𝑥2 2 + 𝑥3 2
Similarly for 𝑋2 and 𝑋3
12
5. Here B matrix is an orthogonal matrix
∴ 𝐵𝐵𝑇 = 𝐼
∵ 𝐵𝑇 =𝐵 −1
Find 𝐵 −1 𝐴𝐵
𝐵−1 𝐴𝐵= 𝐷 (diagonal matrix whose diagonal elements are
eigen values of the matrix A)
The required canonical form is
𝜆1 0 0 𝑦1
𝑌 𝑇 (𝐵 −1 𝐴𝐵) 𝑌= 𝑌 𝑇 𝐷 𝑌= 𝑦1𝑋 𝑦2 𝑦3 0 𝜆2 0 𝑦2
0 0 𝜆3 𝑦3
i.e. 𝜆1 𝑦1 2 + 𝜆2 𝑦2 2 + 𝜆3 𝑦3 2 is the required canonical form and
𝑋=𝐵𝑌 is required orthogonal transformation .
13
Ex. Reduce the quadratic form
Q(𝑥, 𝑦, 𝑧)=𝑥12 + 3𝑥22 + 3𝑥32 − 2𝑥2 𝑥3 into canonical
form using orthogonal transformation.
Sol. Write the coefficient matrix of given quadratic
form
1 0 0
𝐴 = 0 3 −1
0 −1 3
14
Eigen Vectors for 𝜆 = 1
𝐴 − 𝜆1 𝐼 𝑋1 = 𝟎 𝑜𝑟 𝐴 − 𝐼 𝑋1 = 𝟎
0 0 0 𝑥1 0
or 0 2 −1 𝑥2 = 0
0 −1 2 𝑥3 0
0 0 0 𝑥1 0
or 0 2 −1 𝑥2 = 0 Applying 𝑅3 → 𝑅3 + 1 𝑅2
3 2
0 0 𝑥3 0
2
2𝑥2 − 𝑥3 = 0. . . . . . . (1)
𝑥3 = 0. . . . . . . . . . . . . (2)
Here no. of equations (m) are 2 and no. of
variables (n) are 3
n−m = 3−2 = 1 variable is independent.
Let 𝑥1 = k
𝑥3 = 0; 𝑥2 = 0
𝑥1 = 𝑘
15
𝑥1 𝑘
𝑋1 = 𝑥2 = 0
𝑥3 0
If 𝑘 = 1 𝑡ℎ𝑒𝑛 𝑋1
1
= 0 is the eigen vector
0
corresponding to 𝜆 = 1
16
Eigen vector for 𝜆 = 2
𝐴 − 𝜆2 𝐼 𝑋2 = 𝟎 or 𝐴 − 2𝐼 𝑋2 = 𝟎
−1 0 0 𝑥1 0
0 1 −1 𝑥2 = 0
0 −1 1 𝑥3 0
Applying 𝑅3 → 𝑅3 + 𝑅2
−1 0 0 𝑥1 0
0 1 −1 𝑥2 = 0
0 0 0 𝑥3 0
𝑥1 = 0. . . . . . . (1)
𝑥2 − 𝑥3 = 0. . . . . . . . . . . . . (2)
Here no. of equations (m) are 2 and no. of
variables (n) are 3
n−m = 3−2 = 1 variable is independent.
Let 𝑥3 = k
𝑥2 = 𝑥3 ,
𝑥3 = 𝑘 = 𝑥2
17
𝑥1 0
𝑋2 = 𝑥2 = 𝑘
𝑥3 𝑘
0
If 𝑘 = 1 𝑡ℎ𝑒𝑛 𝑋2 = 1
1
is the eigen vector
corresponding to 𝜆 = 2
18
Eigen Vector for 𝜆 = 4
𝐴 − 𝜆3 𝐼 𝑋3 = 𝟎 or 𝐴 − 4𝐼 𝑋3 = 𝟎
−3 0 0 𝑥1 0
or 0 −1 −1 𝑥2 = 0
0 −1 −1 𝑥3 0
𝐴𝑝𝑝𝑙𝑦𝑖𝑛𝑔 R 3 → R 3 − R 2
−3 0 0 𝑥1 0
0 −1 −1 𝑥2 = 0
0 0 0 𝑥3 0
𝑥1 = 0; 𝑥2 + 𝑥3 = 0
19
𝑥1 0
𝑋3 = 𝑥2 = −𝑘
𝑥3 𝑘
0
𝐼𝑓 𝑘 = 1 𝑡ℎ𝑒𝑛 𝑋3 = −1
1
is the eigen vector
corresponding to 𝜆 = 4
20
Continued.
T
1 0 0
X 1 . X 2 = 0 1 = 1 0 01 = 0
T
0 1 1
Therefore X1 , X 2 are pairwise orthogonal.
Similarly we can check for others vectors also.
Here X1 , X 2 , X 3 are pairwise orthogonal
21
Now we form normalized modal matrix
1 0 0 1 0 0
1 1 1 1
0 − 0
𝐵= 2 2 , 𝐵 −1 = 2 2
1 1 1 1
0 0 −
2 2 2 2
1 0 0 1 0 0
1 1 1 0 0 1 1
0 0 −
𝐵 −1 𝐴𝐵 = 2 2 0 3 −1 2 2
1 1 0 −1 3 1 1
0 − 0
2 2 2 2
22
1 0 0
𝐵 −1 𝐴𝐵 = 0 2 0
0 0 4
i.e. 𝐵 −1 𝐴𝐵=D
23
The canonical Form
𝑌 𝑇 (𝐵−1 𝐴𝐵)𝑌 = 𝑌 𝑇 𝐷𝑌
1 0 0 𝑦1
= 𝑦1 𝑦2 𝑦3 0 2 0 𝑦2
0 0 4 𝑦3
= 𝑦1 2 + 2𝑦2 2 + 4𝑦3 2
𝑦1 2 + 2𝑦2 2 + 4𝑦3 2
is the required canonical form.
24
Orthogonal
Transformation
𝑋 = 𝐵𝑌
1 0 0
𝑥1 1 1 𝑦1
0 −
𝑥2 = 2 2 𝑦2
𝑥3 1 1 𝑦3
0 𝑋 = 𝐵𝑌
𝑥1
𝑥2 =
𝑥3
2 2
𝑥1 = 𝑦1 ,
1 1
𝑥2 = 𝑦2 − 𝑦3 ,
2 2
1 1
𝑥3 = 𝑦2 + 𝑦3
2 2
is the required
orthogonal transformation.
25
Reduce 6𝑥 2 + 3𝑦 2 + 3𝑧 2 − 4𝑥𝑦 − 2𝑦𝑧 + 4𝑥𝑧 into
canonical form by orthogonal transformation.
Sol. Write the coefficient matrix of given quadratic
form
6 −2 2
𝐴 = −2 3 −1
2 −1 3
27
INDEX ,SIGNATURE,RANK
Let 𝑄 = 𝑋 𝑇 𝐴𝑋
be a quadratic form in n variables 𝑥1 , 𝑥2 , . . . . . . . . . . . 𝑥𝑛 .
Signature: The difference between positive and negative terms in the canonical form.
28
Determine the rank of the following matrices:
𝟏 𝟐 𝟑
(i)A= 𝟏 𝟒 𝟐
𝟐 𝟔 𝟓
𝟏 𝟐 𝟑
A~ 𝟎 𝟐 −𝟏
𝟎 𝟎 𝟎
The only third order minor is zero, but the second order minor
1 2
= 2 ≠0
0 2
∴𝜌 𝐴 =2
29
𝟏 𝟐 𝟑 𝟒
(ii) B=
−𝟐 𝟎 𝟓 𝟕
30
NATURE OF QUADRATIC FORM
( using rank, signature)
Let 𝑋 𝑇 𝐴𝑋 be a real quadratic form in n
variables 𝑥1, 𝑥2, …. 𝑥𝑛 with rank r and signature s.
Then we say that the quadratic form is
(i) positive definite if r = n, s = n
(ii) negative definite if r = n, s = 0
(iii) positive semidefinite if r<n and s = r
(iv) negative semidefinite if r<n, s = 0
(v) indefinite in all other cases.
31
NATURE OF QUADRATIC FORM
(using eigen values)
33