74.6.9 problem 10

Internal problem ID [15953]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 2. First Order Equations. Exercises 2.4, page 57
Problem number : 10
Date solved : Thursday, March 13, 2025 at 06:59:57 AM
CAS classification : [_separable]

\begin{align*} {\mathrm e}^{t y}+\frac {t \,{\mathrm e}^{t y} y^{\prime }}{y}&=0 \end{align*}

Maple. Time used: 0.003 (sec). Leaf size: 9
ode:=exp(t*y(t))+t*exp(t*y(t))/y(t)*diff(y(t),t) = 0; 
dsolve(ode,y(t), singsol=all);
 
\[ y = \frac {c_{1}}{t} \]
Mathematica. Time used: 0.037 (sec). Leaf size: 11
ode=Exp[t*y[t]]+t*Exp[t*y[t]]/y[t]*D[y[t],t]==0; 
ic={}; 
DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
 
\[ y(t)\to \frac {c_1}{t} \]
Sympy. Time used: 0.131 (sec). Leaf size: 5
from sympy import * 
t = symbols("t") 
y = Function("y") 
ode = Eq(t*exp(t*y(t))*Derivative(y(t), t)/y(t) + exp(t*y(t)),0) 
ics = {} 
dsolve(ode,func=y(t),ics=ics)
 
\[ y{\left (t \right )} = \frac {C_{1}}{t} \]