23.7 problem 2

Internal problem ID [5344]

Book: An introduction to Ordinary Differential Equations. Earl A. Coddington. Dover. NY 1961
Section: Chapter 6. Existence and uniqueness of solutions to systems and nth order equations. Page 238
Problem number: 2.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _missing_x], [_2nd_order, _reducible, _mu_xy]]

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

Solution by Maple

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

dsolve([diff(y(x),x$2)=1+diff(y(x),x)^2,y(0) = 0, D(y)(0) = 0],y(x), singsol=all)
 

\[ y \relax (x ) = -\ln \left (\cos \relax (x )\right ) \]

Solution by Mathematica

Time used: 2.165 (sec). Leaf size: 27

DSolve[{y''[x]==1+(y'[x])^2,{y[0]==0,y'[0]==0}},y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -\log (-\cos (x))+i \pi \\ y(x)\to -\log (\cos (x)) \\ \end{align*}