Internal
problem
ID
[1350]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Chapter
3,
Second
order
linear
equations,
section
3.6,
Variation
of
Parameters.
page
190
Problem
number
:
20
Date
solved
:
Saturday, March 29, 2025 at 10:52:58 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=x^2*diff(diff(y(x),x),x)+x*diff(y(x),x)+(x^2-1/4)*y(x) = g(x); dsolve(ode,y(x), singsol=all);
ode=x^2*D[y[x],{x,2}]+x*D[y[x],x]+(x^2-25/100)*y[x] == g[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") g = Function("g") ode = Eq(x**2*Derivative(y(x), (x, 2)) + x*Derivative(y(x), x) + (x**2 - 1/4)*y(x) - g(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE x*y(x) + x*Derivative(y(x), (x, 2)) + Derivative(y(x), x) - g(x)/x - y(x)/(4*x) cannot be solved by the factorable group method