Internal
problem
ID
[14648]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
2,
Miscellaneous
Review.
Exercises
page
60
Problem
number
:
17
Date
solved
:
Thursday, October 02, 2025 at 09:45:57 AM
CAS
classification
:
[_exact, _Bernoulli]
With initial conditions
ode:=exp(2*x)*y(x)^2-2*x+exp(2*x)*y(x)*diff(y(x),x) = 0; ic:=[y(0) = 2]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=(Exp[2*x]*y[x]^2-2*x)+(Exp[2*x]*y[x])*D[y[x],x]==0; ic={y[0]==2}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*x + y(x)**2*exp(2*x) + y(x)*exp(2*x)*Derivative(y(x), x),0) ics = {y(0): 2} dsolve(ode,func=y(x),ics=ics)