Internal
problem
ID
[10128]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
2.0
Problem
number
:
37
Date
solved
:
Tuesday, September 30, 2025 at 07:03:40 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)-x^2*y(x)-x^4+2 = 0; dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]-x^2*y[x]-x^4+2==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**4 - x**2*y(x) + Derivative(y(x), (x, 2)) + 2,0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : solve: Cannot solve -x**4 - x**2*y(x) + Derivative(y(x), (x, 2)) + 2