Internal
problem
ID
[5022]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
15
Problem
number
:
424
Date
solved
:
Sunday, March 30, 2025 at 06:30:20 AM
CAS
classification
:
[_rational, _Bernoulli]
ode:=y(x)*diff(y(x),x) = a*x+b*y(x)^2; dsolve(ode,y(x), singsol=all);
ode=y[x] D[y[x],x]==a x+b y[x]^2; 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*x - b*y(x)**2 + y(x)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)