Let $ A $ be a Noetherian ring, and $ M $ a finitely generated $ A $ module. Suppose that $ \mathfrak { p } \in M $ such that $ M_{\mathfrak{p}} $ is free. Show that there is a $ f \in A \setminus \mathfrak{p} $ such that $ M_{f} $ is free over $ A_{f} $.
P.S. Some related questions are 1) Flatness and Local Freeness 2) Locally free sheaves, though, both of these don't answer the specific question that I have above, in that I am just looking around one prime (so my module is not projective etc). I have seen this in Vakil but I can't find it at the moment. I will post my proof of the fact above below but I would like to see what are some other ways to do it.