Internal
problem
ID
[3001]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
11,
page
45
Problem
number
:
20
Date
solved
:
Sunday, March 30, 2025 at 01:05:12 AM
CAS
classification
:
[[_homogeneous, `class G`], _rational]
With initial conditions
ode:=2*y(x) = (x^2*y(x)^4+x)*diff(y(x),x); ic:=y(1) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=2*y[x]==(x^2*y[x]^4+x)*D[y[x],x]; ic={y[1]==1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((-x**2*y(x)**4 - x)*Derivative(y(x), x) + 2*y(x),0) ics = {y(1): 1} dsolve(ode,func=y(x),ics=ics)