A parametrization of the solutions of the Hamiltonian and symplectic systems for uncontrollable pairs