Let $A \in \mathbb{R^n}$ be a real $n \times n$ matrix.
How can I prove that the function $$q:\mathbb{R}^n \to \mathbb{R} \text{ with } q(x):= x^TAx$$
is totally differentiable on $R^n$ and find its total derivative in every point?
I know that I can use the Cauchy-Schwarz-inequality.
So I would have:
$\vert\langle x|y\rangle\vert = x^Ty = \sum_{i=1}^n x_iy_i \leq (\sum_{i=1}^n x_i^2)^{1/2} (\sum_{i=1}^n y_i^2)^{1/2} = \left\lVert x \right\rVert_2 \left\lVert y \right\rVert_2$ for all $x,y \in \mathbb{R}^n$.
I have also found the following: Differentiate $f(x)=x^TAx$
But in that thread total derivation isn't proven as well as using Cauchy-Schwarz-inequality.