Internal
problem
ID
[4856]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
9
Problem
number
:
256
Date
solved
:
Sunday, March 30, 2025 at 04:04:27 AM
CAS
classification
:
[_linear]
ode:=x^2*diff(y(x),x)+2*x*(1-x)*y(x) = exp(x)*(2*exp(x)-1); dsolve(ode,y(x), singsol=all);
ode=x^2 D[y[x],x]+2 x(1-x)y[x]==Exp[x](2 Exp[x]-1); 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*x*(1 - x)*y(x) - (2*exp(x) - 1)*exp(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)