Internal
problem
ID
[10293]
Book
:
First
order
enumerated
odes
Section
:
section
1
Problem
number
:
23
Date
solved
:
Tuesday, September 30, 2025 at 07:18:21 PM
CAS
classification
:
[_rational, _Bernoulli]
ode:=c*diff(y(x),x) = (a*x+b*y(x)^2)/y(x); dsolve(ode,y(x), singsol=all);
ode=c*D[y[x],x]==(a*x+b*y[x]^2)/y[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") c = symbols("c") y = Function("y") ode = Eq(c*Derivative(y(x), x) - (a*x + b*y(x)**2)/y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)