Internal
problem
ID
[791]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Chapter
1
review
problems.
Page
78
Problem
number
:
21
Date
solved
:
Tuesday, March 04, 2025 at 11:48:46 AM
CAS
classification
:
[_linear]
ode:=(x-1)*y(x)+(x^2-1)*diff(y(x),x) = 1; dsolve(ode,y(x), singsol=all);
ode=(-1+x)*y[x]+(x^2-1)*D[y[x],x] == 1; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((x - 1)*y(x) + (x**2 - 1)*Derivative(y(x), x) - 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)