In this step the algorithm determines a polynomial \(p(x)=a_0+a_1 x+ a_2 x^2 + \dots + x^d\) of degree \(d\). Define set of polynomials \(\{P_n,P_{n-1},\cdots ,P_{-1}\) where
The last polynomial \(P_{-1}(x)\) is used to solve for the coefficients \(a_i\) using
In Maple this is done using the solve command with the identity option. If it is
possible to find coefficients \(a_i\) such that (2) is satisfied, then define the equation
\(\omega \) is solved for from the above equation. If solution \(\omega \) is found then the solution to \(z''=r z\) will be
This completes the full algorithm for case three. The general solution to the original ode can now be determined as outlined at the end of case one above.