5.12 problem 12

Internal problem ID [5080]

Book: Ordinary differential equations and calculus of variations. Makarets and Reshetnyak. Wold Scientific. Singapore. 1995
Section: Chapter 2. Linear homogeneous equations. Section 2.3.4 problems. page 104
Problem number: 12.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]

Solve \begin {gather*} \boxed {\left (\cos \relax (x )-\sin \relax (x )\right ) y^{\prime \prime }-2 y^{\prime } \sin \relax (x )+\left (\cos \relax (x )+\sin \relax (x )\right ) y-\left (\cos \relax (x )-\sin \relax (x )\right )^{2}=0} \end {gather*}

Solution by Maple

Time used: 50.969 (sec). Leaf size: 7615

dsolve((cos(x)-sin(x))*diff(y(x),x$2)-2*sin(x)*diff(y(x),x)+(cos(x)+sin(x))*y(x)=(cos(x)-sin(x))^2,y(x), singsol=all)
 

\[ \text {Expression too large to display} \]

Solution by Mathematica

Time used: 14.362 (sec). Leaf size: 7186

DSolve[(Cos[x]-Sin[x])*y''[x]-2*Sin[x]*y'[x]+(Cos[x]+Sin[x])*y[x]==(Cos[x]-Sin[x])^2,y[x],x,IncludeSingularSolutions -> True]
 

Too large to display