Suppose that I have two continuous functions
$$f : \left[ a, b \right] \rightarrow \mathbb{R} \quad \text{and} \quad g : \left[ a, b \right] \rightarrow \mathbb{R}$$
and they have the following property
$$f(x) \times g(x) = 0 \space , \forall x \space \in \left[ a, b \right]$$
Can I say that one of the functions necessarily has to be equal to $0$?
For example, $f(x) = 0 \space , \forall x \space \in \left[ a, b \right]$.
UPDATE: Ok, I can see from the counterexamples that the affirmation is not true, but now I cannot see in which cases it is true. If I let the function $g : \left[ a, b \right] \rightarrow \mathbb{R}$ be any continuous function, then in that case must I have $f(x) = 0$ ?