Internal
problem
ID
[1632]
Book
:
Elementary
differential
equations
with
boundary
value
problems.
William
F.
Trench.
Brooks/Cole
2001
Section
:
Chapter
2,
First
order
equations.
Transformation
of
Nonlinear
Equations
into
Separable
Equations.
Section
2.4
Page
68
Problem
number
:
4
Date
solved
:
Tuesday, September 30, 2025 at 04:40:54 AM
CAS
classification
:
[_rational, _Bernoulli]
ode:=(x^2+1)*diff(y(x),x)+2*x*y(x) = 1/(x^2+1)/y(x); dsolve(ode,y(x), singsol=all);
ode=(1+x^2)*D[y[x],x]+2*x*y[x]==1/((1+x^2)*y[x]); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*x*y(x) + (x**2 + 1)*Derivative(y(x), x) - 1/((x**2 + 1)*y(x)),0) ics = {} dsolve(ode,func=y(x),ics=ics)