Internal
problem
ID
[15452]
Book
:
Ordinary
Differential
Equations.
An
introduction
to
the
fundamentals.
Kenneth
B.
Howell.
second
edition.
CRC
Press.
FL,
USA.
2020
Section
:
Chapter
24.
Variation
of
parameters.
Additional
exercises
page
444
Problem
number
:
24.1
(k)
Date
solved
:
Monday, March 31, 2025 at 01:38:16 PM
CAS
classification
:
[[_2nd_order, _exact, _linear, _nonhomogeneous]]
ode:=x^2*diff(diff(y(x),x),x)-2*y(x) = 1/(x-2); dsolve(ode,y(x), singsol=all);
ode=x^2*D[y[x],{x,2}]-2*y[x]==1/(x-2); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x**2*Derivative(y(x), (x, 2)) - 2*y(x) - 1/(x - 2),0) ics = {} dsolve(ode,func=y(x),ics=ics)