In the first post of this series centered around my university degree I will be talking about integration. Now this topic wasn’t mentioned in our script but I rather stumbled upon it on youtube.

The premise is the following:

We assume that we have a function f(x) which we can integrate over the interval a to b.

Calculate the following integral: 24x6x+xdx\int_{2}^{4}\frac{\sqrt{x}}{\sqrt{6-x} + \sqrt{x}} dx Doesn’t look trivial now, does it? But miraculously, it is! This whole integral equates to: ba2=1\frac{b-a}{2} = 1.

Let’s take a look at another integral for fun. 0π2sinxsinx+cosxdx\int_{0}^{\frac{\pi}{2}}\frac{\sqrt{sin x}}{\sqrt{sin x} + \sqrt{cos x}}dx

Can you see an emerging pattern? This is yet again equal to: ba2=π22=π4\frac{b-a}{2} = \frac{\frac{\pi}{2}}{2} = \frac{\pi}{4}.

We can observe that for any integral of the form abf(x)f(a+bx)+f(x)dx\int_{a}^{b}\frac{f(x)}{f(a+b-x) + f(x)}dx the following holds: abf(x)f(a+bx)+f(x)dx=ba2\int_{a}^{b}\frac{f(x)}{f(a+b-x) + f(x)}dx = \frac{b-a}{2}.

Now if I were to just throw this out there I would probably get lynched by Ueli Maurer himself. Thus the proof goes as following: We know that: abf(x)f(a+bx)+f(x)dx=I\int_{a}^{b}\frac{f(x)}{f(a+b-x) + f(x)}dx = I This will be our first equation. Now we set u=a+bxu = a + b - x and dudx=1    du=dx\frac{du}{dx} = - 1 \implies du = -dx by putting that into our integral we receive: baf(a+bu)f(u)+f(a+bu)(du)=I    abf(a+bu)f(u)+f(a+bu)du=I    abf(a+bx)f(x)+f(a+bx)dx=I\int_{b}^{a}\frac{f(a+b-u)}{f(u) + f(a+b-u)} (-du) = I\newline \implies \int_{a}^{b}\frac{f(a+b-u)}{f(u) + f(a+b-u)} du = I \newline \implies \int_{a}^{b}\frac{f(a+b-x)}{f(x) + f(a+b-x)} dx = I Since u is only used as a placeholder variable we may rename it as x. By adding these two integrals (which both equal I) together, we are left with: abf(a+bx)+f(x)f(x)+f(a+bx)dx=2I    abdx=2I    ba=2I    I=ba2 \int_{a}^{b}\frac{f(a+b-x) + f(x)}{f(x) + f(a+b-x)} dx = 2I\newline \implies \int_{a}^{b} dx = 2I \newline \implies b-a = 2I \newline \implies I = \frac{b-a}{2} \square

Now you can solve some integrals very quickly and without the need of much calculation!

This post was largely inspired and based on this “MindYourDecisions” video. Check it out for another example for an integral which you can solve with this method.