1.1 problem 1(a)

Internal problem ID [11349]

Book: A First Course in Differential Equations by J. David Logan. Third Edition. Springer-Verlag, NY. 2015.
Section: Chapter 1, First order differential equations. Section 1.1 First order equations. Exercises page 10
Problem number: 1(a).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {x^{\prime }-\frac {2 x}{t}=0} \]

Solution by Maple

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

dsolve(diff(x(t),t)=2*x(t)/t,x(t), singsol=all)
 

\[ x \left (t \right ) = c_{1} t^{2} \]

Solution by Mathematica

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

DSolve[x'[t]==2*x[t]/t,x[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} x(t)\to c_1 t^2 \\ x(t)\to 0 \\ \end{align*}