Internal
problem
ID
[2981]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
10,
page
41
Problem
number
:
24
Date
solved
:
Sunday, March 30, 2025 at 01:03:16 AM
CAS
classification
:
[_linear]
With initial conditions
ode:=(x^2-1)*diff(y(x),x)+(x^2-1)^2+4*y(x) = 0; ic:=y(0) = -6; dsolve([ode,ic],y(x), singsol=all);
ode=(x^2-1)*D[y[x],x]+(x^2-1)^2+4*y[x]==0; ic={y[0]==-6}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((x**2 - 1)**2 + (x**2 - 1)*Derivative(y(x), x) + 4*y(x),0) ics = {y(0): -6} dsolve(ode,func=y(x),ics=ics)