Internal
problem
ID
[1679]
Book
:
Elementary
differential
equations
with
boundary
value
problems.
William
F.
Trench.
Brooks/Cole
2001
Section
:
Chapter
2,
First
order
equations.
Transformation
of
Nonlinear
Equations
into
Separable
Equations.
Section
2.4
Page
68
Problem
number
:
56
Date
solved
:
Tuesday, September 30, 2025 at 04:59:04 AM
CAS
classification
:
[_Riccati]
ode:=diff(y(x),x) = 1+x-(2*x+1)*y(x)+x*y(x)^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==1+x-(1+2*x)*y[x]+x*y[x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*y(x)**2 - x + (2*x + 1)*y(x) + Derivative(y(x), x) - 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)