3
« on: October 09, 2014, 12:24:11 PM »
Let $M = y$ and $N = 2xy-e^{-2y}$. Then:
$$
\frac{\partial M}{\partial y} = 1 \neq 2y = \frac{\partial N}{\partial x}
$$
Therefore we must introduce an integrating factor $\mu$ such that:
$$
\frac{\partial \mu M}{\partial y} = \frac{\partial \mu}{\partial y} M + \mu \frac{\partial M}{\partial y} \\
\frac{\partial \mu N}{\partial x} = \frac{\partial \mu}{\partial x} N + \mu \frac{\partial N}{\partial x}
$$
Assume $\mu_x = 0$ so as to make calculations easier. Then:
$$
\frac{\partial \mu M}{\partial y} = \frac{\partial \mu N}{\partial x} \\
\frac{\partial \mu}{\partial y} M + \mu \frac{\partial M}{\partial y} = \mu \frac{\partial N}{\partial x} \\
\mu \frac{\frac{\partial N}{\partial x} - \frac{\partial M}{\partial y}}{M} = \frac{\partial \mu}{\partial y} \\
\frac{\partial \mu}{\partial y} = \frac{2y - 1}{y} \mu = (2 - y^{-1}) \mu \\
\int \frac{\partial \mu}{\mu} = \int (2 - y^{-1}) dy \\
\ln \mu = 2y - \ln y + ln C \\
\boxed{\mu = C y^{-1} e ^ {2y}}
$$
Find some function $\Psi$ such that:
\begin{aligned}
\Psi_x & = \mu M = e ^ {-2y} \\
\Psi_y & = \mu N = 2 x e ^ {2 y} - y ^ {-1} \\
\end{aligned}
Then integrating $\Psi_x$:
\begin{aligned}
\int \Psi_x dx & = \int e ^ {-2y} dx \\
& = e ^ {-2y} \int dx \\
\Psi & = xe ^ {-2y} + V
\end{aligned}
Then integrating $\Psi_y$:
\begin{aligned}
\int \Psi_y dy & = \int (2 x e ^ {2 y} - y ^ {-1}) dy \\
& = 2 x \int e ^ {2 y} dy - \int y ^ {-1} dy \\
\Psi & = x e ^ {2 y} - \ln y + U
\end{aligned}
Therefore we have:
$$
\Psi = x e ^ {2 y} - \ln y + C = 0
$$
To solve the IVP $y(1) = -2$, we substitute $x = 1$ and $y = -2$:
$$
(1) e ^ {2 (-2)} - \ln |-2| + C = 0 \\
e ^ {-4} - \ln 2 + C = 0 \\
\boxed{C = \ln 2 - e ^ {-4}}
$$
Therefore the answer is:
$$
\boxed{x e ^ {2 y} - \ln |y| = e ^ {-4} - \ln 2}
$$ ** fixed as per Professor Ivrii's remark