Internal
problem
ID
[13237]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
2,
section
2.2
(Separable
equations).
Exercises
page
47
Problem
number
:
19
Date
solved
:
Monday, March 31, 2025 at 07:42:40 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class A`]]
With initial conditions
ode:=2*x-5*y(x)+(4*x-y(x))*diff(y(x),x) = 0; ic:=y(1) = 4; dsolve([ode,ic],y(x), singsol=all);
ode=(2*x-5*y[x])+(4*x-y[x])*D[y[x],x]==0; ic={y[1]==4}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*x + (4*x - y(x))*Derivative(y(x), x) - 5*y(x),0) ics = {y(1): 4} dsolve(ode,func=y(x),ics=ics)