Can someone help me understand how this:
$$\frac{f_1(x)}{f_0(x)}=\frac{\frac{1}{\sqrt{2\pi\sigma^2}}\exp\left(-\frac{1}{2}\sum_{i=1}^n(x_i-1)^2\right)}{\frac{1}{\sqrt{2\pi\sigma^2}}\exp\left(-\frac{1}{2}\sum_{i=1}^nx_i^2\right)}$$
simplifies to this?:
$$\exp\left[n\left(\overline{x}_n-\frac{1}{2}\right)\right]$$
Thanks!
You can cancel the square root terms, obviously. Then, using laws of indices, combine the exponents. If you expand the brackets within the summation and express the sum as separate sums, terms will cancel. You will need the formula for the mean.