Internal
problem
ID
[1730]
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
:
21
Date
solved
:
Tuesday, March 04, 2025 at 01:40:51 PM
CAS
classification
:
[_linear]
ode:=a*cos(x)*y(x)-y(x)^2*sin(x)+(b*cos(x)*y(x)-x*sin(x)*y(x))*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(a*Cos[x]*y[x]-y[x]*Sin[x]*y[x])+(b*Cos[x]*y[x]-x*Sin[x]*y[x])*D[y[x],x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") y = Function("y") ode = Eq(a*y(x)*cos(x) + (b*y(x)*cos(x) - x*y(x)*sin(x))*Derivative(y(x), x) - y(x)**2*sin(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
TypeError : < not supported between instances of NoneType and Zero