Author Topic: Problem 1 (noon)  (Read 4074 times)

Victor Ivrii

  • Administrator
  • Elder Member
  • *****
  • Posts: 2607
  • Karma: 0
    • View Profile
    • Personal website of Victor Ivrii
Problem 1 (noon)
« on: October 23, 2019, 05:54:36 AM »
(a) Find integrating factor and then a general solution of ODE
\begin{equation*}
\bigl(2y+y^2\sin(x)\bigr) + \bigl(\sin(2x)+2y\cos(x)\bigr) y'=0
\end{equation*}

(b) Also, find a solution satisfying $y(\dfrac{\pi}{4})=\sqrt{2}$.

Yuying Chen

  • Jr. Member
  • **
  • Posts: 14
  • Karma: 8
    • View Profile
Re: Problem 1 (noon)
« Reply #1 on: October 23, 2019, 08:34:58 AM »
$\text{(a)}\\$
$M=2y+y^{2}\sin x\qquad M_{y}=\frac{\partial}{\partial y}M=2+2y\sin x\\$
$N=\sin 2x+2y\cos x\quad\quad N_{x}=\frac{\partial}{\partial x}N=2\cos 2x-2y\sin x\\$
$\text{Since $M_{y}\neq N_{x}$, the given differential equation is not exact.}\\ $

$R_2=\frac{M_y-N_x}{N}=\frac{2+2y\sin x-2\cos 2x+2y\sin x}{\sin2 x+2y\cos x}=\frac{4\sin x(y+\sin x)}{2\cos x(y+\sin x)}=2\tan x\\$
$\mu=e^{\int R_2dx}=e^{2\int{\tan x}dx}=\sec^{2} x\\$
$(2y\sec^{2} x+y^{2}\sin x\ sec^{2} x)+(\sin 2x\sec^{2} x+2y\cos x\sec^{2} x)=0\\ \\$

$\text{$\exists \psi{(x,y)}$ such that $\psi_{y}=N$}\\$
$\qquad\quad\psi{(x,y)}=\int{\sin 2x\sec^{2} x+2y\cos x\sec^{2} x}dy\\$
$\qquad\qquad\qquad =2\cos 2x\sec^{2} xy+y^2\sec^{2} x\cos x+h(x)\\$  OK. V.I.
$\qquad\quad\psi_{x}=2y\sec^{2} x\\$ ???? V.I.
$\qquad\quad h^{\prime}(x)=y^{2}\sin x\sec^{2} x\\$
$\qquad\quad h(x)=y^{2}\sec x\\$
$\text{and we have}\\$
$\qquad\quad\psi{(x,y)}=2\cos2 x\sec^{2} xy+y^2\sec^{2} x\cos x+y^{2}\sec x=y\sec x(\sin 2x\sec^{2} x+2y)=C\\$

$\text{(b)}\\$   Wrong substitution. V.I.
$\text{Since $y(\frac{\pi}{4})=\sqrt{2}$}\\$
$C=6\sqrt{2}\\$
$\text{Thus,}\\$
$y\sec x(\sin 2x\sec^{2} x+2y)=6\sqrt{2}\\$

Wrong V.I.
« Last Edit: October 31, 2019, 11:23:47 AM by Victor Ivrii »

Yiheng Bian

  • Full Member
  • ***
  • Posts: 29
  • Karma: 12
    • View Profile
Re: Problem 1 (noon)
« Reply #2 on: October 23, 2019, 08:40:10 AM »
Hi, I think you have typo in line4, it should be +but you type=
« Last Edit: October 23, 2019, 08:43:14 AM by Yiheng Bian »