# non proper intersection

Let X and Y two smooth closed subschemes of a smooth projective scheme Z over a field.

Let $W:=X\cap Y$.

I suppose that W is non empty and that the intersection of X and Y is non proper, i.e

codim(W)< codim (X) +codim(Y).

Does W necessarily have singularities?

-
Of course not. For example, you can take $X = Y$ to be a point. Then $W$ is also a point. –  Sasha Oct 30 '12 at 3:19
To have less trivial examples, you can even intersect linear spaces to have non-proper intersections, but the intersection will still be linear and hence non-singular. –  Sándor Kovács Oct 30 '12 at 5:12
In fact, if $X$ and $Y$ are sufficiently transverse and $\dim W = 0$, then $W$ is always reduced and so always a smooth point. –  Karl Schwede Nov 1 '12 at 12:14