Internal
problem
ID
[4917]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
11
Problem
number
:
317
Date
solved
:
Sunday, March 30, 2025 at 04:13:18 AM
CAS
classification
:
[_linear]
ode:=x*(1+x)*diff(y(x),x) = (1+x)*(x^2-1)+(x^2+x-1)*y(x); dsolve(ode,y(x), singsol=all);
ode=x(1+x)D[y[x],x]==(x+1)(x^2-1)+(x^2+x-1)y[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*(x + 1)*Derivative(y(x), x) - (x + 1)*(x**2 - 1) - (x**2 + x - 1)*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)