Internal
problem
ID
[15517]
Book
:
DIFFERENTIAL
and
INTEGRAL
CALCULUS.
VOL
I.
by
N.
PISKUNOV.
MIR
PUBLISHERS,
Moscow
1969.
Section
:
Chapter
8.
Differential
equations.
Exercises
page
595
Problem
number
:
122
Date
solved
:
Thursday, October 02, 2025 at 10:19:21 AM
CAS
classification
:
[[_2nd_order, _missing_y]]
With initial conditions
ode:=x*diff(diff(y(x),x),x)-diff(y(x),x) = x^2*exp(x); ic:=[y(0) = -1, D(y)(0) = 0]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=x*D[y[x],{x,2}]-D[y[x],x]==x^2*Exp[x]; ic={y[0]==-1,Derivative[1][y][0] ==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2*exp(x) + x*Derivative(y(x), (x, 2)) - Derivative(y(x), x),0) ics = {y(0): -1, Subs(Derivative(y(x), x), x, 0): 0} dsolve(ode,func=y(x),ics=ics)