83.30.3 problem 3

Internal problem ID [19303]
Book : A Text book for differentional equations for postgraduate students by Ray and Chaturvedi. First edition, 1958. BHASKAR press. INDIA
Section : Chapter VII. Exact differential equations and certain particular forms of equations. Exercise VII (D) at page 109
Problem number : 3
Date solved : Thursday, March 13, 2025 at 02:12:46 PM
CAS classification : [[_2nd_order, _missing_y]]

\begin{align*} y^{\prime \prime }+y^{\prime }&={\mathrm e}^{x} \end{align*}

Maple. Time used: 0.001 (sec). Leaf size: 17
ode:=diff(diff(y(x),x),x)+diff(y(x),x) = exp(x); 
dsolve(ode,y(x), singsol=all);
 
\[ y \left (x \right ) = \frac {{\mathrm e}^{x}}{2}-{\mathrm e}^{-x} c_{1} +c_{2} \]
Mathematica. Time used: 0.043 (sec). Leaf size: 24
ode=D[y[x],{x,2}]+D[y[x],x]==Exp[x]; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to \frac {e^x}{2}+c_1 \left (-e^{-x}\right )+c_2 \]
Sympy. Time used: 0.138 (sec). Leaf size: 14
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-exp(x) + Derivative(y(x), x) + Derivative(y(x), (x, 2)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} + C_{2} e^{- x} + \frac {e^{x}}{2} \]