A half-linear differential equation and variational problem