Products and Convolutions of Gaussian Probability Density Functions
Products and Convolutions of Gaussian Probability Density Functions
复制标题
DOI:
--
复制
发表时间:
2013
期刊:
影响因子:
--
通讯作者:
P. Bromiley
中科院分区:
文献类型:
--
作者:
P. Bromiley
It is well known that the product and the convolution of two Gaussian probability density functions (PDFs) are also Gaussian. This memo provides derivations for the mean and standard deviation of the resulting Gaussians in both cases. These results are useful in calculating the effects of smoothing applied as an intermediate step in various algorithms. 1 The Product of Two Gaussian PDFs We wish to find the product of two Gaussian PDFs f(x) = 1 √ 2πσf e − (x−μf ) 2 2σ2 f and g(x) = 1 √ 2πσg e − (x−μg) 2 2σ2 g (1) in the most general case i.e. non-identical means. The product gives f(x)g(x) = 1 2πσfσg e − ( (x−μf ) 2 2σ2 f + (x−μg) 2 2σ2 g ) (2) Examining the term in the exponent α = (x− μf ) 2σ2 f + (x− μg) 2σ2 g (3) we can expand the two quadratics and collect terms in powers of x to give α = (σ f + σ 2 g)x 2 − 2(μfσ g + μgσ 2 f )x+ μ 2 fσ 2 g + μ 2 gσ 2 f 2σ2 fσ 2 g (4) Dividing through by the coefficient of x gives α = x − 2 μfσ 2 g+μgσ 2 f σ2 f +σ2 g x+ μ2fσ 2 g+μ 2 gσ 2 f σ2 f +σ2 g 2 σ2 f σ2 g σ2 f +σ2 g (5) This is again a quadratic in x, and so Eq. 2 is a Gaussian function. Compare the terms in Eq. 5 to a the usual Gaussian form P (x) = 1 √ 2πσ e (x−μ)2 2σ2 = 1 √ 2πσ e (x2−2μx+μ2) 2σ2 (6) Since we can add a term γ that is independent of x to complete the square in α, this is sufficent to complete the proof in cases where the normalisation can be ignored. The product of two Gaussian PDFs is proportional to a Gaussian PDF with a mean that is half the coefficient of x in Eq. 5 and a standard deviation that is the square root of half of the denominator i.e. σfg = √ σ2 fσ 2 g σ2 f + σ 2 g and μfg = μfσ 2 g + μgσ 2 f σ2 f + σ 2 g (7) In general, the product is not itself a PDF as, due to the presence of the scaling factor, it will not have the correct normalisation. We can now either write down the product f(x)g(x) in the usual Gaussian form directly, with an unknown scaling constant, or proceed from Eq. 5 to obtain the scaling constant explicitly. Taking the latter route, suppose that γ is the term required to complete the square in α i.e. γ = ( μfσ 2 g+μgσ 2 f σ2 f +σ2 g )2 − ( μfσ 2 g+μgσ 2 f σ2 f +σ2 g )2 2σ2 f σ2 g (σ2 f +σ2 g) = 0 (8) Adding this term to α gives α = x − 2x μfσ 2 g+μgσ 2 f σ2 f +σ2 g + ( μfσ 2 g+μgσ 2 f σ2 f +σ2 g )2 2σ2 f σ2 g (σ2 f +σ2 g) + μ2fσ 2 g+μ 2 gσ 2 f σ2 f +σ2 g − ( μfσ 2 g+μgσ 2 f σ2 f +σ2 g )2 2σ2 f σ2 g (σ2 f +σ2 g) (9) After some manipulation, this reduces to α = ( x− μfσ 2 g+μgσ 2 f σ2 f +σ2 g )2 2 σ2 f σ2 g σ2 f +σ2 g + (μf − μg) 2(σ2 f + σ 2 g) = (x− μfg) 2 2σ2 fg + (μf − μg) 2(σ2 f + σ 2 g) Substituting back into Eq. 2 gives f(x)g(x) = 1 2πσfσg exp [