69.1.95 problem 142

Internal problem ID [14169]
Book : DIFFERENTIAL and INTEGRAL CALCULUS. VOL I. by N. PISKUNOV. MIR PUBLISHERS, Moscow 1969.
Section : Chapter 8. Differential equations. Exercises page 595
Problem number : 142
Date solved : Wednesday, March 05, 2025 at 10:37:29 PM
CAS classification : [[_3rd_order, _missing_x]]

\begin{align*} y^{\prime \prime \prime }-3 a y^{\prime \prime }+3 a^{2} y^{\prime }-a^{3} y&=0 \end{align*}

Maple. Time used: 0.003 (sec). Leaf size: 19
ode:=diff(diff(diff(y(x),x),x),x)-3*a*diff(diff(y(x),x),x)+3*a^2*diff(y(x),x)-a^3*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = {\mathrm e}^{a x} \left (c_{3} x^{2}+c_{2} x +c_{1} \right ) \]
Mathematica. Time used: 0.003 (sec). Leaf size: 23
ode=D[y[x],{x,3}]-3*a*D[y[x],{x,2}]+3*a^2*D[y[x],x]-a^3*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to e^{a x} (x (c_3 x+c_2)+c_1) \]
Sympy. Time used: 0.219 (sec). Leaf size: 15
from sympy import * 
x = symbols("x") 
a = symbols("a") 
y = Function("y") 
ode = Eq(-a**3*y(x) + 3*a**2*Derivative(y(x), x) - 3*a*Derivative(y(x), (x, 2)) + Derivative(y(x), (x, 3)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = \left (C_{1} + x \left (C_{2} + C_{3} x\right )\right ) e^{a x} \]