Internal
problem
ID
[12104]
Book
:
Handbook
of
exact
solutions
for
ordinary
differential
equations.
By
Polyanin
and
Zaitsev.
Second
edition
Section
:
Chapter
1,
section
1.2.
Riccati
Equation.
subsection
1.2.6-1.
Equations
with
sine
Problem
number
:
9
Date
solved
:
Sunday, March 30, 2025 at 10:46:34 PM
CAS
classification
:
[_Riccati]
ode:=diff(y(x),x) = -(k+1)*x^k*y(x)^2+a*x^(k+1)*sin(x)^m*y(x)-a*sin(x)^m; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==-(k+1)*x^k*y[x]^2+a*x^(k+1)*Sin[x]^m*y[x]-a*Sin[x]^m; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") k = symbols("k") m = symbols("m") y = Function("y") ode = Eq(-a*x**(k + 1)*y(x)*sin(x)**m + a*sin(x)**m + x**k*(k + 1)*y(x)**2 + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
Timed Out