Here are two functions: $f\left(u,v\right)=u^{2}+3v^{2}$
$g\left(x,y\right)=\begin{pmatrix} e^{x}\cos y \\ e^{x}\sin y \end{pmatrix} $
I need to make Jacobian matrix of $f\circ g$. I found derivative of their composition:
$\frac{d\left(f\circ g\right) }{d\left(x,y\right) }=2e^{2x}\cos^{2}{y}+4e^{2x}\sin{y}\cos{y}+6e^{2x}sin^{2}{y} $
How do I put that in Jacobian matrix?
$$(f\circ g)(x,y) = h(x,y) = e^{2x}\cos^2(y)+3e^{2x}\sin^2(y)$$ Now just build the Jacobian matrix (AKA gradient because $h$ is a scalar-valued function) like normal: $$\pmatrix{\frac{\partial h}{\partial x} & \frac{\partial h}{\partial y}}$$