An analytic study of opinion dynamics in multi-agent systems with additive random noise