Internal
problem
ID
[17765]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
4.
Higher
Order
Equations.
Exercises
4.7,
page
195
Problem
number
:
39
Date
solved
:
Thursday, October 02, 2025 at 02:27:53 PM
CAS
classification
:
[[_2nd_order, _exact, _linear, _nonhomogeneous]]
With initial conditions
ode:=2*x^2*diff(diff(y(x),x),x)+3*x*diff(y(x),x)-y(x) = 1/x^2; ic:=[y(1) = 0, D(y)(1) = 2]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=2*x^2*D[y[x],{x,2}]+3*x*D[y[x],x]-y[x]==1/x^2; ic={y[1]==0,Derivative[1][y][1]==2}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*x**2*Derivative(y(x), (x, 2)) + 3*x*Derivative(y(x), x) - y(x) - 1/x**2,0) ics = {y(1): 0, Subs(Derivative(y(x), x), x, 1): 2} dsolve(ode,func=y(x),ics=ics)