Internal
problem
ID
[1208]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Section
2.6.
Page
100
Problem
number
:
21
Date
solved
:
Saturday, March 29, 2025 at 10:47:22 PM
CAS
classification
:
[[_1st_order, `_with_symmetry_[F(x)*G(y),0]`]]
ode:=y(x)+(2*x-exp(y(x))*y(x))*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=y[x]+(2*x-Exp[y[x]]*y[x])*D[y[x],x] == 0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((2*x - y(x)*exp(y(x)))*Derivative(y(x), x) + y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)