Problems from Exact ordinary differential equations

Solve the following equation: (3y+ex)dx+(3x+cosy)dy=0

See development and solution

Development:

Let's verify that it is an exact ODE. Calling P(x,y)=3y+ex Q(x,y)=3x+cos(y) we have to verify that Py=Qx. In effect: Py=3   Qx=3 We know that Ux=P=3y+exU(x,y)=(3y+ex)dx+h(y)=3yx+ex+h(y) Therefore, we only need to calculate the function h(y). Let's impose that the obtained U satisfies that Uy=Q: Uy=3x+h(y)Uy=Q=3x+cos(y)}h(y)=cos(y)h(y)=sin(y) Therefore the solution of the exact ODE is: U(x,y)=3xy+ex+sin(y)=C, CR

Solution:

U(x,y)=3xy+ex+sin(y)=C, CR

Hide solution and development
View theory