\[ \boxed{ \left( {x}^{2}-1 \right) {\frac {\rm d}{{\rm d}x}}y \left( x \right) +2\,xy \left( x \right) -\cos \left( x \right) =0} \]