Thank you to Derek Wan and Andrei Lazanu for this solution which is composed from Derek's written work and Andrei's diagrams.
y=f(x)
Consider the graph of an arbitrary function y=f(x) defined over the interval a<x<b. We can see from the diagram that the rectangle with base b and height f(b) consists of the three smaller parts: the white part with area bf(b)-af(a) and the parts shaded yellow and green. The area of the part shaded green is a b f(x)dx). So
The yellow area + a b f(x)dx=bf(b)-af(a).

In the diagram mark the lines y=a and y=b in addition to y=f(a) and y=f(b) and reflect the graph of y=f(x) across the line y=x to obtain the inverse function y= f-1 (x). Extending the lines y=a and y=b helps us to find x=f(a) and x=f(b) the bounds for integration. This gives us the yellow area and thus the formula:
f(a) f(b) f-1 (t)dt+ a b f(x)dx=bf(b)-af(a).

We can find 1 4 tdt by direct integration:
1 4 tdt= [ 2 3 t 3 2 ]1 4 = 14 3 .

Or we can use the formula with f(x)= x2 , f(a)= a2 =1 so a=1 and f(b)= b2 =4 so b=2
1 4 tdt =- 1 2 x2 dx+(2×4-1×1) =- [ 1 3 x3 ]1 2 +7 =- 7 3 +7 = 14 3

and this is in agreement with the previous result.

In a similar fashion we find 0 1 sin-1 tdt with f(x)=sinx, f(a)=sina=0 so a=0, and f(b)=sinb=1 so b=π/2 :
0 1 sin-1 tdt+ 0 π/2 sinxdx= π 2 .

Hence
0 1 sin-1 tdt= π 2 -[-cosx ]0 π/2 = π 2 -1.

Verification by direct integration:
0 1 sin-1 tdt =[t sin-1 t+1- t2 ]0 1 =(1× sin-1 1+1- 12 )-(0× sin-1 0+1- 02 ) =( π 2 +0)-(0+1)= π 2 -1

which is agreement with the previous result.

Editors note: this formula provides a method for carrying out integration where the function cannot be integrated directly but the inverse function can be integrated.