Sunday, 20 December 2020

Feynman Integration

Figure 1 shows a graphic in a tweet by Cliff Pickover that caught my attention recently:

Figure 1

It turns out that the denominator of x2+1)2 gives the same result for x2+1 so in this video I'll just be considering the integral:I=cosxx2+1 dx
It's such an aesthetic result that I thought I'd investigate how the result was arrived at.
Flammable Maths YouTube channel solves this definite integral in three different ways, although in this post I'll only be looking at the Feynman method. I'll be simply reproducing the steps outlined in the video that is shown below. It's a good opportunity to practise my LaTeX.


The first step is to introduce a variable t into the integral:I(t)=cos(tx)x2+1 dx
When t=1, we have I(1)=I. Now we'll determine the first and second derivatives. Let's start with the first derivative:I'(t)=tcos(tx)x2+1 dx=1x2+1xsin(tx) dx
Now we multiply top and bottom by x and add 0 in the form of +1+1:I'(t)=(x2+11)sin(tx)x(x2+1) dx
We can now split the integral into two parts thanks to our +1+1 trick:I'(t)=(x2+1)sin(tx)x(x2+1) dx+sin(tx)x(x2+1) dx
The first part of the integral simplifies to:sin(tx)x dx=π
We'll just accept that result for the moment and so we have the following result for the first derivative:I'(t)=π+sin(tx)x(x2+1) dx
Now we'll find the second derivative:I''(t)=tsin(tx)x(x2+1) dx=cos(tx)(x2+1 dx=I(t)
The fact the the second derivative of the function is equal to the original function means that we have a second order linear differential equation of the form:I''(t)I(t)=0 where we'll assume that I(t)=ceλt
This means that I''(t)=λ2ceλt and substituting this into the differential equation we get:λ2ceλtceλt=0ceλt(λ21)=0 and λ=±1
Thus we have: I(t)=c1et+c2et and I'(t)=c1etc2et
I(0)=π=c1+c2 and I'(0)=π=c1c2c1=0 and c2=π
I(t)=πet and thus I(1)=I=πe
.Figure 2 shows a graph of the function:

Figure 2

Clearly there are negative areas under the curve that will cancel with the positive areas but the bulk of the area lies between π2 and π2.

Here are some links that Flammable Maths provides for some of the techniques used in this video:
There are lots of interesting integrals like the one we have just dealt with and I am certainly out of practice in dealing with them. I should make posts like this more frequently. Looking back over my previous posts, I notice that I've made the following integration-related posts:

No comments:

Post a Comment