I am trying to solve the following differential equation: $$ (1-x^2)^2\frac{d^4f}{dx^4} + a f(x) = 0,$$ where $a \neq 0$ and $|x| \leq 1$.
When I run DSolve, Mathematica gives me this monster of a solution: $$ \begin{align} f(x) &= c_1 \,_2F_1\left(-\frac{\alpha+1}{4},\frac{\alpha-1}{4},\frac{1}{2};x^2\right)\,_2F_1\left(-\frac{\beta+1}{4},-\frac{\beta-1}{4},\frac{1}{2};x^2\right)\\ &\quad + x \left[c_2 \, _2F_1\left(-\frac{\alpha+1}{4},\frac{\alpha-1}{4},\frac{1}{2};x^2\right)\,_2F_1\left(-\frac{\beta-1}{4},\frac{\beta+1}{4},\frac{3}{2};x^2\right) \right.\\&\quad\left. + c_3 \,_2F_1\left(-\frac{\alpha-1}{4},\frac{\alpha+1}{4},\frac{3}{2};x^2\right)\,_2F_1\left(-\frac{\beta+1}{4},-\frac{\beta-1}{4},\frac{1}{2};x^2\right) \right] \\ &\quad + c_4 x^2 \,_2F_1\left(-\frac{\alpha-1}{4},\frac{\alpha+1}{4},\frac{3}{2};x^2\right) \,_2F_1\left(-\frac{\beta-1}{4},\frac{\beta+1}{4},\frac{3}{2};x^2\right), \end{align} $$ where $$\alpha = \sqrt{1-2\sqrt{a}}, \qquad \beta = \sqrt{1+2\sqrt{a}}.$$ However, plugging this output back into the differential equation does not yield zero, even with FullSimplify. This is true even for just the $c_1$ term. Doing a series expansion around $x=0$ shows that I either must set all the $c_i$ coefficients to zero or set $a=0$, in which case the solution becomes a cubic polynomial as expected. I can also plot the differential equation evaluated on the solution given above for particular nonzero values of $a$, and it appears to be a smooth non-zero function.
What's going on here? For reference, the exact line of code I'm running is
DSolve[(1 - x^2)^2 * D[f[x],{x,4}] + a*f[x] == 0, f[x], x]
