2.7 problem 7

2.7.1 Maple step by step solution

Internal problem ID [485]
Internal file name [OUTPUT/485_Sunday_June_05_2022_01_42_14_AM_30092807/index.tex]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Section 2.2. Page 48
Problem number: 7.
ODE order: 1.
ODE degree: 1.

The type(s) of ODE detected by this program : "unknown"

Maple gives the following as the ode type

[`y=_G(x,y')`]

Unable to solve or complete the solution.

\[ \boxed {y^{\prime }-\frac {-{\mathrm e}^{-x}+x}{{\mathrm e}^{y}+x}=0} \] Unable to determine ODE type.

2.7.1 Maple step by step solution

\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & y^{\prime } {\mathrm e}^{y}+y^{\prime } x +{\mathrm e}^{-x}-x =0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & y^{\prime } \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & y^{\prime }=\frac {-{\mathrm e}^{-x}+x}{{\mathrm e}^{y}+x} \end {array} \]

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)] 
-> trying symmetry patterns of the forms [F(x),G(y)] and [G(y),F(x)] 
`, `-> Computing symmetries using: way = HINT 
   -> Calling odsolve with the ODE`, diff(y(x), x) = -y(x)/x, y(x)`      *** Sublevel 2 *** 
      Methods for first order ODEs: 
      --- Trying classification methods --- 
      trying a quadrature 
      trying 1st order linear 
      <- 1st order linear successful 
   -> Calling odsolve with the ODE`, diff(y(x), x), y(x)`      *** Sublevel 2 *** 
      Methods for first order ODEs: 
      --- Trying classification methods --- 
      trying a quadrature 
      trying 1st order linear 
      <- 1st order linear successful 
   -> Calling odsolve with the ODE`, diff(y(x), x)+y(x), y(x)`      *** Sublevel 2 *** 
      Methods for first order ODEs: 
      --- Trying classification methods --- 
      trying a quadrature 
      trying 1st order linear 
      <- 1st order linear successful 
   -> Calling odsolve with the ODE`, diff(y(x), x) = 0, y(x)`      *** Sublevel 2 *** 
      Methods for first order ODEs: 
      --- Trying classification methods --- 
      trying a quadrature 
      trying 1st order linear 
      <- 1st order linear successful 
   -> Calling odsolve with the ODE`, diff(y(x), x) = -y(x), y(x)`      *** Sublevel 2 *** 
      Methods for first order ODEs: 
      --- Trying classification methods --- 
      trying a quadrature 
      trying 1st order linear 
      <- 1st order linear successful 
   -> Calling odsolve with the ODE`, diff(y(x), x)-y(x)-K[1], y(x)`      *** Sublevel 2 *** 
      Methods for first order ODEs: 
      --- Trying classification methods --- 
      trying a quadrature 
      trying 1st order linear 
      <- 1st order linear successful 
   -> Calling odsolve with the ODE`, diff(y(x), x)+(-x*K[1]+y(x))/x, y(x)`      *** Sublevel 2 *** 
      Methods for first order ODEs: 
      --- Trying classification methods --- 
      trying a quadrature 
      trying 1st order linear 
      <- 1st order linear successful 
   -> Calling odsolve with the ODE`, diff(y(x), x)-exp(-x)*y(x)*(x+1)/(x*(exp(-x)-x)), y(x)`      *** Sublevel 2 *** 
      Methods for first order ODEs: 
      --- Trying classification methods --- 
      trying a quadrature 
      trying 1st order linear 
      <- 1st order linear successful 
   -> Calling odsolve with the ODE`, diff(y(x), x)-y(x), y(x)`      *** Sublevel 2 *** 
      Methods for first order ODEs: 
      --- Trying classification methods --- 
      trying a quadrature 
      trying 1st order linear 
      <- 1st order linear successful 
   -> Calling odsolve with the ODE`, diff(y(x), x)+y(x)/x, y(x)`      *** Sublevel 2 *** 
      Methods for first order ODEs: 
      --- Trying classification methods --- 
      trying a quadrature 
      trying 1st order linear 
      <- 1st order linear successful 
`, `-> Computing symmetries using: way = HINT 
-> trying a symmetry pattern of the form [F(x),G(x)] 
-> trying a symmetry pattern of the form [F(y),G(y)] 
-> trying a symmetry pattern of the form [F(x)+G(y), 0] 
-> trying a symmetry pattern of the form [0, F(x)+G(y)] 
-> trying a symmetry pattern of the form [F(x),G(x)*y+H(x)] 
-> trying a symmetry pattern of conformal type`
 

Solution by Maple

dsolve(diff(y(x),x) = (-exp(-x)+x)/(exp(y(x))+x),y(x), singsol=all)
 

\[ \text {No solution found} \]

Solution by Mathematica

Time used: 0.0 (sec). Leaf size: 0

DSolve[y'[x] == (-Exp[-x]+x)/(Exp[y[x]]+x),y[x],x,IncludeSingularSolutions -> True]
 

Not solved