Internal
problem
ID
[13213]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
2,
section
2.1
(Exact
differential
equations
and
integrating
factors).
Exercises
page
37
Problem
number
:
14
Date
solved
:
Monday, March 31, 2025 at 07:39:26 AM
CAS
classification
:
[_exact, [_Abel, `2nd type`, `class B`]]
With initial conditions
ode:=y(x)*exp(x)+2*exp(x)+y(x)^2+(exp(x)+2*x*y(x))*diff(y(x),x) = 0; ic:=y(0) = 6; dsolve([ode,ic],y(x), singsol=all);
ode=(y[x]*Exp[x]+2*Exp[x]+y[x]^2)+(Exp[x]+2*x*y[x])*D[y[x],x]==0; ic={y[0]==6}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((2*x*y(x) + exp(x))*Derivative(y(x), x) + y(x)**2 + y(x)*exp(x) + 2*exp(x),0) ics = {y(0): 6} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE Derivative(y(x), x) - (-y(x)**2 - y(x)*exp(x) - 2*exp(x))/(2*x*y(x) + exp(x)) cannot be solved by the factorable group method