Internal
problem
ID
[7858]
Book
:
Differential
Equations:
Theory,
Technique,
and
Practice
by
George
Simmons,
Steven
Krantz.
McGraw-Hill
NY.
2007.
1st
Edition.
Section
:
Chapter
1.
What
is
a
differential
equation.
Section
1.5.
Exact
Equations.
Page
20
Problem
number
:
9
Date
solved
:
Sunday, March 30, 2025 at 12:31:32 PM
CAS
classification
:
[_separable]
ode:=1+y(x)+(1-x)*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(1+y[x])+(1-x)*D[y[x],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)