Internal
problem
ID
[2978]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
10,
page
41
Problem
number
:
21
Date
solved
:
Tuesday, September 30, 2025 at 06:13:34 AM
CAS
classification
:
[_rational, [_1st_order, `_with_symmetry_[F(x)*G(y),0]`]]
With initial conditions
ode:=y(x)+y(x)^3+4*(x*y(x)^2-1)*diff(y(x),x) = 0; ic:=[y(0) = 1]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=(y[x]+y[x]^3)+4*(x*y[x]^2-1)*D[y[x],x]==0; ic={y[0]==1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((4*x*y(x)**2 - 4)*Derivative(y(x), x) + y(x)**3 + y(x),0) ics = {y(0): 1} dsolve(ode,func=y(x),ics=ics)