Elements of analytic geometry