75.18.18 problem 607

Internal problem ID [17106]
Book : A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section : Chapter 2 (Higher order ODEs). Section 15.3 Nonhomogeneous linear equations with constant coefficients. Initial value problem. Exercises page 140
Problem number : 607
Date solved : Tuesday, January 28, 2025 at 09:52:50 AM
CAS classification : [[_high_order, _with_linear_symmetries]]

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

With initial conditions

\begin{align*} y \left (0\right )&=0\\ y^{\prime }\left (0\right )&=2\\ y^{\prime \prime }\left (0\right )&=4\\ y^{\prime \prime \prime }\left (0\right )&=6 \end{align*}

Solution by Maple

Time used: 0.015 (sec). Leaf size: 9

dsolve([diff(y(x),x$4)-y(x)=8*exp(x),y(0) = 0, D(y)(0) = 2, (D@@2)(y)(0) = 4, (D@@3)(y)(0) = 6],y(x), singsol=all)
 
\[ y = 2 \,{\mathrm e}^{x} x \]

Solution by Mathematica

Time used: 0.026 (sec). Leaf size: 103

DSolve[{D[y[x],{x,4}]-y[x]==8*Exp[x],{y[0]==0,Derivative[1][y][0] ==2,Derivative[2][y][0] ==4,Derivative[3][y][0]==6}},y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to -\sin (x) \int _1^0-4 e^{K[2]} \cos (K[2])dK[2]+\sin (x) \int _1^x-4 e^{K[2]} \cos (K[2])dK[2]-\cos (x) \int _1^04 e^{K[1]} \sin (K[1])dK[1]+\cos (x) \int _1^x4 e^{K[1]} \sin (K[1])dK[1]+2 e^x x+2 e^x-2 \sin (x)-2 \cos (x) \]