# Feynman's Calculus

by murshid_islam
Tags: calculus, feynman
 P: 361 Feynman wrote in his book ‘Surely You’re Joking, Mr. Feynman!’: “That book [Advanced Calculus, by Woods] also 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 emphasize it. But I caught on how to use that method, and I used that one damn tool again and again. So because I was self-taught using that book, I had peculiar methods of doing integrals.” What is this ‘differentiating under the integral sign’? Does anyone know this? Can anyone please help me? And another thing Feynman wrote about is contour integration. What is this contour integration? Can anyone help me with that too? In another chapter, Feynman wrote about computing the cube root of a number. The number was 1729.03. He wrote: “I happened to know that a cubic foot contains 1728 cubic inches, so the answer is a tiny bit more than 12. The excess, 1.03, is only one part in nearly 2000, and I have learned in calculus that for small fractions, the cube root’s excess is one-third of the number’s excess. So all I had to do is find the fraction 1/1728 and multiply by 4 (divide by 3 and multiply by 12). So I was able to pull out a whole lot of digits that way.” Can anyone explain that to me? What is the ‘cube root’s excess’? What is the ‘number’s excess’? thanks in advance to anyone who can help.
 Math Emeritus Sci Advisor Thanks PF Gold P: 39,683 Differentiating under the integral: Leibniz's rule- $$\frac{d}{dx}\int_{a(x)}^{b(x)} f(x,t)dt= \int_{a(x)}^{b(x)}\frac{\partial f(x,t)}{\partial x}dt+ \frac{da(x)}{dx}f(x,a(x))- \frac{db(x)}{dx}f(x,b(x))$$. In the second problem, "excess" is not referring to a number's excess but simply how much larger one number is than another. He happened to know that 123= 1728 (that is, that 12 is the cube root of 1728) and he wanted to find the cube root of 1729.03. The "excess", in this problem, is 1729.03- 1728= 1.03. The derivative of x1/3 is (1/3)x-2/3 so d(x1/3 (the "change" in x2 if x changes slightly- what Feynman is calling the "excess") is (1/3)x-2/3 dx. Here x= 1728 so x-2/3= 1/122= 1/144. (1/3)(1/144)= 1/432 and dx= 1.03. d(x1/3)= 1.03/144= 0.007222... The third root of 1729.03= 12.007222...
HW Helper
P: 2,264
 Quote by murshid_islam Feynman wrote in his book ‘Surely You’re Joking, Mr. Feynman!’: “That book [Advanced Calculus, by Woods] also 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 emphasize it. But I caught on how to use that method, and I used that one damn tool again and again. So because I was self-taught using that book, I had peculiar methods of doing integrals.” What is this ‘differentiating under the integral sign’? Does anyone know this? Can anyone please help me? And another thing Feynman wrote about is contour integration. What is this contour integration? Can anyone help me with that too? In another chapter, Feynman wrote about computing the cube root of a number. The number was 1729.03. He wrote: “I happened to know that a cubic foot contains 1728 cubic inches, so the answer is a tiny bit more than 12. The excess, 1.03, is only one part in nearly 2000, and I have learned in calculus that for small fractions, the cube root’s excess is one-third of the number’s excess. So all I had to do is find the fraction 1/1728 and multiply by 4 (divide by 3 and multiply by 12). So I was able to pull out a whole lot of digits that way.” Can anyone explain that to me? What is the ‘cube root’s excess’? What is the ‘number’s excess’? thanks in advance to anyone who can help.
What is this ‘differentiating under the integral sign’?
When an integrant is nice the integral of the derivative equals the derivative of the integral. So if you have an integral with a parameter (a varible other than the variable of integration) or you insert a parameter you can integrate the derivative of the integrant to find the derivative of the integral. Using the derivative of the integral one can write often find the original integral.
Here is an example
find $$\int_0^\infty\exp(-x^2-1/x^2) dx$$
let $$F(t)= \int_0^\infty\exp(-x^2-t^2/x^2) dx$$
now we want F(1)
F'(t)=-2F(t) so
F(t)=F(0) exp(-2 t)
Clearly F(0)=(2^-1) sqrt(pi)
F(1)=(2^-1) sqrt(pi)exp(-2)~.1194
What is this contour integration?
Contour integration what happens when you integrate a function of several along a contour. In 1-D you integrate from a to b you must follow a line in n-D you have n-1 degrees of freedom. In 2-D if you wanted to integrate from (-1,0) to (1,0) you could integrate along a stait line or along the top half of a circle centered at the origin with radius 1, or any number of other paths.
What is the ‘cube root’s excess’? What is the ‘number’s excess’?
let f(x)=x^(1/3)
Cube roots excess=f(x)-f(y)
number’s excess=x-y
in calculus one learns
number’s excess~(1/3)Cube roots excess
or f(x)-f(y)~(1/3)(x-y)
where ~ means "is about" and x~y
f(1729.03)=12*f(1729.03/1728)=12*f(1+1.03/1728)
use 1.03~1
f(1729.03)~12*f(1+1/1728)=12(1+(f(1+1/1728)-f(1))
since 1+1/1728~1
12(1+(f(1+1/1728)-f(1))]~12(1+1/3/1728)=12+4/172812=12+1/432~12.0023
f(1729.03)~12.00238378569171812
So one can get pretty close easily this way.

 Sci Advisor HW Helper P: 9,499 Feynman's Calculus in michael sopivaks little book, calculus on manifolds, he explains path ingration very well, and also shoiws that the three basic theorems on interchange of limits are essentially equivalent: 1) interchange of derivative and integral (differentiating under the integral sign) 2) interchange of order of (partial) derivatives 3) interchange of order of integration (fubini)
P: 1,295
Here is an example of differentiating under the integral sign:

$$\int x Cos (a x) dx = \int \frac{\partial}{\partial a} -Sin (a x) dx =\frac{\partial}{\partial a}\int -Sin (a x) dx$$

Contour integration is a method of evaluating bucketloads of indefinite integrals that cannot be done using the fundamental theorem of calculus, such as:

$$\int_{-\infty} ^\infty \frac{Sin (x)}{x} dx = \pi$$

In fact, any time you see a hard definite integral that has an answer containing pi, odds are that it can be evaluated elegantly using contour integration (which requires complex variables).

 Can anyone explain that to me? What is the ‘cube root’s excess’? What is the ‘number’s excess’?
The 'number's excess' is the difference between the number he recognizes and the number he is given. Similarly, the cube roots excess is the difference between the cube root he recognizes and the one he must compute. In this case Feynman most likely used the binomial series ( a special case of taylor series, which you may have studied).
HW Helper
P: 2,264
 Quote by Crosson In fact, any time you see a hard definite integral that has an answer containing pi, odds are that it can be evaluated elegantly using contour integration (which requires complex variables).
That is a bit optimistic. Contour integration in the complex plane can be a helpfull tool, but it is not always simple or elegant.
P: 1,295
 That is a bit optimistic. Contour integration in the complex plane can be a helpfull tool, but it is not always simple or elegant.
For the most part agree with this, but I qualified my statement with "odds are..." and it was meant to be funny (because it is slightly true) more then anything.
 P: 166 Optimistic or not, contour integration on the complex plane can be very beautiful mathematically.
P: 701
 Quote by Crosson Contour integration is a method of evaluating bucketloads of indefinite integrals that cannot be done using the fundamental theorem of calculus, such as: $$\int_{-\infty} ^\infty \frac{Sin (x)}{x} dx = \pi$$
how would you solve this one using the Feynman integration method? I tried using Euler's formula to convert it into an integral involving

$$\frac{e^{ix}}{x}$$

then i got stuck. i noted that $$\int_{-\infty}^{+\infty} \frac {e^{ix}}{x} dx = \int_{-\infty}^{+\infty} \frac{\partial}{\partial i} \frac {e^{ix}}{x^2} dx$$

but don't know where to go from there...am i on the right track?
HW Helper
P: 2,264
 Quote by quetzalcoatl9 how would you solve this one using the Feynman integration method? I tried using Euler's formula to convert it into an integral involving $$\frac{e^{ix}}{x}$$ then i got stuck. i noted that $$\int_{-\infty}^{+\infty} \frac {e^{ix}}{x} dx = \int_{-\infty}^{+\infty} \frac{\partial}{\partial i} \frac {e^{ix}}{x^2} dx$$ but don't know where to go from there...am i on the right track?
If you mean using differentiation with respect to a parameter (ie under the integral sign it can be done line this.
$$\int_{-\infty} ^\infty \frac{Sin (x)}{x} dx =2\int_{0} ^\infty \frac{Sin (x)}{x} dx$$
so we want 2f(0) where
$$f(s)=\int_{0} ^\infty \frac{Sin (x)}{x}{exp(-s x)} dx$$
$$f'(s)=-\int_{0} ^\infty {Sin (x)}{exp(-s x)} dx$$
$$f'(s)=-\frac{1}{1+s^2}$$
$$f(s)=C-Arctan(s)$$
for some constant C but f(infinity)=0
f(s)=pi/2-Arctan(s)
$$\int_{-\infty} ^\infty \frac{Sin (x)}{x} dx=2f(0)={\pi}$$
This can also be done with contour integration in the complex plane. It is in fact a famous example. Take f=exp(i z)/z and the contour be lines connecting (-H,0) to (-h,0) and (H,0) to (h,0) and upper semicircles centered at (0,0) conecting (-H,0) to (H,0) and (-h,0) to (h,0) where 0<h<H and take limits h->0 and H-> infinity. The upper arc is 0 the lines add to the integral of 2i sin(x)/x on (0,infinity) and the small arc is pi i since that sum of all these is 0 we know the integral. Also you can't differentiate with respect to i in this context as it is constant it would be like differentiating with respect to 11.
 P: 701 very cool, thanks lurflurf!
 P: 240 Does anyone knows some webpage with a proof of this Leibniz rule?
 Emeritus Sci Advisor PF Gold P: 16,091 It's rather straightforward to work out: it doesn't really require knowing much more than the definition of a derivative and the basic properties of integrals. You have help, since you know what the rule looks like. You should give it a try. (Note that HallsOfIvy's statement assumed that f was continuous. a and b, of course, must be differentiable)
 P: 701 $$\frac{d}{dx} f(x)g(x) = \lim_{\Delta x \rightarrow 0} \frac{f(x + \Delta x)g(x + \Delta x) - f(x)g(x)}{\Delta x}$$ take the expression in the numerator and "add and subtract" $g(x)f(x + \Delta x)$ $$= \lim_{\Delta x \rightarrow 0} \frac{g(x)f(x + \Delta x) - g(x)f(x) + f(x + \Delta x)g(x + \Delta x) - g(x)f(x + \Delta x)}{\Delta x} = \lim_{\Delta x \rightarrow 0} \frac{g(x)(f(x + \Delta x) - f(x)) + f(x + \Delta x)(g(x + \Delta x) - g(x))}{\Delta x}$$ since f and g are continuous at x, you can take the limits of each term and then you will have the familiar product rule.
 P: 240 OK, Quetalcoatl, but I was asking about a proof of the differentiation under the integral sign...
P: 361
 Quote by lurflurf What is this ‘differentiating under the integral sign’? When an integrant is nice the integral of the derivative equals the derivative of the integral. So if you have an integral with a parameter (a varible other than the variable of integration) or you insert a parameter you can integrate the derivative of the integrant to find the derivative of the integral. Using the derivative of the integral one can write often find the original integral. Here is an example find $$\int_0^\infty\exp(-x^2-1/x^2) dx$$ let $$F(t)= \int_0^\infty\exp(-x^2-t^2/x^2) dx$$ now we want F(1) F'(t)=-2F(t) so F(t)=F(0) exp(-2 t) Clearly F(0)=(2^-1) sqrt(pi) F(1)=(2^-1) sqrt(pi)exp(-2)~.1194
how did you get F'(t) = -2F(t) in the first place?
i understood the part after that.
HW Helper
P: 2,264
 Quote by murshid_islam how did you get F'(t) = -2F(t) in the first place? i understood the part after that.
find F'(t) by differentiating under the integral sign, then simplify the integral with the substitution u=t/x. Then you can see F'(t)=-2F'(t)
$$F'(t)=\frac{d}{dt} \int_0^\infty\exp(-x^2-t^2/x^2) dx$$
differentiate under the integral sign
$$F'(t)= \int_0^\infty\frac{d}{dt}\exp(-x^2-t^2/x^2) dx$$
perform the differentiation
$$F'(t)= \int_0^\infty\frac{-2t}{x^2}\exp(-x^2-t^2/x^2) dx$$
let u=t/x
$$F'(t)= -2\int_0^\infty\exp(-t^2/u^2-u^2) du$$
now see that
$$F'(t)= -2F(t)$$
 P: 701 not to nitpick, but shouldn't it be $$\frac{d}{dt}$$ ?

 Related Discussions Quantum Physics 15 Advanced Physics Homework 3 Classical Physics 4 General Math 0