Internal
problem
ID
[199]
Book
:
Elementary
Differential
Equations.
By
C.
Henry
Edwards,
David
E.
Penney
and
David
Calvis.
6th
edition.
2008
Section
:
Chapter
1.
First
order
differential
equations.
Review
problems
at
page
98
Problem
number
:
21
Date
solved
:
Tuesday, March 04, 2025 at 11:01:28 AM
CAS
classification
:
[_linear]
ode:=(x^2-1)*diff(y(x),x)+(x-1)*y(x) = 1; dsolve(ode,y(x), singsol=all);
ode=(x^2-1)*D[y[x],x]+(x-1)*y[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)