## What’s your favorite equation, formula, identity or inequality? [closed]

Certain formulas I really enjoy looking at like the Euler-Maclaurin formula or the Leibniz integral rule. What's your favorite equation, formula, identity or inequality?

-
Voting to close. People are at the repeating-other-people's-answers stage now. – Qiaochu Yuan Aug 21 2010 at 18:23
The question has been closed as no longer relevant. It had a long and healthy life, but the large number of answers has become unwieldy. If the question had been asked more recently, it would probably have been closed sooner as being "overly broad". I encourage people who are interested in following up issues raised in the question or the answers with further questions. Please be specific! – Pete L. Clark Aug 22 2010 at 9:02

## closed as no longer relevant by Robin Chapman, Akhil Mathew, Yemon Choi, Qiaochu Yuan, Pete L. ClarkAug 22 2010 at 9:00

$e^{\pi i} + 1 = 0$

-
I never liked writing it in the form e^(i pi) + 1 = 0, it's not a way I'd ever write anything. I think it looks a lot nicer when written e^(i pi) = -1. – Sam Derbyshire Oct 28 2009 at 22:45
More interesting and useful (and less mysterious) is: exp(i t) = cos(t) + i sin(t). – Gerald Edgar Oct 29 2009 at 14:49
@Gerald: I certainly agree. But I think this particular equation is so pretty I once had it henna tattoo-ed on my hand. @Sam: It's just a matter of eye, beholder etc. I don't like minus signs, but do like 0 on the RHS. – Sonia Balagopalan Oct 29 2009 at 15:29
I think people ascribe to this formula excessive mystery. The mystery disappears if one replaces the usual exponential with the matrix exponential on M_2(R) and then this is just the statement that the only trajectory of a particle whose velocity is always perpendicular to its displacement (and in the same proportion) is a circle. – Qiaochu Yuan Dec 8 2009 at 18:04
I think the people who ascribe to this formula excessive mystery might not find matrix exponentials particularly less mysterious. – Cam McLeman Mar 4 2010 at 18:16

Stokes' Theorem

-

There are many, but here is one.

$d^2=0$

-
que? – BlueRaja Jul 15 2010 at 16:24
en.wikipedia.org/wiki/Exterior_derivative – Robin Saunders Mar 3 2012 at 16:22

There's lots to choose from. Riemann-Roch and various other formulas from cohomology are pretty neat. But I think I'll go with

Σn=1 n-s = Πp prime (1-p-s)-1.

-

Trivial as this is, it has amazed me for decades:

$(1+2+3+...+n)^2=(1^3+2^3+3^3+...+n^3)$

-
I am a bit late in seeing this post, but I completely agree with you, Yaakov. The equality is a bit related to the following pattern which I discovered as a child but continues to amaze me to this day: $1=1^3$; $3+5=2^3$; $7+9+11=3^3$; $13+15+17+19=4^3$;... Many mathematicians know that the sum of the first n odd numbers is n2, but I think very few are aware of this trivial yet incredible pattern. I actually wrote a little post about this on a math blog (the Everything Seminar): – Peter Luthy Nov 3 2010 at 5:34

1+2+3+4+5+... = -1/12

Once suitably regularised of course :-)

-
Ramanujan got rejected by many famous mathematicians (looking for a scholarship outside of India) because they did not understand this.. – BlueRaja Jul 15 2010 at 5:26

I'm currently obsessed with the identity $\det (\mathbf{I} - \mathbf{A}t)^{-1} = \exp \text{tr } \log (\mathbf{I} - \mathbf{A}t)^{-1}$. It's straightforward to prove algebraically, but its combinatorial meaning is very interesting.

-
If A is the adjacency matrix of a finite graph G, then the coefficient of t^k counts the number of non-negative integer linear combination of aperiodic closed walks on G (without a distinguished vertex) with a total of k vertices. This is an equivalent to an Euler product for the RHS which is again straightforward to prove algebraically and very interesting combinatorially. – Qiaochu Yuan Oct 29 2009 at 4:24
That's awesome! – Sonia Balagopalan Oct 29 2009 at 10:47
I should also note that as a special case of the Euler product one gets the cyclotomic identity: en.wikipedia.org/wiki/Cyclotomic_identity – Qiaochu Yuan Oct 29 2009 at 14:40

Mine is definitely $$1+\frac{1}{4}+\frac{1}{9}+\cdots+\frac{1}{n^2}+\cdots=\frac{\pi^2}{6},$$ an amazing relation between integers and pi.

-
I honestly find the infinite product expression of this formula to be more intriguing - this now relates pi to just the primes. – Nick Salter Dec 18 2009 at 18:47
@ Regenbogen: It appears in ALL values of $\zeta(2n)$. – Max Muller Jul 8 2010 at 15:32

$$\frac{24}{7\sqrt{7}} \int_{\pi/3}^{\pi/2} \log \left| \frac{\tan t+\sqrt{7}}{\tan t-\sqrt{7}}\right|\ dt = \sum_{n\geq 1} \left(\frac n7\right)\frac{1}{n^2},$$ where $\left(\frac n7\right)$ denotes the Legendre symbol. Not really my favorite identity, but it has the interesting feature that it is a conjecture! It is a rare example of a conjectured explicit identity between real numbers that can be checked to arbitrary accuracy. This identity has been verified to over 20,000 decimal places. See J. M. Borwein and D. H. Bailey, Mathematics by Experiment: Plausible Reasoning in the 21st Century, A K Peters, Natick, MA, 2004 (pages 90-91).

-

1/(1-z) = (1+z)(1+z^2)(1+z^4)(1+z^8)...

Both sides as formal power series work out to 1 + z + z^2 + z^3 + ..., where all the coefficients are 1. This is an analytic version of the fact that every positive integer can be written in exactly one way as a sum of distinct powers of two, i. e. that binary expansions are unique.

-
That's simple, but quite neat too. Haven't thought about that expansion before. Does it have any applications? – George Lowther Oct 29 2009 at 23:25
multiplying the RHS by $(1-z)$ starts an impressive chain reaction – Pietro Majer May 25 2011 at 6:33
show 1 more comment

$V - E + F = 2$

Euler's characteristic for connected planar graphs.

-

It's too hard to pick just one formula, so here's another: the Cauchy-Schwarz inequality:

||x|| ||y|| >= |(x.y)|, with equality iff x&y are parallel.

Simple, yet incredibly useful. It has many nice generalizations (like Holder's inequality), but here's a cute generalization to three vectors in a real inner product space:

||x||2 ||y||2 ||z||2 + 2(x.y)(y.z)(z.x) >= ||x||2(y.z)2 + ||y||2(z.x)2 + ||z||2(x.y)2, with equality iff one of x,y,z is in the span of the others.

There are corresponding inequalities for 4 vectors, 5 vectors, etc., but they get unwieldy after this one. All of the inequalities, including Cauchy-Schwarz, are actually just generalizations of the 1-dimensional inequality:

||x|| >= 0, with equality iff x = 0,

or rather, instantiations of it in the 2nd, 3rd, etc. exterior powers of the vector space.

-

For a triangle with angles a, b, c $$\tan a + \tan b + \tan c = (\tan a) (\tan b) (\tan c)$$

-

I always thought this one was really funny: $1 = 0!$

-
True, but that's not what's going on here. One can define 0! by extending the rule n!=n*(n-1)! with n=1, or by computing that \Gamma(1) in its integral form is indeed 1. And it's only very mildly a convention that we choose \Gamma as the interpolating function for the factorial function. – Cam McLeman Mar 4 2010 at 18:23
Or, 0! is the number of bijective maps on a set with 0 elements, since the empty set is the only such map. – Jonas Meyer Mar 19 2010 at 3:52
Ha! Very funny! Reminded me of when one of my professors ended a proof with the statement to the effect that the Q is an element in set D. (get it?) – Burhan May 21 2010 at 18:25

I just cannot get this thing to make the 2 by 2 matrices of letters I want. Wait, fixed it myself. There is a thread in Meta about Latex/jsMath inconsistencies, one known problem is backslash being interpreted as an escape. So where I intended double backslash I just put three backslashes and that works for now. If it fails later I will switch to four or five backslashes.

Given a square matrix $M \in SO_n$ decomposed as illustrated with square blocks $A,D$ and rectangular blocks $B,C,$

$$M = \left( \begin{array}{cc} A & B \\ C & D \end{array} \right) ,$$

then $\det A = \det D.$

What this says is that, in Riemannian geometry with an orientable manifold, the Hodge star operator is an isometry, a fact that has relevance for Poincare duality.

http://en.wikipedia.org/wiki/Hodge_duality

http://en.wikipedia.org/wiki/Poincar%C3%A9_duality

But the proof is a single line:

$$\left( \begin{array}{cc} A & B \\ 0 & I \end{array} \right) \left( \begin{array}{cc} A^t & C^t \\ B^t & D^t \end{array} \right) = \left( \begin{array}{cc} I & 0 \\ B^t & D^t \end{array} \right).$$

-

$196884 = 196883 + 1$

-

I think that Weyl's character formula is pretty awesome! It's a generating function for the dimensions of the weight spaces in a finite dimensional irreducible highest weight module of a semisimple Lie algebra.

-

Gauss-Bonnet, even though I am not a geometer.

-

Ἐν τοῖς ὀρθογωνίοις τριγώνοις τὸ ἀπὸ τῆς τὴν ὀρθὴν γωνίαν ὑποτεινούσης πλευρᾶς τετράγωνον ἴσον ἐστὶ τοῖς ἀπὸ τῶν τὴν ὀρθὴν γωνίαν περιεχουσῶν πλευρῶν τετραγώνοις.

That is,

In right-angled triangles the square on the side subtending the right angle is equal to the squares on the sides containing the right angle.

-

$2^n>n$

-
I didn't say it was hard to prove, but you've asked a fair question. It struck me as beautiful when I first learned as an undergrad of this way to see that there are infinitely many different infinite cardinals. – Jonas Meyer Jan 10 2010 at 18:40

It has to be the ergodic theorem, $$\frac{1}{n}\sum_{k=0}^{n-1}f(T^kx) \to \int f\:d\mu,\;\;\mu\text{-a.e.}\;x,$$ the central principle which holds together pretty much my entire research existence.

-

For X a based smooth manifold, the category of finite covers over X is equivalent to the category of actions of the fundamental group of X on based finite sets:

                       \pi-sets   ===     et/X


The same statement for number fields essentially describes the Galois theory. Now the idea that those should be somehow unified was one of the reasons in the development of abstract schemes, a very fruitful topic that is studied in the amazing area of mathematics called the abstract algebraic geometry. Also, note that "actions on sets" is very close to "representations on vector spaces" and this moves us in the direction of representation theory.

Now you see, this simple line actually somehow relates number theory and representation theory. How exactly? Well, if I knew, I would write about that, but I'm just starting to learn about those things.

(Of course, one of the specific relations hinted here should be the Langlands conjectures, since we're so close to having L-functions and representations here!)

-

Riemann-Roch, and its generalizations:

Hirzebruch-Riemann-Roch

Grothendieck-Hirzebruch-Riemann-Roch

Atiyah-Singer (which is also a generalization of Gauss-Bonnet)

Is it cheating to put all of these in a single answer? :-)

-

E[X+Y]=E[X]+E[Y] for any 2 random varibles X and Y

-

My favorite is the Koike-Norton-Zagier product identity for the j-function (which classifies complex elliptic curves):

j(p) - j(q) = p-1 \prodm>0,n>-1 (1-pmqn)c(mn),

where j(q)-744 = \sumn >-2 c(n) qn = q-1 + 196884q + 21493760q2 + ... The left side is a difference of power series pure in p and q, so all of the mixed terms on the right cancel out. This yields infinitely many identities relating the coefficients of j.

It is also the Weyl denominator formula for the monster Lie algebra.

-

$D_A\star F = 0$

Yang-Mills

-

## Addendum to $e^{i \pi}$

Benjamin Peirce apparently liked this mathematical synonym for the additive inverse of $1$ so much that he introduced three special symbols for $e, i, \pi$ — ones that enable $e^{i \pi}$ to be written in a single cursive ligature, like so:

-

$(A-\lambda _1) (A-\lambda _2) \ldots = 0$, the Cayley-Hamilton theorem.

-
Surely something like $f_A(A)=0$ trumps that visually. – Cam McLeman Aug 22 2010 at 1:45

It may be trivial, but I've always found

$\sqrt{\pi}=\int_{-\infty}^{\infty}e^{-x^{2}}dx$

to be particularly beautiful.

-
Once one decides that the "right" definition of $n!$ when $n$ isn't a natural number is $\Gamma(n+1)$, this formula becomes equivalent to one of my favorites: $(-{\frac{1}{2}})!=\sqrt{\pi}$`. – Andreas Blass Aug 21 2010 at 18:55

Var[X+Y]=Var[X]+Var[Y] for any two independent random variables X and Y, which is the statistics equivalent of the Pythagorean Theorem.

-