66.1.4 problem Problem 4

Internal problem ID [13851]
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
Date solved : Tuesday, January 28, 2025 at 06:05:17 AM
CAS classification : [_linear]

\begin{align*} x y^{\prime }+y&=x^{3} \end{align*}

Solution by Maple

Time used: 0.001 (sec). Leaf size: 16

dsolve(x*diff(y(x),x)+y(x)=x^3,y(x), singsol=all)
 
\[ y = \frac {x^{4}+4 c_{1}}{4 x} \]

Solution by Mathematica

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

DSolve[x*D[y[x],x]+y[x]==x^3,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \frac {x^3}{4}+\frac {c_1}{x} \]