Internal
problem
ID
[18989]
Book
:
Differential
equations.
An
introduction
to
modern
methods
and
applications.
James
Brannan,
William
E.
Boyce.
Third
edition.
Wiley
2015
Section
:
Chapter
4.
Second
order
linear
equations.
Section
4.7
(Variation
of
parameters).
Problems
at
page
280
Problem
number
:
26
Date
solved
:
Thursday, October 02, 2025 at 03:36:43 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
ode:=(1-x)*diff(diff(y(x),x),x)+x*diff(y(x),x)-y(x) = g(x); dsolve(ode,y(x), singsol=all);
ode=(1-x)*D[y[x],{x,2}]+x*D[y[x],x]-y[x]==g[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*Derivative(y(x), x) + (1 - x)*Derivative(y(x), (x, 2)) - g(x) - y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE Derivative(y(x), x) - (x*Derivative(y(x), (x, 2)) + g(x) + y(x) - Derivative(y(x), (x, 2)))/x cannot be solved by the factorable group method