1.8 problem 8

1.8.1 Solved as second order missing y ode
1.8.2 Maple step by step solution
1.8.3 Maple trace
1.8.4 Maple dsolve solution
1.8.5 Mathematica DSolve solution

Internal problem ID [8045]
Book : Second order enumerated odes
Section : section 1
Problem number : 8
Date solved : Monday, October 21, 2024 at 04:44:44 PM
CAS classification : [[_2nd_order, _quadrature]]

Solve

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

1.8.1 Solved as second order missing y ode

Time used: 0.166 (sec)

This is second order ode with missing dependent variable \(y\). Let

\begin{align*} p(x) &= y^{\prime } \end{align*}

Then

\begin{align*} p'(x) &= y^{\prime \prime } \end{align*}

Hence the ode becomes

\begin{align*} {p^{\prime }\left (x \right )}^{2}-1 = 0 \end{align*}

Which is now solve for \(p(x)\) as first order ode. Solving for the derivative gives these ODE’s to solve

\begin{align*} \tag{1} p^{\prime }\left (x \right )&=1 \\ \tag{2} p^{\prime }\left (x \right )&=-1 \\ \end{align*}

Now each of the above is solved separately.

Solving Eq. (1)

Since the ode has the form \(p^{\prime }\left (x \right )=f(x)\), then we only need to integrate \(f(x)\).

\begin{align*} \int {dp} &= \int {1\, dx}\\ p \left (x \right ) &= x + c_1 \end{align*}

Solving Eq. (2)

Since the ode has the form \(p^{\prime }\left (x \right )=f(x)\), then we only need to integrate \(f(x)\).

\begin{align*} \int {dp} &= \int {-1\, dx}\\ p \left (x \right ) &= -x + c_2 \end{align*}

For solution (1) found earlier, since \(p=y^{\prime }\) then we now have a new first order ode to solve which is

\begin{align*} y^{\prime } = -x +c_2 \end{align*}

Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).

\begin{align*} \int {dy} &= \int {-x +c_2\, dx}\\ y &= -\frac {1}{2} x^{2}+c_2 x + c_3 \end{align*}

For solution (2) found earlier, since \(p=y^{\prime }\) then we now have a new first order ode to solve which is

\begin{align*} y^{\prime } = x +c_1 \end{align*}

Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).

\begin{align*} \int {dy} &= \int {x +c_1\, dx}\\ y &= \frac {1}{2} x^{2}+c_1 x + c_4 \end{align*}

Will add steps showing solving for IC soon.

1.8.2 Maple step by step solution

1.8.3 Maple trace
Methods for second order ODEs:
 
1.8.4 Maple dsolve solution

Solving time : 0.002 (sec)
Leaf size : 27

dsolve(diff(diff(y(x),x),x)^2 = 1, 
       y(x),singsol=all)
 
\begin{align*} y &= \frac {1}{2} x^{2}+c_1 x +c_2 \\ y &= -\frac {1}{2} x^{2}+c_1 x +c_2 \\ \end{align*}
1.8.5 Mathematica DSolve solution

Solving time : 0.003 (sec)
Leaf size : 37

DSolve[{(D[y[x],{x,2}])^2==1,{}}, 
       y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)\to -\frac {x^2}{2}+c_2 x+c_1 \\ y(x)\to \frac {x^2}{2}+c_2 x+c_1 \\ \end{align*}