1.4 problem Problem 4

Internal problem ID [11795]

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 {x y^{\prime }+y=x^{3}} \]

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.048 (sec). Leaf size: 19

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

\[ y(x)\to \frac {x^3}{4}+\frac {c_1}{x} \]