Internal
problem
ID
[1732]
Book
:
Elementary
differential
equations
with
boundary
value
problems.
William
F.
Trench.
Brooks/Cole
2001
Section
:
Chapter
2,
First
order
equations.
Exact
equations.
Integrating
factors.
Section
2.6
Page
91
Problem
number
:
23
Date
solved
:
Saturday, March 29, 2025 at 11:37:53 PM
CAS
classification
:
[_separable]
ode:=y(x)*(x*cos(x)+2*sin(x))+x*(y(x)+1)*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(y[x]*(x*Cos[x]+2*Sin[x]))+(x*(y[x]+1))*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) + 1)*Derivative(y(x), x) + (x*cos(x) + 2*sin(x))*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)