The Weierstrass M-Test

Suppose you build a function by adding up infinitely many simpler pieces, such as

f(x)=∑n=1∞cos⁡(nx)n2,f(x) = \sum_{n=1}^{\infty} \frac{\cos(nx)}{n^2},

and you want to know whether ff is continuous. You may also want to integrate it term by term. The individual terms are utterly tame. Each is bounded, smooth, and easy to understand. But an infinite sum of tame functions can behave badly. This happens unless the convergence is controlled in a strong enough sense. The relevant strong sense is Uniform Convergence. Checking it directly from the definition is often a technical nightmare. This means estimating sup⁡x∣f(x)−SN(x)∣\sup_x |f(x) - S_N(x)|, which is hard. The difficulty arises because the sum f(x)f(x) is not known in closed form. The Weierstrass M-test sidesteps this difficulty completely. It replaces a hard question about a family of functions. Instead, it poses an easy question about a single series of nonnegative real numbers. Suppose you can bound each term ∣fn(x)∣|f_n(x)| by a constant MnM_n, independent of xx. Suppose also that ∑Mn\sum M_n converges. Then the function series converges uniformly. No other information about the functions is needed. This is one of the most-used tools in all of analysis. It is the standard machine for proving key results. Specifically, it shows that Fourier series, power series, and many other special series define continuous, differentiable, or integrable functions. The idea is due to Karl Weierstrass in the mid-nineteenth century. It exemplifies a recurring strategy in analysis. This strategy converts a delicate convergence question about functions into a convergence question about numbers. There, the tools of Series of real numbers already apply. These tools include comparison tests, the Cauchy criterion, and absolute convergence. This reduction is what makes the test so easy to use. It is also why the test is so widely applicable. This article gives the precise statement and hypotheses of the M-test. It includes a complete proof via the Cauchy Criterion for Uniform Convergence. There are two worked examples with different flavors of estimate. A counterexample shows the dominating series cannot be dropped. Finally, there is a discussion of how the test feeds directly into the theorems. These theorems concern continuity, integration, and differentiation of uniform limits.

Key takeaways
  • The M-test converts a uniform-convergence question about functions into a convergence question about a numerical series.
  • Hypotheses: ∣fn(x)∣≤Mn|f_n(x)| \le M_n for all xx in the domain, for all nn past some point, and ∑Mn<∞\sum M_n < \infty.
  • Conclusion: ∑fn\sum f_n converges uniformly (and absolutely, pointwise) on the domain.
  • The proof is a direct comparison argument feeding into the Cauchy Criterion for Uniform Convergence.
  • The dominating series ∑Mn\sum M_n need not be sharp — any convergent upper bound works, but if none exists the test is simply silent, not contradicted.
  • Key idea: uniform smallness of the tail of ∑fn\sum f_n is guaranteed once the tail of a single numerical majorant series ∑Mn\sum M_n is small, since that bound does not depend on xx.

Where this lives today

The M-test is the standard engine behind proving that Convergence of Fourier Series define genuine continuous functions: coefficients like an/n2a_n/n^2 or an/n1+δa_n/n^{1+\delta} (decaying fast enough) give an immediate convergent majorant ∑∣an∣/n2\sum |a_n|/n^2, which yields uniform convergence of the Fourier series and hence continuity of its sum. In complex analysis, it underlies the theory of power series and analytic functions, guaranteeing that a power series converges uniformly on compact subsets of its disk of convergence, which is the key step in proving term-by-term differentiability of analytic functions. In numerical analysis and approximation theory, M-test–style dominated estimates justify swapping limits and integrals when constructing series solutions to differential equations, such as Fourier or Legendre series expansions used in solving the heat and wave equations. In probability theory, similar dominated-convergence-flavored arguments (though technically distinct, sharing the same spirit) justify interchanging sums and expectations for series of random variables. In cryptography and coding theory, generating functions and formal power series manipulations often rely on M-test-type uniform bounds to justify analytic continuations and asymptotic expansions used in complexity estimates.

:::quiz[Which of the following best explains why the counterexample series fn(x)=xn(1−x)f_n(x) = x^n(1-x) on [0,1][0,1] cannot satisfy the M-test's hypotheses?]

  • Because fnf_n is not continuous at x=1x=1
  • Because the true supremum sup⁡x∣fn(x)∣∼1/(en)\sup_x |f_n(x)| \sim 1/(en) forces any valid MnM_n to form a divergent series like the harmonic series ✓
  • Because fn(x)f_n(x) is negative for some xx
  • Because the pointwise limit function does not exist

Ask the tutor: How does uniform convergence, once established by the M-test, let us justify integrating a series term by term?

DefinitionWeierstrass M-test

Let EE be a nonempty set, and for each nn in some index set (taken here to be N\mathbb{N}, or N\mathbb{N} from some n0n_0 on) let fn:E→Rf_n : E \to \mathbb{R} (or C\mathbb{C}) be a function. Suppose there is a sequence of real numbers (Mn)(M_n) such that: 1. (Uniform bound) ∣fn(x)∣≤Mn|f_n(x)| \le M_n for every x∈Ex \in E and every nn, 2. (Convergent majorant) ∑n=1∞Mn<∞\displaystyle\sum_{n=1}^{\infty} M_n < \infty. Then the series ∑n=1∞fn\displaystyle\sum_{n=1}^{\infty} f_n converges uniformly on EE, and also converges absolutely at every point of EE.

Intuition

Think of each fnf_n as a wave whose height at any point of EE never exceeds MnM_n, a fixed ceiling that does not depend on where you are standing in EE. If the ceilings themselves form a convergent series — meaning that the total "budget" Mn0+Mn0+1+⋯M_{n_0} + M_{n_0+1} + \cdots shrinks to zero as n0→∞n_0 \to \infty — then no matter which point x∈Ex \in E you evaluate at, the tail of the function series is trapped under this shrinking budget. Since the budget shrinks uniformly, at the same rate for every xx, the tails of the function series shrink uniformly too. This is exactly the content of the Cauchy Criterion for Uniform Convergence: uniform convergence holds precisely when the uniform norm of the tail, sup⁡x∣∑n=NMfn(x)∣\sup_x |\sum_{n=N}^{M} f_n(x)|, can be forced below any ε\varepsilon by choosing NN large, regardless of M≥NM \ge N and regardless of xx. The M-test hands you exactly this tail estimate for free, borrowed entirely from the numerical series ∑Mn\sum M_n.

:::svg[Each fnf_n trapped in a shrinking band [−Mn,Mn][-M_n, M_n], forcing uniform smallness of the tail] x y M₁=0.50 M₂=0.20 M₃=0.08 Bands shrink: M₁ > M₂ > M₃ > ⋯, ΣMₙ < ∞ ⇒ tail of Σfₙ(x) small, uniformly in x

TheoremWeierstrass M-test

Let EE be a nonempty set and let fn:E→Rf_n : E \to \mathbb{R} (or C\mathbb{C}), n=1,2,3,…n = 1, 2, 3, \dots, be functions. Suppose there exists a sequence of nonnegative real numbers (Mn)n≥1(M_n)_{n \ge 1} such that: (i) ∣fn(x)∣≤Mn|f_n(x)| \le M_n for all x∈Ex \in E and all n≥1n \ge 1; (ii) ∑n=1∞Mn\sum_{n=1}^{\infty} M_n converges (as a series of real numbers). Then: (a) For each x∈Ex \in E, the series ∑n=1∞fn(x)\sum_{n=1}^{\infty} f_n(x) converges absolutely. (b) The sequence of partial sums SN(x)=∑n=1Nfn(x)S_N(x) = \sum_{n=1}^{N} f_n(x) converges uniformly on EE to a function S(x)=∑n=1∞fn(x)S(x) = \sum_{n=1}^{\infty} f_n(x).

Proof

Technique: direct verification of the Cauchy criterion, using comparison with the numerical series ∑Mn\sum M_n.

Step 1 (absolute, pointwise convergence). Fix x∈Ex \in E. By hypothesis (i), for every nn,

∣fn(x)∣≤Mn.|f_n(x)| \le M_n .

Since ∑n=1∞Mn\sum_{n=1}^{\infty} M_n converges by hypothesis (ii), the Comparison Test for series of nonnegative terms guarantees that ∑n=1∞∣fn(x)∣\sum_{n=1}^{\infty} |f_n(x)| converges. This proves (a): the series ∑fn(x)\sum f_n(x) converges absolutely for every x∈Ex \in E. In particular it converges (absolute convergence implies convergence), so the pointwise limit

S(x):=∑n=1∞fn(x)S(x) := \sum_{n=1}^{\infty} f_n(x)

exists for every x∈Ex \in E, and the partial sums SN(x)=∑n=1Nfn(x)S_N(x) = \sum_{n=1}^N f_n(x) converge pointwise to S(x)S(x).

Step 2 (Cauchy criterion for ∑Mn\sum M_n). Since ∑n=1∞Mn\sum_{n=1}^\infty M_n converges, its sequence of partial sums TN=∑n=1NMnT_N = \sum_{n=1}^N M_n is a Cauchy sequence of real numbers. Thus, given ε>0\varepsilon > 0, there exists N0∈NN_0 \in \mathbb{N} such that for all m>n≥N0m > n \ge N_0,

∣Tm−Tn∣=∑k=n+1mMk<ε.|T_m - T_n| = \sum_{k=n+1}^{m} M_k < \varepsilon .

(Here we used Mk≥0M_k \ge 0 to drop the absolute value on the sum of the tail.)

Step 3 (uniform Cauchy estimate for the partial sums SNS_N). Fix ε>0\varepsilon > 0 and let N0N_0 be as in Step 2. Let m>n≥N0m > n \ge N_0 and let x∈Ex \in E be arbitrary. By the triangle inequality and hypothesis (i),

∣Sm(x)−Sn(x)∣=∣∑k=n+1mfk(x)∣≤∑k=n+1m∣fk(x)∣≤∑k=n+1mMk<ε.|S_m(x) - S_n(x)| = \left| \sum_{k=n+1}^{m} f_k(x) \right| \le \sum_{k=n+1}^{m} |f_k(x)| \le \sum_{k=n+1}^{m} M_k < \varepsilon .

Crucially, this chain of inequalities did not use any information about xx beyond hypothesis (i); the bound ε\varepsilon holds simultaneously for every x∈Ex \in E, once m,n≥N0m, n \ge N_0. That is,

sup⁡x∈E∣Sm(x)−Sn(x)∣≤εfor all m>n≥N0.\sup_{x \in E} |S_m(x) - S_n(x)| \le \varepsilon \quad \text{for all } m > n \ge N_0 .

This is precisely the statement that the sequence of functions (SN)(S_N) is uniformly Cauchy on EE.

Step 4 (apply the Cauchy criterion for uniform convergence). By the Cauchy Criterion for Uniform Convergence, a sequence of functions on EE that is uniformly Cauchy converges uniformly on EE to some function; by Step 1 that pointwise limit must be SS, since uniform convergence implies pointwise convergence to the same limit. Hence SN→SS_N \to S uniformly on EE. This proves (b). ■\blacksquare

∎

Worked examples

Example 1: a trigonometric series with non-symmetric coefficients. Consider, for x∈Rx \in \mathbb{R},

f(x)=∑n=1∞(−1)nsin⁡(n3x)n2+3n.f(x) = \sum_{n=1}^{\infty} \frac{(-1)^n \sin(n^3 x)}{n^2 + 3n}.

This is not a familiar named series, and there is no closed form for f(x)f(x). We show it converges uniformly on all of R\mathbb{R}. Let fn(x)=(−1)nsin⁡(n3x)n2+3nf_n(x) = \dfrac{(-1)^n \sin(n^3 x)}{n^2+3n}. Since ∣sin⁡(n3x)∣≤1|\sin(n^3 x)| \le 1 for every real xx and every nn, and ∣(−1)n∣=1|(-1)^n| = 1,

∣fn(x)∣≤1n2+3n=:Mnfor all x∈R.|f_n(x)| \le \frac{1}{n^2+3n} =: M_n \quad \text{for all } x \in \mathbb{R}.

Note MnM_n does not depend on xx — this is the uniform bound hypothesis (i). Now check hypothesis (ii): compare MnM_n to 1/n21/n^2. For n≥1n \ge 1,

Mn=1n2+3n≤1n2,M_n = \frac{1}{n^2+3n} \le \frac{1}{n^2},

and ∑n=1∞1/n2\sum_{n=1}^\infty 1/n^2 converges (a pp-series with p=2>1p=2>1), so by the comparison test ∑n=1∞Mn\sum_{n=1}^\infty M_n converges. Both hypotheses of the M-test hold on E=RE = \mathbb{R}. Therefore ∑n=1∞fn\sum_{n=1}^\infty f_n converges uniformly on R\mathbb{R}, and ff is a well-defined function on R\mathbb{R}. As a consequence — foreshadowing Uniform Convergence and Integration — since each fnf_n is continuous and the convergence is uniform, ff is automatically continuous on R\mathbb{R}, even though we have no closed-form expression for it.

Example 2: a series that is uniform on a restricted domain but not on all of R\mathbb{R}. Consider, for x∈Rx \in \mathbb{R},

g(x)=∑n=1∞xnn 2n.g(x) = \sum_{n=1}^{\infty} \frac{x^n}{n\,2^n}.

This is (up to sign and shift) related to the Taylor series of −ln⁡(1−x/2)-\ln(1 - x/2), but let us treat it directly as a series of functions gn(x)=xnn 2ng_n(x) = \dfrac{x^n}{n \, 2^n} and ask on which sets the M-test applies. Fix a number rr with 0<r<20 < r < 2, and take E=[−r,r]E = [-r, r]. For x∈Ex \in E,

∣gn(x)∣=∣x∣nn 2n≤rnn 2n≤(r2)n=:Mn,|g_n(x)| = \frac{|x|^n}{n\,2^n} \le \frac{r^n}{n\,2^n} \le \left(\frac{r}{2}\right)^n =: M_n,

using n≥1n \ge 1 to drop the factor 1/n≤11/n \le 1 in the last inequality. Since 0<r/2<10 < r/2 < 1, the series ∑n=1∞(r/2)n\sum_{n=1}^\infty (r/2)^n is a convergent geometric series. Hence hypotheses (i) and (ii) hold on E=[−r,r]E = [-r,r], and by the M-test ∑gn\sum g_n converges uniformly on [−r,r][-r, r] for every fixed r<2r < 2. Now take E=(−2,2)E = (-2, 2) itself, without restricting to a closed sub-interval. There is no single constant MnM_n with ∣gn(x)∣≤Mn|g_n(x)| \le M_n for all x∈(−2,2)x \in (-2,2) and ∑Mn<∞\sum M_n < \infty: as x→2−x \to 2^-, sup⁡x∈(−2,2)∣gn(x)∣=2n/(n2n)=1/n\sup_{x \in (-2,2)} |g_n(x)| = 2^n/(n 2^n) = 1/n, and ∑1/n\sum 1/n diverges. So the M-test with E=(−2,2)E = (-2,2) fails to apply — this does not prove non-uniform convergence, but it correctly signals that the natural majorant is unavailable, and indeed one can show directly (via the Cauchy criterion, evaluating near x=2x=2) that the convergence fails to be uniform on the full open interval (−2,2)(-2,2). This illustrates the typical use of the M-test for power series: uniform convergence is obtained on compact subintervals of the interval of convergence, not necessarily on the whole open interval.

Counterexamplewhy the convergent-majorant hypothesis cannot be dropped

The M-test requires not merely that each fnf_n be bounded on EE, but that the same numerical series ∑Mn\sum M_n dominates all of them and converges. If we only assume pointwise convergence of ∑fn(x)\sum f_n(x) for each xx, without a uniform, summable bound, uniform convergence can fail outright. Take E=[0,1]E = [0,1] and define

fn(x)=xn(1−x),n=1,2,3,…f_n(x) = x^n(1-x), \qquad n = 1, 2, 3, \dots

Each fnf_n is continuous on [0,1][0,1], and ∣fn(x)∣≤1|f_n(x)| \le 1 trivially, but there is no summable uniform bound MnM_n: in fact ∑n=1∞fn(x)=(1−x)∑n=1∞xn=(1−x)⋅x1−x=x\sum_{n=1}^\infty f_n(x) = (1-x)\sum_{n=1}^\infty x^n = (1-x)\cdot \frac{x}{1-x} = x for x∈[0,1)x \in [0,1), and the series is 00 at x=1x=1 (each term vanishes there). So the series converges pointwise to

S(x)={x0≤x<10x=1.S(x) = \begin{cases} x & 0 \le x < 1 \\ 0 & x = 1. \end{cases}

Each partial sum SN(x)=∑n=1Nxn(1−x)=x−xN+1(1−x)⋅11S_N(x) = \sum_{n=1}^N x^n(1-x) = x - x^{N+1}(1-x) \cdot \frac{1}{1}... more directly, SN(x)=(1−x)x−xN+11−x=x−xN+1S_N(x) = (1-x)\dfrac{x - x^{N+1}}{1-x} = x - x^{N+1} for x≠1x \ne 1, and SN(1)=0S_N(1) = 0. Each SNS_N is continuous on [0,1][0,1] (a polynomial), but the pointwise limit SS is discontinuous at x=1x=1: lim⁡x→1−S(x)=1≠0=S(1)\lim_{x \to 1^-} S(x) = 1 \ne 0 = S(1). If the convergence SN→SS_N \to S were uniform, the uniform limit of continuous functions would be continuous — a standard consequence proved alongside the M-test's applications — contradicting the discontinuity just exhibited. Hence the convergence is not uniform on [0,1][0,1], even though every individual fnf_n is bounded and the series converges pointwise everywhere. Where did the M-test's hypothesis fail? One can compute

sup⁡x∈[0,1]∣fn(x)∣=sup⁡x∈[0,1]xn(1−x)=1n+1(nn+1)n,\sup_{x \in [0,1]} |f_n(x)| = \sup_{x\in[0,1]} x^n(1-x) = \frac{1}{n+1}\left(\frac{n}{n+1}\right)^n,

attained at x=n/(n+1)x = n/(n+1) (found by setting the derivative of xn(1−x)x^n(1-x) to zero). As n→∞n \to \infty this supremum behaves like 1e(n+1)\frac{1}{e(n+1)}, so the only valid uniform bound Mn=sup⁡x∣fn(x)∣M_n = \sup_x |f_n(x)| satisfies Mn∼1enM_n \sim \frac{1}{en}, and ∑Mn\sum M_n diverges by comparison with the harmonic series. There is no smaller valid choice of MnM_n either, since MnM_n must dominate the actual supremum. So no convergent majorant exists — exactly the situation the M-test's hypothesis (ii) is designed to rule out — and correspondingly uniform convergence genuinely fails.

Scope, edge cases & common traps

SituationWhat to checkOutcome
MnM_n depends on xx (e.g. Mn=Mn(x)M_n = M_n(x))Hypothesis (i) requires an xx-independent boundNot a valid application of the M-test
∑Mn\sum M_n diverges but ∑fn\sum f_n still converges uniformlyM-test hypothesis failsTest is silent; must use another method (e.g. Cauchy criterion directly, Abel/Dirichlet tests)
Domain EE is an open interval, majorant exists only on compact subintervalsRestrict to [a,b]⊂E[a,b] \subset EUniform convergence on compacts, "locally uniform," not necessarily on all of EE
fnf_n complex-valuedSame proof works verbatim with ∣⋅∣|\cdot| the complex modulusM-test holds
Series is only conditionally convergent pointwise, no dominating MnM_nAbsolute-convergence-based tests do not applyNeed Abel/Dirichlet-type tests for uniform convergence

The mathematician behind it

Origins · 1 minKarl Theodor Wilhelm Weierstrass and how this was discovered
KT
Karl Theodor Wilhelm Weierstrass
1815–1897 · Prussia/German Empire, foundational rigor in analysis

Weierstrass is often called "the father of modern analysis" for insisting that concepts such as continuity, convergence, and differentiability be defined with fully explicit ε\varepsilon-δ\delta quantifiers rather than appeals to intuition. Working largely outside the university system for much of his early career — as a secondary-school teacher in remote Prussian towns — he later became one of the most influential professors at the University of Berlin, where his lectures on analytic function theory shaped a generation that included Georg Cantor, Sofia Kovalevskaya, and many others. His famous example of a function continuous everywhere but differentiable nowhere shocked contemporaries who assumed continuity implied piecewise smoothness, and it crystallized his broader program: intuition must be checked against rigorous definitions, especially concerning limits of functions.

History
- 1815: Karl Weierstrass born in Ostenfelde, Westphalia.
- 1854: Weierstrass publishes on Abelian functions, drawing wide mathematical attention despite his non-academic post.
- 1856: Appointed to the University of Berlin, beginning decades of highly influential lectures on rigorous analysis.
- 1861 (approx.): Presents the nowhere-differentiable continuous function and systematizes uniform convergence, including the majorant (M-test) technique, in his lecture courses.
- 1885: Publishes work extending uniform approximation ideas, related in spirit to the Weierstrass Approximation Theorem.
Does the M-test require the bound MnM_n to be the best possible (the supremum)?

No. The hypothesis only asks for some sequence (Mn)(M_n) with ∣fn(x)∣≤Mn|f_n(x)| \le M_n for all x∈Ex \in E and ∑Mn<∞\sum M_n < \infty; it need not equal sup⁡x∈E∣fn(x)∣\sup_{x\in E}|f_n(x)|. In practice it is often easier to use a slightly loose but simple bound — for instance bounding ∣sin⁡(n3x)∣|\sin(n^3x)| by 11 rather than computing an exact supremum — as long as the resulting series of bounds still converges. If the loose bound already gives a convergent series, there is no need to find the sharp one. Using the actual supremum is sometimes necessary, though, when looser bounds are not summable but the true suprema are (this can happen with extra cancellation built into fnf_n).

If ∑Mn\sum M_n diverges, does that prove the series of functions does not converge uniformly?

No, this is a common logical error. The M-test is a sufficient condition for uniform convergence, not a characterization of it. There exist series that converge uniformly even though no convergent dominating sequence MnM_n exists, typically detected instead via the Dirichlet or Abel tests for uniform convergence, which exploit cancellation rather than absolute-value bounds. Failure of the M-test's hypotheses simply means this particular technique is inconclusive; you must fall back on the definition or another test, such as directly verifying the Cauchy Criterion for Uniform Convergence.

Why does the M-test also give absolute convergence at each point, not just uniform convergence?

Because the proof's first step compares ∣fn(x)∣|f_n(x)| termwise to MnM_n for a fixed xx, using the ordinary comparison test for nonnegative series. Since ∑Mn\sum M_n converges and 0≤∣fn(x)∣≤Mn0 \le |f_n(x)| \le M_n, the comparison test immediately gives convergence of ∑∣fn(x)∣\sum |f_n(x)|, which is precisely absolute convergence of ∑fn(x)\sum f_n(x) at that point. This is a byproduct of the same hypotheses used for the uniform-convergence conclusion, not an extra assumption.

Can the M-test be applied when the index set is not N\mathbb{N}, e.g. for series indexed from n=0n=0 or over a different countable set?

Yes. The proof only uses that the index set is well-ordered enough to talk about tails and partial sums, and that ∑Mn\sum M_n is a convergent series in the usual sense. Indexing from n=0n=0, or allowing finitely many exceptional indices where the bound fails (as long as convergence of ∑Mn\sum M_n still holds when those are excluded), changes nothing essential; one simply starts the "uniform Cauchy tail" argument past the exceptional indices.

Does the M-test tell us anything about the rate of uniform convergence?

Yes, implicitly. The proof shows that the uniform distance sup⁡x∣S(x)−SN(x)∣\sup_x |S(x) - S_N(x)| is bounded by the tail of the numerical series, ∑n=N+1∞Mn\sum_{n=N+1}^{\infty} M_n. So an explicit estimate on how fast ∑Mn\sum M_n's tail vanishes (for instance, geometric decay Mn∼rnM_n \sim r^n gives tail ∼rN+1/(1−r)\sim r^{N+1}/(1-r)) directly yields an explicit, xx-independent rate at which SN→SS_N \to S uniformly. This quantitative bonus is often used in numerical approximation to choose how many terms of a series to keep for a desired accuracy.

Is the M-test related to the Weierstrass Approximation Theorem?

Not directly — they share Weierstrass's name and both concern uniform behavior of functions, but they answer different questions. The M-test is a convergence criterion for series of functions using majorant bounds. The Approximation Theorem states that every continuous function on a closed bounded interval can be uniformly approximated by polynomials. They are both landmark results from the same rigor-focused program, but one is not a special case or direct consequence of the other.

Why is the domain EE left completely general in the theorem's statement?

Because the proof never uses any topological or algebraic structure of EE — no continuity, compactness, or interval structure is invoked anywhere in the argument. The only operations used are evaluating fnf_n at a point x∈Ex \in E and taking a supremum-style bound over x∈Ex \in E. This generality is a genuine feature: the same proof applies verbatim to functions on subsets of Rn\mathbb{R}^n, on metric spaces, or on abstract sets, which is part of why the M-test is so broadly reusable throughout analysis.

Before this

Where this leads