Internal
problem
ID
[13411]
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-2.
Equations
with
cosine.
Problem
number
:
17
Date
solved
:
Wednesday, October 01, 2025 at 10:54:43 AM
CAS
classification
:
[_Riccati]
ode:=diff(y(x),x) = y(x)^2+a*cos(beta*x)*y(x)+a*b*cos(beta*x)-b^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==y[x]^2+a*Cos[\[Beta]*x]*y[x]+a*b*Cos[\[Beta]*x]-b^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") BETA = symbols("BETA") a = symbols("a") b = symbols("b") y = Function("y") ode = Eq(-a*b*cos(BETA*x) - a*y(x)*cos(BETA*x) + b**2 - y(x)**2 + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE -a*b*cos(BETA*x) - a*y(x)*cos(BETA*x) + b**2 - y(x)**2 + Derivative(y(x), x) cannot be solved by the lie group method