Internal
problem
ID
[22142]
Book
:
Schaums
outline
series.
Differential
Equations
By
Richard
Bronson.
1973.
McGraw-Hill
Inc.
ISBN
0-07-008009-7
Section
:
Chapter
6.
Exact
first-order
differential
equations.
Solved
problems.
Page
24
Problem
number
:
6.5
Date
solved
:
Thursday, October 02, 2025 at 08:32:20 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=diff(y(x),x) = -2*x*y(x)/(x^2+1); ic:=[y(2) = -5]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=D[y[x],x]==(-2*x*y[x])/(1+x^2 ); ic={y[2]==-5}; 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),0) ics = {y(2): -5} dsolve(ode,func=y(x),ics=ics)