I'm trying to solve a differential equation for the modeling of an ultrasonic horn in wich his form is a catenary, and his differential equation for a wave involves a hyperbolic tangent. I have the solution for the differential equation, but I need to do the "steps by steps". I had transformed the trigonometric coefficient into a polynomial but I keep having problems with the series in the development of the solution (I'm using series for solving this) so if someone can give me a hand, because I don't know if I'm doing a good approach to the equation, I would be very grateful. Here is the equation: $$\ v''+\frac{2k}{r}tanh(\frac{kx}{r})v'+\frac{w^2}{c^2}v=0$$
and here is transformed into a polynomial
$$ \frac{k^2}{r^2}(1+u)^2 v''+\frac{w^2}{c^2}v=0 $$
thanks in advance and I wait for your answers if someone knows. ($k, r, w$ and c are constants)

Starting from the second form:
Divide the whole equation by the constant coefficient of $v^{\prime\prime}$ to get $(1+u)^2v^{\prime\prime} + \left( \frac{rw}{kc} \right)^2v = (u^2+2u+1)v^{\prime\prime} + \omega^2v = 0$. Let $v = \sum_{i=0}^\infty a_iu^i$, and differentiation term-by-term gives $v^{\prime\prime} = \sum_{i=2}^\infty i(i-1)a_iu^{i-2}$. Substituting into the equation gives $\sum_{i=2}^\infty i(i-1)a_iu^i + \sum_{i=2}^\infty 2i(i-1)a_iu^{i-1} + \sum_{i=2}^\infty i(i-1)a_iu^{i-2} + \sum_{i=0}^\infty \omega^2a_iu^i = 0$. We want to shift the sums so that they all have same power of $u$ in them, which will let us factor it out of the sum. So, we have $\sum_{i=2}^\infty i(i-1)a_iu^i + \sum_{i=1}^\infty 2i(i+1)a_{i+1}u^{i} + \sum_{i=0}^\infty (i+1)(i+2)a_{i+2}u^{i} + \sum_{i=0}^\infty \omega^2a_iu^i = \sum_{i=2}^\infty i(i-1)a_iu^i + \sum_{i=2}^\infty 2i(i+1)a_{i+1}u^{i} + \sum_{i=0}^\infty (i+1)(i+2)a_{i+2}u^{i} + \sum_{i=2}^\infty \omega^2a_iu^i + (6a_3 + 4a_2+\omega^2a_1)u + (\omega^2a_0+2a_2) = (6a_3 + 4a_2+\omega^2a_1)u + (\omega^2a_0+2a_2) + \sum_{i=2}^\infty u^i[\left(i(i-1) + \omega^2\right)a_i + 2i(i+1)a_{i+1} + (i+1)(i+2)a_{i+2} ] = 0$.
From here, you get that each coefficient of $u^i$ must be $0$, which gives you a recurrence relation which you can use to get the terms $a_i$ given some constants $a_0$ and $a_1$.