66.2.17 problem Problem 17

Internal problem ID [13845]
Book : Differential equations and the calculus of variations by L. ElSGOLTS. MIR PUBLISHERS, MOSCOW, Third printing 1977.
Section : Chapter 2, DIFFERENTIAL EQUATIONS OF THE SECOND ORDER AND HIGHER. Problems page 172
Problem number : Problem 17
Date solved : Monday, March 31, 2025 at 08:14:58 AM
CAS classification : [[_2nd_order, _missing_x], [_2nd_order, _reducible, _mu_xy]]

\begin{align*} y^{\prime \prime }+{y^{\prime }}^{2}&=1 \end{align*}

With initial conditions

\begin{align*} y \left (0\right )&=0\\ y^{\prime }\left (0\right )&=1 \end{align*}

Maple. Time used: 0.047 (sec). Leaf size: 5
ode:=diff(diff(y(x),x),x)+diff(y(x),x)^2 = 1; 
ic:=y(0) = 0, D(y)(0) = 1; 
dsolve([ode,ic],y(x), singsol=all);
 
\[ y = x \]
Mathematica. Time used: 0.002 (sec). Leaf size: 6
ode=D[y[x],{x,2}]+D[y[x],x]^2==1; 
ic={y[0]==0,Derivative[1][y][0] ==1}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to x \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(Derivative(y(x), x)**2 + Derivative(y(x), (x, 2)) - 1,0) 
ics = {y(0): 0, Subs(Derivative(y(x), x), x, 0): 1} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out