2.25 problem 19 a(ii)

Internal problem ID [12604]

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.3 page 47
Problem number: 19 a(ii).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {\theta ^{\prime }=2} \]

Solution by Maple

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

dsolve(diff(theta(t),t)=1-cos(theta(t))+(1+cos(theta(t))),theta(t), singsol=all)
 

\[ \theta \left (t \right ) = -2 \arctan \left (\frac {1}{t +c_{1}}\right ) \]

Solution by Mathematica

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

DSolve[theta'[t]==1-Cos[theta[t]]+(1+Cos[theta[t]]),theta[t],t,IncludeSingularSolutions -> True]
 

\[ \theta (t)\to 2 t+c_1 \]