MA 106: Linear Algebra: Prof. B.V. Limaye IIT Dharwad
MA 106: Linear Algebra: Prof. B.V. Limaye IIT Dharwad
MA 106: Linear Algebra: Prof. B.V. Limaye IIT Dharwad
Lecture 17
Examples
Let a, b, c, a′ , b ′ , c ′ ∈ R.
n = 1 : Q(x) := a x 2 (unary quadratic form)
n = 2 : Q(x, y ) := a x 2 + b y 2 + a′ xy (binary quadratic form)
n = 3 : Q(x, y , z) := a x 2 + b y 2 + c z 2 + a′ xy + b ′ yz + c ′ zx
(ternary quadratic form)
Aα := [αjk ] ∈ Rn×n .
[ ]T
Then for x := x1 · · · xn ,
∑n
α1k xk
[ ] k=1
..
x T Aα x = x1 · · · xn .
∑n
k=1 αnk xk
n (∑
∑ n )
= αjk xk xj = Q(x).
j=1 k=1
as desired.
Now suppose ⟨A x, x⟩ = 0 for all x ∈ Rn×1 . Then the above
equality shows that ⟨A x, y⟩ = 0 for all x, y ∈ Rn×1 .
Let A := [ajk ], and let e1 , . . . , en be the basic column vectors
in Rn×1 . Then
Hence A = O.
Proof. ∑ ∑
Let Q(x1 , . . . , xn ) := nj=1 nk=1 αjk xk xj , where αjk ∈ R.
Define Aα := [αjk ] ∈ Rn×n . Then xT Aα x = Q(x1 , . . . , xn ) for
[ ]T
all x := x1 · · · xn ∈ Rn×1 as we have already seen.
Now define A := (Aα + ATα )/2. Then A is real symmetric, and
1 1
xT A x = xT Aα x + xT ATα x = xT Aα x = Q(x),
2 2
for all x ∈ Rn×1 , since xT ATα x = (xT ATα x)T = xT Aα x ∈ R.
To prove uniqueness, let B be a real symmetric matrix such
[ ]T
that Q(x1 , . . . , xn ) = xT B x for all x := x1 · · · xn ∈ Rn×1 .
B.V. Limaye, IITDH MA 106: Lec-17
Let C := A − B. Then C is a real symmetric matrix and
1
ajk := (αjk + αkj ) for j, k = 1, . . . , n.
2
The function QA : Rn×1 → R is defined by
[ ]T
QA (x1 , . . . , xn ) := xT A x for x := x1 · · · xn ∈ Rn×1 .
This
√ is an√equation of an ellipse with its centre at
( 5/2,− 5/2) in the uv -plane.
The u-axis and v -axis are determined by the eigenvectors u1
and u2 , as indicated in the following figure.
1 3 −4
Hence let C := and D := diag(25, 0). Then
5 4 3
CT A C = D. Thus Q(x, y ) = QD (u, v ) = 25u 2 , where
[ ] [ ] [ ][ ]
u T x 1 3 4 x
:= C = ,
v y 5 −4 3 y
that is, u = (3x + 4y )/5 and v = (−4x + 3y )/5. Substituting
x = (3u − 4v )/5 and y = (4u + 3v )/5 in the equation of the
conic, we obtain u 2 + 25v = 0, an equation of a parabola with
its vertex at (0, 0) in the uv - plane, as shown below.
B.V. Limaye, IITDH MA 106: Lec-17
U
V
that is,
[ ] [ ]T [ ][ ]T
x y z A x y z + a′′ b ′′ c ′′ x y z + d = 0.
[ ]
Let C := u1 u2 u3 be an orthogonal matrix whose
columns u1 , u2 , u3 are eigenvectors of A with corresponding
eigenvalues λ1 , λ2 , λ3 , and let D := diag(λ1 , λ2 , λ3 )..
x u
We use the change of variables y = C v to transform
z w
the quadratic form Q(x, y , z) to a diagonal form as follows.
x2 y2 z2
+ + =1 ellipsoid all three positive
a2 b2 c2
x2 y2 z
+ − =0 elliptic paraboloid two positive, one zero
a2 b2 c2
x2 y2 z
+ − =0 elliptic cone two positive, one negative
a2 b2 c 22
x2 y2 z
+ − =1 1-sheeted hyperboloid two positive, one negative
a2 b2 c 22
x2 y2 z
− − =1 2-sheeted hyperboloid one positive, two negative
a2 b2 c2
x2 y2 z
− − =0 hyperbolic paraboloid one positive, one negative,
a2 b2 c
one zero.