2.2.14 problem 14

Solved as second order Airy ode
Solved as second order ode adjoint method
Maple step by step solution
Maple trace
Maple dsolve solution
Mathematica DSolve solution

Internal problem ID [8494]
Book : Own collection of miscellaneous problems
Section : section 2.0
Problem number : 14
Date solved : Thursday, December 12, 2024 at 09:23:10 AM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

Solve

\begin{align*} y^{\prime \prime }-y^{\prime }-x y-x&=0 \end{align*}

Solved as second order Airy ode

Time used: 0.060 (sec)

This is Airy ODE. It has the general form

\[ a y^{\prime \prime } + b y^{\prime } + c x y = F(x) \]

Where in this case

\begin{align*} a &= 1\\ b &= -1\\ c &= -1\\ F &= x \end{align*}

Therefore the solution to the homogeneous Airy ODE becomes

\[ y = c_1 \,{\mathrm e}^{\frac {x}{2}} \operatorname {AiryAi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )+c_2 \,{\mathrm e}^{\frac {x}{2}} \operatorname {AiryBi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right ) \]

Since this is inhomogeneous Airy ODE, then we need to find the particular solution. The particular solution is now found using the method of undetermined coefficients. Looking at the RHS of the ode, which is

\[ x \]

Shows that the corresponding undetermined set of the basis functions (UC_set) for the trial solution is

\[ [\{1, x\}] \]

While the set of the basis functions for the homogeneous solution found earlier is

\[ \left \{{\mathrm e}^{\frac {x}{2}} \operatorname {AiryAi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right ), {\mathrm e}^{\frac {x}{2}} \operatorname {AiryBi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )\right \} \]

Since there is no duplication between the basis function in the UC_set and the basis functions of the homogeneous solution, the trial solution is a linear combination of all the basis in the UC_set.

\[ y_p = A_{2} x +A_{1} \]

The unknowns \(\{A_{1}, A_{2}\}\) are found by substituting the above trial solution \(y_p\) into the ODE and comparing coefficients. Substituting the trial solution into the ODE and simplifying gives

\[ -A_{2}-x \left (A_{2} x +A_{1}\right )-x = 0 \]

Solving for the unknowns by comparing coefficients results in

\[ [A_{1} = -1, A_{2} = 0] \]

Substituting the above back in the above trial solution \(y_p\), gives the particular solution

\[ y_p = -1 \]

Therefore the general solution is

\begin{align*} y &= y_h + y_p \\ &= \left (c_1 \,{\mathrm e}^{\frac {x}{2}} \operatorname {AiryAi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )+c_2 \,{\mathrm e}^{\frac {x}{2}} \operatorname {AiryBi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )\right ) + \left (-1\right ) \\ &= c_1 \,{\mathrm e}^{\frac {x}{2}} \operatorname {AiryAi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )+c_2 \,{\mathrm e}^{\frac {x}{2}} \operatorname {AiryBi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )-1 \\ \end{align*}

Will add steps showing solving for IC soon.

Summary of solutions found

\begin{align*} y &= c_1 \,{\mathrm e}^{\frac {x}{2}} \operatorname {AiryAi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )+c_2 \,{\mathrm e}^{\frac {x}{2}} \operatorname {AiryBi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )-1 \\ \end{align*}

Solved as second order ode adjoint method

Time used: 1.047 (sec)

In normal form the ode

\begin{align*} y^{\prime \prime }-y^{\prime }-x y-x = 0 \tag {1} \end{align*}

Becomes

\begin{align*} y^{\prime \prime }+p \left (x \right ) y^{\prime }+q \left (x \right ) y&=r \left (x \right ) \tag {2} \end{align*}

Where

\begin{align*} p \left (x \right )&=-1\\ q \left (x \right )&=-x\\ r \left (x \right )&=x \end{align*}

The Lagrange adjoint ode is given by

\begin{align*} \xi ^{''}-(\xi \, p)'+\xi q &= 0\\ \xi ^{''}-\left (-\xi \left (x \right )\right )' + \left (-x \xi \left (x \right )\right ) &= 0\\ \xi ^{\prime \prime }\left (x \right )+\xi ^{\prime }\left (x \right )-x \xi \left (x \right )&= 0 \end{align*}

Which is solved for \(\xi (x)\). This is Airy ODE. It has the general form

\[ a \xi ^{\prime \prime } + b \xi ^{\prime } + c x \xi = F(x) \]

Where in this case

\begin{align*} a &= 1\\ b &= 1\\ c &= -1\\ F &= 0 \end{align*}

Therefore the solution to the homogeneous Airy ODE becomes

\[ \xi = c_3 \,{\mathrm e}^{-\frac {x}{2}} \operatorname {AiryAi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )+c_4 \,{\mathrm e}^{-\frac {x}{2}} \operatorname {AiryBi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right ) \]

Will add steps showing solving for IC soon.

The original ode now reduces to first order ode

\begin{align*} \xi \left (x \right ) y^{\prime }-y \xi ^{\prime }\left (x \right )+\xi \left (x \right ) p \left (x \right ) y&=\int \xi \left (x \right ) r \left (x \right )d x\\ y^{\prime }+y \left (p \left (x \right )-\frac {\xi ^{\prime }\left (x \right )}{\xi \left (x \right )}\right )&=\frac {\int \xi \left (x \right ) r \left (x \right )d x}{\xi \left (x \right )} \end{align*}

Or

\begin{align*} y^{\prime }+y \left (-1-\frac {-\frac {c_3 \,{\mathrm e}^{-\frac {x}{2}} \operatorname {AiryAi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )}{2}-c_3 \,{\mathrm e}^{-\frac {x}{2}} \left (-1\right )^{{1}/{3}} \operatorname {AiryAi}\left (1, \left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )-\frac {c_4 \,{\mathrm e}^{-\frac {x}{2}} \operatorname {AiryBi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )}{2}-c_4 \,{\mathrm e}^{-\frac {x}{2}} \left (-1\right )^{{1}/{3}} \operatorname {AiryBi}\left (1, \left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )}{c_3 \,{\mathrm e}^{-\frac {x}{2}} \operatorname {AiryAi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )+c_4 \,{\mathrm e}^{-\frac {x}{2}} \operatorname {AiryBi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )}\right )&=\frac {\frac {c_3 \,{\mathrm e}^{-\frac {x}{2}} \operatorname {AiryAi}\left (-\frac {\left (4 x +1\right ) \left (-1\right )^{{1}/{3}}}{4}\right )}{2}+\frac {c_4 \,{\mathrm e}^{-\frac {x}{2}} \operatorname {AiryBi}\left (-\frac {\left (4 x +1\right ) \left (-1\right )^{{1}/{3}}}{4}\right )}{2}-\frac {c_3 \operatorname {AiryAi}\left (1, -\frac {\left (4 x +1\right ) \left (-1\right )^{{1}/{3}}}{4}\right ) {\mathrm e}^{-\frac {x}{2}} \sqrt {-3}}{2}-\frac {c_3 \operatorname {AiryAi}\left (1, -\frac {\left (4 x +1\right ) \left (-1\right )^{{1}/{3}}}{4}\right ) {\mathrm e}^{-\frac {x}{2}}}{2}-\frac {c_4 \operatorname {AiryBi}\left (1, -\frac {\left (4 x +1\right ) \left (-1\right )^{{1}/{3}}}{4}\right ) {\mathrm e}^{-\frac {x}{2}} \sqrt {-3}}{2}-\frac {c_4 \operatorname {AiryBi}\left (1, -\frac {\left (4 x +1\right ) \left (-1\right )^{{1}/{3}}}{4}\right ) {\mathrm e}^{-\frac {x}{2}}}{2}}{c_3 \,{\mathrm e}^{-\frac {x}{2}} \operatorname {AiryAi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )+c_4 \,{\mathrm e}^{-\frac {x}{2}} \operatorname {AiryBi}\left (\left (-x -\frac {1}{4}\right ) \left (-1\right )^{{1}/{3}}\right )} \end{align*}

Which is now a first order ode. This is now solved for \(y\). In canonical form a linear first order is

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

Comparing the above to the given ode shows that

\begin{align*} q(x) &=-\frac {\left (-i c_3 \sqrt {3}-c_3 \right ) \operatorname {AiryAi}\left (1, -\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+\left (-i \sqrt {3}\, c_4 -c_4 \right ) \operatorname {AiryBi}\left (1, -\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )}{2 c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+2 c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )}\\ p(x) &=\frac {\left (-i c_3 \sqrt {3}-c_3 \right ) \operatorname {AiryAi}\left (1, -\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+\left (-i \sqrt {3}\, c_4 -c_4 \right ) \operatorname {AiryBi}\left (1, -\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )}{2 c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+2 c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )} \end{align*}

The integrating factor \(\mu \) is

\begin{align*} \mu &= e^{\int {q\,dx}}\\ &= {\mathrm e}^{\int -\frac {\left (-i c_3 \sqrt {3}-c_3 \right ) \operatorname {AiryAi}\left (1, -\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+\left (-i \sqrt {3}\, c_4 -c_4 \right ) \operatorname {AiryBi}\left (1, -\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )}{2 c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+2 c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )}d x}\\ &= \frac {{\mathrm e}^{-\frac {x}{2}}}{c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )} \end{align*}

The ode becomes

\begin{align*} \frac {\mathop {\mathrm {d}}}{ \mathop {\mathrm {d}x}}\left ( \mu y\right ) &= \mu p \\ \frac {\mathop {\mathrm {d}}}{ \mathop {\mathrm {d}x}}\left ( \mu y\right ) &= \left (\mu \right ) \left (\frac {\left (-i c_3 \sqrt {3}-c_3 \right ) \operatorname {AiryAi}\left (1, -\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+\left (-i \sqrt {3}\, c_4 -c_4 \right ) \operatorname {AiryBi}\left (1, -\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )}{2 c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+2 c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )}\right ) \\ \frac {\mathop {\mathrm {d}}}{ \mathop {\mathrm {d}x}} \left (\frac {y \,{\mathrm e}^{-\frac {x}{2}}}{c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )}\right ) &= \left (\frac {{\mathrm e}^{-\frac {x}{2}}}{c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )}\right ) \left (\frac {\left (-i c_3 \sqrt {3}-c_3 \right ) \operatorname {AiryAi}\left (1, -\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+\left (-i \sqrt {3}\, c_4 -c_4 \right ) \operatorname {AiryBi}\left (1, -\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )}{2 c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+2 c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )}\right ) \\ \mathrm {d} \left (\frac {y \,{\mathrm e}^{-\frac {x}{2}}}{c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )}\right ) &= \left (\frac {\left (\left (-i c_3 \sqrt {3}-c_3 \right ) \operatorname {AiryAi}\left (1, -\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+\left (-i \sqrt {3}\, c_4 -c_4 \right ) \operatorname {AiryBi}\left (1, -\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )\right ) {\mathrm e}^{-\frac {x}{2}}}{\left (2 c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+2 c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )\right ) \left (c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )\right )}\right )\, \mathrm {d} x \\ \end{align*}

Integrating gives

\begin{align*} \frac {y \,{\mathrm e}^{-\frac {x}{2}}}{c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )}&= \int {\frac {\left (\left (-i c_3 \sqrt {3}-c_3 \right ) \operatorname {AiryAi}\left (1, -\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+\left (-i \sqrt {3}\, c_4 -c_4 \right ) \operatorname {AiryBi}\left (1, -\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )\right ) {\mathrm e}^{-\frac {x}{2}}}{\left (2 c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+2 c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )\right ) \left (c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )\right )} \,dx} \\ &=-\frac {{\mathrm e}^{-\frac {x}{2}}}{c_3 \operatorname {AiryAi}\left (-\frac {\left (4 x +1\right ) \left (1+i \sqrt {3}\right )}{8}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (4 x +1\right ) \left (1+i \sqrt {3}\right )}{8}\right )} + c_5 \end{align*}

Dividing throughout by the integrating factor \(\frac {{\mathrm e}^{-\frac {x}{2}}}{c_3 \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )+c_4 \operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right )}\) gives the final solution

\[ y = \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right ) {\mathrm e}^{\frac {x}{2}} c_3 c_5 +\operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right ) {\mathrm e}^{\frac {x}{2}} c_4 c_5 -1 \]

Hence, the solution found using Lagrange adjoint equation method is

\begin{align*} y &= \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right ) {\mathrm e}^{\frac {x}{2}} c_3 c_5 +\operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right ) {\mathrm e}^{\frac {x}{2}} c_4 c_5 -1 \\ \end{align*}

The constants can be merged to give

\[ y = \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right ) {\mathrm e}^{\frac {x}{2}} c_3 +\operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right ) {\mathrm e}^{\frac {x}{2}} c_4 -1 \]

Will add steps showing solving for IC soon.

Summary of solutions found

\begin{align*} y &= \operatorname {AiryAi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right ) {\mathrm e}^{\frac {x}{2}} c_3 +\operatorname {AiryBi}\left (-\frac {\left (x +\frac {1}{4}\right ) \left (1+i \sqrt {3}\right )}{2}\right ) {\mathrm e}^{\frac {x}{2}} c_4 -1 \\ \end{align*}

Maple step by step solution

Maple trace
`Methods for second order ODEs: 
--- Trying classification methods --- 
trying a quadrature 
trying high order exact linear fully integrable 
trying differential order: 2; linear nonhomogeneous with symmetry [0,1] 
trying a double symmetry of the form [xi=0, eta=F(x)] 
-> Try solving first the homogeneous part of the ODE 
   checking if the LODE has constant coefficients 
   checking if the LODE is of Euler type 
   trying a symmetry of the form [xi=0, eta=F(x)] 
   checking if the LODE is missing y 
   -> Trying a Liouvillian solution using Kovacics algorithm 
   <- No Liouvillian solutions exists 
   -> Trying a solution in terms of special functions: 
      -> Bessel 
      <- Bessel successful 
   <- special function solution successful 
<- solving first the homogeneous part of the ODE successful`
 
Maple dsolve solution

Solving time : 0.020 (sec)
Leaf size : 26

dsolve(diff(diff(y(x),x),x)-diff(y(x),x)-x*y(x)-x = 0, 
       y(x),singsol=all)
 
\[ y = {\mathrm e}^{\frac {x}{2}} \operatorname {AiryAi}\left (x +\frac {1}{4}\right ) c_{2} +{\mathrm e}^{\frac {x}{2}} \operatorname {AiryBi}\left (x +\frac {1}{4}\right ) c_{1} -1 \]
Mathematica DSolve solution

Solving time : 12.951 (sec)
Leaf size : 99

DSolve[{D[y[x],{x,2}]-D[y[x],x]-x*y[x]-x==0,{}}, 
       y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to e^{x/2} \left (\operatorname {AiryAi}\left (x+\frac {1}{4}\right ) \int _1^x-e^{-\frac {K[1]}{2}} \pi \operatorname {AiryBi}\left (K[1]+\frac {1}{4}\right ) K[1]dK[1]+\operatorname {AiryBi}\left (x+\frac {1}{4}\right ) \int _1^xe^{-\frac {K[2]}{2}} \pi \operatorname {AiryAi}\left (K[2]+\frac {1}{4}\right ) K[2]dK[2]+c_1 \operatorname {AiryAi}\left (x+\frac {1}{4}\right )+c_2 \operatorname {AiryBi}\left (x+\frac {1}{4}\right )\right ) \]