I have found various proofs of the result but I have come up with something very different and I wonder whether it is a valid argument:
Let $W$ be an algebraic set. Let $I=\mathcal{I}(W)$. We have $I=rad(I)=P_1 \cap ... \cap P_m$ an intersection of minimal prime ideals of $I$. Set $V_i=\mathcal{V}(P_i)$. Then $W$ is the union of the $V_i$'s which are irreducible algebraic sets.
I feel as though something must be going wrong here, it seems to me that I would have found this proof somewhere if it were to be right... Can you give me your opinion here? Thank you so much!
There is no garantee that the $V_i$'s are irreducible.