Internal
problem
ID
[16822]
Book
:
A
book
of
problems
in
ordinary
differential
equations.
M.L.
KRASNOV,
A.L.
KISELYOV,
G.I.
MARKARENKO.
MIR,
MOSCOW.
1983
Section
:
Section
12.
Miscellaneous
problems.
Exercises
page
93
Problem
number
:
309
Date
solved
:
Thursday, March 13, 2025 at 08:52:22 AM
CAS
classification
:
[[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]
With initial conditions
ode:=x+y(x)+1+(2*x+2*y(x)-1)*diff(y(x),x) = 0; ic:=y(1) = 2; dsolve([ode,ic],y(x), singsol=all);
ode=(x+y[x]+1)+(2*x+2*y[x]-1)*D[y[x],x]==0; ic={y[1]==2}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x + (2*x + 2*y(x) - 1)*Derivative(y(x), x) + y(x) + 1,0) ics = {y(1): 2} dsolve(ode,func=y(x),ics=ics)