Internal
problem
ID
[21672]
Book
:
The
Differential
Equations
Problem
Solver.
VOL.
I.
M.
Fogiel
director.
REA,
NY.
1978.
ISBN
78-63609
Section
:
Chapter
16.
Variation
of
Parameters.
Page
375.
Problem
number
:
16-20
Date
solved
:
Thursday, October 02, 2025 at 07:59:44 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=(x^2-3*x+1)*diff(diff(y(x),x),x)-(x^2-x-2)*diff(y(x),x)+(2*x-3)*y(x) = x*(x^2-3*x+1)^2; dsolve(ode,y(x), singsol=all);
ode=(x^2-3*x+1)*D[y[x],{x,2}]-(x^2-x-2)*D[y[x],x]+(2*x-3)*y[x]==x*(x^2-3*x+1)^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*(x**2 - 3*x + 1)**2 + (2*x - 3)*y(x) + (x**2 - 3*x + 1)*Derivative(y(x), (x, 2)) - (x**2 - x - 2)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE Derivative(y(x), x) - (x**5 - 6*x**4 + 11*x**3 - x**2*Derivative(y(x), (x, 2)) - 6*x**2 - 2*x*y(x) + 3*x*Derivative(y(x), (x, 2)) + x + 3*y(x) - Derivative(y(x), (x, 2)))/(-x**2 + x + 2) cannot be solved by the factorable group method