Let $X_1,\ldots, X_n$ be a random sample from a population with mean $\mu$. What condition must be imposed on $a_1,\ldots,a_n$ such that $$a_1X_1+\ldots+a_nX_n$$ is an unbiased estimator of $\mu$.
I am new to statistics and am not sure how to handle this problem. The definition for an unbiased estimator that I am using is:
$\hat{\Theta}$ is an unbiased estimator of $\theta$ (or $\mu$ in this case) if $E(\hat{\Theta})=\theta$ for all $\theta$.
Here $\hat{\Theta}=a_1X_1+\ldots+a_nX_n$. Now my intuition would say that $a_i=\frac{1}{n}$ for $i=1,\ldots n$ definitely makes $\hat{\Theta}=a_1X_1+\ldots+a_nX_n$ an unbiased estimator. Maybe also any combination satisfying $\sum\limits_{i=1}^{n}a_n=1$ but I am not sure about this one. However I am not sure how to prove this using the definition of the expected value. I am pretty sure this question should not be too difficult but I'm new to stats, so any help would be greatly appreciated!! Thanks in advance