Some topics in the theory of ultracold atomic gases