Show that if $X$ is an irreducible variety, and if $U,V\subset X$ are open not empty, then its intersection $U\cap V$ is not empty
I have reasoned in the following way: Reasoning by the absurd suppose that $U\cap V$ is empty, with which $X=U\cup V\cup (U^c-V)$ would be a decomposition of $X$,Which is absurd because P is irreducible. I am thinking well? Many thanks.
If $U\cap V$ is empty, $(U\cap V)^c=U^c\cup V^c=X$. Since $U^c,V^c$ are closed, this shows that $X$ is reducible. Contradiction.