Internal
problem
ID
[12116]
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
:
21
Date
solved
:
Wednesday, March 05, 2025 at 04:31:21 PM
CAS
classification
:
[_Riccati]
ode:=diff(y(x),x) = (lambda+a*cos(lambda*x)^2)*y(x)^2+lambda-a+a*cos(lambda*x)^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==(\[Lambda]+a*Cos[\[Lambda]*x]^2)*y[x]^2+\[Lambda]-a+a*Cos[\[Lambda]*x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") cg = symbols("cg") y = Function("y") ode = Eq(-a*cos(cg*x)**2 + a - cg - (a*cos(cg*x)**2 + cg)*y(x)**2 + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE -a*y(x)**2*cos(cg*x)**2 - a*cos(cg*x)**2 + a - cg*y(x)**2 - cg + Derivative(y(x), x) cannot be solved by the factorable group method