Show $F$ is differentiable at all $x$ and show $DF(x)$ is a row vector

21 Views Asked by At

Let $F :\mathbb{R}^2 \to \mathbb{R} $ be defined as $F(\vec x)$ =$\Vert \vec x \Vert^2$. Use the definiton of the derivative $\lim_{\vec h \to 0} \frac{||F(\vec x+ \vec h) - F(\vec x)-DF(\vec x)\vec h||}{||\vec h||} = 0$ to show that $F$ is differentiable at every $\vec x \in \mathbb{R}^n, $ and $DF(\vec x)$ = $[2x_1 \quad 2x_2 \quad ... \quad 2x_n ]$ (or $2 \vec x^T$, a row vector)

So I know that $||\vec x^2||$ can be re-written at $|x|^2$ which is the same as $(x)(x)$. Plugging in the value of $\vec x$ into the equation I get $\lim_{\vec h \to 0} \frac{||F(\vec ||x||^2+ \vec h) - F(\vec ||x||^2)-DF(\vec ||x||^2)\vec h||}{||\vec h||} = 0$ which simplifies to $\lim_{\vec h \to 0} \frac{||F(\vec h) -DF((2) (\vec||x||))\vec h||}{||\vec h||} = 0$, Which I assume simplifies to $\lim_{\vec h \to 0} \frac{||DF((2)\vec||x||}{||\vec h||} = 0$ ?

Not sure if I am correct and I am having trouble proving that $DF(\vec x)$ is a row vector.

Any help is appreciated!

1

There are 1 best solutions below

5
On

Let $L(x) = 2x^T$ (which we must prove that it equals the differential of $f$). Then,

$$|f(x+h)-f(x) - L(x)\cdot h| = |\|x+h\|^2 - \|x\|^2 - 2x \cdot h| = |\|x\|^2 +\|h\|^2 + 2 x\cdot h - 2 x\cdot h| = \|h\|^2$$

Edit:

Hence:

$$\lim_{h\to 0} \frac{|f(x+h)-f(x) - L(x)\cdot h| }{\|h\|} = \lim_{h\to 0} \|h\| = 0$$

By definition, this means that $f$ is differentiable at $x$ and that $Df(x) = L(x)$. In other words:

$$Df(x) = 2 x^T = 2 [x_1 \cdots x_n]$$