Remark 26.10.3. If $f : X \to Y$ is an immersion of schemes, then it is in general not possible to factor $f$ as an open immersion followed by a closed immersion. See Morphisms, Example 29.3.4.

There are also:

• 9 comment(s) on Section 26.10: Immersions of schemes

In your comment you can use Markdown and LaTeX style mathematics (enclose it like $\pi$). A preview option is available if you wish to see how it works out (just click on the eye in the toolbar).