Re: integration problem ..not directly applicable ..not easy
Just wanna assue you that the matrix B is easy to get. Actually, B consists of only two numbers in the whole matrix, just like that the matrix A consists of two numbers which are 1 and -1. On the diagonal of B, the element is -(n-3)/(2(n-2)) while it is 1/(2(n-2)) everywhere else. Again, you may wanna check AB=I, which is the unit matrix.