06.09.2021 Views

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7.4. Orthogonality 423<br />

We now turn our attention to the focus of this section. Our goal is to start with a quadratic form q<br />

as given above and f<strong>in</strong>d a way to rewrite it to elim<strong>in</strong>ate the x i x j terms. This is done through a change of<br />

variables. In other words, we wish to f<strong>in</strong>d y i such that<br />

⎡<br />

Lett<strong>in</strong>g ⃗y = ⎢<br />

⎣<br />

⎤<br />

y 1<br />

y 2 ⎥<br />

.<br />

y n<br />

q = d 11 y 2 1 + d 22 y 2 2 + ···+ d nn y 2 n<br />

⎦ and D = [ d ij<br />

]<br />

, we can write q =⃗y T D⃗y where D is the matrix of coefficients from q.<br />

There is someth<strong>in</strong>g special about this matrix D that is crucial. S<strong>in</strong>ce no y i y j terms exist <strong>in</strong> q, it follows<br />

that d ij = 0foralli ≠ j. Therefore, D is a diagonal matrix. Through this change of variables, we f<strong>in</strong>d the<br />

pr<strong>in</strong>cipal axes y 1 ,y 2 ,···,y n of the quadratic form.<br />

This discussion sets the stage for the follow<strong>in</strong>g essential theorem.<br />

Theorem 7.92: Diagonaliz<strong>in</strong>g a Quadratic Form<br />

Let q be a quadratic form <strong>in</strong> the variables x 1 ,···,x n . It follows that q can be written <strong>in</strong> the form<br />

q =⃗x T A⃗x where<br />

⎡ ⎤<br />

x 1<br />

x 2...<br />

⃗x = ⎢ ⎥<br />

⎣ ⎦<br />

x n<br />

and A = [ ]<br />

a ij is the symmetric matrix of coefficients of q.<br />

New variables y 1 ,y 2 ,···,y n can be found such that q =⃗y T D⃗y where<br />

⎡ ⎤<br />

y 1<br />

y 2...<br />

⃗y = ⎢ ⎥<br />

⎣ ⎦<br />

y n<br />

and D = [ d ij<br />

]<br />

is a diagonal matrix. The matrix D conta<strong>in</strong>s the eigenvalues of A and is found by<br />

orthogonally diagonaliz<strong>in</strong>g A.<br />

While not a formal proof, the follow<strong>in</strong>g discussion should conv<strong>in</strong>ce you that the above theorem holds.<br />

Let q be a quadratic form <strong>in</strong> the variables x 1 ,···,x n . Then, q can be written <strong>in</strong> the form q = ⃗x T A⃗x for a<br />

symmetric matrix A. By Theorem 7.54 we can orthogonally diagonalize the matrix A such that U T AU = D<br />

for an orthogonal matrix U and diagonal matrix D.<br />

⎡ ⎤<br />

y 1<br />

y 2 Then, the vector⃗y = ⎢ ⎥<br />

⎣ . ⎦ is found by⃗y = U T ⃗x. To see that this works, rewrite⃗y = U T ⃗x as⃗x = U⃗y.<br />

y n<br />

Lett<strong>in</strong>g q =⃗x T A⃗x, proceed as follows:<br />

q<br />

= ⃗x T A⃗x

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!