Internal
problem
ID
[4096]
Book
:
Theory
and
solutions
of
Ordinary
Differential
equations,
Donald
Greenspan,
1960
Section
:
Chapter
2.
First
order
equations.
Exercises
at
page
14
Problem
number
:
1(f)
Date
solved
:
Sunday, March 30, 2025 at 02:17:37 AM
CAS
classification
:
[_separable]
ode:=(1+x)*diff(y(x),x)-x^2*y(x)^2 = 0; dsolve(ode,y(x), singsol=all);
ode=(x+1)*D[y[x],x]-x^2*y[x]^2==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2*y(x)**2 + (x + 1)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)