Suppose $u_1(z)$ and $u_2(z)$ are harmonic in a simply connected domain $D$, with $u_1(z)u_2(z)\equiv 0$ in $D$. Prove that either $u_1(z)\equiv 0$ or $u_2(z)\equiv 0$ in $D$.
Since $D$ is simply connected, there are holomorphic functions $f,g\in\mathcal{H}(D)$ such that $\Re f = u_1$ and $\Re g = u_2$ (or $\Im$ if necessary). I don't know how to use this fact. I first thought maybe harmonic functions have discrete roots but $\log|z|$ has roots $|z| =1$ so this is not true. Any hint on this problem?