Internal
problem
ID
[3467]
Book
:
Mathematical
methods
for
physics
and
engineering,
Riley,
Hobson,
Bence,
second
edition,
2002
Section
:
Chapter
14,
First
order
ordinary
differential
equations.
14.4
Exercises,
page
490
Problem
number
:
Problem
14.11
Date
solved
:
Tuesday, September 30, 2025 at 06:39:25 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class A`]]
ode:=(y(x)-x)*diff(y(x),x)+2*x+3*y(x) = 0; dsolve(ode,y(x), singsol=all);
ode=(y[x]-x)*D[y[x],x]+2*x+3*y[x]==0; ic={}; 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),0) ics = {} dsolve(ode,func=y(x),ics=ics)