(2) Find an orthogonal matrix P and a diagonal matrix D such D = P<sup>-1</sup>AP, where
$$A = \begin{bmatrix} 2 & 1 & 2 \\ 1 & 2 & 2 \\ 2 & 2 & 5 \end{bmatrix}$$
(b) Use Descartes' rule of signs to determine whether the matrix A is positive definite, positive
semidefinite, or neither.
(c) Perform a change of variables so that the quadratic form f(x,y) = 3x<sup>2</sup> - 2xy + 3y<sup>2</sup> becomes
diagonal.
(d) Sketch the curve given by the equation
3x<sup>2</sup> + 4xy + 6y<sup>2</sup> = 1.
(e) Compute the complex dot product in C<sup>2</sup> for the vectors
$$ \begin{bmatrix} 1 \\ i \end{bmatrix} $$ and $$ \begin{bmatrix} 1 + i \\ 0 \end{bmatrix} $$.