5.16 problem Exercise 11.17, page 97

Internal problem ID [4510]

Book: Ordinary Differential Equations, By Tenenbaum and Pollard. Dover, NY 1963
Section: Chapter 2. Special types of differential equations of the first kind. Lesson 11, Bernoulli Equations
Problem number: Exercise 11.17, page 97.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {x y^{\prime }-y=\sin \left (x \right ) x^{2}} \]

Solution by Maple

Time used: 0.016 (sec). Leaf size: 12

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

\[ y \left (x \right ) = \left (-\cos \left (x \right )+c_{1} \right ) x \]

Solution by Mathematica

Time used: 0.037 (sec). Leaf size: 14

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

\[ y(x)\to x (-\cos (x)+c_1) \]