Internal
problem
ID
[4117]
Book
:
Theory
and
solutions
of
Ordinary
Differential
equations,
Donald
Greenspan,
1960
Section
:
Chapter
2.
First
order
equations.
Exercises
at
page
14
Problem
number
:
2(q)
Date
solved
:
Sunday, March 30, 2025 at 02:40:13 AM
CAS
classification
:
[_exact, _rational]
With initial conditions
ode:=(x+y(x)^2)*diff(y(x),x)+y(x)-x^2 = 0; ic:=y(1) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=(x+y[x]^2)*D[y[x],x]+(y[x]-x^2)==0; 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 + (x + y(x)**2)*Derivative(y(x), x) + y(x),0) ics = {y(1): 1} dsolve(ode,func=y(x),ics=ics)
Timed Out