4.9 problem 10

Internal problem ID [1951]

Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section: Exercise 8, page 34
Problem number: 10.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_linear, `class A`]]

\[ \boxed {y \,{\mathrm e}^{x}+{\mathrm e}^{x} y^{\prime }=2 x} \]

Solution by Maple

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

dsolve((y(x)*exp(x)-2*x)+exp(x)*diff(y(x),x)=0,y(x), singsol=all)
 

\[ y = \left (x^{2}+c_{1} \right ) {\mathrm e}^{-x} \]

Solution by Mathematica

Time used: 0.052 (sec). Leaf size: 17

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

\[ y(x)\to e^{-x} \left (x^2+c_1\right ) \]