Internal
problem
ID
[24026]
Book
:
Elementary
Differential
Equations.
By
Lee
Roy
Wilcox
and
Herbert
J.
Curtis.
1961
first
edition.
International
texbook
company.
Scranton,
Penn.
USA.
CAT
number
61-15976
Section
:
Chapter
2.
Differential
equations
of
first
order.
Exercise
at
page
48
Problem
number
:
6
Date
solved
:
Thursday, October 02, 2025 at 09:54:33 PM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)+y(x)/x = ln(x)-2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,1}] +1/x*y[x]==Log[x]-2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-log(x) + Derivative(y(x), x) + 2 + y(x)/x,0) ics = {} dsolve(ode,func=y(x),ics=ics)