Internal
problem
ID
[9213]
Book
:
Differential
Equations:
Theory,
Technique,
and
Practice
by
George
Simmons,
Steven
Krantz.
McGraw-Hill
NY.
2007.
1st
Edition.
Section
:
Chapter
1.
What
is
a
differential
equation.
Problems
for
Review
and
Discovery.
Page
53
Problem
number
:
2(c)
Date
solved
:
Tuesday, September 30, 2025 at 06:14:49 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=y(x)^2*diff(y(x),x) = x; ic:=[y(-1) = 3]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=y[x]^2*D[y[x],x]==x; ic={y[-1]==3}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x + y(x)**2*Derivative(y(x), x),0) ics = {y(-1): 3} dsolve(ode,func=y(x),ics=ics)