4.29.4 \((a-x) y''(x)-2 y'(x)=0\)

ODE
\[ (a-x) y''(x)-2 y'(x)=0 \] ODE Classification

[[_2nd_order, _missing_y]]

Book solution method
TO DO

Mathematica
cpu = 0.179151 (sec), leaf count = 18

\[\left \{\left \{y(x)\to \frac {c_1}{a-x}+c_2\right \}\right \}\]

Maple
cpu = 0.013 (sec), leaf count = 15

\[\left [y \left (x \right ) = \textit {\_C1} +\frac {\textit {\_C2}}{x -a}\right ]\] Mathematica raw input

DSolve[-2*y'[x] + (a - x)*y''[x] == 0,y[x],x]

Mathematica raw output

{{y[x] -> C[1]/(a - x) + C[2]}}

Maple raw input

dsolve((a-x)*diff(diff(y(x),x),x)-2*diff(y(x),x) = 0, y(x))

Maple raw output

[y(x) = _C1+1/(x-a)*_C2]