Let $x^{T} A x$ be a quadratic form in the variables $x_{1}, x_{2}, \ldots, x_{n}$ and define $T: R^{n} \rightarrow R$ by $T(\mathbf{x})=\mathbf{x}^{T} A \mathbf{x}$.
(a) Show that $T(\mathbf{x}+\mathbf{y})=T(\mathbf{x})+2 \mathbf{x}^{T} A \mathbf{y}+T(\mathbf{y})$.
(b) Show that $T(c \mathbf{x})=c^{2} T(\mathbf{x})$.