Asymptotic behavior of solutions of variational equations