Let $a$ element of $\mathbb{R^n}$, a $f$ functiom from $\mathbb{R^n}$ to $\mathbb{R}$ such that $$f(x)=e^{||x||^2-2}$$. Find $Df(x)$ and local max and min.
First of all I want to get $Df(x)$ soo the function $f$ sholud be written as a composition of functions. But than I see that $||x||^2= Let's $s(x)=
My solution:
$\mathbb{R}$ such that $f(x)=e^{||x||^2-2}$. Find $Df(x)$ and local max and min.
2
$\begingroup$
real-analysis
multivariable-calculus
derivatives
maxima-minima
1 Answers
1
Your $s$ isn't linear. Rather, write $s(x) = \|x\|^2 - 2\langle a, x \rangle = q(x) -2L(x)$.
$q = B\circ(id,id)$, where $B: (x,y)\mapsto \langle x, y\rangle$ is bilinear. By the chain rule, $Dq(x)h = 2\langle x, h\rangle$. Now $L$ is linear, so $DL(x) = L$. Thus: $Ds(x)h = 2\left( \langle x,h\rangle - \langle a,h\rangle \right) = 2\langle h, x - a\rangle$.
We have $f = \exp \circ s$, so:
$$Df(x)h = D(\exp)(s(x)) Ds(x)h = 2e^{s(x)} \langle h, x-a \rangle$$
From this, it's clear that $Df(x)h=0$ for all $h$ iff $x = a$.
-
0Why not $Ds(x)h = 2\left( \langle x,h\rangle - \langle a,h\rangle \right)$ – 2017-01-24
-
0@LovroSindičić of course, you are right. – 2017-01-24