Internal
problem
ID
[4112]
Book
:
Theory
and
solutions
of
Ordinary
Differential
equations,
Donald
Greenspan,
1960
Section
:
Chapter
2.
First
order
equations.
Exercises
at
page
14
Problem
number
:
2(L)
Date
solved
:
Sunday, March 30, 2025 at 02:18:28 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class A`]]
With initial conditions
ode:=diff(y(x),x) = (2*x-y(x))/(y(x)+2*x); ic:=y(2) = 2; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]==(2*x-y[x])/(2*x+y[x]); ic=y[2]==2; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((-2*x + y(x))/(2*x + y(x)) + Derivative(y(x), x),0) ics = {y(2): 2} dsolve(ode,func=y(x),ics=ics)
Timed Out