Internal
problem
ID
[4085]
Book
:
Differential
equations,
Shepley
L.
Ross,
1964
Section
:
2.4,
page
55
Problem
number
:
9
Date
solved
:
Sunday, March 30, 2025 at 02:16:53 AM
CAS
classification
:
[[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]
With initial conditions
ode:=3*x-y(x)-6+(x+y(x)+2)*diff(y(x),x) = 0; ic:=y(2) = -2; dsolve([ode,ic],y(x), singsol=all);
ode=(3*x-y[x]-6)+(x+y[x]+2)*D[y[x],x]==0; ic=y[2]==-2; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(3*x + (x + y(x) + 2)*Derivative(y(x), x) - y(x) - 6,0) ics = {y(2): -2} dsolve(ode,func=y(x),ics=ics)