MathOverflow is a question and answer site for professional mathematicians. It's 100% free, no registration required.

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

One of the many articles on the Tricki that was planned but has never been written was about making it easier to solve a problem by generalizing it (which initially seems paradoxical because if you generalize something then you are trying to prove a stronger statement). I know that I've run into this phenomenon many times, and sometimes it has been extremely striking just how much simpler the generalized problem is. But now that I try to remember any of those examples I find that I can't. It has recently occurred to me that MO could be an ideal help to the Tricki: if you want to write a Tricki article but lack a supply of good examples, then you can ask for them on MO.

I want to see whether this works by actually doing it, and this article is one that I'd particularly like to write. So if you have a good example up your sleeve (ideally, "good" means both that it illustrates the phenomenon well and that it is reasonably easy for others to understand) and are happy to share it, then I'd be grateful to hear it. I will then base an article on those examples, and I will also put a link from that article to this MO page so that if you think of a superb example then you will get the credit for it there as well as here.

Incidentally, here is the page on this idea as it is so far. It is divided into subpages, which may help you to think of examples.

Added later: In the light of Jonas's comment below (I looked, but not hard enough), perhaps the appropriate thing to do if you come up with a good example is to add it as an answer to the earlier question rather than this one. But I'd also like to leave this question here because I'm interested in the general idea of some kind of symbiosis between the Tricki and MO (even if it's mainly the Tricki benefiting from MO rather than the other way round).

share|cite|improve this question
Here's a related question:… – Jonas Meyer Sep 26 '10 at 8:12
Here's another related question:… – Tony Huynh Sep 26 '10 at 10:44
@Tony -- that's great, and will also be helpful for the Tricki article. – gowers Sep 26 '10 at 11:04
You may be interested in Tom Leinster's post here:… where he uses buffon's noodle as a generalization of buffon's needle as an example of a more general problem which is easier to solve. – Steven Gubkin Sep 28 '10 at 22:06

40 Answers 40

Evaluating the integral of a function by determining first its Fourier transform can simplify a problem in some cases. The integral of the sinc function provides a simple example:

$$\frac{\sin(\pi x)}{\pi x} = \int_{-1/2}^{1/2} \exp(2 \pi i x f) \; df = \int_{-\infty}^{\infty} Rect(f) \exp(2 \pi i x f) \; df \; ,$$

so the Fourier transform gives

$$\int_{-\infty}^{\infty} \frac{\sin(\pi x)}{\pi x} \exp(-2\pi i f x) \; dx = Rect(f)\: ,$$

and evaluating at $f=0$ gives

$$\int_{-\infty}^{\infty} \frac{\sin(\pi x)}{\pi x} \; dx = 1.$$

Similarly, you can evaluate the integral of the square of the sinc function by using the convolution theorem, i.e., by convolving the rectangle function with itself.

share|cite|improve this answer

The Amitsur-Levitski Theorem says that the standard non-commutative polynomial $S_{2n}$ vanishes identically over the matrix algebra ${\bf M}_n(k)$. Recall that $$S_r(X_1,\ldots,X_r)=\sum_{\sigma\in{\frak S}_r}\epsilon(\sigma)X_{\sigma(1)}\cdots X_{\sigma(r)}.$$ For instance, $S_2(X,Y)=XY-YX$ is the commutator.

The original proof was about unreadable. When S. Rosset had the idea to embed the problem into ${\bf M}_n(k)\otimes\Lambda_2(k^{2n})$, the theorem became an easy consequence of the fact that if $N,N^2,\ldots,N^n$ are traceless ($N$ an $n\times n$ matrix), then $N^n=0$.

share|cite|improve this answer
@darijgrinberg: The paper by C. Procesi,, contains proofs and references. See also Gil Kalai's blog,… – ACL Mar 4 at 22:01

Here is an example relevant to this issue and my work with (the late) Jean-Louis Loday. I visited Strasbourg in November 1981 and gave a seminar on my work with Philip Higgins on a higher van Kampen Theorem. He told me of a conjecture of his on the cofibre of a "connected" square of maps. Looking at this I found that this conjecture could be described as a triadic Hurewicz Theorem. I also explained that in the work Higgins, we showed that the classic relative Hurewicz Theorem could be deduced from our much more general higher van Kampen Theorem for relative homotopy groups. So it would be good to deduce a triadic Hurewicz Theorem from a van Kampen Theorem for triadic homotopy groups. Jean-Louis then was convinced that a van Kampen theorem for his cat-$n$-groups was true, and would be easier to prove than the more special result. This turned out to be the way the work went, and the theorem and this consequence, as well as others, were eventually proved, and they appeared as

R. Brown and J-L. Loday, ``Van Kampen theorems for diagrams of spaces'', Topology 26 (1987) 311-334.

R. Brown and J-L. Loday, ``Homotopical excision, and Hurewicz theorems, for $n$-cubes of spaces'', Proc. London Math. Soc. (3) 54 (1987) 176-192.

share|cite|improve this answer

Here is a riddle which proves to be extremely hard: Imagine a finite assembly in which some people happen to be friends (friendship is a symmetric relation but not transitive and you are not your own friend). Now it happens that anytime two persons have the same number of friends, they do not have any common friend. The conclusion to be proved is that there is at least one person that has one and only one friend.

A proper generalization of the conclusion makes the riddle almost trivial.

share|cite|improve this answer

I've already posted an answer on this thread, but I found another example I'd like to describe separately. Let $r > 0$ and consider the following problem, coming from compound interest or as one definition of $e^r$:

Show that $f(n) = (1 + \frac{r}{n})^n$ increases with $n$.

One generalize the problem strategy is to allow $n$ to be a continuous variable (probably this trick could have its own article). Now, see if you can prove that $f(n)$ still increases. If you take this mindset, it's natural to use the definition of $n$th power for $n \in {\mathbb R}$ and write

$f(n) = e^{n \log(1 + \frac{r}{n})}$

And the problem has reduced to showing that $x \log(1 + \frac{r}{x}) = \int_0^1 \frac{r}{(1 + \frac{sr}{x})} ds$ increases with $x$, which it clearly does. (Here we've used the integral definition of the logarithm, but written in a way typically helpful for analyzing such products.)

Another problem that can be solved through allowing a discrete parameter to be continuous is to prove Stirling's approximation for $n!$ (although to make that proof very clean you can also use other labor saving tricks like Taylor expansion by integration by parts and the dominated convergence theorem).

If you ran into this problem from compound interest, or you were hoping for something more elementary which did not use such a heavy understanding of the exponential function, then you probably want to find a different proof. But finding a different proof still seems to require "generalizing the problem", but in a different way.

Another proof, goes as follows. Imagine that interest at a rate $r$ works as follows: once an amount of money is invested, the value of each unit after a time $t$ is given by $(1 + tr)$. That is, the value of the money grows linearly. Now imagine you had the opportunity to withdraw and immediately reinvest your money at a time of your choice. Having this ability would allow you to raise more money, because it would allow you to accrue interest on the interest you've already earned (hence the name "compound interest"). With this interpretation, the number $(1 + \frac{r}{n})^n$ is the value of each unit of money after time $1$ and $n$ regularly spaced compoundings.

The proof now goes as follows: if you had a choice of when these compoundings would occur, then the more compoundings the better, and the best way to allocate $n$ compoundings is to have them occur at $n$ regularly spaced time intervals. That is, we interpret $(1 + \frac{r}{n})^n = \max \prod_{i=1}^n (1 + a_i r)$ under the constraint that $0 \leq a_i \leq 1$ with $\sum a_i = 1$.

For example, it is better to have one compounding than to have none at all, because after withdrawing and reinvesting the money, now not only does the initial investment grow linearly, but also the interest you earned before the withdrawal grows linearly. For the same reason, given $a_1, \ldots, a_n$, the opportunity to compound once more during, say, $0 < t < a_1$, would allow you to increase the amount of money at all later times.

The fact that the best choice of $(a_1, \ldots, a_n)$ is to have $a_1 = a_2 = \ldots = a_n = \frac{1}{n}$ is the principle that the largest product you can obtain when the sum of positive numbers is fixed is to have all the terms equal. This is easy to check with two variables: you can either find the largest rectangle to fit inside an isosceles triangle, or otherwise just note that if $a_1 \neq a_2$, then changing to $a_1' = \frac{(a_1 + a_2)}{2} = a_2'$ gives an improvement for $(1 + a_1 r)(1+ a_2 r) < (1 + a_1' r) (1 + a_2' r)$. The case of $n$ variables actually follows from this observation.

So if you really wanted some elementary solution to the problem, this one would do. It's an interesting example because you can see that either solution involves some kind of generalization, but the two generalizations are unrelated to each other. The first one does not need to / is unable to consider these non-even partitions. The second does not need to / is unable to consider fractional $n$.

By the way, does anyone know how to prove in an elementary way (i.e. expanding) that $\prod_{i=1}^n (1 + a_ir)$ tends to $e^r = \sum \frac{r^k}{k!}$ as $\max |a_i| \to 0$ with $0 \leq a_i \leq 1$ and $\sum a_i = 1$? An easy solution goes by writing the product with the exponential function so that you get the exponential of $\sum \log(1 + a_i r) = \sum \int_0^1 \frac{a_i r}{(1 + s a_i r)} ds$.

You can then integrate by parts (i.e. Taylor expand) to obtain $\sum a_i r - \sum \int_0^1 (1-s) \frac{(a_i r)^2}{(1 + s a_i r)^2} ds$. Now, $\sum a_i r = r$ is the main term. After you take $\max |a_i|$ to be less than $.5 / |r|$, the error term is bounded in absolute value by $C \sum (a_i r)^2 \leq \max \{ |a_i| \} \cdot \sum a_i |r|^2$. I can, of course, move this question to a different thread.

EDIT: I realized later on that there is a completely elementary proof, and it is also completely obvious even though I didn't think of it. Namely, you expand $(1 + \frac{r}{n})^n$ into powers of $r$, and it is easy to see after a little algebra that each coefficient increases with $n$. I still find the other solutions interesting, but this turns out not to be a good demonstration of how generalizing can make a problem easier. By the way, the last question I had asked was answered in this thread:

A limiting product formula for the exponential function

share|cite|improve this answer
I have assuredly found an admirable and wholly elementary proof, but this comment box is too narrow to contain it ... – gowers Jul 1 '11 at 10:18

Using residue theorem to compute integrals over real line intervals is an example of solving a problem by considering it in a more general setting: usually, the integrand is complexified and a closed contour is built by attaching a semicircle to the interval [-a,a].Then the integral over the contour is computed using the residue theorem and the original integral is obtained as the limit of contour integrals. This works e.g. for the function $$\int_{-\infty}^{+\infty}\frac{e^{itx}}{x^2+1}dx$$ In some cases the contour gets more complicated, to avoid branch points, as when computing $$\int_0^{\infty}\frac{dx}{x^a+1}, \quad a>1$$ Sometimes the integral over an interval is replaced by an integral over the unit circle, e.g., for $$\int_0^{\pi}\frac{d\theta}{a+\cos \theta}, \quad a>1$$ (here one also uses the equality $\cos z = (1/2)(z+1/z))$. Ahlfors's text in complex analysis explains this method in more detail. (Some other texts seem to have just a haphazard collection of examples following the statement and proof of residue theorem.)

This is not so much of proving a stronger result first, but rather making a problem tractable at all by using a more general approach (replacing real functions with complex ones and computing residues instead of actually integrating over the contours).

share|cite|improve this answer
Your latest edit sums up my view of your post: it's a nice example, but does not quite fit with the original question. – Thierry Zell Jul 1 '11 at 15:41

I have some examples, but I might have more words of warning than examples. Example 1. Let's say you have just the axioms for the real numbers, and you want to establish that $2$ is not zero, but all you know is that $1$ is not zero (perhaps because you want to divide by 2 for whatever reason). Knowing that there is a field with $2$ elements where $2= 0$, you discover you have no choice but to prove 2 is positive, even though it's not what you were going for. (This is an example where taking on a more general point of view does not give you something different to prove instead, but limits the approaches to what you're trying to prove.)

So in order to prove 2 is positive, it suffices to prove 1 is positive. And here it somehow just makes sense to prove that the square of any nonzero number is positive -- from this point of view 1 is positive "because it's a square".

Here's another example from real analysis. You want to prove things about the cube root function from first principles. Like the fact that it's well-defined, continuous, differentiable, concave, etc. Typically one approaches by proving general theorems about smooth, increasing functions, and applies these general theorems to the function x^3 to learn about its inverse.

So while this seems like the kind of example you're going for, I personally don't like the example only because it suggests this is the "right" way to go. Often when one takes a "generalize" approach solving the problem can become easier, especially if you already know the general facts which end up doing the job. But for this example, defining the cube root is just a bit easier than using the general intermediate value theorem since you can define it as $f(x) = \sup \{ t : t^3 \leq x \}$ and prove directly that $f(x)^3 = x$.

Moreover, it's also a good example to use the implicit definition to prove things directly for this function just because it makes manipulations concrete. For example, since $f(x+h)^3 = x + h$, we have

$ (f(x+h)^3 - f(x)^3) = h $

is also equal to

$ (f(x+h) - f(x)) \cdot \int_0^1 3 (s f(x+h) + (1-s) f(x))^2 ds $

If you look at this expression for a little while, you will be able to deduce things like monotonicity, uniform continuity on any interval $[\epsilon, \infty)$, differentiability on such intervals, concavity, so on. The point is that even when general technology works, it can be quite instructive to use "general methods", but execute them on explicit examples.

You might argue that these direct proofs are the most insightful, but one is more likely to first find a general proof (especially if the appropriate general apparatus already exists), and then the direct proofs can only be found later indeed because they require a more direct understanding of the specific problem. I personally use the cube root of 7 (which nobody can name) in calculus lectures to motivate the concept of continuity, so I agree here it's a very natural use of the concept to define the cube root.

Differential equations have, I think, a lot of examples. If you want to learn something about the exponential function and your point of view is that it is the unique solution to $\frac{df}{dx} = f$ (or $\frac{df}{dx} = i f )$ with data $f(0) = 1$, then in order to give a differential equation-type analysis to prove the basic properties (which is fun) you will often have to consider the same differential equation with more general data (and in particular prove uniqueness of the $0$ solution). In fact, you may be tempted to consider more general ODE's like $\frac{df}{dx} = F(x, f)$ because this point of view can inspire some of the techniques. It also helps greatly (say if you want to prove $e^{it}$ is periodic) to just know what a vector field is and have that point of view.

I think the problem is that the general theorems can easily end up being forced to consider cases which are more complicated than the problem at hand. Even if you find a proof, that doesn't necessarily mean you should settle for it. If you look at the function $f(x) = 1/k$ where $k$ is the smallest positive integer such that $kx \in {\mathbb Z}$, and you want to show $f$ is Riemann integrable, you can of course prove a theorem that characterizes Riemann integrable functions in terms of the measure of their sets of discontinuity. Of course, if you know this theorem off the top of your head, it is "easy" to prove $f$ is Riemann integrable. But this proof is inefficient because it invokes a theorem that takes care of the nastiest examples of Riemann integrable functions (which this $f$ is not).

One more example: it's very easy to find a faulty proof of the chain rule if your point of view is not general enough. The first thing many people try to do to analyze the difference quotients for $f(g(x))$ is to multiply and divide by $g(x+h) - g(x)$. But then you get into these hairy problems where the number by which you divide may be zero. If you want to find the correct proof, you should take the point of view that the chain rule is a statement which should be true for maps between Euclidean spaces of any dimension. It just says the linearization of the composition is the composition of the linearizations. With this point of view in mind, you should not dare to try dividing, because dividing by $g(x+h) - g(x)$ does not even make sense in this generality.

Here's another: prove that $\int_{\mathbb R} e^{i \xi x} e^{- x^4 } dx$ is bounded by $\frac{C}{(1 + |\xi|)^2}$. Somehow you have to recognize the key features of $e^{-x^4}$ are that it will cancel against something very oscillatory because it is so smooth. Similar example problem: prove the decay for large $\xi$ of $\int_{\mathbb R} \log(1 + .5 \sin(\xi x) ) e^{- x^4 } dx$. It seems like this "look for a more general setting" trick really needs to be drilled into you for it to work because... it may require some imagination or experience to know what the right general setting is.

What some examples show is that finding the proof may be much more difficult, maybe impossible, without a willingness to work in this direction.

share|cite|improve this answer

In the case of proofs by induction, the reason it may be easier to prove a stronger result can be simply that one can use a stronger induction hypothesis.

(I think of the example of proving Łos's theorem in model theory. It says something about formulas that may have free variables. It's proved by induction on the formation of first-order formulas. Imagine trying to prove it only in the case of sentences without free variables. A weaker statement. The proof by induction doesn't work for that case.)

share|cite|improve this answer
Yes, this is the subject of its own MO question:… – Qiaochu Yuan Jun 30 '11 at 4:37

In the computation of spectral measures for self-similar groups, one has a sequence of matrices and one wants a recursion for the characteristic polynomial. Usually one gets a recursion for some multivariable polynomial obtained by adding new parameters and then specializes the parameters to obtain the characteristic polynomial. This happens in Grigorchuk and Zuk's computation of the spectral measure of the lamplighters group.

share|cite|improve this answer

One common example of the "generalize the problem" strategy is found in parameter differentiation.


We then create a more general case of $I(a)=\int^{\infty}_{0}\frac{\sin^2(ax)}{x^2}dx$ where $a>0$.

$I'(a)=\int^{\infty}_{0}\frac{2\sin(ax)\cdot\cos(ax)\cdot x}{x^2}dx$


So $I(a)=1/2\pi a$ and $I(1)=1/2 \pi$

Another similar cute problem is evaluate $\sum_{k=1}^n\frac{k^2}{2^k}$, we instead evaluate $S(x)=\sum_{k=1}^nk^2x^k.$

Edit: Just to finish the second example:

We know that $S(x)=\sum_{k=1}^nx^k=\frac{1-x^{n+1}}{1-x}.$ We take the derivative of this, then multiply that whole mess by x, and take the derivative again, and multiply by x again.

We get $S(x)=\sum_{k=1}^nk^2x^k= \frac{x(1+x)-x^{n+2}-x^{n+1}(nx-n-1)^2}{(1-x)^3}$, so $S(\frac{1}{2})=6-(\frac{n^2+4n+6}{2^n})$.

share|cite|improve this answer

Here is another of my favourite examples:

Prove that $({\mathbb R},+)$ and $({\mathbb R}[x],+)$ are isomorphic as abelian groups.

It is fairly easy to prove that they are actually isomorphic as ${\mathbb Q}$-vector spaces, which is a stronger result; other than that I don't know any way of proving this.

share|cite|improve this answer

Weyl's equidistribution theorem states that for $\alpha \notin \mathbb{Q}$, the sequence of fractional parts $x_n = \{ n \alpha \}, n=1,2,\dots$ is equidistributed in the unit interval, i.e. $\lim_{N \to \infty}\frac{|\{x_n\}_{n=1}^{N} \cap (a,b)|}{N} = b-a$ for every subinterval $(a,b) \subset [0,1]$.

The fact that this sequence is dense in $[0,1]$ is a simple application of the pigeonhole principle, but the fact that it is equidistributed seems a lot harder to prove at first. However, this is very easy to establish if one generalizes the definition of equidistribution (or more precisely, the objects appearing in it). Namely, by very easy arguments one can show that $x_n$ is equidistributed in $[0,1]$ if and only if $\frac{1}{N} \sum_{n=1}^{N} f(x_n) \to \int_{0}^{1}f(x)dx$ for every continuous (or Riemann integrable) function $f$ on $[0,1]$. Now one can't resist the temptation to look for functions $f$ for which this is easy to show. The complex exponentials $f_m (x) = e^{2 \pi i m x}$, where $m \in \mathbb{Z}$, are such functions and by classical Fourier analysis (or the Stone-Weierstrass theorem) it is enough to show the above convergence for such functions. One is thus led to the Weyl criterion, which reduces the problem of showing that the sequence $\{ n \alpha \}$ is equidistributed in $[0,1]$ to a simple computation involving the sum of a geometric sequence. (Of course, Weyl's criterion is useful in studying other, more involved sequences as well)

In essence, we started with a problem which concerns indicator functions of subintervals of $[0,1]$, generalized it to a problem involving a much bigger class of functions $\mathcal{F}$ and then found a nice, special subclass with which we can "capture" the whole class $\mathcal{F}$ (and in particular the functions we started with). This procedure of "generalize and then specialize" seems quite common in analysis. In this case it also has some relation to the Tricki article "Turn sets into functions".

share|cite|improve this answer
Great example! $ $ – Victor Protsak Sep 29 '10 at 6:39

Both methods are obviously useful, and I may have under appreciated one of them, but on the relative value of generalization versus specialization in problem solving, I offer the following opinion from Hilbert:

"If we do not succeed in solving a mathematical problem, the reason frequently consists in our failure to recognize the more general standpoint from which the problem before us appears only as a single link in a chain of related problems. After finding this standpoint, not only is this problem frequently more accessible to our investigation, but at the same time we come into possession of a method which is applicable also to related problems. The introduction of complex paths of integration by Cauchy and of the notion of the ideals in number theory by Kummer may serve as examples. This way for finding general methods is certainly the most practicable and the most certain; for he who seeks for methods without having a definite problem in mind seeks for the most part in vain.

In dealing with mathematical problems, specialization plays, as I believe, a still more important part than generalization. Perhaps in most cases where we seek in vain the answer to a question, the cause of the failure lies in the fact that problems simpler and easier than the one in hand have been either not at all or incompletely solved. All depends, then, on finding out these easier problems, and on solving them by means of devices as perfect as possible and of concepts capable of generalization. This rule is one of the most important levers for overcoming mathematical difficulties and it seems to me that it is used almost always, though perhaps unconsciously."

share|cite|improve this answer

How about the Bohr-Mollerup theorem:

There is a unique log-convex $f:[0,\infty)\to(0,\infty)$ that satisfies $f(x+1) = (x+1)f(x)$ and $f(0)=1$ (namely $f(x) = x! = \Gamma(x+1)$).

Here's a generalization that I think is easier to prove:

If $\delta:[0,\infty)\to\mathbb{R}$ is such that $\delta^{(n)}$ decreases monotonically to zero, then there is a unique $f$ such that $f(x+1) = f(x) + \delta(x)$, $f(0) = 0$, and $f^{(n)}$ is monotonically increasing.

(To recover the original statement, take $n=1$ and $\delta(x) = \log(x+1)$.)

The benefit of this formulation is that it can be proved by induction on $n$. The inductive step is pretty routine and involves applying the $(n-1)$-case to $f'$ and $\delta'$. The basis case for $n=0$ still requires a nontrivial argument, but to me it feels much simpler and more intuitive than the case $n=1$ (for the original theorem), and it's actually easy to remember (in contrast to the direct proof of the Bohr-Mollerup theorem, which I find hard to remember). All you have to do is apply the functional equation $k$ times to get $f(x+k)-f(k) = f(x) + \sum_{j=0}^{k-1}[\delta(x+j)-\delta(j)]$ and take the limit as $k$ approaches infinity; you end up with an increasing function of $x$ that is zero whenever $x$ is an integer and is thus zero for all $x$. Thus $f(x) = \sum_{j=0}^{\infty}[\delta(j) - \delta(x+j)]$ is the unique solution. (Since $\delta$ is decreasing, we do have an increasing function, and the sum converges since $\delta(x)\to 0$ as $x\to +\infty$.)

share|cite|improve this answer

Sometime around 25 years ago, Dr. Jeffrey Vaaler at UT Austin gave me the following problem.. He needed the result as a lemma for a paper he was working on.

Let $n$ be a square-free integer with $k$ distinct prime factors and thus $\sigma(n) = 2^k$ divisors. Split the divisors into two sets of equal size: the small divisors $S$ and the large divisors $T$. The statement he was trying to prove was: $$\text{There exists a bijection}\ f: S \rightarrow T \hspace{2mm} \text{such that} \hspace{2mm} d \hspace{1mm} | \hspace{1mm} f(d) \hspace{2mm} \text{for every} \hspace{2mm} d \in S.$$ I was an undergraduate and highly motivated to demonstrate my usefulness, but I didn't really have many ideas about how to go about it. The obvious approach is by induction on $k$, but I never really got anywhere despite spending many hours on the problem.

A year later I ran into Dr. Vaaler in the hall and asked if he ever solved it. Of course, he had, by induction on $k$. He went on to explain the "trick" to making the induction work. He proved a more general result. Introduce a parameter $0 \le r \le \frac{1}{2}$ and consider $S_r$ and $T_r$, the smallest $\lfloor r \cdot 2^k \rfloor$ divisors and the largest $\lfloor r \cdot 2^k \rfloor$ divisors respectively, and instead prove the above statement with $S_r$ and $T_r$ in place of $S$ and $T$.

The lemma is then the special case with $r = \frac{1}{2}$.

This example stuck with me. How could it be easier to prove something more general? Though I understand the concept better today, it still surprises me.

share|cite|improve this answer
By the way, the generalization may be stated as follows: Let A be any collection of subsets of $\\{1,2,\dots,n\\}$ s.t. if $U\in A$ and $V\subset U$, then $V\in A$. Then there exists a bijection $\pi:A\rightarrow A$ such that $V\cap \pi(V)=\emptyset$ for any $V\in A$. – Fedor Petrov Nov 20 '10 at 6:55

I have had to use something similar in order to complete a proof by induction.

I had a sequence $\{a_n\}$ defined by induction $a_{k+1}=f(a_k)$ and I needed to show a property linking $a_n$ and $a_{n+1}$, say $p(a_n,a_{n+1})$ for every $n$.

Now, says I suppose the property true for $a_n$ and try to show it for $a_{n+1}$, I get $p(a_{n+1},a_{n+2}) = p(f(a_{n}),a_{n+2})$, but you can never hope to use the induction hypothesis there, since there is nothing linking $a_n$ and $a_{n+2}$. The way I got around this was to instead show the property $p(a_n,a_{n+k})$ for every k.

share|cite|improve this answer

A Real Algebraic Geometry Example

Semialgebraic sets are very nice: they are closed under Boolean operations (obvious) and projections (not so obvious, but old result of Tarski-Seidenberg). Semianalytic sets are not so nice, because they're not closed under projections.

What is one to do if one wants to study them nonetheless? Shift the focus to projections of semianalytics instead, a.k.a. subanalytic sets. Those sets are closed under projection by construction, but all of a sudden, the Boolean algebra property is not so clear. But that's where Gabrielov's theorem of the complement comes in: the complement of a subanalytic set is again subanalytic. We now have a nice structure in which reside all the natural geometric operations we may want to do.

share|cite|improve this answer

The free cocompletion. A lot of adjoint couples of functors are just particular case of this construction, and often it is easier to use the general theorem than working out a particular case by hand (for example for $i_{!}$ and $i^{!}$).

share|cite|improve this answer

The Heine–Cantor Theorem: Proving it for real functions on a bounded interval is messy. But proving it for continuous functions on a compact metric space, is short, neat and easy.

[comment: doesn't that leave the task of proving a finite interval of the real line is compact? mathwonk]

share|cite|improve this answer

I am amazed by this idea, since to me the fundamental principle of problem solving is to make the problem easier, and i always assumed this meant making it more special. It is true that proving a theorem is easier by ignoring irrelevant facets, but these are only known after solving the problem. I find it is more productive in discovering which facets are relevant to do various examples, gradually trying to generalize the argument. Even Deligne proved the Weil conjectures first for K3 surfaces.

share|cite|improve this answer
True, but what if when one makes the problem more special, the extra information is competelly irrelevant for the problem, and more it is also missleading. Very simple example (probably not the best): Let $a,b,c >0$. Prove that $\sin(a) + \sin(b)+ \sin(c) \leq \frac{a^3+b^3+c^3}{abc} \,.$ This problem has two obvious trivial generalisations, and in both of them it becomes pretty clear that it is irrelevant that the $a,b,c$ on left/rigth sides of the inequalities are the same, but many students could be misslead by this fact on the wrong path. – Nick S Sep 28 '10 at 18:59
I suspect there is some confusion here between the relative ease of proving a theorem in a more general setting and actually thinking up the idea. I have always found it easier to think of a solution in a more special case, but then once the problem is understood, it is easier to separate out the crucial parts, and give them in a general setting. Mumford told me even Grothendieck worked this way. He would begin from a simple idea, and reflect on it until he had placed it in its most general possible setting. There is also the dichotomy between conjecturing a solution and proving it. – roy smith Nov 18 '10 at 16:33

The LLL algorithm to factor polynomials with integer coefficients. Previously people had been fussing with Hensel lifting and tons of other methods that (imo) were far too complicated. (For a good reference on LLL and factoring polynomials, also see Yap's excellent book and his chapter on lattice reduction ).

LLL solved the more general problem of finding short (or 'short enough') vectors on integer lattices in higher dimensional spaces. This was then used to to encode the problem of factoring polynomials with integer coefficients in it. As an added bonus, the lattice reduction techniques presented also solved the simultaneous Diophantine approximation problem, but that somehow doesn't seem as striking as integer polynomial factorization.

share|cite|improve this answer

The family of examples that leaps to my mind is the sub-trick of "strengthening the inductive hypothesis," which I thought I wrote a Tricki page on but now see I abandoned after doing epsilon of editing. (I may still have a rough draft, or at least notes, somewhere; I'll try to dig it up in the next week or so.) My all-time favorite example of this is Carsten Thomassen's proof that planar graphs are 5-choosable, which in fact proves the following:

Let $G$ be a planar graph whose interior is triangulated; let $v_1, v_2$ be adjacent vertices lying on the infinite face of $G$; and let $\{L_v\}$ be a family of lists associated to the vertices $v \in V(G)$, $v \neq v_1, v_2$ such that $|L_v| = 3$ if $v$ lies on the infinite face, and $|L_v| = 5$ otherwise. Furthermore, fix the colors of $v_1, v_2$ (ensuring that they are not colored the same). Then $G$ is $L$-choosable.

The above is proved by a fairly straightforward induction; the 5-choosability theorem follows immediately as a corollary.

share|cite|improve this answer

I can't resist mentioning the following problem (and requesting that nobody gives away the solution any more than it is already given away by my mentioning it here).

Call a real number repetitive if for every k you can find a string of k digits that appears more than once in its decimal expansion. The problem is to prove that if a real number is repetitive then so is its square.

share|cite|improve this answer

It seems people have kept on posting answers here rather than in the older thread, so I'll put this one here as well.

I remember thinking about the phenomenon you described when I first came across the tensor power trick. I can't summarise the idea any better than the quick description given in that link; the point relevant here is that, even though one might want to prove something for a single object or a single family of objects, if one can prove it for a family that includes the one of interest and that is also closed under taking 'tensor products', then that might be easier.

Here is a quick example from the book by Tao and Vu. If $A$ and $B$ are finite non-empty subsets of an abelian group $G$, then a natural argument gives the sumset inequality

$$ |2B-2B| \leq 16 \frac{|A+B|^4 |A-A|}{|A|^4}.$$

Now, it is possible to get rid of the factor of 16, but if we had only proved the inequality for $G = \mathbf{Z}/p\mathbf{Z}$, say, then we might very well have trouble doing so. Given the more general statement, one can get rid of the factor by applying the inequality to the group $G\oplus G \oplus \cdots \oplus G$ (say with $M$ copies of $G$) with sets $A \oplus \cdots \oplus A$ and $B \oplus \cdots \oplus B$ and taking $M$th roots.

Another scenario that springs to mind is when one wants to prove a statement involving several instances of a single object $X$: it can sometimes be easier to prove the statement if one replaces some of the instances by possibly distinct objects $X_i$. For example, it seems to be easier to prove the Cauchy-Davenport inequality $|A+B| \geq \min(|A|+|B|-1,p)$ for sets $A,B \subset \mathbf{Z}/p\mathbf{Z}$ rather than its corollary $|A+A| \geq \min(2|A|-1,p)$, since one can induct on the size of $B$ (say) separately from the size of $A$. (For the particular induction proof I have in mind I guess this can be seen as an example of the 'strengthening the induction hypothesis' idea as well.)

share|cite|improve this answer

Bruce Schneier has an online paper called "A Self-Study Course in Block-Cipher Cryptanalysis": containing an extensive list of algorithms to cryptanalyze as exercises. By far the easiest exercise is this one:

[Cryptanalyze] a generic cipher that is “closed” (i.e., encrypting with key A and then key B is the same as encrypting with key C, for all keys).

The solution to this exercise would be a lot less obvious had Schneier instead pointed to some particular block cipher that has this property. But because the reader is told nothing about the cipher except that it is closed, he immediately knows exactly what to attack.

share|cite|improve this answer

Doron Zeilberger wrote a very nice expository article entitled, "The method of undetermined generalization and specialization illustrated with Fred Galvin's amazing proof of the Dinitz conjecture," in which he discusses how repeated generalization and specialization can lead one to the solution of a difficult problem.

share|cite|improve this answer

There are many examples where introducing one or more extra parameters into an integral that you want to evaluate or an identity that you want to prove makes things easier. For example, Feynman was fond of evaluating integrals by differentiating under the integral sign, and in his advanced determinant calculus, Christian Krattenthaler explicitly urges you to introduce more parameters into any determinant you are having trouble evaluating.

For the Tricki, maybe one of the simplest examples would be the evaluation of $\int_0^\infty {\sin x \over x}dx$ by considering $\int_0^\infty e^{-xt} \bigl({\sin x \over x}\bigr) dx$ and differentiating with respect to $t$.

share|cite|improve this answer
Great examples with integrals! One that I remember reading in a Polya's book way back when is $$\int_{-\infty}^{\infty}\frac{1}{(x^2+1)^2},$$ which can be evaluated by replacing 1 with $a$ and differentiating $\int_{-\infty}^{\infty}\frac{1}{x^2+a}$ under the integral sign. – Victor Protsak Sep 29 '10 at 6:34

The following was a conjecture for several years. Put a light bulb and a switch at every vertex of an $m\times n$ grid ($mn$ vertices in all). Each bulb can be on or off. Each switch changes the state of the bulb at its vertex and all its neighbors. (A neighbor is a vertically or horizontally adjacent vertex.) Then whatever the initial set of bulbs that are lit, it is possible to turn all the lights off by some set of switches. Sutner showed in 1989 that the corresponding result is true for any graph. Caro gave a simpler proof in 1996. The proof is an elegant application of linear algebra mod 2. Looking at grids adds an extra layer of complexity that obscures the underlying theory. One reference is

share|cite|improve this answer
I thought that the proof for arbitrary graphs assumes that the initial state has all lights on? Whereas for grid graphs it does not matter what the initial state is. For example if I have a triangle with one light on, I don't think I can turn all the lights off. – Tony Huynh Sep 27 '10 at 0:27
Tony is right: what the link actually says is that it is possible to go from "all lights off" to "all lights on" for any square grid. Another counterexample to the "any state" problem on arbitrary graphs is any trivalent graph. (Or pentavalent, or so on...) – dvitek Sep 27 '10 at 1:19
I guess the smallest counterexample would be a single edge with one light on, which also happens to be a 1x2 grid. – Tony Huynh Sep 27 '10 at 1:58

Here's an example in planar euclidean geometry. Consider an equilateral triangle of side $a$ and a general point in the plane distant $b$, $c$, and $d$ from the respective vertices. Then

$3(a^4 + b^4 + c^4 + d^4) = (a^2 + b^2 + c^2 + d^2)^2$.

This is an an awful slog to get by planar trigonometry. Even harder to do by trig in three dimensions is the corresponding result for the regular tetrahedron. However, it's easy to get the $(n - 1)$-dimensional result for a regular $(n - 1)$-dimensional simplex of side $d_0$, with vertex distances $d_1$ ,..., $d_n$ :

$n(d_0^4 + ... + d_n^4) = (d_0^2 + ... + d_n^2)^2$.

You can do this by embedding the euclidean $(n - 1)$-dimensional space as the hyperplane of points $(x_1 ,..., x_n)$ in euclidean $n$-space such that $x_1 + ... +x_n = d_0/\sqrt2$. The vertices of the simplex can then be represented as the points $(d_0/\sqrt2)(1, 0 ,..., 0)$, ... , $(d_0/\sqrt2)(0 ,..., 0, 1)$ in the hyperplane, and the result drops out in a few lines.

share|cite|improve this answer

Quantum topology is much easier for knotted tori in R4 than for knots in R3. The former is a generalization of the latter, because for any knot you can take the boundary of a tubular neighbourhood of the inclusion of the knot into R4, which is a knotted torus.
The reason that the more general problem is easier is that the projectivization (homomorphic expansion) of the space of knotted tori in R4 gives rise to a space of diagrams $\mathcal{A}$ containing oriented chords. The homomorphic expansion of the space of knots, on the other hand, gives rise to a space of diagrams in which the chords are not oriented. Oriented, based trees are much simpler combinatorial objects that unoriented, unbased trees. In particular, the Drinfeld associator, which is the most painful aspect of quantum topology of knots, vanishes in $\mathcal{A}$.
The upshot of the generalization is that the universal finite-type invariant for knotted tori in R4 is the Alexander polynomial, which is a homological invariant, and which is immeasurably simpler then the universal finite type invariant for knots, the Kontsevich invariant.
In fact, a further generalization, allowing "trivalent vertices" in the knotted tori (where two tubes fuse into one) simplifies the algebra yet further and allows the proof of theorems relating the value of the Alexander polynomial of such an object with its cablings. Again, this is motivated by the algebra- we expand the class of topological objects under consideration in order to create an associated graded space which looks as much as possible like a quantized Lie (bi)algebra, from where our invariants are going to come, and which we are supposed to know how to handle.
Dror Bar-Natan discussed this, and related ideas, in a series of talks in Montpellier.

Added: This doesn't obviously solve a problem. It's a non-obvious example of a problem being easier for a more general class of objects; and you can hope to use insights gained from the easier problem to attack the harder, less general problem.

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.