Internal
problem
ID
[16367]
Book
:
Ordinary
Differential
Equations.
An
introduction
to
the
fundamentals.
Kenneth
B.
Howell.
second
edition.
CRC
Press.
FL,
USA.
2020
Section
:
Chapter
4.
SEPARABLE
FIRST
ORDER
EQUATIONS.
Additional
exercises.
page
90
Problem
number
:
4.8
(e)
Date
solved
:
Thursday, October 02, 2025 at 01:22:43 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=x*diff(y(x),x) = y(x)^2-y(x); ic:=[y(1) = 2]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=x*D[y[x],x]==y[x]^2-y[x]; ic={y[1]==2}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
{}
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*Derivative(y(x), x) - y(x)**2 + y(x),0) ics = {y(1): 2} dsolve(ode,func=y(x),ics=ics)