As you can see in Graph I, the areas in purple and blue [some colours may've been lost through scanning] add up to the big rectangle, bf(b), minus af(a), the small rectangle.
There is a change of variable in f^(-1)(t) because the area isn't taken from the x-axis, but from the t-axis. f^(-1)(x) is the inverse of f(x). It is obtained either by switching variables and rearranging the equation again or by reflecting it in the line y=x. Alternatively, you can rotate the graph 90º anticlockwise to see the change.
The reason why f(x) must be increasing in the interval a ≤ x ≤ b is shown in Graph II. If it weren't, if at some point it reached a turning point and began to decrease, the area (orange) at the top would not accounted for.
If f(x) is always decreasing in the interval a ≤ x ≤ b, a similar formula comes out, but through more algebraic manipulation. The area called 'A' in Graph III is:
A = bf(a) - bf(b) - ∫(f(b) to f(a)) of f^(-1)(t)dt
but,
A = bf(a) - af(a) - ∫(a to b) of f(x)dx
so
bf(a) - bf(b) - ∫ (f(b) to f(a)) of f^(-1)(t)dt = bf(a) - af(a) - ∫(a to b) of f(x)dx
∫(a to b) of f(x)dx = bf(a) - af(a) - [bf(a) - bf(b) - ∫(f(b) to f(a)) of f^(-1)(t)dt]
∫(a to b) of f(x)dx = bf(b) - af(a) + ∫(f(b) to f(a)) of f^(-1)(t)dt
The difference with the other one is that ∫(f(b) to f(a)) of f^(-1)(t)dt is added, not subtracted. Additionally, the boundaries are swapped, as f(b) < f(a).
First, we can find the value of ∫(1 to 4) of sqrt(t) dt the conventional way. It's visually easier to see if we do ∫(1 to 4) of sqrt(t) dt, and we can refer to Graph IV.
∫(1 to 4) of sqrt(x) dx = [2/3 x^(3/2)](1 to 4)
= 2/3 * 4^(3/2) - 2/3 * 1^(3/2)
= 2/3 * 8 - 2/3
= 16/3 - 2/3
= 14/3
Now the other way:
∫(1 to 4) of sqrt(x) dx = bf(b) - af(a) - ∫(f(a) to f(b)) of f^(-1)(t)dt
= 4*sqrt(4) - 1*sqrt(1) - ∫(sqrt(1) to sqrt(4)) of t² dt
= 8 - 1 - ∫(sqrt(1) to sqrt(4)) of t² dt
= 7 - [1/3 t³](1 to 2)
= 7 - [(1/3 * 2³) - (1/3 * 1³)
= 21/3 - 8/3 + 1/3
= 14/3
Which gives the same answer!
For sin^(-1)(x), using Graph V:
∫(0 to 1) of sin^(-1)(x) dx = bf(b) - af(a) - ∫(f(a) to f(b)) of f^(-1)(t)dt
= 1*sin^(-1)(1) - 0*sin^(-1)(0) - ∫(f(a) to f(b)) of sin(t)dt
sin^(-1)(1) = pi/2
sin^(-1)(0) = 0
so
∫(0 to 1) of sin^(-1)(x) dx = pi/2 - 0 - ∫(0 to pi/2) of sin(t)dt
= pi/2 - [-cos(t)](0 to pi/2)
= pi/2 - [(-cos(pi/2))-(-cos(0))]
= pi/2 - (0+1)
= pi/2 - 1
= (pi - 2)/2
This can be checked online or using the indefinite integral of sin^(-1)(x)
Another function that can be integrated using this method is ln(x). Graph VI has a sketch of ln(x)
∫(1 to e²) of ln(x) dx = e²*ln(e²) - 1*ln(1) - ∫(0 to 2) of e^t dt
= 2e² - 0 - [e^t](0 to 2)
= 2e² - (e² - eâ°)
= 2e² - e² + 1
= e² + 1
This can also be checked.
To try out the 'formula' for a continuous decreasing function (in the interval a ≤ x ≤ b) we can use cos^(-1)(x). There is a sketch on Graph VII
∫(0 to √2/2) of cos^(-1)(x) dx
cos^(-1)(0) = pi/2
cos^(-1)(√2/2) = pi/4
∫(0 to √2/2) of cos^(-1)(x) dx = √2/2*cos^(-1)(√2/2) - 0*cos^(-1)(x) + ∫(pi/4 to pi/2) of cos(t) dt
∫(0 to √2/2) of cos^(-1)(x) dx = (pi√2)/8 - 0 + [sin(t)](pi/4 to pi/2)
= (pi√2)/8 + (sin(pi/2) - sin(pi/4))
= (pi√2)/8 + 1 - √2/2
= (pi√2)/8 + 8/8 - 4√2/8
= (pi√2 - 4√2 + 8)/8
= (√2(pi-4) + 8)/8
≈ 0.848