I am trying to show that a quadratic form $Q: \mathbb{R}^n \to \mathbb{R}, Q(x)=x^T A x$ is differentiable from the definition of the differential.
I started by considering $Q(x+h)=(x+h)^T A (x+h)=x^T A x + x^T A h + h^T A x + h^T A h$.
We need to find a linear map $L_Q: \mathbb{R}^n \to \mathbb{R}$ s.t. $\lim \limits_{h \to 0} \frac{Q(x+h)-Q(x)-L_Q(h)}{\|h\|}$.
Note that $x^T (A + A^T) h = \langle x, (A + A^T) h \rangle$ is a linear map, so this is my candidate for the differential of $Q(x)$, but I am struggling to show that the error term $r_Q(x)=h^T A h$ decays sublinearly.
What I tried was to use the CS inequality to show that
$\frac{|r_Q(x)|}{\|h\|} = \frac{|\langle h, Ah\rangle|}{\|h\|} \leq \frac{\|h\| \|Ah\|}{\|h\|} = \|Ah\|$,
but I don't see how I can show that the right-hand side has a limit of 0.
Can someone please tell me if I am on the right track and give me some guidance? This is a problem in my lecture notes right after the definiton of the differential, so it should be able to solve this without much more knowdledge.
Thanks a lot!