1.3.21 Example 21 \(y=-x\left ( \frac {2+\sqrt {1+p^{2}}}{2p}\right ) \) (d’Alembert)
\[ \frac {y^{\prime }y}{1+\frac {1}{2}\sqrt {1+\left ( y^{\prime }\right ) ^{2}}}=-x \]
Let
\(y^{\prime }=p\) and rearranging gives
\begin{align} py & =-x\left ( 1+\frac {1}{2}\sqrt {1+p^{2}}\right ) \nonumber \\ y & =-x\left ( \frac {1}{p}+\frac {1}{2p}\sqrt {1+p^{2}}\right ) \nonumber \\ & =-x\left ( \frac {2}{2p}+\frac {1}{2p}\sqrt {1+p^{2}}\right ) \nonumber \\ & =-x\left ( \frac {2+\sqrt {1+p^{2}}}{2p}\right ) \nonumber \\ & =xf+g\tag {1}\end{align}
Hence
\begin{align*} f & =-\frac {2+\sqrt {1+p^{2}}}{2p}\\ g & =0 \end{align*}
Since \(f\left ( p\right ) \neq p\) then this is d’Alembert ode. Taking derivative of (1) w.r.t. \(x\) gives
\begin{align*} p & =\frac {d}{dx}\left ( xf\left ( p\right ) +g\left ( p\right ) \right ) \\ & =f\left ( p\right ) +xf^{\prime }\left ( p\right ) \frac {dp}{dx}+g^{\prime }\left ( p\right ) \frac {dp}{dx}\end{align*}
But \(f\left ( p\right ) =-\frac {2+\sqrt {1+p^{2}}}{2p},f^{\prime }\left ( p\right ) =\frac {-1}{p^{2}},g=0,g^{\prime }=0\) and the above becomes
\begin{align} p & =-\frac {2+\sqrt {1+p^{2}}}{2p}+x\left ( -\frac {1}{2\sqrt {1+p^{2}}}-\frac {-2-\sqrt {1+p^{2}}}{2p^{2}}\right ) \frac {dp}{dx}\nonumber \\ p+\frac {2+\sqrt {1+p^{2}}}{2p} & =x\left ( -\frac {1}{2\sqrt {1+p^{2}}}-\frac {-2-\sqrt {1+p^{2}}}{2p^{2}}\right ) \frac {dp}{dx}\tag {2}\end{align}
The singular solution is found by setting \(\frac {dp}{dx}=0\) which results in \(p+\frac {2+\sqrt {1+p^{2}}}{2p}=0\). Hence \(p=\pm i\) or \(y^{\prime }=\pm i\) \(\ \) or \(y=\pm ix\). But these do
not satisfy the ode, hence no singular solutions exist.
The general solution is when \(\frac {dp}{dx}\neq 0\) in (2). This gives the ode
\begin{align*} \frac {dp}{dx} & =\frac {1}{x}\frac {\left ( p+\frac {2+\sqrt {1+p^{2}}}{2p}\right ) }{\left ( -\frac {1}{2\sqrt {1+p^{2}}}-\frac {-2-\sqrt {1+p^{2}}}{2p^{2}}\right ) }\\ & =\frac {1}{x}\left ( p^{3}+p\right ) \end{align*}
But this is non-linear in \(p\). Hence inversion is needed. This becomes
\begin{align*} \frac {dx}{dp} & =x\frac {\left ( -\frac {1}{2\sqrt {1+p^{2}}}-\frac {-2-\sqrt {1+p^{2}}}{2p^{2}}\right ) }{\left ( p+\frac {2+\sqrt {1+p^{2}}}{2p}\right ) }\\ \frac {dx}{dp} & =\frac {x}{p^{3}+p}\\ \frac {dx}{dp}-\frac {1}{p+p^{3}}x & =0 \end{align*}
Which is now linear in \(x\left ( p\right ) \). The solution is
\begin{equation} x=\frac {p}{\sqrt {1+p^{2}}}c_{1} \tag {3}\end{equation}
We now need to eliminate
\(p\). We have two
equations to do that, (1) and (3). Here they are side by side
\begin{align} y & =-x\left ( \frac {2+\sqrt {1+p^{2}}}{2p}\right ) \tag {1}\\ x & =\frac {p}{\sqrt {1+p^{2}}}c_{1} \tag {3}\end{align}
We can either solve for \(p\) from (1) and plugin in the value found into (3). Or we can solve
for \(p\) from (3) and plugin the value found in (1). Using CAS we can just use the solve
command. For an example, using Maple it gives
eq1:=y=-x*( (2+sqrt(1+p^2))/(2*p));
eq2:=x=p/sqrt(1+p^2)*_C1
sol:=solve([eq1,eq2],[p,y],'allsolutions');
[[p = x*RootOf((c__1^2 - x^2)*_Z^2 - 1), y = -(RootOf((c__1^2 - x^2)*_Z^2 - 1)*c__1 + 2)/(2*RootOf((c__1^2 - x^2)*_Z^2 - 1))]]
Now we can use allvalues
map(X->allvalues(X),sol)
[[p = x*sqrt(1/(c__1^2 - x^2)), y = -(sqrt(1/(c__1^2 - x^2))*c__1 + 2)/(2*sqrt(1/(c__1^2 - x^2)))],
[p = -x*sqrt(1/(c__1^2 - x^2)), y = (-sqrt(1/(c__1^2 - x^2))*c__1 + 2)/(2*sqrt(1/(c__1^2 - x^2)))]]
Hence the solutions are
\begin{align*} y_{1} & =-\frac {\sqrt {\frac {1}{c_{1}^{2}-x^{2}}}c_{1}+2}{2\sqrt {\frac {1}{c_{1}^{2}-x^{2}}}}\\ y_{2} & =-\frac {-\sqrt {\frac {1}{c_{1}^{2}-x^{2}}}c_{1}+2}{2\sqrt {\frac {1}{c_{1}^{2}-x^{2}}}}\end{align*}
These are verified valid solutions to the ode (had to use assuming positive)