From Atiyah-Macdonald, bottom of page 9:
"Let $f: A \to B$ be a ring homomorphism.
...
We can factorize $f$ as follows: $$ A \xrightarrow{p} f(A) \xrightarrow{j} B$$ where $p$ is surjective and $j$ is injective. For $p$ the situation is very simple (1.1): there is a one-to-one correspondence between ideals of $f(A)$ and of ideals of $A$ which contain $\ker(f)$, and prime ideals correspond to prime ideals. For $j$, OTOH, the general situation is very complicated. The classical example is from algebraic number theory. ..."
My questions:
1.$p = f$ and $j$ is the inclusion, no?
2.Why do we want to factor $f$?
3.Since the chapter is about contractions and extensions I assume we can use this factorisation of $f$ to find the extension and contraction of ideals in $A$ and $B$. How do we do this?
On the next page, there is an example $\mathbb Z \to \mathbb Z[i]$ for $i = \sqrt{-1}$ where some extensions are listed. But the example doesn't seem to use this factorisation. Also:
4.If the map is not explicitly given, $\mathbb Z \to \mathbb Z[i]$, is it the inclusion or any ring homomorphism?
Many thanks for your help.