1.6 problem 5.4 (i)

Internal problem ID [11653]

Book: AN INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS by JAMES C. ROBINSON. Cambridge University Press 2004
Section: Chapter 5, Trivial differential equations. Exercises page 33
Problem number: 5.4 (i).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {x^{\prime }=\sec \left (t \right )^{2}} \] With initial conditions \begin {align*} \left [x \left (\frac {\pi }{4}\right ) = 0\right ] \end {align*}

Solution by Maple

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

dsolve([diff(x(t),t)=sec(t)^2,x(1/4*Pi) = 0],x(t), singsol=all)
 

\[ x \left (t \right ) = \tan \left (t \right )-1 \]

Solution by Mathematica

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

DSolve[{x'[t]==Sec[t]^2,{x[Pi/4]==0}},x[t],t,IncludeSingularSolutions -> True]
 

\[ x(t)\to \tan (t)-1 \]