Internal
problem
ID
[7736]
Book
:
An
introduction
to
Ordinary
Differential
Equations.
Earl
A.
Coddington.
Dover.
NY
1961
Section
:
Chapter
5.
Existence
and
uniqueness
of
solutions
to
first
order
equations.
Page
190
Problem
number
:
2(a)
Date
solved
:
Wednesday, March 05, 2025 at 04:51:48 AM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=diff(y(x),x) = y(x)^2; ic:=y(x__0) = y__0; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]==x2*y[x]; ic={y[x0]==y0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-y(x)**2 + Derivative(y(x), x),0) ics = {y(x__0): y__0} dsolve(ode,func=y(x),ics=ics)