Higher Order Partial Derivatives — Question 2

PDF ↗

Question 2

Let g(x,y)=exycos⁡yg(x,y)=e^{xy}\cos y.

Tasks

  1. Compute gxxg_{xx} and gxyg_{xy}.

  2. Compute gyxg_{yx} independently from gyg_y.

  3. Evaluate them at (0,π)(0,\pi) and verify agreement.

Original worksheet page 1: question and worked solution for 2-4-002
Show solutionHide solution

Question 2 – Solution

Strategy. Keep product-rule terms grouped by their exponential factor.

Step 1: Differentiate from gxg_x Since gx=yexycos⁡yg_x=ye^{xy}\cos y, gxx=y2exycos⁡y,\boxed{g_{xx}=y^2e^{xy}\cos y}, gxy=exy[(1+xy)cos⁡y−ysin⁡y].\boxed{g_{xy}=e^{xy}\bigl[(1+xy)\cos y-y\sin y\bigr]}.

Step 2: Reverse order gy=exy(xcos⁡y−sin⁡y),g_y=e^{xy}(x\cos y-\sin y), gyx=yexy(xcos⁡y−sin⁡y)+exycos⁡y=exy[(1+xy)cos⁡y−ysin⁡y].g_{yx}=ye^{xy}(x\cos y-\sin y)+e^{xy}\cos y =\boxed{e^{xy}[(1+xy)\cos y-y\sin y]}.

Step 3: Evaluate At (0,π)(0,\pi), exy=1e^{xy}=1, cos⁡π=−1\cos\pi=-1, and sin⁡π=0\sin\pi=0: gxx=−π2,gxy=gyx=−1.\boxed{g_{xx}=-\pi^2},\qquad\boxed{g_{xy}=g_{yx}=-1}.

Original worksheet page 2: question and worked solution for 2-4-002

Original worksheet layout. Use Enlarge or open the PDF for a closer view.