Analytic geometry : a vector approach