Consider the following:$$$$ If $S^2$ is the sample variance based on a sample of size n from a normal population, we know that $\displaystyle\frac{(n-1)S^2}{\sigma ^2} \sim \chi ^2_{n-1}$. The conjugate prior for $\sigma ^2$ is the inverted gamma pdf $IG(\alpha,\beta)$, that is: $$ \displaystyle \pi(\sigma^2)=\frac{1}{\Gamma(\alpha)\beta^\alpha(\sigma^2)^{\alpha+1}}e^{-\frac{1}{\beta \sigma^2}} $$ I would like to show that the posterior distribution of $\sigma ^2$ is $\displaystyle IG(\alpha+\frac{n-1}{2},\Big[\frac{(n-1)S^2}{2}+\frac{1}{\beta}\Big]^{-1})$
$$$$
What exactly is a prior distribution, posterior distribution, and conjugate prior? If you can, please state both a formal and informal definition/description.