170
$\begingroup$

In Gian-Carlo Rota's "Ten lessons I wish I had been taught" he has a section, "Every mathematician has only a few tricks", where he asserts that even mathematicians like Hilbert have only a few tricks which they use over and over again.

Assuming Rota is correct, what are the few tricks that mathematicians use repeatedly?

$\endgroup$
43
  • 192
    $\begingroup$ A mathematician never reveals their tricks. $\endgroup$ Commented Jun 15, 2020 at 14:39
  • 31
    $\begingroup$ Going to MO, because that way all the tricks are pooled. $\endgroup$ Commented Jun 15, 2020 at 14:43
  • 64
    $\begingroup$ I once heard a Fields Medallist say that his research consisted of interchanging the order of summation and applying the Cauchy-Schwarz inequality. $\endgroup$ Commented Jun 15, 2020 at 15:38
  • 29
    $\begingroup$ I am not sure what to expect from answers to this question. I always thought that the point Rota was trying to make was that a mathematician has only a small set of "tricks" that the mathematician has personalized deeply enough to always reach for and use them. Certainly we all "know" a lot more mathematics than a few tricks, but we natively are all truly fluent in a much narrower range than one would naively expect. I thought the point was that the set of techniques was particular to each mathematician. What am I missing here? @MartinSleziak's suggestion for an answer format seems reasonable. $\endgroup$
    – Jon Bannon
    Commented Jun 15, 2020 at 22:41
  • 18
    $\begingroup$ I think this question misunderstands the quote; I'm surprised at so many upvotes. I think the point is that every mathematician has a few tricks that are her own. We don't necessarily know each other's tricks. That's why the observation has some real content.... i.e. it's not that everyone else is super clever and you are average because they too only have a few tricks, it's just that you do not understand their tricks, you only understand your tricks $\endgroup$
    – SBK
    Commented Jun 16, 2020 at 9:45

47 Answers 47

125
$\begingroup$

$$ \sum_{i=1}^m\sum_{j=1}^n a_{i,j}=\sum_{j=1}^n\sum_{i=1}^m a_{i,j} $$

(and its variants for other measure spaces).

I still get misty-eyed whenever I read something that capitalizes on this trick in an unpredictable way.

$\endgroup$
14
  • 22
    $\begingroup$ In some ways, Fubini's theorem is just a fancy version of this. $\endgroup$
    – Gabe K
    Commented Jun 15, 2020 at 15:44
  • 38
    $\begingroup$ I tell my students in basically every class I teach always to pay attention to the order in which a double sum (or double integral, or sum-of-an-integral) first shows up, because chances are, the best thing to do next is change the order of summation/integration. $\endgroup$ Commented Jun 15, 2020 at 20:23
  • 12
    $\begingroup$ People have made millions on algorithm speedups based on that. Find a first integral that's stable over repeated calculations, change the order of integration, and voila! your program is several orders of magnitude faster than competitors'. $\endgroup$
    – Michael
    Commented Jun 15, 2020 at 21:00
  • 52
    $\begingroup$ Gelfand in one of his paper about integral geometry mentioned the fundamental trick which is version of what you wrote. If $$A\stackrel{\alpha}{\leftarrow} C\stackrel{\beta}{\rightarrow} B$$ and $f$ is a function on $C$, then $$\sum_{a\in A} \sum_{\alpha(c)=a} f(c)=\sum_{b\in B}\sum_{\beta(c)=b} f(c). $$ The inner sums are pushforwards and they have counterparts in other categories. Grothendieck used it succefully when applied to the (derived) category of coherent sheaves. E.g., you can get Poincare-Hopf theorem this way. $\endgroup$ Commented Jun 16, 2020 at 11:41
  • 16
    $\begingroup$ @LiviuNicolaescu This is very neat. What I wrote is the special case where $A=[m]$, $B=[n]$, $C=[m]\times[n]$, $\alpha$ and $\beta$ are projections, and $f\colon (i,j)\mapsto a_{i,j}$. Thanks Liviu! $\endgroup$ Commented Jun 16, 2020 at 12:29
91
$\begingroup$

A very useful generic trick:

If you can't prove it, make it simpler and prove that instead.

An even more useful generic trick:

If you can't prove it, make it more complicated and prove that instead!

$\endgroup$
7
  • 52
    $\begingroup$ The first is sometimes attributed to Polya. A related piece of wisdom due to de Giorgi: "If you can't prove your theorem, keep shifting parts of the conclusion to the assumptions, until you can." $\endgroup$ Commented Jun 16, 2020 at 0:10
  • 9
    $\begingroup$ "In dealing with mathematical problems, specialization plays, as I believe, a still more important part than generalization. Perhaps in most cases where we unsuccessfully seek 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 incompletely solved, or not solved at all. Everything depends, then, on finding those easier problems and on solving them by means of devices as perfect as possible and of concepts capable of generalization... $\endgroup$
    – Ivan Meir
    Commented Jun 16, 2020 at 0:12
  • 9
    $\begingroup$ ...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" —David Hilbert, “Mathematical Problems” $\endgroup$
    – Ivan Meir
    Commented Jun 16, 2020 at 0:12
  • 13
    $\begingroup$ These methods can be combined. First generalize the problem, making it more complicated. Then simplify along a different axis. $\endgroup$ Commented Jun 16, 2020 at 7:22
  • 6
    $\begingroup$ This reminds me of Zeilberger's paper on the method of undetermined generalization and specialization. $\endgroup$ Commented Jun 16, 2020 at 15:47
77
$\begingroup$

Dennis Sullivan used to joke that Mikhail Gromov only knows one thing, the triangle inequality. I would argue that many mathematicians know the triangle inequality but not many are Gromov.

$\endgroup$
7
  • 11
    $\begingroup$ Just in case somebody takes Sullivan's joke literally: I was always amazed how much analysis (including PDEs and functional analysis) Gromov knows. (As well as topology, dynamical systems,...) $\endgroup$ Commented Jun 16, 2020 at 15:13
  • 20
    $\begingroup$ In 1994, Vladimir Arnold was upset that among the Fields medalists, "three were inequalities manipulators". $\endgroup$ Commented Jun 16, 2020 at 16:18
  • 37
    $\begingroup$ Did Arnold think that number was too high, or too low? $\endgroup$ Commented Jun 17, 2020 at 19:59
  • 5
    $\begingroup$ In his book Partial Differential Relations, he showed that he also knows elementary. linear algebra. $\endgroup$
    – Deane Yang
    Commented Jun 21, 2020 at 0:43
  • 4
    $\begingroup$ @HarryWilson: just that it's less or equal than the sum of two other numbers of Fields medallists. $\endgroup$ Commented Jul 4, 2020 at 15:17
76
$\begingroup$

In combinatorics: shove it into OEIS, and see what's up. Also, add more parameters!

Note: the Macdonald polynomials were introduced by adding more parameters to the Jack and the Hall-Littlewood polynomials. The introduction of Macdonald polynomials unified a lot of cool stuff, and they are now essential in the field of Diagonal harmonics.

$\endgroup$
7
  • 9
    $\begingroup$ Does "snake oil" count as a trick? $\endgroup$
    – qwr
    Commented Jun 16, 2020 at 6:36
  • 6
    $\begingroup$ That's basically the source of my PhD. $\endgroup$
    – Simon Rose
    Commented Jun 16, 2020 at 18:39
  • 5
    $\begingroup$ More parameters, meaning "catalytic variables"? $\endgroup$ Commented Jun 16, 2020 at 21:20
  • 5
    $\begingroup$ @SomaticCustard Well, the recent example I worked with, mathoverflow.net/questions/362265/… was solved by first generalizing the problem, (adding two additional parameters a and c). $\endgroup$ Commented Jun 16, 2020 at 21:24
  • 2
    $\begingroup$ @PerAlexandersson Nice! $\endgroup$ Commented Jun 16, 2020 at 22:36
57
$\begingroup$

Integration by parts has allegedly earned some people big medals.

$\endgroup$
5
  • 14
    $\begingroup$ Perhaps a reference to: mathoverflow.net/questions/53122/mathematical-urban-legends/… $\endgroup$ Commented Jun 15, 2020 at 17:45
  • 4
    $\begingroup$ @SamHopkins: Strange, I had heard this about Laurent Schwartz: somebody in his entourage jokingly said "so now one gets the Fields medal for integrating by parts"? $\endgroup$
    – Alex M.
    Commented Jun 17, 2020 at 12:36
  • 3
    $\begingroup$ @AlexM.: apocryphal stories like this can often shift and evolve, involving different people, etc. $\endgroup$ Commented Jun 17, 2020 at 12:38
  • 3
    $\begingroup$ Transferring that derivative from one function to the other can be life changing. $\endgroup$ Commented Jun 18, 2020 at 21:06
  • $\begingroup$ Is the Attiyah-Singer Index Theorem not "just integration by parts" ? $\endgroup$
    – dohmatob
    Commented Dec 15, 2022 at 17:26
50
$\begingroup$

For a finite set of real numbers, the maximum is at least the average and the minimum is at most the average.

Of course this is just the real version of the Pigeonhole Principle, but Dijkstra had an eloquent argument as to why the usual version is inferior.

https://www.cs.utexas.edu/users/EWD/transcriptions/EWD10xx/EWD1094.html

$\endgroup$
3
  • 9
    $\begingroup$ I'm glad I came here today if for nothing else than to have read that piece by Dijkstra. Thank you for the link. $\endgroup$
    – msh210
    Commented Jun 17, 2020 at 11:17
  • 2
    $\begingroup$ I'm not convinced of the superiority of the other version. It only makes sense for real numbers. What's wrong with "if $A$ has more elements than $B$, then there is no injection $A\to B$"? This version works even for infinite sets (and indeed, it's a commonly used trick). $\endgroup$
    – tomasz
    Commented Jun 18, 2020 at 20:14
  • $\begingroup$ The pigeonhole principle wins my vote, partly because it has such a memorable name and because you can explain it to your six year old. And it really is useful. $\endgroup$
    – Alan Dixon
    Commented Jul 2, 2020 at 14:17
48
$\begingroup$

Although Erdős was mentioned in the comments as perhaps having prompted this whole discussion, I'm surprised not to see the basic trick of "try a random object/construction" posted as an answer, which he used so often to such great success.

$\endgroup$
2
  • 1
    $\begingroup$ what do you mean by "try a random object/construction"? $\endgroup$
    – Rauni
    Commented Jun 19, 2020 at 5:53
  • 7
    $\begingroup$ E.g. to prove that some graph exists satisfying a given property, show this holds with positive (or even high) probability for the random graph $G(n,p)$. This is also often called the "probabilistic method." $\endgroup$ Commented Jun 19, 2020 at 12:55
37
$\begingroup$

If an integer-valued function is continuous, it has to be constant.

This trick shows up in many places, such as the proof Rouché's theorem, and basic results about the Fredholm index.

$\endgroup$
4
  • 25
    $\begingroup$ ...as long as the domain is connected! I happen to have a continuous, integer-valued, non-constant function in my pocket right now. (It's the function which maps each point inside of a piece of currency to the face value of that piece of currency in cents.) $\endgroup$ Commented Jun 17, 2020 at 0:59
  • $\begingroup$ @TannerSwett How is your function not constant? $\endgroup$
    – Allawonder
    Commented Jun 17, 2020 at 11:09
  • 5
    $\begingroup$ @Allawonder Tanner must have two coins of distinct values in their pocket. Different coins are different connected components of the domain. Each coin maps to its own value, so the function is only locally constant. $\endgroup$
    – Will R
    Commented Jun 17, 2020 at 13:37
  • 6
    $\begingroup$ @Allawonder How about the continuous integer-valued non-constant function $\operatorname{id} \colon \mathbb Z \to \mathbb Z$? $\endgroup$
    – Earthliŋ
    Commented Jun 17, 2020 at 16:59
36
$\begingroup$

Whenever you find yourself trying to implement inclusion–exclusion by hand ... stop immediately and start over using the Möbius $\mu$-function.

$\endgroup$
1
  • $\begingroup$ Very appropriate for a question based on a Rota quotation! $\endgroup$ Commented Aug 7 at 4:59
30
$\begingroup$

Those of us who are old enough may remember http://www.tricki.org/

Localize + complete, taking a hypersurface section, and using the socle are useful tricks in commutative algebra.

$\endgroup$
7
  • 31
    $\begingroup$ I scoffed at your first sentence, then quickly had a terrible realisation. $\endgroup$
    – Pop
    Commented Jun 15, 2020 at 15:39
  • 2
    $\begingroup$ I've been looking for a reference on the 'localize and complete' type of trick. Can you give an example of the technique in action (or a paper where I should take a look)? $\endgroup$ Commented Jun 15, 2020 at 16:57
  • 7
    $\begingroup$ @HarryGindi: there are countless examples. Often, a property can be checked locally, then completion allows one to use Cohen's structure theorem, thus working concretely over power series. One not very simple but powerful result where that procedure works is the following: If $R$ is a regular Noetherian algebra containing a field and $M,N$ be f.g modules, then $Tor_i^R(M,N)=0$ implies $Tor_j^R(M,N)$ for all $j\geq i$ (the so-called rigidity of Tor). $\endgroup$ Commented Jun 15, 2020 at 17:43
  • 6
    $\begingroup$ Am I the only person who has to wilfully resist pronouncing tricki as "tritsky"? $\endgroup$ Commented Jun 15, 2020 at 21:36
  • 2
    $\begingroup$ @RobertFurber Is that you, comrade? $\endgroup$
    – Mitch
    Commented Jun 16, 2020 at 21:36
30
$\begingroup$

Not sure if... well, what the...

Find a duality. Play duals against each other.

$\endgroup$
5
  • 4
    $\begingroup$ Duality is everywhere. It often appears in subtle and unexpected ways. Surprisingly powerful for something that sounds so simple. $\endgroup$
    – Deane Yang
    Commented Jun 15, 2020 at 18:57
  • 3
    $\begingroup$ And yet, curiously, triality doesn't seem to be 50% more powerful as a trick. (Or maybe I just haven't grokked how to use it properly!) $\endgroup$
    – LSpice
    Commented Jun 16, 2020 at 14:03
  • 2
    $\begingroup$ @LSpice Maybe because playing three guys against each other is much more tricky $\endgroup$ Commented Jun 16, 2020 at 15:52
  • 2
    $\begingroup$ @LSpice: Well... every vector space has a dual, but triality only exists in a few dimensions. $\endgroup$ Commented Jun 30, 2020 at 17:34
  • $\begingroup$ @darijgrinberg, fair enough; but perhaps one could also suspect that structure that's available all the time must be less powerful than structure that is available in only a few cases. $\endgroup$
    – LSpice
    Commented Jun 30, 2020 at 19:41
30
$\begingroup$

If $1-x$ is invertible, then its inverse is $1 + x + x^2 + \cdots $. This is the second most useful "trick" I know, after "look for the [symmetric] group acting on you thing", but someone else already mentioned it.

$\endgroup$
6
  • 20
    $\begingroup$ So for x=2..... $\endgroup$
    – lalala
    Commented Jun 16, 2020 at 20:57
  • 1
    $\begingroup$ @Pablo Care to share useful instances of your trick? $\endgroup$ Commented Jun 17, 2020 at 14:09
  • 12
    $\begingroup$ @lalala, for $x = 2$, the inverse is exactly as stated. In $\mathbb Q_2$, anyway. $\endgroup$
    – LSpice
    Commented Jun 17, 2020 at 17:11
  • 10
    $\begingroup$ If $x$ is nilpotent, then $1-x$ is invertible $\endgroup$ Commented Jun 17, 2020 at 21:22
  • $\begingroup$ @RodrigoA.Pérez parametrices constructions $\endgroup$
    – yess
    Commented Apr 7, 2023 at 23:09
29
$\begingroup$

Hölder's inequality and the special cases, Cauchy-Buniakovski-Schwarz

$\endgroup$
3
  • 13
    $\begingroup$ Cauchy-Schwarz, arguably, is the only trick in analytic number theory $\endgroup$ Commented Jun 15, 2020 at 21:12
  • 4
    $\begingroup$ Cauchy Schwarz Master Class granted it isn't only about Cauchy Schwarz... $\endgroup$ Commented Jun 16, 2020 at 11:13
  • 5
    $\begingroup$ Just imagine, how much would number theorists prove if they use general Hölder inequality instead. $\endgroup$ Commented Jul 12, 2020 at 20:55
29
$\begingroup$

I couldn't resist adding one of my own: "Apply linearity of expectation".

For example in Barbier's incredibly elegant approach (Buffon's Noodle) to Buffon's Needle Problem.

$\endgroup$
3
  • 1
    $\begingroup$ Jordan Ellenberg gives a nice popular exposition of this (linearity of expectation in general, and the Buffon's noodle problem in particular) in "How not to be wrong". $\endgroup$
    – LSpice
    Commented Nov 9, 2020 at 19:12
  • $\begingroup$ This is arguably a special case of Conant's answer. $\endgroup$
    – Terry Tao
    Commented Jan 1, 2021 at 17:52
  • 1
    $\begingroup$ @GabeConant's answer referenced by @TerryTao. $\endgroup$
    – LSpice
    Commented Jul 25, 2021 at 1:29
28
$\begingroup$

What worked very well for the French school of algebraic geometry (but it seems to predate them!) is the "French trick" of turning a theorem into a definition. See e.g. this post for some examples and background on the term.

$\endgroup$
24
$\begingroup$

If $r,s $ are elements of a ring, then $1-rs$ invertible implies $1-sr$ is invertible (and it is a trick: you can make an educated guess for the formula for the inverse of $1-sr$ from that for $1-rs$). This can be used to find quick proofs of: (a) in a Banach algebra, ${\rm spec\ } rs \cup \{0\} = {\rm spec}\ sr \cup \{0\}$ (which in turn yields the nonsolvability of $xy-yx = 1$---all one needs is boundedness and nonemptiness of the spectrum); (b) the Jacobson radical (defined as the intersection of all maximal right ideals) is a two-sided ideal; and probably some other things I can't think of right now ...

$\endgroup$
3
  • $\begingroup$ This trick is due to Halmos, right?—or at least he wrote up a nice explanation of it. $\endgroup$
    – LSpice
    Commented Jun 16, 2020 at 14:04
  • 1
    $\begingroup$ Halmos did explain the motivation for the method (power series) in one of his books. Jacobson in his 1930s (?) book (Theory of rings) must have included it. But I think there is an 1910s paper of either Burnside or Wedderburn which deals with this and a generalization. $\endgroup$ Commented Jun 16, 2020 at 17:42
  • 2
    $\begingroup$ Percy Deift has called the Sylvester determinant identity $\mathrm{det}(1+AB)=\mathrm{det}(1+BA)$ "the most important identity in mathematics". $\endgroup$
    – Terry Tao
    Commented Jan 1, 2021 at 17:54
23
$\begingroup$

In the course of working with Hervé Jacquet and reading many of his papers on automorphic forms and the relative trace formula, I feel like he got an amazing amount of mileage out of clever use of change of variables.

I remember a conference where all the speakers gave extremely hard-to-follow talks using very sophisticated machinery, and then Jacquet gave a talk with a very nice result and about 45 minutes of it was going through an elementary proof (once you knew the setup) that boiled down to a clever sequence of change of variables.

$\endgroup$
2
  • 3
    $\begingroup$ I like this answer as it is more in the spirit of what Rota seemed to be referring to $\endgroup$
    – Yemon Choi
    Commented Jun 16, 2020 at 21:05
  • $\begingroup$ Classical physics is all about this! Hamiltonian/Lagrangian mechanics, Hamilton-Jacobi theory, canonical transformations, finding conserved quantities etc. involve clever choice of variables. $\endgroup$ Commented Jun 17, 2020 at 15:31
21
$\begingroup$

Maybe more than a "trick," but if you want to investigate a sequence $a_0,a_1,\dots$, then look at a generating function such as $\sum a_nx^n$ or $\sum a_n\frac{x^n}{n!}$. If you are interested in a function $f:\mathrm{Par}\to R$, where $R$ is a commutative ring and $\mathrm{Par}$ is the set of all partitions $\lambda$ of all integers $n\geq 0$, then look at a generating function $\sum_\lambda f(\lambda) N_\lambda b_\lambda$, where $\{b_\lambda\}$ is one of the standard bases for symmetric functions and $N_\lambda$ is a normalizing factor (analogous to $1/n!$). For instance, if $f^\lambda$ is the number of standard Young tableaux of shape $\lambda$, then $\sum_\lambda f^\lambda s_\lambda = 1/(1-s_1)$, where $s_\lambda$ is a Schur function. If $f(\lambda)$ is the number of square roots of a permutation $\lambda\in\mathfrak{S}_n$ of cycle type $\lambda$, then $$ \sum_\lambda f(\lambda)z_\lambda^{-1} p_\lambda = \sum_\lambda s_\lambda = \frac{1}{\prod_i (1-x_i)\cdot \prod_{i<j} (1-x_ix_j)}, $$ where $p_\lambda$ is a power sum symmetric function and $z_\lambda^{-1}$ is a standard normalizing factor.

$\endgroup$
0
21
$\begingroup$

The Renormalization Group trick:

Suppose you have some object $v_0$ and you want to understand a feature $Z(v_0)$ of that object. First identify $v_0$ as some element of a set $E$ of similar objects. Suppose one can extend the definition of $Z$ to all objects $v\in E$. If $Z(v_0)$ is too difficult to address directly, the renormalization group approach consists in finding a transformation $RG:E\rightarrow E$ which satisfies $\forall v\in E, Z(RG(v))=Z(v)$, namely, which preserves the feature of interest. If one is lucky, after infinite iteration $RG^n(v_0)$ will converge to a fixed point $v_{\ast}$ of $RG$ where $Z(v_{\ast})$ is easy to compute.

Example 1: (due to Landen and Gauss)

Let $E=(0,\infty)\times(0,\infty)$ and for $v=(a,b)\in E$ suppose the "feature of interest" is the value of the integral $$ Z(v)=\int_{0}^{\frac{\pi}{2}}\frac{d\theta}{\sqrt{a^2\cos^2\theta+b^2\sin^2\theta}}\ . $$ A good transformation one can use is $RG(a,b):=\left(\frac{a+b}{2},\sqrt{ab}\right)$.

Example 2: $E$ is the set of probability laws of real-valued random variables say $X$ which are centered and with variance equal to $1$. The feature of interest is the limit law of $\frac{X_1+\cdots+ X_n}{\sqrt{n}}$ when $n\rightarrow\infty$. Here the $X_i$ are independent copies of the original random variable $X$.

A good transformation here is $RG({\rm law\ of\ }X):={\rm law\ of\ }\frac{X_1+X_2}{\sqrt{2}}$.

$\endgroup$
4
19
$\begingroup$

Andre Weil's slogan that where there is a difficulty, look for the group (that unravels it).

I take this to mean something more aggressive than a truism to note and use group structure; more like "exploit the full potential of representation theory in all its manifestations after seeking out whatever obvious and hidden symmetries exist in the problem".

$\endgroup$
18
$\begingroup$

The chapter ‘A Different Box Of Tools’ of Surely You're Joking, Mr Feynman was named for a particular trick Richard Feymnan used:

[Calculus For The Practical Man] showed how to differentiate parameters under the integral sign — it's a certain operation.  It turns out that's not taught very much in the universities; they don't emphasise it.  But I caught on how to use that method, and I used that one damn tool again and again.

(pp.86–87)

$\endgroup$
1
  • 10
    $\begingroup$ I asked about Feynman's trick elsewhere on MO and got some interesting responses. $\endgroup$ Commented Jun 16, 2020 at 15:45
17
$\begingroup$

(1) Double-counting, which can also be described as counting the same thing in two ways. Very useful, and at least as powerful as interchanging summation order.

(2) Induction. When there is a natural number size parameter, one can always consider trying this.

(3) Extremal principle, which is ultimately based on induction, but looks very different. For example, the Sylvester-Gallai theorem has an extremely simple proof using this.

$\endgroup$
2
  • $\begingroup$ (2) can maybe be generalised to structural induction, so that one need not even artificially wrangle a natural-number parameter at all (e.g., directly inducting on trees, by, say, deducing a property of a tree if the same property holds when one leaf is removed, rather than on their height). $\endgroup$
    – LSpice
    Commented Nov 9, 2020 at 19:14
  • 1
    $\begingroup$ @LSpice: Indeed. Structural induction should even be taught in that way (top-down). =) $\endgroup$
    – user21820
    Commented Nov 9, 2020 at 19:53
16
$\begingroup$

Existence as a property: You want to find an object that solves a given equation or a given problem. Generalize what you mean by object so that existence becomes easy or at least tractable. Being an object is now a possible property you might prove about your generalized object. Having already something you can prove properties about is often both mathematically and psychologically easier than searching in the void.

Some examples:

  • Algebraic closures: In your original field, you don't know whether your polynomial has zeros, but in the algebraic closure it does. If you can show that it is Galois invariant, then it is actually in the original field. (Given that complex numbers are an algebraic closure (though unknown at the time of their conception), this is maybe the most classical of these examples.)
  • Representability of moduli problems: Often it is hard to show that a moduli problem is representable by a quasi-projective variety. This is what lead Weil to define general varieties so that he could represent a moduli problem. If your moduli problem does not have automorphisms and you can produce an ample line bundle, you can show afterwards that it is actually represented by a quasi-projective variety.
  • Partial differential equations: Often it is much easier to find generalized solutions (Sobolev functions or a distribution). Then the existence of a classical solution is a regularity property of you generalized solution.
$\endgroup$
2
  • 2
    $\begingroup$ A great one! Reminds of Bertrand Russell's famous "The method of "postulating" what we want has many advantages; they are the same as the advantages of theft over honest toil." (Introduction to Mathematical Philosophy), 1919 $\endgroup$ Commented Jul 11, 2020 at 6:31
  • 1
    $\begingroup$ For your algebraic closure example, better check that your field is perfect before concluding rationality by Galois descent! $\endgroup$
    – LSpice
    Commented Dec 7 at 21:40
16
$\begingroup$

A common trick is compactification. First prove that a space admits a compactification, e.g.

Once one has a compact space, one can analyze the objects one is interested in by taking infinite sequences, extracting a subsequence in the limit, and analyzing this limit, sometimes obtaining a contradiction if the limit does not lie in the original space one was considering. E.g. I used this approach to analyze exceptional Dehn fillings of cusped hyperbolic 3-manifolds.

$\endgroup$
2
  • 4
    $\begingroup$ In some sense, this is a particularly geometric way of the technique I describe in my answer, namely to generalize the kind of objects one is considering to make existence easy. In the compactification, existence of a converging subsequence is suddenly automatic; and once one has a point in the compactification, one has techniques to possibly show it's in the original space. $\endgroup$ Commented Nov 10, 2020 at 7:03
  • 2
    $\begingroup$ One might add to this list compactifications of moduli spaces - say, adding to moduli spaces of smooth curves those with nodal singular points. Among other miracles, this ties together moduli spaces of curves of different genera. $\endgroup$ Commented Nov 16, 2020 at 22:12
13
$\begingroup$

The second derivative test (i.e. "a smooth function has a local maximum at a critical point with non-positive second derivative.") is endlessly useful.

When you first see this fact in Calculus, it might not seem so powerful. However, there are countless generalizations (e.g. the maximum principle for elliptic and parabolic PDEs), which play an important role in analysis.

$\endgroup$
2
  • 16
    $\begingroup$ If the powerful tool of linearity isn’t good enough, the basic concept of convexity is amazingly powerful. $\endgroup$
    – Deane Yang
    Commented Jun 15, 2020 at 19:03
  • 2
    $\begingroup$ @DeaneYang, indeed, it amazes me how a first-order approximation is good, a second-order approximation often allows one to wring out a little more power … and yet, outside hard analysis (and I guess the higher reciprocity laws of number theory?), it seems that third-order approximations are either not so useful, or so hard to use that we aren't able to elevate them to the status of tricks yet. $\endgroup$
    – LSpice
    Commented Jun 16, 2020 at 14:06
13
$\begingroup$

There's the quote in Bell's Men of Mathematics attributed to Jacobi: "You must always invert", as Jacobi said when asked the secret of his mathematical discoveries. Sounds apocryphal but it is certainly a nice suggestion.

$\endgroup$
8
  • 4
    $\begingroup$ Buffett and Munger are also known to have incorporated this principle into their investing philosophy. $\endgroup$
    – Favst
    Commented Jun 15, 2020 at 21:02
  • 2
    $\begingroup$ Presumably this is related to elliptic integrals giving inverse elliptic functions, just as integrals like $\int \frac{1}{x} dx$ gives the inverse to the exponential function and $\int \frac{1}{1+ x^2} dx$ gives the inverse to the tangent function. $\endgroup$ Commented Jun 15, 2020 at 21:44
  • 1
    $\begingroup$ Sure, but since most problems can be written as a map to invert, the advice sound comical $\endgroup$ Commented Jun 15, 2020 at 22:02
  • 1
    $\begingroup$ @LSpice, it's mentioned in "Poor Charlie's Almanack: The Wit and Wisdom of Charles T. Munger" and many websites that seek to understand and emulate Buffett and Munger. Some details are given here: seekingalpha.com/article/4040474-invert-always-invert . I'm no investor though, so I'm not entirely sure how this philosophy applies practically in day-to-day investments. $\endgroup$
    – Favst
    Commented Jun 17, 2020 at 17:41
  • 1
    $\begingroup$ @Favst, thanks. So the 'invert' here isn't 'compositional inverse', but literally 'turn upside-down', or whatever (even in Jacobi's sense, as the expanded quote they include indicates). $\endgroup$
    – LSpice
    Commented Jun 17, 2020 at 17:46
13
$\begingroup$

Scott Aaronson has taken a stab at articulating his own methodology for upper-bounding the probability of something bad. He was inspired by a blog post by Scott Alexander bemoaning how rarely experts write down their expert knowledge in detail.

$\endgroup$
13
$\begingroup$

If, on a probability space, $\int_\Omega X\,dP = x$, then there is some $\omega$ such that $X(\omega)\ge x$.

$\endgroup$
1
13
$\begingroup$

In homotopy theory: if something is hard to compute, build an infinite tower that converges to it and induct your way up the tower. This includes spectral sequences, Postnikov towers, and Goodwillie calculus.

In category theory: apply Yoneda's Lemma.

Other common tricks in category theory:

  • Swap the order of colimits.
  • Embed into a presheaf category (e.g., Giraud's Theorem).
  • Reduce to the case of representable functors.

In an old mathoverflow answer, I wrote several more common tricks in category theory, including

  • Localization: shifting view so that two objects you previously viewed as different are now viewed as the same.
  • Replacing an object by one which is easier to work with but has the same fundamental properties you are trying to study.
  • Mapping an object to a small bit of information about the object. Showing that two are different because they differ on this bit.
$\endgroup$
2
  • $\begingroup$ Good that you mentioned representability and Giraud! Making non-representable functors representable is an extremely powerful trick. In fact something similar is omnipresent in the whole mathematics: if something you want to exist does not exist, - make it exist! $\endgroup$ Commented Jun 22, 2020 at 8:39
  • $\begingroup$ Concerning localization - more specific advantage of this trick is that instead of identifying objects one adds an isomorphism between them: extending your domain is usually technically easier than quotienting it by an equivalence relation. $\endgroup$ Commented Jan 10, 2021 at 8:55
10
$\begingroup$

My favorite is perhaps the "commutator trick", i.e. "take commutators and see what happens". Some general things that may happen 1) the commutator touches less than the commutatorands 2) the commutator defies your abelian intuition.

I'm mostly familiar with 1) in the context of infinite groups, in particular finding generators for complicated groups, and 2) blew my mind to pieces as Barrington's theorem before I even knew any math.

I counted that a seventh of my papers use some type of commutator trick, but what really sold commutators to me was when I got a Rubik's cube as a christmas present.

$\endgroup$
1
  • 2
    $\begingroup$ The obvious example for 1) is how you prove simplicity/perfection of alternating simple groups and others like it. $\endgroup$
    – Ville Salo
    Commented Jun 16, 2020 at 8:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .