DSolve[y[x]*(-((-1 + v)*v) + x^2*(a + f[x]^2 + Derivative[1][f][x])) + 2*x^2*f[x]*Derivative[1][y][x] + x^2*Derivative[2][y][x] == 0,y[x],x]