Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working though Pinter's A book of Abstract Algebra and would like a quick verification on a simple problem. Exercise 17.B2 asks

Describe the divisors of zero in $\mathcal{F}(\mathbb{R})$.

Note that $\mathcal{F}(\mathbb{R})$ denotes the ring of all real valued functions endowed with pointwise multiplication and addition.

My attempt

If a non-zero element $f$ is a zero divisor of $\mathcal{F}(\mathbb{R})$, then there exists a non-zero $g$ such that

$$\forall x \in \mathbb{R}: \quad f(x)g(x) = 0.$$

Because $f$ is non-zero, there exists an $x_1 \in \mathbb{R}$ such that $f(x_1) \neq 0$. I claim that if, in addition, there is an $x_2 \in \mathbb{R}$ such that $f(x_2) = 0$, then $f$ is a zero-divisor. To see this, define $g$ by

$$ g(x) = \begin{cases} 0 &\text{if}\;\;\; x \neq x_2 \\ 1 &\text{if}\;\;\; x = x_2 \end{cases}$$

Then it is clear that $g$ is non-zero and $fg=0$. Thus, $f$ is a zero-divisor.

I claim, further, that such $f$ are the only zero divisors. To see this, suppose that there does not exist an $x_2 \in \mathbb{R}$ such that $f(x_2) = 0$. Then $f(x) \neq 0$ for every $x \in \mathbb{R}$. But then for any $x \in \mathbb{R}$, we can divide though by $f(x)$ in $f(x)g(x) = 0$ to obtain

$$g(x) = \frac{0}{f(x)} = 0.$$

Which means that all $g$ that satisfy $fg=0$ must have $g(x) = 0$ for all $x \in \mathbb{R}$ contradicting the requirement that $g$ is non-zero.

I'm trying to learn this on my own, and am having some trouble understanding and gaining intuition regarding zero-divisors. So even though this may seem simple, I would like some help and criticism :)

share|cite|improve this question
up vote 3 down vote accepted

Yes, that's a fine argument. For a slightly different approach, note that if $f$ has no zeros, then we can define an inverse for it via

$$\tilde{f}(x) = \frac{1}{f(x)}$$

Since $f(x) \ne 0$ for all $x$, this makes sense. Then it's easy to check that $f \tilde f = 1 = \tilde f f$ is the function which is identically $1$ (which is the multiplicative identity in the ring), so that $f$ is invertible as a ring element. Invertible elements are never zero divisors.

share|cite|improve this answer

If you're not assuming continuity, then the zero divisors are precisely the functions that vanish somewhere. If you have a function $f$ that vanishes somewhere, say at $x$, then you can define a function $g$ that takes the value 1 at $x$, and 0 everywhere else. Then $fg = 0$, but neither $f,g$ are 0.

Edit: I just want to add that sometimes in math instead of trying to directly prove it, you can try to work intuitively, for example, think about what kinds of zero divisors you can come up with. Ie, try to come up with two nonzero functions that multiply to 0. For example, you could have the function $f(x) = x$, $g(x) = x^2-1$, then $(fg)(x) = x(x^2-1)$, which is obviously not the zero function. So that doesn't work. Maybe you can come up with some other examples, and see which work, which don't...etc.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.