Internal problem ID [3475]
Internal file name [OUTPUT/2968_Sunday_June_05_2022_08_48_26_AM_52474258/index.tex
]
Book: Ordinary differential equations and their solutions. By George Moseley Murphy.
1960
Section: Various 8
Problem number: 219.
ODE order: 1.
ODE degree: 1.
The type(s) of ODE detected by this program : "unknown"
Maple gives the following as the ode type
[[_1st_order, `_with_symmetry_[F(x),G(x)*y+H(x)]`]]
Unable to solve or complete the solution.
\[ \boxed {x y^{\prime }+y n -f \left (x \right ) g \left (x^{n} y\right )=0} \] Unable to determine ODE type.
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & x y^{\prime }+y n -f \left (x \right ) g \left (x^{n} y\right )=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} \\ {} & {} & y^{\prime }=\frac {-y n +f \left (x \right ) g \left (x^{n} y\right )}{x} \end {array} \]
Maple trace
`Methods for first order ODEs: --- Trying classification methods --- trying homogeneous types: differential order: 1; looking for linear symmetries trying exact Looking for potential symmetries trying an equivalence to an Abel ODE trying 1st order ODE linearizable_by_differentiation --- Trying Lie symmetry methods, 1st order --- `, `-> Computing symmetries using: way = 3 `, `-> Computing symmetries using: way = 4 `, `-> Computing symmetries using: way = 5 trying symmetry patterns for 1st order ODEs -> trying a symmetry pattern of the form [F(x)*G(y), 0] -> trying a symmetry pattern of the form [0, F(x)*G(y)] -> trying symmetry patterns of the forms [F(x),G(y)] and [G(y),F(x)] -> trying a symmetry pattern of the form [F(x),G(x)] -> trying a symmetry pattern of the form [F(y),G(y)] -> trying a symmetry pattern of the form [F(x)+G(y), 0] -> trying a symmetry pattern of the form [0, F(x)+G(y)] -> trying a symmetry pattern of the form [F(x),G(x)*y+H(x)] <- symmetry pattern of the form [F(x),G(x)*y+H(x)] successful 1st order, trying the canonical coordinates of the invariance group -> Calling odsolve with the ODE`, diff(y(x), x) = -y(x)*n/x, y(x)` *** Sublevel 2 *** Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear <- 1st order linear successful <- 1st order, canonical coordinates successful`
✓ Solution by Maple
Time used: 0.14 (sec). Leaf size: 33
dsolve(x*diff(y(x),x)+n*y(x) = f(x)*g(x^n*y(x)),y(x), singsol=all)
\[ y \left (x \right ) = \operatorname {RootOf}\left (-\left (\int x^{n -1} f \left (x \right )d x \right )+\int _{}^{\textit {\_Z}}\frac {1}{g \left (\textit {\_a} \right )}d \textit {\_a} +c_{1} \right ) x^{-n} \]
✓ Solution by Mathematica
Time used: 1.899 (sec). Leaf size: 41
DSolve[x y'[x]+ n y[x]==f[x] g[x^n y[x]],y[x],x,IncludeSingularSolutions -> True]
\[ \text {Solve}\left [\int _1^{x^n y(x)}\frac {1}{g(K[1])}dK[1]=\int _1^xf(K[2]) K[2]^{n-1}dK[2]+c_1,y(x)\right ] \]