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