Internal
problem
ID
[9052]
Book
:
First
order
enumerated
odes
Section
:
section
1
Problem
number
:
69
Date
solved
:
Friday, April 25, 2025 at 05:39:30 PM
CAS
classification
:
[[_1st_order, `_with_symmetry_[F(x),G(x)]`]]
Time used: 0.363 (sec)
Solve
Writing the ode as
And using the substitution
The above shows that
Substituting this in (1) gives
The above simplifies to
Now ode (2) is solved for
In canonical form a linear first order is
Comparing the above to the given ode shows that
The integrating factor
The ode becomes
Integrating gives
Dividing throughout by the integrating factor
Substituting the solution found for
Solving for
Summary of solutions found
ode:=diff(y(x),x) = x*exp(x+y(x))+sin(x); dsolve(ode,y(x), singsol=all);
Maple trace
Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear trying Bernoulli trying separable trying inverse linear trying homogeneous types: trying Chini differential order: 1; looking for linear symmetries trying exact Looking for potential symmetries trying inverse_Riccati trying an equivalence to an Abel ODE differential order: 1; trying a linearization to 2nd order --- trying a change of variables {x -> y(x), y(x) -> x} differential order: 1; trying a linearization to 2nd order trying 1st order ODE linearizable_by_differentiation --- Trying Lie symmetry methods, 1st order --- -> Computing symmetries using: way = 3 -> Computing symmetries using: way = 4 -> Computing symmetries using: way = 5 trying symmetry patterns for 1st order ODEs -> trying a symmetry pattern of the form [F(x)*G(y), 0] -> trying a symmetry pattern of the form [0, F(x)*G(y)] <- symmetry pattern of the form [0, F(x)*G(y)] successful
Maple step by step
ode=D[y[x],x]==x*Exp[x+y[x]]+Sin[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*exp(x + y(x)) - sin(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)