Problem 1: Basic Exact Equation
Test for exactness and solve: $(2xy + 3)\,dx + (x^2 - 4y)\,dy = 0$.
The equation $M(x,y)\,dx + N(x,y)\,dy = 0$ is exact if:
If exact, there exists $F(x,y)$ such that $dF = M\,dx + N\,dy$, and the solution is $F(x,y) = C$.
Finding F: Integrate $M$ with respect to $x$ (treating $y$ as constant), then differentiate with respect to $y$ and match to $N$ to find any $y$-only function $g(y)$.
If not exact: Find an integrating factor $\mu$ such that multiplying through makes it exact.
— If $\dfrac{\partial M/\partial y - \partial N/\partial x}{N}$ is a function of $x$ only: $\mu = e^{\int (\cdot)\,dx}$
— If $\dfrac{\partial N/\partial x - \partial M/\partial y}{M}$ is a function of $y$ only: $\mu = e^{\int (\cdot)\,dy}$
Test for exactness and solve: $(2xy + 3)\,dx + (x^2 - 4y)\,dy = 0$.
Solve $(2xy^2 + y)\,dx + (2x^2y + x)\,dy = 0$, $y(1) = 2$.
Test for exactness and solve: $(e^x \sin y + 2x)\,dx + (e^x \cos y)\,dy = 0$.
Show that $(3xy + y^2)\,dx + (x^2 + xy)\,dy = 0$ is not exact. Find an integrating factor $\mu(x)$ and solve the resulting exact equation.