Internal
problem
ID
[4791]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
7
Problem
number
:
191
Date
solved
:
Sunday, March 30, 2025 at 03:54:56 AM
CAS
classification
:
[[_homogeneous, `class G`], _rational, _Bernoulli]
ode:=x*diff(y(x),x)+2*y(x) = a*x^(2*k)*y(x)^k; dsolve(ode,y(x), singsol=all);
ode=x D[y[x],x]+2 y[x]==a x^(2 k)y[x]^k; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") k = symbols("k") y = Function("y") ode = Eq(-a*x**(2*k)*y(x)**k + x*Derivative(y(x), x) + 2*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)