Internal problem ID [4010]
Internal file name [OUTPUT/3503_Sunday_June_05_2022_09_29_28_AM_21515390/index.tex
]
Book: Ordinary differential equations and their solutions. By George Moseley Murphy.
1960
Section: Various 27
Problem number: 770.
ODE order: 1.
ODE degree: 2.
The type(s) of ODE detected by this program : "first_order_nonlinear_p_but_separable"
Maple gives the following as the ode type
[_separable]
\[ \boxed {{y^{\prime }}^{2}-f \left (x \right )^{2} \left (y-a \right ) \left (y-b \right ) \left (y-c \right )^{2}=0} \]
The ode has the form \begin {align*} (y')^{\frac {n}{m}} &= f(x) g(y)\tag {1} \end {align*}
Where \(n=2, m=1, f=f \left (x \right )^{2} , g=\left (c -y \right )^{2} \left (b -y \right ) \left (a -y \right )\). Hence the ode is \begin {align*} (y')^{2} &= f \left (x \right )^{2} \left (c -y \right )^{2} \left (b -y \right ) \left (a -y \right ) \end {align*}
Solving for \(y^{\prime }\) from (1) gives \begin {align*} y^{\prime } &=\sqrt {f g}\\ y^{\prime } &=-\sqrt {f g} \end {align*}
To be able to solve as separable ode, we have to now assume that \(f>0,g>0\). \begin {align*} f \left (x \right )^{2} &> 0\\ \left (c -y \right )^{2} \left (b -y \right ) \left (a -y \right ) &> 0 \end {align*}
Under the above assumption the differential equations become separable and can be written as \begin {align*} y^{\prime } &=\sqrt {f}\, \sqrt {g}\\ y^{\prime } &=-\sqrt {f}\, \sqrt {g} \end {align*}
Therefore \begin {align*} \frac {1}{\sqrt {g}} \, dy &= \left (\sqrt {f}\right )\,dx\\ -\frac {1}{\sqrt {g}} \, dy &= \left (\sqrt {f}\right )\,dx \end {align*}
Replacing \(f(x),g(y)\) by their values gives \begin {align*} \frac {1}{\sqrt {\left (c -y \right )^{2} \left (b -y \right ) \left (a -y \right )}} \, dy &= \left (\sqrt {f \left (x \right )^{2}}\right )\,dx\\ -\frac {1}{\sqrt {\left (c -y \right )^{2} \left (b -y \right ) \left (a -y \right )}} \, dy &= \left (\sqrt {f \left (x \right )^{2}}\right )\,dx \end {align*}
Integrating now gives the solutions. \begin {align*} \int \frac {1}{\sqrt {\left (c -y \right )^{2} \left (b -y \right ) \left (a -y \right )}}d y &= \int \sqrt {f \left (x \right )^{2}}d x +c_{1}\\ \int -\frac {1}{\sqrt {\left (c -y \right )^{2} \left (b -y \right ) \left (a -y \right )}}d y &= \int \sqrt {f \left (x \right )^{2}}d x +c_{1} \end {align*}
Integrating gives \begin {align*} \int _{}^{y}\frac {1}{\sqrt {\left (c -y \right )^{2} \left (b -y \right ) \left (a -y \right )}}d \textit {\_a} &= \int \sqrt {f \left (x \right )^{2}}d x +c_{1}\\ \int _{}^{y}-\frac {1}{\sqrt {\left (c -y \right )^{2} \left (b -y \right ) \left (a -y \right )}}d \textit {\_a} &= \int \sqrt {f \left (x \right )^{2}}d x +c_{1} \end {align*}
Therefore \begin{align*} \int _{}^{y}\frac {1}{\sqrt {\left (c -y \right )^{2} \left (b -y \right ) \left (a -y \right )}}d \textit {\_a} &= \int \sqrt {f \left (x \right )^{2}}d x +c_{1} \\ \int _{}^{y}-\frac {1}{\sqrt {\left (c -y \right )^{2} \left (b -y \right ) \left (a -y \right )}}d \textit {\_a} &= \int \sqrt {f \left (x \right )^{2}}d x +c_{1} \\ \end{align*}
Summary
The solution(s) found are the following \begin{align*} \tag{1} \int _{}^{y}\frac {1}{\sqrt {\left (c -y \right )^{2} \left (b -y \right ) \left (a -y \right )}}d \textit {\_a} &= \int \sqrt {f \left (x \right )^{2}}d x +c_{1} \\ \tag{2} \int _{}^{y}-\frac {1}{\sqrt {\left (c -y \right )^{2} \left (b -y \right ) \left (a -y \right )}}d \textit {\_a} &= \int \sqrt {f \left (x \right )^{2}}d x +c_{1} \\ \end{align*}
Verification of solutions
\[
\int _{}^{y}\frac {1}{\sqrt {\left (c -y \right )^{2} \left (b -y \right ) \left (a -y \right )}}d \textit {\_a} = \int \sqrt {f \left (x \right )^{2}}d x +c_{1}
\] Verified OK. {0 < f(x)^2, 0 < (c-y)^2*(b-y)*(a-y)}
\[
\int _{}^{y}-\frac {1}{\sqrt {\left (c -y \right )^{2} \left (b -y \right ) \left (a -y \right )}}d \textit {\_a} = \int \sqrt {f \left (x \right )^{2}}d x +c_{1}
\] Verified OK. {0 < f(x)^2, 0 < (c-y)^2*(b-y)*(a-y)}
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & {y^{\prime }}^{2}-f \left (x \right )^{2} \left (y-a \right ) \left (y-b \right ) \left (y-c \right )^{2}=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & y^{\prime } \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & \left [y^{\prime }=\sqrt {y^{2}-a y-b y+a b}\, \left (-y+c \right ) f \left (x \right ), y^{\prime }=-\sqrt {y^{2}-a y-b y+a b}\, \left (-y+c \right ) f \left (x \right )\right ] \\ \square & {} & \textrm {Solve the equation}\hspace {3pt} y^{\prime }=\sqrt {y^{2}-a y-b y+a b}\, \left (-y+c \right ) f \left (x \right ) \\ {} & \circ & \textrm {Separate variables}\hspace {3pt} \\ {} & {} & \frac {y^{\prime }}{\sqrt {y^{2}-a y-b y+a b}\, \left (-y+c \right )}=f \left (x \right ) \\ {} & \circ & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int \frac {y^{\prime }}{\sqrt {y^{2}-a y-b y+a b}\, \left (-y+c \right )}d x =\int f \left (x \right )d x +c_{1} \\ {} & \circ & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & \frac {\ln \left (\frac {2 a b -2 a c -2 b c +2 c^{2}+\left (-a -b +2 c \right ) \left (y-c \right )+2 \sqrt {a b -a c -b c +c^{2}}\, \sqrt {\left (y-c \right )^{2}+\left (-a -b +2 c \right ) \left (y-c \right )+a b -a c -b c +c^{2}}}{y-c}\right )}{\sqrt {a b -a c -b c +c^{2}}}=\int f \left (x \right )d x +c_{1} \\ {} & \circ & \textrm {Solve for}\hspace {3pt} y \\ {} & {} & y=\frac {a^{2} c -2 a b c +4 a b \,{\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}-2 a c \,{\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}+b^{2} c -2 b c \,{\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}+c \left ({\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}\right )^{2}}{a^{2}-2 a b +2 a \,{\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}+b^{2}+2 b \,{\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}-4 \,{\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}} c +\left ({\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}\right )^{2}} \\ \square & {} & \textrm {Solve the equation}\hspace {3pt} y^{\prime }=-\sqrt {y^{2}-a y-b y+a b}\, \left (-y+c \right ) f \left (x \right ) \\ {} & \circ & \textrm {Separate variables}\hspace {3pt} \\ {} & {} & \frac {y^{\prime }}{\sqrt {y^{2}-a y-b y+a b}\, \left (-y+c \right )}=-f \left (x \right ) \\ {} & \circ & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int \frac {y^{\prime }}{\sqrt {y^{2}-a y-b y+a b}\, \left (-y+c \right )}d x =\int -f \left (x \right )d x +c_{1} \\ {} & \circ & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & \frac {\ln \left (\frac {2 a b -2 a c -2 b c +2 c^{2}+\left (-a -b +2 c \right ) \left (y-c \right )+2 \sqrt {a b -a c -b c +c^{2}}\, \sqrt {\left (y-c \right )^{2}+\left (-a -b +2 c \right ) \left (y-c \right )+a b -a c -b c +c^{2}}}{y-c}\right )}{\sqrt {a b -a c -b c +c^{2}}}=\int -f \left (x \right )d x +c_{1} \\ {} & \circ & \textrm {Solve for}\hspace {3pt} y \\ {} & {} & y=\frac {a^{2} c -2 a b c +4 a b \,{\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}-2 a c \,{\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}+b^{2} c -2 b c \,{\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}+c \left ({\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}\right )^{2}}{a^{2}-2 a b +2 a \,{\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}+b^{2}+2 b \,{\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}-4 \,{\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}} c +\left ({\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}\right )^{2}} \\ \bullet & {} & \textrm {Set of solutions}\hspace {3pt} \\ {} & {} & \left \{y=\frac {a^{2} c -2 a b c +4 a b \,{\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}-2 a c \,{\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}+b^{2} c -2 b c \,{\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}+c \left ({\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}\right )^{2}}{a^{2}-2 a b +2 a \,{\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}+b^{2}+2 b \,{\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}-4 \,{\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}} c +\left ({\mathrm e}^{-\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}\right )^{2}}, y=\frac {a^{2} c -2 a b c +4 a b \,{\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}-2 a c \,{\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}+b^{2} c -2 b c \,{\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}+c \left ({\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}\right )^{2}}{a^{2}-2 a b +2 a \,{\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}+b^{2}+2 b \,{\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}-4 \,{\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}} c +\left ({\mathrm e}^{\left (\int f \left (x \right )d x \right ) \sqrt {a b -a c -b c +c^{2}}+c_{1} \sqrt {a b -a c -b c +c^{2}}}\right )^{2}}\right \} \end {array} \]
Maple trace
`Methods for first order ODEs: -> Solving 1st order ODE of high degree, 1st attempt trying 1st order WeierstrassP solution for high degree ODE trying 1st order WeierstrassPPrime solution for high degree ODE trying 1st order JacobiSN solution for high degree ODE trying 1st order ODE linearizable_by_differentiation trying differential order: 1; missing variables trying simple symmetries for implicit equations Successful isolation of dy/dx: 2 solutions were found. Trying to solve each resulting ODE. *** Sublevel 2 *** Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear trying Bernoulli trying separable <- separable successful ------------------- * Tackling next ODE. *** Sublevel 2 *** Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear trying Bernoulli trying separable <- separable successful`
✓ Solution by Maple
Time used: 1.157 (sec). Leaf size: 284
dsolve(diff(y(x),x)^2 = f(x)^2*(y(x)-a)*(y(x)-b)*(y(x)-c)^2,y(x), singsol=all)
\begin{align*} y \left (x \right ) &= \frac {c \,{\mathrm e}^{2 \left (\int f \left (x \right )d x +c_{1} \right ) \sqrt {\left (a -c \right ) \left (b -c \right )}}+\left (\left (4 b -2 c \right ) a -2 b c \right ) {\mathrm e}^{\left (\int f \left (x \right )d x +c_{1} \right ) \sqrt {\left (a -c \right ) \left (b -c \right )}}+c \left (a -b \right )^{2}}{{\mathrm e}^{2 \left (\int f \left (x \right )d x +c_{1} \right ) \sqrt {\left (a -c \right ) \left (b -c \right )}}+\left (2 a +2 b -4 c \right ) {\mathrm e}^{\left (\int f \left (x \right )d x +c_{1} \right ) \sqrt {\left (a -c \right ) \left (b -c \right )}}+a^{2}-2 a b +b^{2}} \\ y \left (x \right ) &= \frac {\left (\left (4 b -2 c \right ) a -2 b c \right ) {\mathrm e}^{-\left (\int f \left (x \right )d x +c_{1} \right ) \sqrt {\left (a -c \right ) \left (b -c \right )}}+\left ({\mathrm e}^{-2 \left (\int f \left (x \right )d x +c_{1} \right ) \sqrt {\left (a -c \right ) \left (b -c \right )}}+\left (a -b \right )^{2}\right ) c}{\left (2 a +2 b -4 c \right ) {\mathrm e}^{-\left (\int f \left (x \right )d x +c_{1} \right ) \sqrt {\left (a -c \right ) \left (b -c \right )}}+a^{2}-2 a b +b^{2}+{\mathrm e}^{-2 \left (\int f \left (x \right )d x +c_{1} \right ) \sqrt {\left (a -c \right ) \left (b -c \right )}}} \\ \end{align*}
✓ Solution by Mathematica
Time used: 60.31 (sec). Leaf size: 223
DSolve[(y'[x])^2==f[x]^2 (y[x]-a)(y[x]-b)(y[x]-c)^2,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to \frac {b (a-c)+a (b-c) \tan ^2\left (\frac {1}{2} \sqrt {c-a} \sqrt {b-c} \left (\int _1^x-f(K[1])dK[1]+c_1\right )\right )}{(b-c) \tan ^2\left (\frac {1}{2} \sqrt {c-a} \sqrt {b-c} \left (\int _1^x-f(K[1])dK[1]+c_1\right )\right )+a-c} \\ y(x)\to \frac {b (a-c)+a (b-c) \tan ^2\left (\frac {1}{2} \sqrt {c-a} \sqrt {b-c} \left (\int _1^xf(K[2])dK[2]+c_1\right )\right )}{(b-c) \tan ^2\left (\frac {1}{2} \sqrt {c-a} \sqrt {b-c} \left (\int _1^xf(K[2])dK[2]+c_1\right )\right )+a-c} \\ \end{align*}