Internal
problem
ID
[19205]
Book
:
A
Text
book
for
differentional
equations
for
postgraduate
students
by
Ray
and
Chaturvedi.
First
edition,
1958.
BHASKAR
press.
INDIA
Section
:
Chapter
IV.
Equations
of
the
first
order
but
not
of
the
first
degree.
Exercise
IV
(E)
at
page
63
Problem
number
:
22
Date
solved
:
Monday, March 31, 2025 at 06:56:40 PM
CAS
classification
:
[_quadrature]
ode:=diff(y(x),x)^3-(y(x)+2*x-exp(x-y(x)))*diff(y(x),x)^2+(2*x*y(x)-2*x*exp(x-y(x))-y(x)*exp(x-y(x)))*diff(y(x),x)+2*x*y(x)*exp(x-y(x)) = 0; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]^3-(y[x]+2*x-Exp[x-y[x]])*D[y[x],x]^2+(2*x*y[x]-2*x*Exp[x-y[x]]-y[x]*Exp[x-y[x]])*D[y[x],x]+2*x*y[x]*Exp[x-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*y(x)*exp(x - y(x)) - (2*x + y(x) - exp(x - y(x)))*Derivative(y(x), x)**2 + (2*x*y(x) - 2*x*exp(x - y(x)) - y(x)*exp(x - y(x)))*Derivative(y(x), x) + Derivative(y(x), x)**3,0) ics = {} dsolve(ode,func=y(x),ics=ics)