Internal
problem
ID
[13919]
Book
:
Handbook
of
exact
solutions
for
ordinary
differential
equations.
By
Polyanin
and
Zaitsev.
Second
edition
Section
:
Chapter
2,
Second-Order
Differential
Equations.
section
2.1.2-8.
Other
equations.
Problem
number
:
259
Date
solved
:
Friday, December 19, 2025 at 08:34:49 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
ode:=x^2*(a*x^n+b)^2*diff(diff(y(x),x),x)+(n+1)*x*(a^2*x^(2*n)-b^2)*diff(y(x),x)+c*y(x) = 0; dsolve(ode,y(x), singsol=all);
Maple trace
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 -> Trying an equivalence, under non-integer power transformations, to LODEs admitting Liouvillian solutions. -> Trying a Liouvillian solution using Kovacics algorithm A Liouvillian solution exists Group is reducible or imprimitive <- Kovacics algorithm successful <- Equivalence, under non-integer power transformations successful
ode=x^2*(a*x^n+b)^2*D[y[x],{x,2}]+(n+1)*x*(a^2*x^(2*n)-b^2)*D[y[x],x]+c*y[x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") c = symbols("c") n = symbols("n") y = Function("y") ode = Eq(c*y(x) + x**2*(a*x**n + b)**2*Derivative(y(x), (x, 2)) + x*(n + 1)*(a**2*x**(2*n) - b**2)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
TypeError : Add object cannot be interpreted as an integer
Python version: 3.12.3 (main, Aug 14 2025, 17:47:21) [GCC 13.3.0] Sympy version 1.14.0
classify_ode(ode,func=y(x)) ('factorable', '2nd_hypergeometric', '2nd_hypergeometric_Integral', '2nd_power_series_regular')