Internal
problem
ID
[4698]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
4
Problem
number
:
95
Date
solved
:
Sunday, March 30, 2025 at 03:39:51 AM
CAS
classification
:
[_Bernoulli]
ode:=diff(y(x),x) = f(x)*y(x)+g(x)*y(x)^k; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==f[x] y[x]+g[x]y[x]^k; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") k = symbols("k") y = Function("y") f = Function("f") g = Function("g") ode = Eq(-f(x)*y(x) - g(x)*y(x)**k + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)