Gradient & Directional Derivatives - Calculus 3

  1. Given u(x,y)=x2−y2x2+y2u(x,y) = \frac{x^2 - y^2}{x^2 + y^2} for (x,y)≠(0,0)(x,y) \neq (0,0), at the point (2,2)(2, 2), what is the directional derivative in the direction perpendicular to the gradient vector and pointing into the second quadrant?
    Answer: 00 First, find ∇u\nabla u using the quotient rule. Let f=x2−y2f = x^2 - y^2 and g=x2+y2g = x^2 + y^2. Then u=fgu = \frac{f}{g} and ∇u=g∇f−f∇gg2\nabla u = \frac{g\nabla f - f\nabla g}{g^2}. We have ∇f=⟨2x,−2y⟩\nabla f = \langle 2x, -2y \rangle and ∇g=⟨2x,2y⟩\nabla g = \langle 2x, 2y \rangle. So: ∇u=(x2+y2)⟨2x,−2y⟩−(x2−y2)⟨2x,2y⟩(x2+y2)2\nabla u = \frac{(x^2 + y^2)\langle 2x, -2y \rangle - (x^2 - y^2)\langle 2x, 2y \rangle}{(x^2 + y^2)^2}. At (2,2)(2, 2): f=4−4=0f = 4 - 4 = 0, g=8g = 8, ∇f=⟨4,−4⟩\nabla f = \langle 4, -4 \rangle, ∇g=⟨4,4⟩\nabla g = \langle 4, 4 \rangle. Thus: ∇u(2,2)=8⟨4,−4⟩−0⟨4,4⟩64=⟨32,−32⟩64=⟨12,−12⟩\nabla u(2, 2) = \frac{8\langle 4, -4 \rangle - 0\langle 4, 4 \rangle}{64} = \frac{\langle 32, -32 \rangle}{64} = \left\langle \frac{1}{2}, -\frac{1}{2} \right\rangle. A vector perpendicular to ⟨12,−12⟩\left\langle \frac{1}{2}, -\frac{1}{2} \right\rangle is ⟨12,12⟩\left\langle \frac{1}{2}, \frac{1}{2} \right\rangle or ⟨−12,−12⟩\left\langle -\frac{1}{2}, -\frac{1}{2} \right\rangle. The one pointing into the second quadrant (negative xx, positive yy) is ⟨−12,12⟩\left\langle -\frac{1}{2}, \frac{1}{2} \right\rangle. The unit vector is 11/2⟨−12,12⟩=12⟨−1,1⟩\frac{1}{\sqrt{1/2}}\left\langle -\frac{1}{2}, \frac{1}{2} \right\rangle = \frac{1}{\sqrt{2}}\langle -1, 1 \rangle. The directional derivative in any direction perpendicular to the gradient is always 00.
  2. Consider the function f(x,y)=ex2+y2sin⁡(xy)f(x,y) = e^{x^2+y^2}\sin(xy). At which of the following points does the gradient vector ∇f\nabla f have the smallest magnitude?
    Answer: (0,0)(0, 0) We need ∇f=⟨fx,fy⟩\nabla f = \langle f_x, f_y \rangle where fx=ex2+y2[2xsin⁡(xy)+ycos⁡(xy)]f_x = e^{x^2+y^2}[2x\sin(xy) + y\cos(xy)] and fy=ex2+y2[2ysin⁡(xy)+xcos⁡(xy)]f_y = e^{x^2+y^2}[2y\sin(xy) + x\cos(xy)]. At (0,0)(0,0): ∇f(0,0)=e0[⟨0+0,0+0⟩]=⟨0,0⟩\nabla f(0,0) = e^0[\langle 0 + 0, 0 + 0 \rangle] = \langle 0, 0 \rangle, so ∣∣∇f(0,0)∣∣=0||\nabla f(0,0)|| = 0. At (π,0)(\pi, 0): ∇f(π,0)=eπ2[⟨2π⋅0+0⋅1,0+π⋅1⟩]=eπ2⟨0,π⟩\nabla f(\pi,0) = e^{\pi^2}[\langle 2\pi \cdot 0 + 0 \cdot 1, 0 + \pi \cdot 1 \rangle] = e^{\pi^2}\langle 0, \pi \rangle, so ∣∣∇f∣∣=πeπ2||\nabla f|| = \pi e^{\pi^2}. Similarly at (0,π)(0, \pi): ∣∣∇f∣∣=πeπ2||\nabla f|| = \pi e^{\pi^2}. At (π,π)(\sqrt{\pi}, \sqrt{\pi}): The exponential factor is e2πe^{2\pi} and sin⁡(π)=0,cos⁡(π)=−1\sin(\pi) = 0, \cos(\pi) = -1, giving a non-zero magnitude. The smallest magnitude is 00 at the origin.
  3. The temperature distribution in a metal plate is given by T(x,y)=100−x2−4y2T(x,y) = 100 - x^2 - 4y^2. A bug located at point (2,1)(2, 1) wants to move in such a direction that the temperature decreases most rapidly. If the bug moves 0.10.1 units in this optimal direction, what is the approximate change in temperature?
    Answer: −0.894-0.894 To decrease temperature most rapidly, the bug should move in the direction of −∇T-\nabla T. We have ∇T=⟨−2x,−8y⟩\nabla T = \langle -2x, -8y \rangle, so at (2,1)(2,1): ∇T(2,1)=⟨−4,−8⟩\nabla T(2,1) = \langle -4, -8 \rangle. The direction of steepest decrease is −∇T=⟨4,8⟩-\nabla T = \langle 4, 8 \rangle. The unit vector in this direction is u^=1∣∣⟨4,8⟩∣∣⟨4,8⟩=116+64⟨4,8⟩=180⟨4,8⟩=145⟨4,8⟩\hat{u} = \frac{1}{||\langle 4, 8 \rangle||}\langle 4, 8 \rangle = \frac{1}{\sqrt{16+64}}\langle 4, 8 \rangle = \frac{1}{\sqrt{80}}\langle 4, 8 \rangle = \frac{1}{4\sqrt{5}}\langle 4, 8 \rangle. The directional derivative in this direction is Du^T=∇T⋅u^=⟨−4,−8⟩⋅145⟨4,8⟩=145(−16−64)=−8045=−205=−45D_{\hat{u}}T = \nabla T \cdot \hat{u} = \langle -4, -8 \rangle \cdot \frac{1}{4\sqrt{5}}\langle 4, 8 \rangle = \frac{1}{4\sqrt{5}}(-16 - 64) = \frac{-80}{4\sqrt{5}} = \frac{-20}{\sqrt{5}} = -4\sqrt{5}. Moving 0.10.1 units gives approximate change: ΔT≈0.1⋅(−45)=−0.45≈−0.4(2.236)=−0.894\Delta T \approx 0.1 \cdot (-4\sqrt{5}) = -0.4\sqrt{5} \approx -0.4(2.236) = -0.894.

Start this quiz