How to show that the intersection of two certain affine varieties is reduced? $\DeclareMathOperator\codim{codim}$Let $X=V(I)$, $Y=V(J)$ be two affine varieties. I'd like to know possibile strategies to understand when their schematic intersection, i.e. $X\cap Y=V(I+J)$, is reduced.
I am aware that reduceness is equivalent to Serre's conditions $R_0$+$S_1$ (at least under Noetherian hypothesis), but I don't really know how to use them efficiently, at least in my specific case.
More precisely, the case I am interested in is the following:
Let $V=\mathbb A^{2n}$ be an even dimensional vector space, let $X$ be an half dimensional vector subspace and let $Y=\bigcup_i Y_i \cup \bigcup_j Z_j$, where each $Y_i$, $Z_j$ is again a half dimensional vector subspace of $V$ (the reason for using different notations for them will become clear).
In general, $X\cap Y$ is not reduced: for example it's easy to see that, if $X=V(y-x)$ is the diagonal and $Y=V(xy)$ is the cross inside $\mathbb A^2$, then $X\cap Y=V(x^2, y-x)$ is not reduced…so one certainly needs to put more assumptions on $X,Y$.
I'd like to know if the following two assumptions are actually enough to ensure reduceness for $X\cap Y$:
(i) The $X\cap Y_i$'s are all distinct subspaces, of codimension 1 in $X$.
(ii) For each $Z_j$, there exists at least one $Y_i$ such that $X\cap Z_j \subsetneq X\cap Y_i$ (in particular, $\codim_X X\cap Z_j\geq 2$).
My intuition is that such an intersection should be at least generically reduced, namely reduced outside the closed locus $\bigcup_j X\cap Z_j$, and I hope these conditions are enough to ensure that nothing bad happens even inside such a locus, but I don't know how to prove that (basically I don't know how to exclude embedded primes).
P.S. If this turns out to be actually false, anyway I'd be interested to know which sort of other ‘reasonable’ conditions on the $Y_i$'s and $Z_j$'s could ensure reducedness of such an intersection.
 A: It seems to me that if there are no $Z$'s, then this works. Indeed, both $X$ and the $Y_i$ are linear spaces, so the intersection $X\cap Y$ is just a union of pairwise different linear spaces, so it is reduced. I think one could write down this with equations.
However, adding the $Z_i$'s is problematic. I think the following example works:
Let $Y=Z(xz,xt,yz,yt)\subseteq \mathbb A^4$. Then $Y=Y_1\cup Z_1$, where $Y_1=Z(z,t)$ and $Z_1=Z(x,y)$. Further let $X=Z(y-z,t)$. Then $X\cap Y_1=Z(y,z,t)$, a hyperplane in $X$ and $X\cap Z_1=Z(x,y,z,t)$, which is contained, but not equal to $X\cap Y_1$. Finally, $X\cap Y=Z(xy,y^2,y-z,t)$ is not reduced.
Here is also a theoretical reason for this example. (This had been the motivation behind my previous attempts at giving an example. In fact, this is essentially the first example I gave, but it didn't work, because I tried to do it without the Z's). Anyway the point is, that $Y$ is a simple example of a union of linear spaces that is not $S_2$. A hyperplane section of something that's not $S_2$ is not $S_1$, so cannot be reduced. The only trick is to figure out how to choose $X$, so its intersection with $Y$ is actually a hyperplane cut of $Y$.
Finally, a little nit picking: $\mathbb A^n$ is not a vectorspace, nor are the $X$, the $Y_i$'s and the $Z_i$. They are affine spaces. If you want to say that they all share a common point, then say that.
