Hi can someone help me with this question?
Let $g(t)$ be differentiable for all $t$ with $g\left(\frac12\right)=1$ and $$z(x,y)=yg\left(\frac{x}y\right)+\frac{8y^3}x$$ $(x,y)$ is a point on the circle $x^2+y^2=1$ and $x\ne0$. What is the directional derivative of the function $z(x,y)$ in the point $(x,y)$, in the direction of the vector that points to the center of the circle? (the answer should be a function of $x,y,z$ and not $g$).
Since $\;g\;$ is differentiable everywhere so is $\;z\;$ at any point $\;xy\neq0\;$ , and thus on the unit circle, and we can evaluate the directional derivative by means of the gradient:
$$\nabla z=\left(\,g'\left(\frac xy\right)-\frac{8y^3}{x^2}\,,\,\,g\left(\frac xy\right)-\frac xyg'\left(\frac xy\right)+\frac{24y^2}{x}\,\right)$$
and then the wanted directional derivative at a point $\;(x,y)\;$ on the unit circle and in the direction of $\;(-x,-y)\; $ (the vector from $\;(x,y)\;$ towards the circle's center = the origin) is:
$$\nabla f\bullet (-x,-y)=\color{red}{-xg'\left(\frac xy\right)}+\frac{8y^3}x-yg\left(\frac xy\right)+\color{red}{xg'\left(\frac xy\right)}-\frac{24y^3}{x}=$$
$$=-yg\left(\frac xy\right)+\frac{16y^3}x=-z-\frac{8y^3}x$$