Q.
The number of numbers of 9 different non-zero digits such that all the digits in the first four places are less than the digit in the middle and all the digits in the last four places are greater than the digit in the middle is
x1x2x3x4x5x6x7x8x9. Under the given situation x5 can be 5 only. The selection for x1,x2,x3,x4 must be from 1,2,3,4, so they can be arranged 4! ways. Again the selection of x6,x7,x8,x9 must be from 6,7,8,9 so they can be arranged in 4! ways.
Desired number of ways =(4!)(4!)=(4!)2