1.4 problem 4

Internal problem ID [4]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 1.2. Integrals as general and particular solutions. Page 16
Problem number: 4.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

Solve \begin {gather*} \boxed {y^{\prime }-\frac {1}{x^{2}}=0} \end {gather*} With initial conditions \begin {align*} [y \relax (1) = 5] \end {align*}

Solution by Maple

Time used: 0.015 (sec). Leaf size: 11

dsolve([diff(y(x),x) = 1/x^2,y(1) = 5],y(x), singsol=all)
 

\[ y \relax (x ) = \frac {-1+6 x}{x} \]

Solution by Mathematica

Time used: 0.003 (sec). Leaf size: 12

DSolve[{y'[x] == 1/x^2,y[1]==5},y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to 6-\frac {1}{x} \\ \end{align*}