Ma · Mathematics

When Does sup(f) sup(g) Equal sup(fg)?

Published By the 9to5Science editorial team

At a glance

  1. 1. Set the assumptions

    Take f and g to be nonnegative, bounded functions on the same nonempty domain.

  2. 2. Compare pointwise

    At every point, the product is no larger than the product of the two suprema.

  3. 3. Check shared approach

    Equality requires points where both functions can get arbitrarily close to their suprema at once.

  4. 4. Consider signs

    If either function can be negative, the usual inequality may fail; check the signs separately.

Advertisement

The expression sup⁡(f)sup⁡(g)\sup(f)\sup(g) depends only on the separate ranges of ff and gg, while sup⁡(fg)\sup(fg) depends on how their values line up at the same input. That distinction determines whether equality holds.

Assume first that f,g:X→[0,∞)f,g:X\to[0,\infty) are bounded above on a common nonempty domain XX. Write A=sup⁡x∈Xf(x)A=\sup_{x\in X}f(x) and B=sup⁡x∈Xg(x)B=\sup_{x\in X}g(x). Then

sup⁡x∈X(f(x)g(x))≤AB.\sup_{x\in X}(f(x)g(x))\le AB.

Equality holds exactly when both functions can get arbitrarily close to their own suprema at the same points. The suprema need not be attained.

Why the product is bounded by the two suprema

For every x∈Xx\in X, the definition of supremum gives f(x)≤Af(x)\le A and g(x)≤Bg(x)\le B. Since both values are nonnegative, multiplying these inequalities preserves their direction:

f(x)g(x)≤AB.f(x)g(x)\le AB.

Thus ABAB is an upper bound for all values of fgfg, so the least upper bound satisfies sup⁡(fg)≤AB\sup(fg)\le AB.

Exact condition for equality

If A>0A>0 and B>0B>0, the following are equivalent:

  • sup⁡(fg)=AB\sup(fg)=AB;
  • there is a sequence (xn)(x_n) in XX such that f(xn)→Af(x_n)\to A and g(xn)→Bg(x_n)\to B;
  • for every ε>0\varepsilon>0, some x∈Xx\in X satisfies both f(x)>A−εf(x)>A-\varepsilon and g(x)>B−εg(x)>B-\varepsilon.

In other words, the two functions must have common approximate maximizers. To see why this is necessary, equality of the product supremum means there are points where f(x)g(x)f(x)g(x) gets arbitrarily close to ABAB. Since f(x)≤Af(x)\le A and g(x)≤Bg(x)\le B, a product close to the positive number ABAB forces each factor to be close to its own upper bound. Conversely, if both factors approach AA and BB along the same sequence, their products approach ABAB, so the product supremum is at least ABAB; combined with the upper bound, it equals ABAB.

If A=0A=0 or B=0B=0, nonnegativity makes the corresponding function identically zero. Then fg=0fg=0 everywhere and equality holds automatically.

When both functions attain their maxima, the condition is especially simple: they must have at least one common maximizer. Without attained maxima, use common approximate maximizers instead.

Worked examples

Let X={1,2}X=\{1,2\} and define

xxf(x)f(x)g(x)g(x)f(x)g(x)f(x)g(x)
1100
2010

Here sup⁡f=1\sup f=1 and sup⁡g=1\sup g=1, so sup⁡fsup⁡g=1\sup f\sup g=1. But fgfg is zero at every point, so sup⁡(fg)=0\sup(fg)=0. Each function reaches its maximum, but not at a common point.

For an equality case where neither supremum is attained, take X=(0,1)X=(0,1) and f(x)=g(x)=xf(x)=g(x)=x. Both suprema are 11, and f(x)g(x)=x2f(x)g(x)=x^2 also has supremum 11. The values approach the suprema together as xx approaches 11, even though 1∉X1\notin X.

What changes if negative values are allowed?

The nonnegativity assumption matters: multiplying two inequalities can reverse direction when signs differ. For example, on X={1,2}X=\{1,2\}, let f=(−2,1)f=(-2,1) and g=(−2,−1)g=(-2,-1), with entries listed in order. Then sup⁡f=1\sup f=1 and sup⁡g=−1\sup g=-1, so their product is −1-1. Yet the pointwise products are 44 and −1-1, giving sup⁡(fg)=4\sup(fg)=4. Thus the inequality sup⁡(fg)≤sup⁡(f)sup⁡(g)\sup(fg)\le\sup(f)\sup(g) is false for general real-valued functions.

If signs are unrestricted, there is no general equality rule based only on the two separate suprema. The exact test is to examine the pointwise products on the common domain and take their supremum.

Common mistakes

  • Assuming separate maxima align. The largest value of ff may occur where gg is small, and vice versa.
  • Confusing a supremum with a maximum. Equality can hold even when neither function attains its supremum.
  • Ignoring signs. The standard upper-bound argument relies on both functions being nonnegative.
  • Using different domains. The product fgfg is defined pointwise only where both functions are defined; the suprema in the comparison must refer to that same domain.

References

  1. Understanding Analysis, Stephen Abbott

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.