The question says that suppose f(x) is a density function of a normal distribution with mean u and standard dev o(sigma). Sow that u= integral from -infinity to infinity of x(fx)dx.

= f(x)

What I did was substitue 0 for u and 1 for sigma since its a normal distribution. THen took the integral using substitution and got the integral =0. I then said since u=o and the integral =0 then u=integral. Is that correct?