Problem 4.3.1 Outcome PD4.
(a)
Explain and demonstrate how to draw a dependency diagram for \(w = \sqrt{x^2 + y^2}\) where \(x = e^{2t}, y = 2e^{-t}\) and use it to calculate \(\frac{dw}{dt}\) at \(t = 0\text{.}\)
Solution.
The dependency diagram should show \(w\) at the top branching down to the intermediate variables \(x, y\text{,}\) each of which branches down to the single independent variable \(t\text{.}\)
The corresponding chain-rule formula is:
\begin{equation*}
\frac{dw}{dt} = \frac{\partial w}{\partial x}\frac{dx}{dt} + \frac{\partial w}{\partial y}\frac{dy}{dt}
\end{equation*}
We compute the partial and ordinary derivatives:
\begin{align*}
\frac{\partial w}{\partial x} \amp = \frac{x}{\sqrt{x^2+y^2}}, \quad \frac{dx}{dt} = 2e^{2t}\\
\frac{\partial w}{\partial y} \amp = \frac{y}{\sqrt{x^2+y^2}}, \quad \frac{dy}{dt} = -2e^{-t}
\end{align*}
At \(t = 0\text{,}\) we have \(x = 1, y = 2\text{,}\) so \(\sqrt{x^2+y^2} = \sqrt{1 + 4} = \sqrt{5}\text{.}\) Substituting these values into the chain rule gives:
\begin{equation*}
\frac{dw}{dt}\Big|_{t=0} = \left(\frac{1}{\sqrt{5}}\right)(2) + \left(\frac{2}{\sqrt{5}}\right)(-2) = \frac{2 - 4}{\sqrt{5}} = -\frac{2}{\sqrt{5}}.
\end{equation*}
(b)
Explain and demonstrate how to find \(\frac{\partial z}{\partial x}\) and \(\frac{\partial z}{\partial y}\) where \(x^3 + y^3 + z^3 + 3xyz = 1\text{.}\)
Solution.
Here, \(z\) is defined implicitly as a function of \(x,y\) via \(F(x,y,z) = x^3 + y^3 + z^3 + 3xyz - 1 = 0\text{.}\) The partial derivatives are given by:
\begin{align*}
\frac{\partial z}{\partial x} \amp = -\frac{F_x}{F_z}\\
\frac{\partial z}{\partial y} \amp = -\frac{F_y}{F_z}
\end{align*}
Computing the partial derivatives of \(F\text{:}\)
\begin{align*}
F_x \amp = 3x^2 + 3yz\\
F_y \amp = 3y^2 + 3xz\\
F_z \amp = 3z^2 + 3xy
\end{align*}
Dividing and simplifying gives:
\begin{align*}
\frac{\partial z}{\partial x} \amp = -\frac{3x^2 + 3yz}{3z^2 + 3xy} = -\frac{x^2 + yz}{z^2 + xy}\\
\frac{\partial z}{\partial y} \amp = -\frac{3y^2 + 3xz}{3z^2 + 3xy} = -\frac{y^2 + xz}{z^2 + xy}
\end{align*}