Tutorials › Real Analysis › Continuity of Products

Continuity · Tutorial 343 of 1000

Continuity of Products

Learn when products preserve uniform continuity and Lipschitz bounds, and why boundedness is essential for these stronger conclusions.

Intermediate 10 min read

What You'll Learn

  • Apply the earlier pointwise product theorem to functions on a common domain
  • Prove uniform continuity of a product when both factors are bounded and uniformly continuous
  • Explain why uniform continuity of two factors alone does not guarantee a uniformly continuous product
  • Derive a Lipschitz bound for a product of bounded Lipschitz functions
  • Check boundedness and domain hypotheses in product examples

Products: From Pointwise to Global Control

The pointwise product theorem established earlier in “Continuity of Polynomial Functions” says that if \(f\) and \(g\) are continuous at \(a\), then their product is continuous at \(a\). The same conclusion applies on any common domain: if both functions are continuous at every point of that domain, their product is continuous there. This tutorial develops stronger conclusions. Uniform continuity and Lipschitz continuity control changes across an entire domain, and for products these properties require attention to the sizes of the factors as well as to how quickly they change.

Definition: Let \(E\subseteq\mathbb{R}\), and let \(f,g:E\to\mathbb{R}\). Their product \(fg:E\to\mathbb{R}\) is defined by \((fg)(x)=f(x)g(x)\) for every \(x\in E\). If the original domains differ, the product is defined on their intersection.

A useful algebraic identity separates a change in a product into changes in its factors:

$$ f(x)g(x)-f(y)g(y) =f(x)\bigl(g(x)-g(y)\bigr) +g(y)\bigl(f(x)-f(y)\bigr). $$

The identity follows by expanding the right-hand side: it equals \(f(x)g(x)-f(x)g(y)+g(y)f(x)-g(y)f(y)\), and the middle terms cancel. Taking absolute values gives

$$ |f(x)g(x)-f(y)g(y)| \leq |f(x)|\,|g(x)-g(y)| +|g(y)|\,|f(x)-f(y)|. $$

This estimate is the main tool in the global results below. Each factor’s change is multiplied by a value of the other factor. Bounds on those values therefore let us turn control of the individual changes into control of the product.

Uniform Continuity of Products

Uniform continuity of each factor controls its change using a distance threshold that works throughout the domain. But the product estimate also contains the values \(|f(x)|\) and \(|g(y)|\). If these values can grow without bound, small changes in one factor may be magnified by the other. Boundedness supplies the missing control.

Theorem: Let \(E\subseteq\mathbb{R}\), and let \(f,g:E\to\mathbb{R}\) be bounded and uniformly continuous on \(E\). Then \(fg\) is uniformly continuous on \(E\).

Proof. Choose finite constants \(M_f,M_g\geq0\) such that \(|f(x)|\leq M_f\) and \(|g(x)|\leq M_g\) for every \(x\in E\). Fix \(\varepsilon>0\), and set

$$ \eta=\frac{\varepsilon}{M_f+M_g+1}. $$

This number is positive, including when both bounds are zero. Uniform continuity of \(f\) gives \(\delta_f>0\) such that \(x,y\in E\) and \(|x-y|<\delta_f\) imply \(|f(x)-f(y)|<\eta\). Uniform continuity of \(g\) gives \(\delta_g>0\) with the corresponding property for \(g\). Let \(\delta=\min\{\delta_f,\delta_g\}>0\). For any \(x,y\in E\) with \(|x-y|<\delta\), both changes are less than \(\eta\). The product estimate then gives

$$ \begin{aligned} |f(x)g(x)-f(y)g(y)| &\leq |f(x)|\,|g(x)-g(y)| +|g(y)|\,|f(x)-f(y)|\\ &\leq M_f\eta+M_g\eta\\ &=(M_f+M_g)\frac{\varepsilon}{M_f+M_g+1}\\ &<\varepsilon. \end{aligned} $$

The second line uses non-strict bounds on the coefficients and the final line is strict because \(M_f+M_g<M_f+M_g+1\). This also covers \(M_f=M_g=0\): then the bound on the second line is \(0\), and \(0<\varepsilon\). Thus the chosen \(\delta\) verifies uniform continuity of \(fg\). \(\square\)

Worked Example: A Product of Bounded Uniformly Continuous Functions

On \(\mathbb{R}\), define \(u(x)=1/(1+|x|)\) and \(v(x)=|x|/(1+|x|)\). Both functions are bounded: \(0<u(x)\leq1\) and \(0\leq v(x)<1\). To check their uniform continuity, put \(r=|x|\) and \(s=|y|\). The reverse triangle inequality gives \(|r-s|\leq|x-y|\). Also,

$$ \begin{aligned} |u(x)-u(y)| &=\left|\frac{1}{1+r}-\frac{1}{1+s}\right|\\ &=\frac{|r-s|}{(1+r)(1+s)} \leq |r-s| \leq |x-y|. \end{aligned} $$

For \(v\), direct subtraction gives

$$ \begin{aligned} |v(x)-v(y)| &=\left|\frac{r}{1+r}-\frac{s}{1+s}\right|\\ &=\frac{|r-s|}{(1+r)(1+s)} \leq |x-y|. \end{aligned} $$

Thus both functions are Lipschitz with constant \(1\), and hence uniformly continuous. The product theorem shows that \(uv\) is uniformly continuous on \(\mathbb{R}\). Its formula and value at \(1\) are \(u(x)v(x)=|x|/(1+|x|)^2\) and \(u(1)v(1)=(1/2)(1/2)=1/4\).

Why Boundedness Matters

The boundedness condition is sufficient, not a claim that every product of uniformly continuous functions must fail without it. In fact, the identity function is uniformly continuous on \(\mathbb{R}\), but its product with itself is not. This shows that uniform continuity of the two factors alone cannot guarantee uniform continuity of their product.

Worked Example: The Square of the Identity Is Not Uniformly Continuous

Let \(f(x)=x\) on \(\mathbb{R}\). It is uniformly continuous because \(|f(x)-f(y)|=|x-y|\). Its product with itself is \(f(x)^2=x^2\). For each positive integer \(n\), choose \(x_n=n\) and \(y_n=n+1/n\). Their distance tends to zero: \(|x_n-y_n|=1/n\). Yet the difference between their squared values is

$$ \begin{aligned} |y_n^2-x_n^2| &=\left(n+\frac1n\right)^2-n^2\\ &=n^2+2+\frac1{n^2}-n^2\\ &=2+\frac1{n^2}>2. \end{aligned} $$

To verify the failure directly, take \(\varepsilon=1\). For any \(\delta>0\), choose a positive integer \(n>1/\delta\). Then \(|x_n-y_n|=1/n<\delta\), while \(|x_n^2-y_n^2|>2>1\). No single \(\delta\) works for this \(\varepsilon\), so \(x^2\) is not uniformly continuous on \(\mathbb{R}\). Here the identity factor is unbounded, precisely the kind of growth the bounded-factor theorem avoids.

Lipschitz Bounds for Products

A Lipschitz estimate gives a numerical rate of control: a function \(h\) is Lipschitz with constant \(L\geq0\) on \(E\) if \(|h(x)-h(y)|\leq L|x-y|\) for all \(x,y\in E\). A product of Lipschitz functions has a useful Lipschitz bound when the functions are bounded. This is a quantitative counterpart of the uniform-continuity result.

Theorem: Suppose \(f,g:E\to\mathbb{R}\) are bounded and Lipschitz on \(E\), with \(|f(x)|\leq M_f\), \(|g(x)|\leq M_g\) for all \(x\in E\), and Lipschitz constants \(L_f,L_g\geq0\), respectively. Then \(fg\) is Lipschitz on \(E\) with constant \(M_fL_g+M_gL_f\).

Proof. For any \(x,y\in E\), apply the product estimate, then use the bounds on the factor values and the Lipschitz inequalities:

$$ \begin{aligned} |f(x)g(x)-f(y)g(y)| &\leq |f(x)|\,|g(x)-g(y)| +|g(y)|\,|f(x)-f(y)|\\ &\leq M_fL_g|x-y|+M_gL_f|x-y|\\ &=(M_fL_g+M_gL_f)|x-y|. \end{aligned} $$

This is the Lipschitz inequality for the product with the stated constant. The constant need not be the smallest possible one, but the estimate is valid even if one or more of the bounds or Lipschitz constants are zero. \(\square\)

Worked Example: A Lipschitz Product on a Bounded Interval

Let \(E=[0,2]\), \(f(x)=x^2\), and \(g(x)=x+1\). On this interval, \(|f(x)|\leq4\) and \(|g(x)|\leq3\). For \(x,y\in[0,2]\),

$$ |f(x)-f(y)|=|x-y||x+y|\leq4|x-y|, \qquad |g(x)-g(y)|=|x-y|. $$

Thus we may take \(M_f=4\), \(M_g=3\), \(L_f=4\), and \(L_g=1\). The theorem guarantees that \(fg\) is Lipschitz with constant \(4(1)+3(4)=16\). Indeed, \(fg(x)=x^2(x+1)\). For example, at \(x=2\) its value is \(4(3)=12\), and at \(y=1\) its value is \(1(2)=2\); the difference is \(10\), which is at most \(16|2-1|=16\). The theorem provides a bound for every pair in the interval, not just this pair.

Local Continuity and Cancellation

For continuity at a single point, boundedness does not need to hold throughout the domain. The pointwise product theorem gives continuity of the product at \(a\) whenever both factors are continuous there, without any global boundedness hypothesis. Uniform continuity is different because its single distance threshold must work over the entire domain.

A product being continuous also does not imply that each factor is continuous. For example, define \(h(0)=1\) and \(h(x)=0\) for \(x\ne0\), and let \(k(x)=0\) for every real \(x\). The function \(h\) is discontinuous at \(0\): for every \(\delta>0\), \(x=\delta/2\) satisfies \(|x|<\delta\), \(x\ne0\), and \(|h(x)-h(0)|=1\). But \(hk\) is the constant zero function, hence continuous everywhere. The product can conceal discontinuity through a zero factor.

When applying a product theorem, check the hypotheses suited to the conclusion. Pointwise continuity uses continuity of both factors at the point. The uniform-continuity theorem proved here also requires both factors to be bounded on the full domain. The Lipschitz estimate likewise uses global bounds on the factors. A common error is to infer uniform continuity of a product from uniform continuity of its factors without checking whether their values can become arbitrarily large.

Check Your Understanding

Use the estimates and hypotheses in this tutorial to answer the following questions.

  1. Why do the product estimates involve both changes in the factors and the sizes of their values?
  2. In the uniform-continuity theorem, why is the choice \(\eta=\varepsilon/(M_f+M_g+1)\) valid even if both bounds are zero?
  3. Give the sequence of input pairs that demonstrates that \(x^2\) is not uniformly continuous on \(\mathbb{R}\), and state what happens to their output differences.
  4. If \(f\) is bounded by \(5\) and Lipschitz with constant \(2\), while \(g\) is bounded by \(3\) and Lipschitz with constant \(4\), what product Lipschitz constant does the theorem guarantee?
  5. Can a continuous product have a discontinuous factor? Describe the example from this tutorial.