\[ \boxed { {\frac {{\rm d}^{2}}{{\rm d}{x}^{2}}}y \left ( x \right ) -f \left ( x \right ) y \left ( x \right ) =0} \]
Mathematica: cpu = 0.126516 (sec), leaf count = 17 \[ \text {DSolve}\left [y''(x)-f(x) y(x)=0,y(x),x\right ] \]
Maple: cpu = 0.0 (sec), leaf count = 22 \[ \left \{ y \left ( x \right ) ={\it DESol} \left ( \left \{ -f \left ( x \right ) {\it \_Y} \left ( x \right ) +{\frac {{\rm d}^{2}}{{\rm d}{x}^{ 2}}}{\it \_Y} \left ( x \right ) \right \} , \left \{ {\it \_Y} \left ( x \right ) \right \} \right ) \right \} \]