38.2.36 problem 36

Internal problem ID [6465]
Book : Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY. 2001
Section : Program 24. First order differential equations. Further problems 24. page 1068
Problem number : 36
Date solved : Monday, January 27, 2025 at 02:06:25 PM
CAS classification : [_separable]

\begin{align*} y^{\prime }&={\mathrm e}^{3 x -2 y} \end{align*}

With initial conditions

\begin{align*} y \left (0\right )&=0 \end{align*}

Solution by Maple

Time used: 0.039 (sec). Leaf size: 20

dsolve([diff(y(x),x)=exp(3*x-2*y(x)),y(0) = 0],y(x), singsol=all)
 
\[ y = -\frac {\ln \left (3\right )}{2}+\frac {\ln \left (1+2 \,{\mathrm e}^{3 x}\right )}{2} \]

Solution by Mathematica

Time used: 0.886 (sec). Leaf size: 23

DSolve[{D[y[x],x]==Exp[3*x-2*y[x]],{y[0]==0}},y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \frac {1}{2} \log \left (\frac {1}{3} \left (2 e^{3 x}+1\right )\right ) \]