Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2019/ii/paper-3/28j/b/solution

Multiplying the likelihood by the gamma distribution prior density gives
Thus Gamma-exponential conjugacy gives
where the second parameter is the rate. Under squared-error loss, the Bayes estimator under squared error loss is the posterior mean, hence

New to topics? Read the docs here!