Internal
problem
ID
[1599]
Book
:
Elementary
differential
equations
with
boundary
value
problems.
William
F.
Trench.
Brooks/Cole
2001
Section
:
Chapter
2,
First
order
equations.
separable
equations.
Section
2.2
Page
52
Problem
number
:
23
Date
solved
:
Tuesday, September 30, 2025 at 04:39:10 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=(1+x)*(x-2)*diff(y(x),x)+y(x) = 0; ic:=[y(1) = -3]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=(x+1)*(x-2)*D[y[x],x]+y[x]==0; ic=y[1]==-3; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((x - 2)*(x + 1)*Derivative(y(x), x) + y(x),0) ics = {y(1): -3} dsolve(ode,func=y(x),ics=ics)