60.4.18 problem 1471

Internal problem ID [11441]
Book : Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section : Chapter 3, linear third order
Problem number : 1471
Date solved : Sunday, March 30, 2025 at 08:22:18 PM
CAS classification : [[_3rd_order, _with_linear_symmetries]]

\begin{align*} y^{\prime \prime \prime }+f \left (x \right ) y^{\prime \prime }+y^{\prime }+f \left (x \right ) y&=0 \end{align*}

Maple. Time used: 0.010 (sec). Leaf size: 33
ode:=diff(diff(diff(y(x),x),x),x)+f(x)*diff(diff(y(x),x),x)+diff(y(x),x)+f(x)*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = {\mathrm e}^{i x} \left (\int {\mathrm e}^{-2 i x} \left (c_3 \int {\mathrm e}^{\int \left (i-f \left (x \right )\right )d x}d x +c_2 \right )d x +c_1 \right ) \]
Mathematica. Time used: 0.061 (sec). Leaf size: 84
ode=f[x]*y[x] + D[y[x],x] + f[x]*D[y[x],{x,2}] + Derivative[3][y][x] == 0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to c_3 e^{i x} \int _1^xe^{-2 i K[3]} \int _1^{K[3]}\exp \left (\int _1^{K[2]}(i-f(K[1]))dK[1]\right )dK[2]dK[3]+c_1 e^{i x}+\frac {1}{2} i c_2 e^{-i x} \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
f = Function("f") 
ode = Eq(f(x)*y(x) + f(x)*Derivative(y(x), (x, 2)) + Derivative(y(x), x) + Derivative(y(x), (x, 3)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
NotImplementedError : solve: Cannot solve f(x)*y(x) + f(x)*Derivative(y(x), (x, 2)) + Derivative(y(x), x) + Derivative(y(x), (x, 3))