Since is always positive, the above integral will be minimum if the inner integral is minimum. This results in the problem : Minimize with respect to . The minimum is given by