1

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.

Kenny Wong
  • 32,192

1 Answers1

0

So thanks to the comments I came up with the following:

First we have that $$ \lim_{h \rightarrow 0} \frac{\langle h,Bh \rangle}{||h||} = 0 $$ So we need to find a A such that the following holds: $$ \lim_{h \rightarrow 0} \frac{\langle a,Bh \rangle + \langle h, Ba \rangle - A(h)}{||h||} = 0 $$

We can write $\langle a, Bh \rangle = a^{T}Bh$ and $\langle h, Ba \rangle = h^{T}Ba$. But $B$ is symmetrical so $h^{T}Ba = a^{T}Bh$. So $A = 2a^{T}B$. And then the above limit will be $0$.