Bivariate Gaussian-1
Bivariate Gaussian-1
Distribution
Vincent Savaux, Luc Le Magoarou
I. I NTRODUCTION
The problems of estimating unknown parameters from noisy
(disturbed) Gaussian observations and characterizing the per-
formance of estimators are ubiquitous in a vast majority of
quantitative fields. They have been thoroughly studied in an
unified way by detection and estimation theory [1]–[3], and Fig. 1. Example of domain of integration Ω.
are frequently met in signal processing and digital commu-
nications [4], [5] as well. The problems involving Gaussian
observations usually lead to the computation of multiple this approach is original. Furthermore, this leads us to define
integrals of multivariate Gaussian distributions. However, these an angular cumulative distribution function (CDF) of zero-
integrals generally do not admit closed-form solutions, and are mean bivariate Gaussian variables. Our geometrical approach
costly to approximate. of the problem is didactically illustrated, and our results are
In this paper, we focus on integrals of dimension two, i.e. compared with those of the literature [6]–[8].
we consider integrals of bivariate Gaussian densities over any The rest of the paper is organized as follows: Section II
angular sector of R2 . This problem has been widely tackled presents the general problem to be solved and gives the exist-
in literature [6]–[8], but leads to simple specific solutions ing special solutions. In Section III, we derive the generalized
or intractable general solutions. Indeed, authors in [6], [7] solution, and Section V concludes this paper.
propose a closed-form expression of the integral in the case Notations: Vectors and matrices are respectively written in
where two correlated Gaussian variables have the same unitary lower and upper case in boldface: x, and X. The scalars are
variance, and the domain of integration is one quadrant of R2 written in normal font: x or X. Moreover, (.)T and |.| stand
(e.g. (R+ , R+ )). In [8], the distributions of the envelope and for the transpose and determinant operators, respectively, and
the phase of two correlated Gaussian variables are derived in a E{.} for the mathematical expectation.
very general case of non-zero mean and non-unitary variance.
However, these distributions have no closed-form nor tractable II. BACKGROUND AND C OMMON R ESULTS
expressions, and the resulting probabilities even require the Let X and Y be two zero-mean Gaussian random variables
integration of these ones. with variances σx2 = E{X 2 } and σy2 = E{Y 2 }, respectively.
In the present paper, we tackle the problem of the integral Moreover, the two variables X and Y are correlated, such
of a bivariate Gaussian centred distribution over any angular that E{XY } = ρσx σy , where ρ ∈ [−1, 1] is the so-called
sector of R2 delimited by two linear functions, and in the correlation coefficient. The joint probability density function
case where two correlated Gaussian variables have different of (X, Y ), denoted by gX,Y , can be expressed as
variances. To do so, we use a geometrical approach to rewrite
the double integral as a single one, leading to an accessible and 1 1
gX,Y (x) = exp(− xT Σ−1 x), (1)
tractable closed-form solution. To the best of our knowledge,
p
2π |Σ| 2
y
where x = (x, y) ∈ R2 , and Σ is the covariance matrix defined ν f2(x)
as
σν θ2
!
σx2 ρσx σy
Σ = E{(X, Y )T (X, Y )} = , (2)
ρσx σy σy2 A(θ1,θ2) σξ
ξ
such that |Σ| = σx2 σy2 (1 − ρ2 ). Computing any probability θ1
involving both X and Y (e.g. P(X ≶ 0 ∩ Y ≶ 0) or P(X ≶
0 ∪ Y ≶ 0)) requires the integral of (1) over subsets of R2 . In φ
f1(x)
the following, we consider the integral of gX,Y (x) over any x
angular sector in R2 , and we define the integral
ZZ Fig. 2. Sector area of an ellipse in the general case.
M= gX,Y (x)dxdy, (3)
Ω the semi-major or semi-minor axes of the ellipse (5). Using
where Ω is the angular sector which can be defined by the general ellipse equation and straightforward geometrical
developments, they are expressed as
Ω = {f1 (x) ≶ y ≶ f2 (x), x ∈ R}, (4)
1
and f1 (x) and f2 (x) are linear functions such as illustrated σξ = σx2 cos2 (ϕ) + σy2 sin2 (ϕ) + ρσx σy sin(2ϕ) 2
in Fig. 1. Note that such angular divisions of R2 are usually 1
σν = σx2 sin2 (ϕ) + σy2 cos2 (ϕ) − ρσx σy sin(2ϕ) 2 , (7)
considered in digital communications, for instance to define
phase shift keying (PSK) modulations. where ϕ is the angle between the axes x and ξ, and is defined
It must be reminded that a straightforward closed form of as
M is obtained when Σ is a scaled identity matrix. Moreover,
2ρσx σy
1
a closed-form solution of the double integral (3) has been 2 arctan σ2 −σ 2 , if σx2 > σy2
x y
suggested in [6], [7] for any ρ value, but only in the case
ϕ = π + 1 arctan 2ρσ x σy
if σx2 > σy2 . (8)
where σx2 = σy2 = 1 and Ω = (R+ , R+ ). In that case, we 2 2 σx −σy ,
2 2
π
obtain M = 41 + arcsin(ρ) . We hereby generalize the result to 4, if σx2 = σy2
2π
any case where σx2 and σy2 are non-unitary variances, as well Theorem 1. Let p ∈ [0, 1] be defined as the ratio of the semi-
as any domain of integration defined as Ω. Moreover, this minor and semi-major axes of the ellipse in (5), i.e. p = σσνξ .
leads us to define an angular cumulative distribution function Then, for any θ1 , θ2 ∈ [−π, π], M can be expressed as
of bivariate Gaussian random variables.
ZZ
III. A C LOSED -F ORM S OLUTION TO (3) M= gX,Y (x)dxdy
In this section, we derive a general solution of (3) in Ω
Theorem 1. To this end, let us first consider the change of Q(θ1 , θ2 )
basis (x, y) 7→ (ξ, ν) where (ξ, ν) correspond to semi-axes of = , (9)
π
the ellipse defined by the equation where Q(θ1 , θ2 ) is the function such that the area A(θ1 , θ2 )
(x, y)T Σ−1
m,n (x, y) = 1, (5) of the elliptic sector bounded by (θ1 , θ2 ) is defined by
A(θ1 , θ2 ) = σν σξ Q(θ1 , θ2 ). For simplicity purpose, we denote
such as illustrated in Fig. 2. This ellipse is a level set of θM = max(|θ1 |, |θ2 |) and θm = min(|θ1 |, |θ2 |). Then, if
the function gX,Y . Without loss of generality, we assume that θ1 , θ2 ∈ [− π2 , π2 ], we have
ξ and ν correspond to the semi-major and semi-minor axes,
respectively. Moreover, θ1 and θ2 are arbitrarily defined as the (
u(|θM |) − u(|θm |), if sign(θ1 ) = sign(θ2 )
angles between the semi-major axis ξ and the lines f1 (x) and Q(θ1 , θ2 ) = ,
f2 (x), respectively. u(|θM |) + u(|θm |), if sign(θ1 ) 6= sign(θ2 )
After the aforementioned change of basis, M in (3) can be (10)
rewritten as where u(θ) = 21 arctan( p1 tan(θ)). If θ1 ∈ [−π, − π2 ] ∪ [ π2 , π]
and θ2 ∈ [− π2 , π2 ] (θ1 and θ2 are exchangeable), then we get
ZZ
1 1 ξ
2 ν 2
M= exp − + dξdν, (6)
π
2πσξ σν 2 σξ σν 2 − u(π − |θM |) − u(|θm |), if
Ωξ,ν
sign(θ1 ) = sign(θ2 )
where Ωξ,ν is the new domain of integration of ξ and ν, Q(θ1 , θ2 ) = . (11)
π
which corresponds to the rotated angular sector Ω in the new 2 − u(π − |θM |) + u(|θm |), if
basis. The standard deviations σξ and σν are the length of
sign(θ ) 6= sign(θ )
1 2
allowing us to write ξ ∈ [0, +∞[ in function of z. Such
as aforementioned, M in (6) can then be rewritten as the
C integral of the sector areas A(ξ(z), θ1 , θ2 ) of the ellipse over
z ∈ [0, C = 2πσ1ν σξ ] (see Fig. 3), which yields
A(ξ(z),θ1,θ2) Z C
M= A(ξ(z), θ1 , θ2 )dz. (15)
0
σν
Hence, considering the substitution X = ln( Cz ) and p = σξ ,
z dz we obtain
Z C
C
M= 2pQ(θ1 , θ2 )σξ2 ln( )dz
z
Z0 +∞
= 2pQ(θ1 , θ2 )σξ2 Ce−X dX
0 0
ξ(z) ξ pQ(θ1 , θ2 )σξ2
=
Fig. 3. The integral M can be computed by integrating A(ξ(z), θ1 , θ2 ) over πσν σξ
the axis z. Q(θ1 , θ2 )
= , (16)
π
Finally, if θ1 , θ2 ∈ [−π, − π2 ] ∪ [ π2 , π], we obtain which concludes the proof.
u(π+θ )
ξ(z) =g −1 (z) π ,
1
if θ1 ∈ [−π, − π2 ]
C 12 M(θ1 ) = 21 + u(θπ1 ) , if θ1 ∈ [− π2 , π2 ] . (17)
= 2σξ2 ln( ) , (14)
1 − u(π−θ 1)
, if θ1 ∈ [ π2 , π]
z
π
1 r 1 + ρ
M = arctan . (18)
1 π 1−ρ
0.8
Then, by using some relationship between trigonometric func-
0.6
tions (e.g. the half-angle formula), we obtain the equivalent
CDF
0.4
expressions:
0.2
0
1 1+ρ
3 M= arctan p
2
π 1 − ρ2
1 1 1 p1 − ρ2
= − arctan
θ2
0
2 π 1+ρ
-1
1 1
-2 3
= − arccos(ρ)
0
1
2 2 2π
-3
-2
-1
θ1
1 1
-3
= + arcsin(ρ). (19)
4 2π
Similarly, it can be straightforwardly shown that if ρ ≥ 0 and
Fig. 4. M interpreted as the angular CDF of bivariate Gaussian variables
(X, Y ), for p = 1/3. Ω = (R+ , R− ) (or equivalently ρ ≤ 0 and Ω = (R+ , R+ ))
1
we have M = 2π arccos(ρ). These results also match
√ those
1−ρ2
obtained by the integration of the PDF fθ (θ) = 2π(1−ρ sin(2θ))
1
given in [8] (see (4) in [8] considering zero-mean variables):
0.9
Z π2
1 1
0.8 fθ (θ)dθ = + arcsin(ρ). (20)
0 4 2π
0.7
θ2 = - π Moreover, it must be noted that these expressions only
0.6
depend on ρ, and we can show that this behavior holds for
CDF
φ V. C ONCLUSION
In this paper we suggested a geometrical approach to
x solve the problem of integrating centered bivariate Gaussian
densities over any domain defined as an angular sector of R2 .
This led to a tractable solution composed of trigonometric
functions, which can be seen a the angular CDF of a couple
of centered Gaussian variables (X, Y ). The developments
were illustrated to provide a didactic approach of our results.
Furthermore, we compared them to those of the literature in
Fig. 6. Example of application for problems such as (22). order to validate our solution. Future works will investigate the
possible extension of the suggested geometrical approach to
non-centred correlated Gaussian variables, as well as problems
10 of dimension larger than two.
9 r = 0.25
P = 0.29
A PPENDIX
8
A. Proof of the expression of A(ξ, θ)
7
y=x We consider an ellipse with semi-major and semi-minor
6 axes ξ and ν, respectively. The area A of the elliptical sector
5
r=1 between the semi-major axis and the radius r with angle dθ
y
P = 0.167 2
is equal to A = r2 dθ. The parametric equation of the ellipse
4
is expressed as
r=4
3
P = 0.04
x = ξ cos(t)
2
y = ν sin(t).
1
Thus, any radius with length r and angle φ (corresponding to
0
0 1 2 3 4 5 6 7 8 9 10 parameter t = tφ ) with respect to the semi-major axis admits
x
the equations: