1
Quiz-7 / Re: Q7-0901
« on: March 31, 2018, 10:52:58 PM »
I attached another phase portrait at the end of this post with the saddle point emphasized.
For the bonus, this is what I did. I'm not entirely sure if it's correct.
Begin by setting $M=x+\cos(y)-1$ and $N=(1+x)\sin(y)$. Since it's not exact, we look for an integrating factor $\mu=\mu(x)$:
$$\begin{align}\frac{d\mu}{dx}=\frac{M_{y}-N_{x}}{N}\mu\end{align}$$
$$\begin{align}\frac{d\mu}{dx}=\frac{M_{y}-N_{x}}{N}=\frac{-\sin(y)-\sin(y)}{(1+x)\sin(y)}=\frac{-2}{1+x}\end{align}$$
Therefore $(8 )$ becomes:
$$\begin{align}\frac{d\mu}{dx}=\frac{-2}{1+x}\mu\end{align}$$
Separating and integrating gives:
$$\begin{align}\mu=\frac{1}{(1+x)^2}\end{align}$$
Plugging the integrating factor back into the original equation:
$$\begin{align}\frac{x+\cos(y)-1}{(1+x)^2}dx+\frac{\sin(y)}{1+x}dy\end{align}$$
which is exact. Then,
$$\begin{align}H_{x}=\frac{x+\cos(y)-1}{(1+x)^2}\end{align}$$
$$\begin{align}H_{y}=\frac{\sin(y)}{1+x}\end{align}$$
Integrating $(13)$ with respect to x:
$$\begin{align}H(x,y)=\ln(x+1)-\frac{\cos(y)-2}{x+1}+h(y)\end{align}$$
Plugging into $(14)$:
$$\begin{align}H_{y}=\frac{\partial}{\partial(y)}(\ln(x+1)-\frac{\cos(y)-2}{x+1}+h(y))=\frac{\sin(y)(x+1)}{(x+1)^2}+h'(y)=\frac{\sin(y)}{1+x}\end{align}$$
so $h'(y)=0\implies h(y)=c$.
Therefore this implies that
$$\begin{align}H(x,y)=\ln(x+1)-\frac{\cos(y)-2}{x+1}=C\end{align}$$
For the bonus, this is what I did. I'm not entirely sure if it's correct.
Begin by setting $M=x+\cos(y)-1$ and $N=(1+x)\sin(y)$. Since it's not exact, we look for an integrating factor $\mu=\mu(x)$:
$$\begin{align}\frac{d\mu}{dx}=\frac{M_{y}-N_{x}}{N}\mu\end{align}$$
$$\begin{align}\frac{d\mu}{dx}=\frac{M_{y}-N_{x}}{N}=\frac{-\sin(y)-\sin(y)}{(1+x)\sin(y)}=\frac{-2}{1+x}\end{align}$$
Therefore $(8 )$ becomes:
$$\begin{align}\frac{d\mu}{dx}=\frac{-2}{1+x}\mu\end{align}$$
Separating and integrating gives:
$$\begin{align}\mu=\frac{1}{(1+x)^2}\end{align}$$
Plugging the integrating factor back into the original equation:
$$\begin{align}\frac{x+\cos(y)-1}{(1+x)^2}dx+\frac{\sin(y)}{1+x}dy\end{align}$$
which is exact. Then,
$$\begin{align}H_{x}=\frac{x+\cos(y)-1}{(1+x)^2}\end{align}$$
$$\begin{align}H_{y}=\frac{\sin(y)}{1+x}\end{align}$$
Integrating $(13)$ with respect to x:
$$\begin{align}H(x,y)=\ln(x+1)-\frac{\cos(y)-2}{x+1}+h(y)\end{align}$$
Plugging into $(14)$:
$$\begin{align}H_{y}=\frac{\partial}{\partial(y)}(\ln(x+1)-\frac{\cos(y)-2}{x+1}+h(y))=\frac{\sin(y)(x+1)}{(x+1)^2}+h'(y)=\frac{\sin(y)}{1+x}\end{align}$$
so $h'(y)=0\implies h(y)=c$.
Therefore this implies that
$$\begin{align}H(x,y)=\ln(x+1)-\frac{\cos(y)-2}{x+1}=C\end{align}$$