Internal
problem
ID
[18096]
Book
:
DIFFERENTIAL
EQUATIONS
WITH
APPLICATIONS
AND
HISTORICAL
NOTES
by
George
F.
Simmons.
3rd
edition.
2017.
CRC
press,
Boca
Raton
FL.
Section
:
Chapter
2.
First
order
equations.
Section
10
(Linear
equations).
Problems
at
page
82
Problem
number
:
2
(g)
Date
solved
:
Thursday, March 13, 2025 at 11:36:03 AM
CAS
classification
:
[_linear]
ode:=y(x)-x+x*y(x)*cot(x)+x*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=y[x]-x+x*y[x]*Cot[x]+x*D[y[x],x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*y(x)/tan(x) + x*Derivative(y(x), x) - x + y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)