1
Term Test 1 / Re: Problem 1 (morning)
« on: October 23, 2019, 09:24:54 AM »
\begin{equation}
-ysinx+y^3cosx+(3cosx+5y^2sinx)y'=0
\end{equation}
\begin{equation}
(-ysinx+y^3cosx)dx+(3cosx+5y^2sinx)dy=0
\end{equation}let M = -ysinx+y^3cosx, and N = 3cosx+5y^2sinx
\begin{equation}
M_y = -sinx+3y^2cosx, N_x = -3sinx+5y^2cosx
\end{equation} let My-Nx
\begin{equation}
M_y - N_x = 2sinx-2y^2cosx
\end{equation}since this looks famillier with M , so we are taking R1
\begin{equation}
R_1 = \frac{-M_y+N_x}{M}, R_1 = \frac{-2sinx+2y^2cosx}{-ysinx+y^3cosx},R_1 = \frac{2}{y}
\end{equation} the the integrating factor 𝝻 will be the e to the power of integral of R1
\begin{equation}
𝝻 = e^{∫R_1dy},𝝻 = y^2
\end{equation}then we times y^2 in this equation ,we get
\begin{equation}
(-y^3sinx+y^5cosx)dx+(3y^2cosx+5y^4sinx)dy=0
\end{equation}therefore
\begin{equation}
𝛗 = ∫-y^3sinx+y^5cosxdx=y^3cosx+y^5sinx+h(y)
\end{equation} take the derivative on 𝛗 of y,we get
\begin{equation}
𝛗_y = 3y^2cosx+5y^4sinx+h'(y)=3y^2cosx+5y^4sinx
\end{equation}we will have h'(y) = 0, so h(y)=C is a constant
\begin{equation}
𝛗=y^3cosx+y^5sinx+C
\end{equation}
\begin{equation}
y^3cosx+y^5sinx+C=0
\end{equation}since we have
\begin{equation}
y(\frac{\pi_1}{4})=√2
\end{equation}solve for C
\begin{equation}
C =6
\end{equation}
\begin{equation}
y^3cosx+y^5sinx+6=0
\end{equation}
-ysinx+y^3cosx+(3cosx+5y^2sinx)y'=0
\end{equation}
\begin{equation}
(-ysinx+y^3cosx)dx+(3cosx+5y^2sinx)dy=0
\end{equation}let M = -ysinx+y^3cosx, and N = 3cosx+5y^2sinx
\begin{equation}
M_y = -sinx+3y^2cosx, N_x = -3sinx+5y^2cosx
\end{equation} let My-Nx
\begin{equation}
M_y - N_x = 2sinx-2y^2cosx
\end{equation}since this looks famillier with M , so we are taking R1
\begin{equation}
R_1 = \frac{-M_y+N_x}{M}, R_1 = \frac{-2sinx+2y^2cosx}{-ysinx+y^3cosx},R_1 = \frac{2}{y}
\end{equation} the the integrating factor 𝝻 will be the e to the power of integral of R1
\begin{equation}
𝝻 = e^{∫R_1dy},𝝻 = y^2
\end{equation}then we times y^2 in this equation ,we get
\begin{equation}
(-y^3sinx+y^5cosx)dx+(3y^2cosx+5y^4sinx)dy=0
\end{equation}therefore
\begin{equation}
𝛗 = ∫-y^3sinx+y^5cosxdx=y^3cosx+y^5sinx+h(y)
\end{equation} take the derivative on 𝛗 of y,we get
\begin{equation}
𝛗_y = 3y^2cosx+5y^4sinx+h'(y)=3y^2cosx+5y^4sinx
\end{equation}we will have h'(y) = 0, so h(y)=C is a constant
\begin{equation}
𝛗=y^3cosx+y^5sinx+C
\end{equation}
\begin{equation}
y^3cosx+y^5sinx+C=0
\end{equation}since we have
\begin{equation}
y(\frac{\pi_1}{4})=√2
\end{equation}solve for C
\begin{equation}
C =6
\end{equation}
\begin{equation}
y^3cosx+y^5sinx+6=0
\end{equation}