Richard Feynman's Integral Trick
medium.com
medium.com
In general, that kind of tactic gives me hope someday mankind might find short, easy solutions to problems that currently seem hopeless (P=NP, Riemann Hypothesis, the 3n+1 problem, etc.)
For example, maybe someone will define spaces P(x) and NP(x), depending on a parameter x, with P(1)=P and NP(1)=NP, and then they'll show (in some simple way that makes us all kick ourselves) that P(x)=NP(x) for all x>=sqrt(2) and P(x)<>NP(x) for all x<sqrt(2). "And thus, P<>NP."
It makes you realize we really don't have a good sense of distances in the space of mathematical proofs. It's so high-dimensional, a solution that seems light-years away can actually be right under your nose, if you just turn your nose in the correct direction.
A professor put it this way: "the more you assume, the more you can prove"
The asker has an integral for which Mathematica and Maple both failed to resolve a closed form solution. Then they use a symmetry to break up the integral from 0 to infinity into two parts, substitute, integrate, substitute again and finally apply the residue theorem.
I was excited as a kid when I was able to get integral(cos(x^(1/2))) - literally jumping up and down.
This is silly. In symbolic calculus, there are well-known algorithms for computing the primitive of any expression (and to decide whether it exists or not). In numerical calculus, integration is actually much easier than derivation.
For the Putnam exam, yes, it's challenging. It's so challenging that doing the work to do well on the exam is comparable with creating and publishing peer reviewed original research in math, and such a publication will likely do much more for the academic progress for a student than the Putnam.
Indeed, soon enough in math graduate school at a good research university, a student learns that everyone admits that no one can carry all the library around between their ears and doesn't try to. Instead, the three most important measures of progress are, in no particular order, research, research, and research.
Finally, IIRC, how to do integration of algebraic expressions in closed form has long been a solved problem and long ago was coded up in some software -- IIRC, the software will report the result or state that no closed form solution exists.
Are you thinking of indefinite integrals? https://en.wikipedia.org/wiki/Risch_algorithm
This article is about a trick for definite integrals. If you can do the indefinite integral you can do a definite one, but not necessarily vice versa.
With a little review (the Internet, Google, and Wikipedia are a new world), I recall that I was thinking of
Macsyma
with apparently a nice description at
https://en.wikipedia.org/wiki/Macsyma
Apparently the software is still available, likely better than the original which apparently goes back to the MIT project MAC.
The Wikipedia description early on mentions indefinite integration.
IIRC the software implements algorithms that "solve" the problem of indefinite integration, calculus course "anti-differentiation".
I'm plainly passing out what I remember, some of it confirmed by the Wikipedia page, and memory of hearsay.
But likely now could download a copy of the software with whatever documentation they have and see how good it is, how much it claims, and that's a lot more than I could do the last time I heard anything about Macsyma.
I'm not going to set my startup aside and rush to have fun with Macsyma, as much fun as I have had with calculus, but I will make a note in my little system for such chunks of information!
It seems most people encounter this either as a brief coverage in real analysis or in full emphasis in mathematical physics or quantum field theory courses.
To be sure, this is typically touched for the first time in advanced calculus at the undergraduate level, which--at least with my alma mater--isn't mandatory for anyone except math majors.
I ran it in Mathematica and it checks, but I just can't see why at first glance... Any help here?
http://longnow.org/essays/richard-feynman-connection-machine...
By the end of that summer of 1983, Richard had completed his analysis of the behavior of the router, and much to our surprise and amusement, he presented his answer in the form of a set of partial differential equations. To a physicist this may seem natural, but to a computer designer, treating a set of boolean circuits as a continuous, differentiable system is a bit strange. Feynman's router equations were in terms of variables representing continuous quantities such as "the average number of 1 bits in a message address." I was much more accustomed to seeing analysis in terms of inductive proof and case analysis than taking the derivative of "the number of 1's" with respect to time. Our discrete analysis said we needed seven buffers per chip; Feynman's equations suggested that we only needed five. We decided to play it safe and ignore Feynman.
How do you analyze boolean circuits using partial differential equations?
What else can you accomplish with this technique?
No one seems to know how he did it.
010 101 => xyx + yxy = x^2y + xy^2
https://en.wikipedia.org/wiki/Enumerator_polynomialThen you can use real (or even complex) analysis on these polynomials. There's a thick book of things you can prove about sets of binary words using those techniques: https://www.elsevier.com/books/the-theory-of-error-correctin...
And Noam Elkies' course notes on it: http://www.math.harvard.edu/~elkies/M256.13/index.html
Thank you. This was a legendary answer. I really have been hunting this question for years: https://news.ycombinator.com/item?id=13764917
This seems like how he did it. Error correcting codes are a natural domain for questions like "What are the fewest gates gates required to transmit some information?" But the missing puzzle piece was that you can analyze them with polynomials.
A respected text is
W.\ Wesley Peterson and E.\ J.\ Weldon, Jr., {\it Error-Correcting Codes, Second Edition.\/}
Last I heard, there has been some surprisingly good progress in the field. Might look up, say, "turbo codes".
I imagine he used some of the "tools in his toolbox" he acquired from various fields of Physics. Given that it was a PDE his answer also probably was an approximation
As a matter of fact, it will ressemble reality much better than many economic models, for example (if not all): there is a HUGE amount of bits per second.
The Thinking Machines computers he was analyzing were massively parallelized, they had thousand of processors, but the processors were unbelievably primitive. They operated on a single bit and had a tiny number of instructions. The part Fenyman analyzed was the routing between the processors.
You also missed the followup. When the design was nearing completion they realized that they wouldn't have the silicon for 7 buffers per chip so the hardware was finalized with 5 buffers per chip. It was enough.
http://www.niemanlab.org/2017/10/starting-today-anyone-who-p...
But I think this is the first paywalled Medium article I've actually seen (and I think it was free when I came across it on r/math a few days ago)... but I've developed a bit of a reflexive avoidance of Medium content anyway.