Internal
problem
ID
[18665]
Book
:
Introductory
Course
On
Differential
Equations
by
Daniel
A
Murray.
Longmans
Green
and
Co.
NY.
1924
Section
:
Chapter
II.
Equations
of
the
first
order
and
of
the
first
degree.
Exercises
at
page
22
Problem
number
:
Ex.
3
Date
solved
:
Thursday, March 13, 2025 at 12:31:42 PM
CAS
classification
:
[_separable]
ode:=a*(x*diff(y(x),x)+2*y(x)) = x*y(x)*diff(y(x),x); dsolve(ode,y(x), singsol=all);
ode=a*(x*D[y[x],x]+2*y[x])==x*y[x]*D[y[x],x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") y = Function("y") ode = Eq(a*(x*Derivative(y(x), x) + 2*y(x)) - x*y(x)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)