Internal
problem
ID
[13211]
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
:
12
Date
solved
:
Monday, March 31, 2025 at 07:38:00 AM
CAS
classification
:
[_exact, _rational]
With initial conditions
ode:=3*x^2*y(x)^2-y(x)^3+2*x+(2*x^3*y(x)-3*x*y(x)^2+1)*diff(y(x),x) = 0; ic:=y(-2) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=(3*x^2*y[x]^2-y[x]^3+2*x)+(2*x^3*y[x]-3*x*y[x]^2+1)*D[y[x],x]==0; ic={y[-2]==1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(3*x**2*y(x)**2 + 2*x + (2*x**3*y(x) - 3*x*y(x)**2 + 1)*Derivative(y(x), x) - y(x)**3,0) ics = {y(-2): 1} dsolve(ode,func=y(x),ics=ics)
Timed Out