Question: A quadratic form is a function $q: \mathbb{R}^{n} \rightarrow \mathbb{R}$ given by $$q(x) = \langle x, Bx\rangle$$ with $B$ a symmetrical $n \times n$ matrix. Using the definition of the total derivative, determine the total derivative of $q$ in a point $a \in \mathbb{R}^{n}$.
My attempt: We need to find a linear map with derivative $A$ s.t the following holds: $$ \lim_{h\rightarrow 0} \frac{q(a+h)-q(a)-A(h)}{||h||}=0 $$
We have \begin{align} q(a+h)-q(a) & = \langle a+h,Ba+Bh \rangle - \langle a, Ba \rangle \\ & = \langle a, Ba \rangle + \langle a,Bh\rangle + \langle h,Ba \rangle +\langle h,Bh \rangle - \langle a,Ba \rangle \\ &= \langle a,Bh \rangle +\langle h,Ba \rangle + \langle h,Bh \rangle \end{align}
So I need to find a $A$ such that the following holds. $$\lim_{h\rightarrow 0} \left( \frac{\langle a, Bh \rangle }{||h||} + \frac{\langle h,Ba \rangle }{||h||} + \frac{\langle h, Bh \rangle}{||h||}- \frac{Ah}{||h||} \right) = 0 $$
This is where I got stuck. I do not know how to proceed from here.