66.1.7 problem 10

Internal problem ID [15894]
Book : DIFFERENTIAL EQUATIONS by Paul Blanchard, Robert L. Devaney, Glen R. Hall. 4th edition. Brooks/Cole. Boston, USA. 2012
Section : Chapter 1. First-Order Differential Equations. Exercises section 1.2. page 33
Problem number : 10
Date solved : Thursday, October 02, 2025 at 10:29:18 AM
CAS classification : [_quadrature]

\begin{align*} x^{\prime }&=x^{2}+1 \end{align*}
Maple. Time used: 0.004 (sec). Leaf size: 8
ode:=diff(x(t),t) = 1+x(t)^2; 
dsolve(ode,x(t), singsol=all);
 
\[ x = \tan \left (t +c_1 \right ) \]
Mathematica. Time used: 0.11 (sec). Leaf size: 41
ode=D[x[t],t]==1+x[t]^2; 
ic={}; 
DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
 
\begin{align*} x(t)&\to \text {InverseFunction}\left [\int _1^{\text {$\#$1}}\frac {1}{K[1]^2+1}dK[1]\&\right ][t+c_1]\\ x(t)&\to -i\\ x(t)&\to i \end{align*}
Sympy. Time used: 0.163 (sec). Leaf size: 8
from sympy import * 
t = symbols("t") 
x = Function("x") 
ode = Eq(-x(t)**2 + Derivative(x(t), t) - 1,0) 
ics = {} 
dsolve(ode,func=x(t),ics=ics)
 
\[ x{\left (t \right )} = - \tan {\left (C_{1} - t \right )} \]