68.1.11 problem 18

Internal problem ID [17078]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 1. Introduction to Differential Equations. Exercises 1.1, page 10
Problem number : 18
Date solved : Thursday, October 02, 2025 at 01:42:44 PM
CAS classification : [_separable]

\begin{align*} y^{\prime }+y x&=0 \end{align*}
Maple. Time used: 0.001 (sec). Leaf size: 12
ode:=diff(y(x),x)+x*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_1 \,{\mathrm e}^{-\frac {x^{2}}{2}} \]
Mathematica. Time used: 0.015 (sec). Leaf size: 22
ode=D[y[x],x]+x*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to c_1 e^{-\frac {x^2}{2}}\\ y(x)&\to 0 \end{align*}
Sympy. Time used: 0.155 (sec). Leaf size: 10
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x*y(x) + Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} e^{- \frac {x^{2}}{2}} \]