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