In Vakil's algebraic geometry notes, a problem asks us to find an example of a ring $A$ where $\operatorname{Spec}A$ is reducible but connected. The hint he gives is to consider the symbol "$\times$".
The hint has led me to consider the ring $\mathbb{C}[x,y]/((y-x)(y+x))$ which (if I'm correct) is just the union of the lines cut out by $y=x$ and $y=-x$. We then have that $\mathbb{C}[x,y]/((y-x)(y+x))=V(y-x)\cup V(y+x)$. Since neither $V(y-x)$ nor $V(y+x)$ equals the whole space (and both are nonempty), it follows that the space is reducible.
Intuitively, it seems like the space is connected. However, I'm having trouble actually proving this. In an answer to similar question asked here, an answer given uses the theory of idempotents. However, this theory hasn't been developed yet in the notes I'm reading. Is there a way to prove that the space is connected from first principles?