Exact Equations — Question 2

PDF ↗

Question 2

A student studies (ey+y2)dx+(xey+2xy+cos⁡y)dy=0,y(0)=0.(e^y+y^2)\,dx+(xe^y+2xy+\cos y)\,dy=0,\qquad y(0)=0. After integrating the coefficient of dxdx, the student writes F*(x,y)=xey+xy2F_*(x,y)=xe^y+xy^2 and claims that F*=0F_*=0 solves the initial-value problem.

Tasks

  1. Check exactness and identify precisely what is missing from the student’s integration.

  2. Construct a correct potential and select the correct level using the data.

  3. Compute the local slope at (0,0)(0,0) and explain why the student’s proposed level cannot be the required solution graph.

  4. Integrate the coefficient of dydy first as an independent check. Explain why the two correct potentials can differ by a constant.

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

Question 2 – Solution

Strategy. A partial antiderivative permits an arbitrary function of the other variable; matching the second coefficient determines it.

Step 1: Locate the missing term. Both cross partials equal ey+2ye^y+2y, so the form is exact on ℝ2\mathbb R^2. Integration with respect to xx must give F=xey+xy2+h(y).F=xe^y+xy^2+h(y). Then Fy=xey+2xy+h′(y)F_y=xe^y+2xy+h'(y), so h′(y)=cos⁡yh'(y)=\cos y. We may take h(y)=sin⁡yh(y)=\sin y; treating it as merely a numerical constant would omit a required derivative.

Step 2: Apply and test the initial condition. The correct potential is F=xey+xy2+sin⁡yF=xe^y+xy^2+\sin y, and F(0,0)=0F(0,0)=0. Thus x(ey+y2)+sin⁡y=0.\boxed{x(e^y+y^2)+\sin y=0}. Its derivative along a graph is exactly the given equation. At the initial point, M=1M=1 and N=1N=1, so the local graph exists and y′(0)=−1\boxed{y'(0)=-1}.

In contrast, F*=0F_*=0 says x(ey+y2)=0x(e^y+y^2)=0. Since ey+y2>0e^y+y^2>0, this is the vertical line x=0x=0, which cannot define y(x)y(x) on an open interval. Also (F*)y=N−cos⁡y(F_*)_y=N-\cos y, so its differential is not the stated form.

Step 3: Check by reversing the integration order. Integrating NN with respect to yy gives F=xey+xy2+sin⁡y+g(x).F=xe^y+xy^2+\sin y+g(x). Now Fx=ey+y2+g′(x)=MF_x=e^y+y^2+g'(x)=M requires g′(x)=0g'(x)=0, leaving only an additive constant. Any two potentials for the same form have difference with both partial derivatives zero; on the connected plane that difference is constant. Changing this constant only relabels the same solution levels.

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

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