I tried to solve the following equation: $$\frac {\text{d}y}{\text{d}x}=\frac {1}{x \cos y +\sin 2y}$$
Checked if it were an exact differential equation. Then I tried finding the integrating factor. Got stuck doing so.
ordinary differential equations
I tried to solve the following equation: $$\frac {\text{d}y}{\text{d}x}=\frac {1}{x \cos y +\sin 2y}$$
Checked if it were an exact differential equation. Then I tried finding the integrating factor. Got stuck doing so.
Best Answer
re write the differential equations as $$(x\cos y + \sin 2y)dy = \cos y(x + 2\sin y )dy = dx$$
make a change change of variable $u = \sin y$ which transforms the $(x + 2\sin y )\cos ydy = dx$ to $$(x + 2u)du = dx,\ \frac{dx}{du} = x + 2u$$ look for a particular solution of the form $$ x = Au + B$$ shows that $A = B =-2$ and the solution to the homogeneous problem is $Ce^u.$ putting the two together, the general solution is $$x = Ce^u-2u-2, \mbox{ where $C$ is any constant.} $$
this is an implicit relation between $x$ and $u = \sin y.$