3.3 problem Problem 3

Internal problem ID [2641]

Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition, 2015
Section: Chapter 1, First-Order Differential Equations. Section 1.6, First-Order Linear Differential Equations. page 59
Problem number: Problem 3.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

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