Internal
problem
ID
[13670]
Book
:
AN
INTRODUCTION
TO
ORDINARY
DIFFERENTIAL
EQUATIONS
by
JAMES
C.
ROBINSON.
Cambridge
University
Press
2004
Section
:
Chapter
10,
Two
tricks
for
nonlinear
equations.
Exercises
page
97
Problem
number
:
10.1
(ii)
Date
solved
:
Monday, March 31, 2025 at 08:07:24 AM
CAS
classification
:
[_linear]
ode:=1+y(x)*exp(x)+x*exp(x)*y(x)+(x*exp(x)+2)*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(1+Exp[x]*y[x]+x*Exp[x]*y[x])+(x*Exp[x]+2)*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(x*y(x)*exp(x) + (x*exp(x) + 2)*Derivative(y(x), x) + y(x)*exp(x) + 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)