Internal
problem
ID
[16633]
Book
:
A
book
of
problems
in
ordinary
differential
equations.
M.L.
KRASNOV,
A.L.
KISELYOV,
G.I.
MARKARENKO.
MIR,
MOSCOW.
1983
Section
:
Section
4.
Equations
with
variables
separable
and
equations
reducible
to
them.
Exercises
page
38
Problem
number
:
55
Date
solved
:
Thursday, March 13, 2025 at 08:28:00 AM
CAS
classification
:
[_separable]
ode:=exp(y(x))*(x^2+1)*diff(y(x),x)-2*x*(1+exp(y(x))) = 0; dsolve(ode,y(x), singsol=all);
ode=Exp[y[x]]*(1+x^2)*D[y[x],x]-2*x*(1+Exp[y[x]])==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*x*(exp(y(x)) + 1) + (x**2 + 1)*exp(y(x))*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)