I am stuck in the Exercise 5.3 of Matsumura's Commutative Algebra: $\newcommand{\p}{\mathfrak p}$ $\newcommand{\sp}{\operatorname{Spec}}$
Let $B$ be a ring, $A$ be a subring and $\p\in\sp(A)$. Suppose that $B$ is integral over $A$ and that there is only one prime ideal $P$ of $B$ over $\p$. Then $B_P=B_\p$, where $B_\p=B\otimes_A A_\p$.
In addition, this book gives a hint: show that $B_\p$ is a local ring with maximal ideal $PB_\p$. I am really confused about this problem, especially in the following points:
What is the exact meaning of $B_P=B_\p$? Can I say $B_P\subset B_\p$ since $\p\subset P$?
Even if I have showed that $B_\p$ has a unique maximal ideal $PB_\p$, how does this fact imply $B_P=B_\p$?
I know that the going-up theorem holds for $A\hookrightarrow B$ since $B$ is integral over $A$, but how can the condition that there is only one prime ideal $P$ such that $P\cap A=\p$ can be used to show that $(B_\p, PB_\p)$ is a local ring?
Thus I would like to ask for some explanation and further hints. Thanks in advance...
I hope my thinking is right. Here is what I have come up with.
which should imply $\require{enclose}\enclose{horizontalstrike}{B_\mathfrak p = (A\setminus \mathfrak p)^{-1}B \subseteq (B \setminus P)^{-1}B = B_P}$EDIT: which gives us a homomorphism of rings $B_\mathfrak p = (A\setminus \mathfrak p)^{-1}B \rightarrow (B \setminus P)^{-1}B = B_P$ (a priori it is not injective, since we could have zero-divisors in our multiplicative subsets).I think $B_P = B_\mathfrak p$ shortly follows. I hope I didn't overlook anything. Good luck!