0

Let \begin{align}x&=at\\ y&=bt\\ z&=y^2\end{align}

Then $$\frac{\partial z}{\partial x} = ?$$

I solved this as

\begin{align}\frac{\partial z}{\partial x} &= 2y\frac{\partial y}{\partial x}\\\\ &= 2y\left(\frac{\partial y}{\partial t}\frac{\partial t}{\partial x}\right)\\\\ &= 2y\times b\times \frac 1a\end{align}

Is this correct?

In this case are $z$ and $x$ independent or dependent variables?

EDIT
If this is correct and the derivative is non zero, then $z$ and $x$ are dependent variable. Can you help me solve this bigger problem understanding partial derivatives in backpropagation algorithm

1 Answers1

3

actually x, y, z all are in parametric form in t
but you can write z in term of x
therefore z and x are dependent variable because if they are independent
then the partial derivative of z with respect to x must be zero

Rajat
  • 190