76.33.9 problem Ex. 9

Internal problem ID [20187]
Book : Introductory Course On Differential Equations by Daniel A Murray. Longmans Green and Co. NY. 1924
Section : Chapter VI. Linear equations with constant coefficients. Examples on chapter VI, page 80
Problem number : Ex. 9
Date solved : Thursday, October 02, 2025 at 05:34:03 PM
CAS classification : [[_3rd_order, _with_linear_symmetries]]

\begin{align*} y^{\prime \prime \prime }-13 y^{\prime }+12 y&=x \end{align*}
Maple. Time used: 0.004 (sec). Leaf size: 25
ode:=diff(diff(diff(y(x),x),x),x)-13*diff(y(x),x)+12*y(x) = x; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \frac {x}{12}+\frac {13}{144}+c_1 \,{\mathrm e}^{x}+c_2 \,{\mathrm e}^{-4 x}+c_3 \,{\mathrm e}^{3 x} \]
Mathematica. Time used: 0.005 (sec). Leaf size: 36
ode=D[y[x],{x,3}]-13*D[y[x],x]+12*y[x]==x; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \frac {x}{12}+c_1 e^{-4 x}+c_2 e^x+c_3 e^{3 x}+\frac {13}{144} \end{align*}
Sympy. Time used: 0.115 (sec). Leaf size: 27
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-x + 12*y(x) - 13*Derivative(y(x), x) + Derivative(y(x), (x, 3)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} e^{- 4 x} + C_{2} e^{x} + C_{3} e^{3 x} + \frac {x}{12} + \frac {13}{144} \]