Internal
problem
ID
[8835]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
2.0
Problem
number
:
30
Date
solved
:
Sunday, March 30, 2025 at 01:41:18 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
ode:=diff(diff(y(x),x),x)-x*y(x)-x = 0; dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]-x*y[x]-x==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*y(x) - x + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)