Internal
problem
ID
[18700]
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.
Examples
on
chapter
II
at
page
29
Problem
number
:
Ex.
6
Date
solved
:
Monday, March 31, 2025 at 05:59:17 PM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)+(-2*x+1)/x^2*y(x) = 1; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+(1-2*x)/x^2*y[x]==1; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - 1 + (1 - 2*x)*y(x)/x**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)