Internal
problem
ID
[18648]
Book
:
Introductory
Course
On
Differential
Equations
by
Daniel
A
Murray.
Longmans
Green
and
Co.
NY.
1924
Section
:
Chapter
II.
Equations
of
the
first
order
and
of
the
first
degree.
Exercises
at
page
14
Problem
number
:
Ex.
1
Date
solved
:
Thursday, March 13, 2025 at 12:27:17 PM
CAS
classification
:
[_separable]
ode:=(1-x)*diff(y(x),x)-1-y(x) = 0; dsolve(ode,y(x), singsol=all);
ode=(1-x)*D[y[x],x]-(1+y[x])==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((1 - x)*Derivative(y(x), x) - y(x) - 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)