Internal
problem
ID
[12152]
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-5.
Equations
containing
combinations
of
trigonometric
functions.
Problem
number
:
57
Date
solved
:
Wednesday, March 05, 2025 at 04:58:39 PM
CAS
classification
:
[_Riccati]
ode:=diff(y(x),x) = y(x)^2+a*lambda+b*lambda+2*a*b+a*(-a+lambda)*tan(lambda*x)^2+b*(lambda-b)*cot(lambda*x)^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==y[x]^2+\[Lambda]*a+\[Lambda]*b+2*a*b+a*(\[Lambda]-a)*Tan[\[Lambda]*x]^2+b*(\[Lambda]-b)*Cot[\[Lambda]*x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
Not solved
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") cg = symbols("cg") y = Function("y") ode = Eq(-2*a*b - a*cg - a*(-a + cg)*tan(cg*x)**2 - b*cg - b*(-b + cg)/tan(cg*x)**2 - y(x)**2 + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE a**2*tan(cg*x)**2 - 2*a*b - a*cg*tan(cg*x)**2 - a*cg + b**2/tan(cg*x)**2 - b*cg - b*cg/tan(cg*x)**2 - y(x)**2 + Derivative(y(x), x) cannot be solved by the factorable group method