16.21 problem 494

Internal problem ID [15264]

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 ODE’s). Section 15.3 Nonhomogeneous linear equations with constant coefficients. Trial and error method. Exercises page 132
Problem number: 494.
ODE order: 4.
ODE degree: 1.

CAS Maple gives this as type [[_high_order, _missing_x]]

\[ \boxed {y^{\prime \prime \prime \prime }-y=1} \]

Solution by Maple

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

dsolve(diff(y(x),x$4)-y(x)=1,y(x), singsol=all)
 

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

Solution by Mathematica

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

DSolve[y''''[x]-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 \]