Internal
problem
ID
[13401]
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-4.
Equations
with
cotangent.
Problem
number
:
39
Date
solved
:
Friday, December 19, 2025 at 03:52:59 AM
CAS
classification
:
[_Riccati]
ode:=diff(y(x),x) = y(x)^2+lambda^2+3*a*lambda+a*(lambda-a)*cot(lambda*x)^2; dsolve(ode,y(x), singsol=all);
Maple trace
Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear trying Bernoulli trying separable trying inverse linear trying homogeneous types: trying Chini differential order: 1; looking for linear symmetries trying exact Looking for potential symmetries trying Riccati trying Riccati Special trying Riccati sub-methods: trying Riccati_symmetries trying Riccati to 2nd Order -> Calling odsolve with the ODE, diff(diff(y(x),x),x) = (a^2*cot(lambda*x)^2 -a*cot(lambda*x)^2*lambda-3*a*lambda-lambda^2)*y(x), y(x) *** Sublevel 2 *** Methods for second order ODEs: --- Trying classification methods --- trying a symmetry of the form [xi=0, eta=F(x)] checking if the LODE is missing y -> Heun: Equivalence to the GHE or one of its 4 confluent cases under a \ power @ Moebius -> trying a solution of the form r0(x) * Y + r1(x) * Y where Y = exp(int\ (r(x), dx)) * 2F1([a1, a2], [b1], f) -> Trying changes of variables to rationalize or make the ODE simpler trying a quadrature checking if the LODE has constant coefficients checking if the LODE is of Euler type trying a symmetry of the form [xi=0, eta=F(x)] checking if the LODE is missing y -> Trying a Liouvillian solution using Kovacics algorithm A Liouvillian solution exists Reducible group (found an exponential solution) Group is reducible, not completely reducible Solution has integrals. Trying a special function solution free of \ integrals... -> Trying a solution in terms of special functions: -> Bessel -> elliptic -> Legendre <- Legendre successful <- special function solution successful -> Trying to convert hypergeometric functions to elementary form\ ... <- elementary form is not straightforward to achieve - returning\ special function solution free of uncomputed integrals <- Kovacics algorithm successful Change of variables used: [x = 1/lambda*arccos(t)] Linear ODE actually solved: (a^2*t^2+2*a*lambda*t^2+lambda^2*t^2-3*a*lambda-lambda^2)*u(t)+(-la\ mbda^2*t^3+lambda^2*t)*diff(u(t),t)+(-lambda^2*t^4+2*lambda^2*t^2-lambda^2)*dif\ f(diff(u(t),t),t) = 0 <- change of variables successful <- Riccati to 2nd Order successful
Maple step by step
ode=D[y[x],x]==y[x]^2+\[Lambda]^2+3*a*\[Lambda]+a*(\[Lambda]-a)*Cot[\[Lambda]*x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") lambda_ = symbols("lambda_") y = Function("y") ode = Eq(-3*a*lambda_ - a*(-a + lambda_)/tan(lambda_*x)**2 - lambda_**2 - y(x)**2 + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE a**2/tan(lambda_*x)**2 - 3*a*lambda_ - a*lambda_/tan(lambda_*x)**2 - lambda_**2 - y(x)**2 + Derivative(y(x), x) cannot be solved by the factorable group method