Internal
problem
ID
[12614]
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-6
Problem
number
:
193
Date
solved
:
Wednesday, March 05, 2025 at 07:27:48 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
ode:=x^2*(a*x+b)*diff(diff(y(x),x),x)+(a*(2-n-m)*x^2-b*(n+m)*x)*diff(y(x),x)+(a*m*(n-1)*x+b*n*(m+1))*y(x) = 0; dsolve(ode,y(x), singsol=all);
ode=x^2*(a*x+b)*D[y[x],{x,2}]+(a*(2-n-m)*x^2-b*(n+m)*x)*D[y[x],x]+(a*m*(n-1)*x+b*n*(m+1))*y[x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") m = symbols("m") n = symbols("n") y = Function("y") ode = Eq(x**2*(a*x + b)*Derivative(y(x), (x, 2)) + (a*x**2*(-m - n + 2) - b*x*(m + n))*Derivative(y(x), x) + (a*m*x*(n - 1) + b*n*(m + 1))*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
ValueError : Expected Expr or iterable but got None