Internal
problem
ID
[5712]
Book
:
Differential
Equations,
By
George
Boole
F.R.S.
1865
Section
:
Chapter
2
Problem
number
:
6.1
Date
solved
:
Tuesday, March 04, 2025 at 11:29:56 PM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)+x/(x^2+1)*y(x) = 1/2/x/(x^2+1); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+x/(1+x^2)*y[x]==1/(2*x*(1+x^2)); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*y(x)/(x**2 + 1) + Derivative(y(x), x) - 1/(2*x*(x**2 + 1)),0) ics = {} dsolve(ode,func=y(x),ics=ics)