1.4 problem Problem 4

Internal problem ID [10767]

Book: Differential equations and the calculus of variations by L. ElSGOLTS. MIR PUBLISHERS, MOSCOW, Third printing 1977.
Section: Chapter 1, First-Order Differential Equations. Problems page 88
Problem number: Problem 4.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y^{\prime } x +y-x^{3}=0} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 15

dsolve(x*diff(y(x),x)+y(x)=x^3,y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {\frac {x^{4}}{4}+c_{1}}{x} \]

Solution by Mathematica

Time used: 0.029 (sec). Leaf size: 19

DSolve[x*y'[x]+y[x]==x^3,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {x^3}{4}+\frac {c_1}{x} \\ \end{align*}