On surfaces and in higher dimensions the derivative of a function \(f:\R^n \to \R\) is dependent on the direction as shown in Section 2.4. In that section we selected the direction aribitrarily. The direction can be determined by a path in the surface (or other function). Here we generalize this idea to provide a means for calculating derivatives involving composition of surface functions with curve functions.
Activity38.
In this activity we calculate directional derivatives where the direction comes from a curve in the surface.
Guido is romping on the surface \(f(x,y)=x^2+xy+y^2.\) He is following the path \(p(t)=(t^2,\sin t).\)
(a)
Calculate\(\nabla f(x,y).\)
(b)
Calculate \(p^\prime(t).\)
(c)
Consider time \(t=0\text{.}\)
(i)
Where is Guido?
(ii)
What is his direction (2D)?
(iii)
What is his instantaneous change of altitude \(f^\prime(x,y)\text{?}\)
(d)
Consider time \(t=\pi/2\text{.}\)
(i)
Where is Guido?
(ii)
What is his direction (2D)?
(iii)
What is his instantaneous change of altitude \(f^\prime(x,y)\text{?}\)
(e)
Consider time \(t\text{.}\)
(i)
Write an expression for Guido’s location at time \(t\text{.}\)
(ii)
Write an expression for Guido’s direction (2D) at time \(t\text{.}\)
(iii)
Write an expression for his instantaneous change of altitude \(f^\prime(x,y)\) at time \(t\text{.}\)
(f)
Find the formula below in your calculations from this activity.
Theorem2.5.2.Chain Rule 1.
If \(f(x,y)\) is differentiable and \(x(t)\) and \(y(t)\) are differentiable functions, then
Calculate \(\frac{\partial f}{dt}\) for \(f(x,y)=\sin x+ \sin y\text{,}\)\(x(t)=\cos t\) with \(y(t)=\sin t\text{.}\)
Checkpoint2.5.6.Hot and Cold.
Let \(T(x,y)=xy-2\) represent the temperature at the point \((x,y).\) Suppose Guido is walking around an elliptical path given by \(\frac{x^2}{8}+\frac{y^2}{2}=1.\)
(a)
Find a parametric representation of the ellipse. Call this vector valued function \(p(t)\text{.}\)
(b)
Calculate \(\frac{\partial T(p(t))}{dt}.\)
(c)
Use this to find the lowest and highest temperature Guido experiences on this walk.
Subsection2.5.2Implicit Differentiation
Activity39.
(a)
Review implicit differentiation from single variable calculus as needed.
(b)
Differentiate \(y^2=x^2+2y\) with respect to \(x\) (remember \(y\) is implicitly a function of \(x\)).
(c)
Using the chain rule we can show the following. If \(F(x,y)=0\) and the partials of \(F\) are continuous around \((x,y)\) then \(y\) is a function of \(x\) and