Internal
problem
ID
[2906]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
7,
page
28
Problem
number
:
13
Date
solved
:
Sunday, March 30, 2025 at 12:49:12 AM
CAS
classification
:
[[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]
With initial conditions
ode:=2*x+3*y(x)+2+(y(x)-x)*diff(y(x),x) = 0; ic:=y(0) = -2; dsolve([ode,ic],y(x), singsol=all);
ode=(2*x+3*y[x]+2)+(y[x]-x)*D[y[x],x]==0; ic={y[0]==-2}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*x + (-x + y(x))*Derivative(y(x), x) + 3*y(x) + 2,0) ics = {y(0): -2} dsolve(ode,func=y(x),ics=ics)