28.2.7 problem 7

Internal problem ID [4450]
Book : Differential equations for engineers by Wei-Chau XIE, Cambridge Press 2010
Section : Chapter 4. Linear Differential Equations. Page 183
Problem number : 7
Date solved : Sunday, March 30, 2025 at 03:22:56 AM
CAS classification : [[_high_order, _missing_x]]

\begin{align*} y^{\prime \prime \prime \prime }+18 y^{\prime \prime }+81 y&=0 \end{align*}

Maple. Time used: 0.002 (sec). Leaf size: 25
ode:=diff(diff(diff(diff(y(x),x),x),x),x)+18*diff(diff(y(x),x),x)+81*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \left (c_4 x +c_2 \right ) \cos \left (3 x \right )+\sin \left (3 x \right ) \left (c_3 x +c_1 \right ) \]
Mathematica. Time used: 0.003 (sec). Leaf size: 30
ode=D[y[x],{x,4}]+18*D[y[x],{x,2}]+81*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to (c_2 x+c_1) \cos (3 x)+(c_4 x+c_3) \sin (3 x) \]
Sympy. Time used: 0.086 (sec). Leaf size: 22
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(81*y(x) + 18*Derivative(y(x), (x, 2)) + Derivative(y(x), (x, 4)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = \left (C_{1} + C_{2} x\right ) \sin {\left (3 x \right )} + \left (C_{3} + C_{4} x\right ) \cos {\left (3 x \right )} \]