75.16.21 problem 494

Internal problem ID [16994]
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. Trial and error method. Exercises page 132
Problem number : 494
Date solved : Tuesday, January 28, 2025 at 09:45:19 AM
CAS classification : [[_high_order, _missing_x]]

\begin{align*} y^{\prime \prime \prime \prime }-y&=1 \end{align*}

Solution by Maple

Time used: 0.007 (sec). Leaf size: 24

dsolve(diff(y(x),x$4)-y(x)=1,y(x), singsol=all)
 
\[ y = -1+\cos \left (x \right ) c_{1} +{\mathrm e}^{x} c_{2} +c_{3} \sin \left (x \right )+c_4 \,{\mathrm e}^{-x} \]

Solution by Mathematica

Time used: 0.003 (sec). Leaf size: 31

DSolve[D[y[x],{x,4}]-y[x]==1,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to c_1 e^x+c_3 e^{-x}+c_2 \cos (x)+c_4 \sin (x)-1 \]