We are deriving the mean of a continuous distribution here. The formula for which is integral of x into f(x). That's why pdf is multiplied by x. If you don't multiply it with x, you will get the sum of probability that is 1!
Last edited: Jul 12, 2017
John Lee and mcallist like this.