Internal
problem
ID
[15040]
Book
:
Ordinary
Differential
Equations.
An
introduction
to
the
fundamentals.
Kenneth
B.
Howell.
second
edition.
CRC
Press.
FL,
USA.
2020
Section
:
Chapter
6.
Simplifying
through
simplifiction.
Additional
exercises.
page
114
Problem
number
:
6.4
Date
solved
:
Thursday, March 13, 2025 at 05:31:08 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class A`]]
With initial conditions
ode:=diff(y(x),x) = (x-y(x))/(x+y(x)); ic:=y(0) = 3; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]==(x-y[x])/(x+y[x]); ic={y[0]==3}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-(x - y(x))/(x + y(x)) + Derivative(y(x), x),0) ics = {y(0): 3} dsolve(ode,func=y(x),ics=ics)