6.31 problem 31

Internal problem ID [14319]

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: 31.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {2 t y^{2}+2 y^{\prime } y t^{2}=0} \] With initial conditions \begin {align*} [y \left (1\right ) = 1] \end {align*}

Solution by Maple

Time used: 0.016 (sec). Leaf size: 7

dsolve([(2*t*y(t)^2)+(2*t^2*y(t))*diff(y(t),t)=0,y(1) = 1],y(t), singsol=all)
 

\[ y \left (t \right ) = \frac {1}{t} \]

Solution by Mathematica

Time used: 0.024 (sec). Leaf size: 8

DSolve[{(2*t*y[t]^2)+(2*t^2*y[t])*y'[t]==0,{y[1]==1}},y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to \frac {1}{t} \]