Internal problem ID [5833]
Internal file name [OUTPUT/5081_Sunday_June_05_2022_03_21_06_PM_68043547/index.tex
]
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.
The type(s) of ODE detected by this program : "unknown"
Maple gives the following as the ode type
[[_2nd_order, _linear, _nonhomogeneous]]
Unable to solve or complete the solution.
\[ \boxed {\left (\cos \left (x \right )-\sin \left (x \right )\right ) y^{\prime \prime }-2 \sin \left (x \right ) y^{\prime }+\left (\cos \left (x \right )+\sin \left (x \right )\right ) y=\left (\cos \left (x \right )-\sin \left (x \right )\right )^{2}} \]
✗ Solution by Maple
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 {No solution found} \]
✓ Solution by Mathematica
Time used: 15.918 (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