Let $D$ be a domain and let $f,g$ be analytic in $D$. I need to prove that if $f(z)g(z)=0$ for all $z\in D$, then $f(z)=0$ for all $z\in D$ or $g(z)=0$ for all $z\in D$.This is my answer.
Assume there exists $z_0 \in D$ such that $f(z_0)\neq 0$ and $g(z_0)\neq 0$. Since $f,g$ are continuous in $D$ there exists $r_1,r_2>0$ such that $f(z)\neq 0$ for all $z\in D_{r_1}(z_0)$ and $g(z)\neq 0$ for all $z\in D_{r_2}(z_0)$. Ler $r=min${$r_1,r_2$}. Then, $$f(z)g(z)\neq0,z\in D_r(z_0)$$
This is a contradiction. Thus $f(z)=0$ for all $z\in D$ or $g(z)=0$ for all $z\in D$. Is this correct? Any improvements?Better answers? Thanks