Internal
problem
ID
[1708]
Book
:
Elementary
differential
equations
with
boundary
value
problems.
William
F.
Trench.
Brooks/Cole
2001
Section
:
Chapter
2,
First
order
equations.
Exact
equations.
Section
2.5
Page
79
Problem
number
:
38
Date
solved
:
Saturday, March 29, 2025 at 11:35:24 PM
CAS
classification
:
[_rational, [_Abel, `2nd type`, `class B`]]
With initial conditions
ode:=diff(y(x),x)+2*y(x)/x = -2*x*y(x)/(x^2+2*x^2*y(x)+1); ic:=y(1) = -2; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]+2/x*y[x]== -(2*x*y[x])/(x^2+2*x^2*y[x]+1); ic=y[1]==-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**2*y(x) + x**2 + 1) + Derivative(y(x), x) + 2*y(x)/x,0) ics = {y(1): -2} dsolve(ode,func=y(x),ics=ics)
Timed Out