Internal
problem
ID
[802]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Chapter
1
review
problems.
Page
78
Problem
number
:
32
(b)
Date
solved
:
Tuesday, March 04, 2025 at 11:49:53 AM
CAS
classification
:
[_separable]
ode:=diff(y(x),x) = -x*y(x)+x*y(x)^3; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x] == -x*y[x]+x*y[x]^3; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*y(x)**3 + x*y(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)