75.7.9 problem 10

Internal problem ID [19991]
Book : A short course on differential equations. By Donald Francis Campbell. Maxmillan company. London. 1907
Section : Chapter VI. Certain particular forms of equations. Exercises at page 74
Problem number : 10
Date solved : Thursday, October 02, 2025 at 05:06:13 PM
CAS classification : [[_2nd_order, _missing_y]]

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