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...