SlideShare a Scribd company logo
1 of 3
Download to read offline
An Alternative Expression for the Log-Likelihood Ratio of the Multivariate Normal Distribution
Cole Arora
April 1, 2014
Theorem Suppose prior distribution P(i) = gi for all i ∈ {1, . . . , m} and multivariate normal model X|i ∼ Nk(µi
, Σ) for the k-vector of data X =
[ X1 ··· Xk ] , where the mean vector µi
= E[X|i] = [ E[X1|i] ··· E[Xk|i] ] = [ µi
1 ··· µi
k ] and the common, symmetric covariance matrix Σ is positive definite.
Then the log-likelihood ratio, computed posterior to making the observation x = [ x1 ··· xk ] , has the form
log
f(x|j)
f(x|i)
= x −
µi
+ µj
2
Σ−1
(µj
− µi
). (1)
Proof The left-hand side of Equation (1) can be expanded using the definition of the joint probability density function of the multivariate normal
distribution — which exists only because Σ is positive definite — as follows:
log
f(x|j)
f(x|i)
= log
1√
(2π)k|Σ|
exp −1
2 (x − µj
) Σ−1
(x − µj
)
1√
(2π)k|Σ|
exp −1
2 (x − µi) Σ−1
(x − µi)
= log exp
1
2
(x − µi
) Σ−1
(x − µi
) −
1
2
(x − µj
) Σ−1
(x − µj
)
=
1
2
(x − µi
) Σ−1
(x − µi
) −
1
2
(x − µj
) Σ−1
(x − µj
). (2)
For expediency, let
Σ−1
=





Σ−1
11 Σ−1
12 · · · Σ−1
1k
Σ−1
21 Σ−1
22 · · · Σ−1
2k
...
...
...
...
Σ−1
k1 Σ−1
k2 · · · Σ−1
kk





.
1
Substitution for x, µi
, µj
, and Σ−1
in Equation (2) gives
1
2
x1 − µi
1 · · · xk − µi
k





Σ−1
11 Σ−1
12 · · · Σ−1
1k
Σ−1
21 Σ−1
22 · · · Σ−1
2k
...
...
...
...
Σ−1
k1 Σ−1
k2 · · · Σ−1
kk








x1 − µi
1
...
xk − µi
k


 −
1
2
x1 − µj
1 · · · xk − µj
k





Σ−1
11 Σ−1
12 · · · Σ−1
1k
Σ−1
21 Σ−1
22 · · · Σ−1
2k
...
...
...
...
Σ−1
k1 Σ−1
k2 · · · Σ−1
kk








x1 − µj
1
...
xk − µj
k



=
1
2
k
a=1
(xa − µi
a)(Σ−1
a1 ) · · ·
k
a=1
(xa − µi
a)(Σ−1
ak )



x1 − µi
1
...
xk − µi
k


 −
1
2
k
a=1
(xa − µj
a)(Σ−1
a1 ) · · ·
k
a=1
(xa − µj
a)(Σ−1
ak )



x1 − µj
1
...
xk − µj
k



=
1
2
k
b=1
k
a=1
(xa − µi
a)(Σ−1
ab )(xb − µi
b) −
1
2
k
b=1
k
a=1
(xa − µj
a)(Σ−1
ab )(xb − µj
b)
=
1
2
k
b=1
k
a=1
(Σ−1
ab ) (xa − µi
a)(xb − µi
b) − (xa − µj
a)(xb − µj
b)
=
1
2
k
b=1
k
a=1
(Σ−1
ab )(xaxb − xaµi
b − xbµi
a + µi
aµi
b − xaxb + xaµj
b + xbµj
a − µj
aµj
b)
=
1
2
k
b=1
k
a=1
(Σ−1
ab )(−xaµi
b − xbµi
a + µi
aµi
b + xaµj
b + xbµj
a − µj
aµj
b)
=
1
2
k
b=1
k
a=1
(Σ−1
ab ) xa(µj
b − µi
b) + xb(µj
a − µi
a) + µi
aµi
b − µj
aµj
b . (3)
There are two key (and somewhat trivial) points that must be realized at this point about the terms under double summation; failure to do so makes
finishing the proof in this way impossible. The first point:
k
b=1
k
a=1
xa(µj
b − µi
b)(Σ−1
ab ) =
k
b=1
k
a=1
xb(µj
a − µi
a)(Σ−1
ba ) =
k
b=1
k
a=1
xb(µj
a − µi
a)(Σ−1
ab ),
where the first equality simply represents a renaming of the indices, and where the second equality holds because the matrix inverse of a symmetric matrix
2
is symmetric. So from this point forward, it is justified to replace xb(µj
a −µi
a) with xa(µj
b −µi
b) in the summand of Equation (3). The second point is similar:
k
b=1
k
a=1
(µi
bµj
a − µi
aµj
b)(Σ−1
ab ) =
k
b=1
k
a=1
(µi
bµj
a)(Σ−1
ab ) −
k
b=1
k
a=1
(µi
aµj
b)(Σ−1
ab )
=
k
b=1
k
a=1
(µi
bµj
a)(Σ−1
ab ) −
k
b=1
k
a=1
(µi
bµj
a)(Σ−1
ba )
=
k
b=1
k
a=1
(µi
bµj
a)(Σ−1
ab ) −
k
b=1
k
a=1
(µi
bµj
a)(Σ−1
ab )
= 0,
so the addition of the quantity (µi
bµj
a − µi
aµj
b) into the right-most term in the summand of Equation (3) would change absolutely nothing, which turns out
to be useful.
Using these two insights, Equation (3) can be rewritten as follows:
1
2
k
b=1
k
a=1
(Σ−1
ab ) 2xa(µj
b − µi
b) + µi
bµj
a − µi
aµj
b + µi
aµi
b − µj
aµj
b =
k
b=1
k
a=1
xa −
µi
a + µj
a
2
(Σ−1
ab )(µj
b − µi
b)
=
k
a=1
xa −
µi
a + µj
a
2
(Σ−1
a1 ) · · ·
k
a=1
xa −
µi
a + µj
a
2
(Σ−1
ak )



µj
1 − µi
1
...
µj
k − µi
k



= x1 −
µi
1 + µj
1
2
· · · xk −
µi
k + µj
k
2





Σ−1
11 Σ−1
12 · · · Σ−1
1k
Σ−1
21 Σ−1
22 · · · Σ−1
2k
...
...
...
...
Σ−1
k1 Σ−1
k2 · · · Σ−1
kk








µj
1 − µi
1
...
µj
k − µi
k



= x −
µi
+ µj
2
Σ−1
(µj
− µi
).
3

More Related Content

What's hot

Student_Garden_geostatistics_course
Student_Garden_geostatistics_courseStudent_Garden_geostatistics_course
Student_Garden_geostatistics_course
Pedro Correia
 
Daniel Hong ENGR 019 Q6
Daniel Hong ENGR 019 Q6Daniel Hong ENGR 019 Q6
Daniel Hong ENGR 019 Q6
Daniel Hong
 
Math 2 Application of integration
Math 2 Application of integrationMath 2 Application of integration
Math 2 Application of integration
lightspeed2
 
Change of order in integration
Change of order in integrationChange of order in integration
Change of order in integration
Shubham Sojitra
 
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
Alex (Oleksiy) Varfolomiyev
 

What's hot (18)

Student_Garden_geostatistics_course
Student_Garden_geostatistics_courseStudent_Garden_geostatistics_course
Student_Garden_geostatistics_course
 
Tl
TlTl
Tl
 
Index notation
Index notationIndex notation
Index notation
 
NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)
 
A brief survey of tensors
A brief survey of tensorsA brief survey of tensors
A brief survey of tensors
 
system of algebraic equation by Iteration method
system of algebraic equation by Iteration methodsystem of algebraic equation by Iteration method
system of algebraic equation by Iteration method
 
Toukei ~20210605
Toukei ~20210605Toukei ~20210605
Toukei ~20210605
 
Daniel Hong ENGR 019 Q6
Daniel Hong ENGR 019 Q6Daniel Hong ENGR 019 Q6
Daniel Hong ENGR 019 Q6
 
08lowess
08lowess08lowess
08lowess
 
A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...
A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...
A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...
 
Math 2 Application of integration
Math 2 Application of integrationMath 2 Application of integration
Math 2 Application of integration
 
Change of order in integration
Change of order in integrationChange of order in integration
Change of order in integration
 
An Asymptotic Approach of The Crack Extension In Linear Piezoelectricity
An Asymptotic Approach of The Crack Extension In Linear PiezoelectricityAn Asymptotic Approach of The Crack Extension In Linear Piezoelectricity
An Asymptotic Approach of The Crack Extension In Linear Piezoelectricity
 
Caculus
CaculusCaculus
Caculus
 
Triple integrals and applications
Triple integrals and applicationsTriple integrals and applications
Triple integrals and applications
 
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
 
Double & triple integral unit 5 paper 1 , B.Sc. 2 Mathematics
Double & triple integral unit 5 paper 1 , B.Sc. 2 MathematicsDouble & triple integral unit 5 paper 1 , B.Sc. 2 Mathematics
Double & triple integral unit 5 paper 1 , B.Sc. 2 Mathematics
 
Plank sol
Plank solPlank sol
Plank sol
 

Similar to Multivariate normal proof

Kittel c. introduction to solid state physics 8 th edition - solution manual
Kittel c.  introduction to solid state physics 8 th edition - solution manualKittel c.  introduction to solid state physics 8 th edition - solution manual
Kittel c. introduction to solid state physics 8 th edition - solution manual
amnahnura
 
Natural and Clamped Cubic Splines
Natural and Clamped Cubic SplinesNatural and Clamped Cubic Splines
Natural and Clamped Cubic Splines
Mark Brandao
 
dhirota_hone_corrected
dhirota_hone_correcteddhirota_hone_corrected
dhirota_hone_corrected
Andy Hone
 

Similar to Multivariate normal proof (20)

Kittel c. introduction to solid state physics 8 th edition - solution manual
Kittel c.  introduction to solid state physics 8 th edition - solution manualKittel c.  introduction to solid state physics 8 th edition - solution manual
Kittel c. introduction to solid state physics 8 th edition - solution manual
 
On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...
On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...
On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...
 
The Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability DistributionThe Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability Distribution
 
maths convergence.pdf
maths convergence.pdfmaths convergence.pdf
maths convergence.pdf
 
03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf
 
03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf
 
PhotonModel
PhotonModelPhotonModel
PhotonModel
 
Convergence Criteria
Convergence CriteriaConvergence Criteria
Convergence Criteria
 
Natural and Clamped Cubic Splines
Natural and Clamped Cubic SplinesNatural and Clamped Cubic Splines
Natural and Clamped Cubic Splines
 
Bayes gauss
Bayes gaussBayes gauss
Bayes gauss
 
Maths04
Maths04Maths04
Maths04
 
Simplification of Boolean Function
Simplification of Boolean FunctionSimplification of Boolean Function
Simplification of Boolean Function
 
An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...
An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...
An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...
 
Fast parallelizable scenario-based stochastic optimization
Fast parallelizable scenario-based stochastic optimizationFast parallelizable scenario-based stochastic optimization
Fast parallelizable scenario-based stochastic optimization
 
Applications of Differential Calculus in real life
Applications of Differential Calculus in real life Applications of Differential Calculus in real life
Applications of Differential Calculus in real life
 
Strong convergence of an algorithm about strongly quasi nonexpansive mappings
Strong convergence of an algorithm about strongly quasi nonexpansive mappingsStrong convergence of an algorithm about strongly quasi nonexpansive mappings
Strong convergence of an algorithm about strongly quasi nonexpansive mappings
 
A new implementation of k-MLE for mixture modelling of Wishart distributions
A new implementation of k-MLE for mixture modelling of Wishart distributionsA new implementation of k-MLE for mixture modelling of Wishart distributions
A new implementation of k-MLE for mixture modelling of Wishart distributions
 
Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...
Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...
Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...
 
AJMS_389_22.pdf
AJMS_389_22.pdfAJMS_389_22.pdf
AJMS_389_22.pdf
 
dhirota_hone_corrected
dhirota_hone_correcteddhirota_hone_corrected
dhirota_hone_corrected
 

Recently uploaded

Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
shivangimorya083
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
JohnnyPlasten
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
AroojKhan71
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 

Recently uploaded (20)

Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 

Multivariate normal proof

  • 1. An Alternative Expression for the Log-Likelihood Ratio of the Multivariate Normal Distribution Cole Arora April 1, 2014 Theorem Suppose prior distribution P(i) = gi for all i ∈ {1, . . . , m} and multivariate normal model X|i ∼ Nk(µi , Σ) for the k-vector of data X = [ X1 ··· Xk ] , where the mean vector µi = E[X|i] = [ E[X1|i] ··· E[Xk|i] ] = [ µi 1 ··· µi k ] and the common, symmetric covariance matrix Σ is positive definite. Then the log-likelihood ratio, computed posterior to making the observation x = [ x1 ··· xk ] , has the form log f(x|j) f(x|i) = x − µi + µj 2 Σ−1 (µj − µi ). (1) Proof The left-hand side of Equation (1) can be expanded using the definition of the joint probability density function of the multivariate normal distribution — which exists only because Σ is positive definite — as follows: log f(x|j) f(x|i) = log 1√ (2π)k|Σ| exp −1 2 (x − µj ) Σ−1 (x − µj ) 1√ (2π)k|Σ| exp −1 2 (x − µi) Σ−1 (x − µi) = log exp 1 2 (x − µi ) Σ−1 (x − µi ) − 1 2 (x − µj ) Σ−1 (x − µj ) = 1 2 (x − µi ) Σ−1 (x − µi ) − 1 2 (x − µj ) Σ−1 (x − µj ). (2) For expediency, let Σ−1 =      Σ−1 11 Σ−1 12 · · · Σ−1 1k Σ−1 21 Σ−1 22 · · · Σ−1 2k ... ... ... ... Σ−1 k1 Σ−1 k2 · · · Σ−1 kk      . 1
  • 2. Substitution for x, µi , µj , and Σ−1 in Equation (2) gives 1 2 x1 − µi 1 · · · xk − µi k      Σ−1 11 Σ−1 12 · · · Σ−1 1k Σ−1 21 Σ−1 22 · · · Σ−1 2k ... ... ... ... Σ−1 k1 Σ−1 k2 · · · Σ−1 kk         x1 − µi 1 ... xk − µi k    − 1 2 x1 − µj 1 · · · xk − µj k      Σ−1 11 Σ−1 12 · · · Σ−1 1k Σ−1 21 Σ−1 22 · · · Σ−1 2k ... ... ... ... Σ−1 k1 Σ−1 k2 · · · Σ−1 kk         x1 − µj 1 ... xk − µj k    = 1 2 k a=1 (xa − µi a)(Σ−1 a1 ) · · · k a=1 (xa − µi a)(Σ−1 ak )    x1 − µi 1 ... xk − µi k    − 1 2 k a=1 (xa − µj a)(Σ−1 a1 ) · · · k a=1 (xa − µj a)(Σ−1 ak )    x1 − µj 1 ... xk − µj k    = 1 2 k b=1 k a=1 (xa − µi a)(Σ−1 ab )(xb − µi b) − 1 2 k b=1 k a=1 (xa − µj a)(Σ−1 ab )(xb − µj b) = 1 2 k b=1 k a=1 (Σ−1 ab ) (xa − µi a)(xb − µi b) − (xa − µj a)(xb − µj b) = 1 2 k b=1 k a=1 (Σ−1 ab )(xaxb − xaµi b − xbµi a + µi aµi b − xaxb + xaµj b + xbµj a − µj aµj b) = 1 2 k b=1 k a=1 (Σ−1 ab )(−xaµi b − xbµi a + µi aµi b + xaµj b + xbµj a − µj aµj b) = 1 2 k b=1 k a=1 (Σ−1 ab ) xa(µj b − µi b) + xb(µj a − µi a) + µi aµi b − µj aµj b . (3) There are two key (and somewhat trivial) points that must be realized at this point about the terms under double summation; failure to do so makes finishing the proof in this way impossible. The first point: k b=1 k a=1 xa(µj b − µi b)(Σ−1 ab ) = k b=1 k a=1 xb(µj a − µi a)(Σ−1 ba ) = k b=1 k a=1 xb(µj a − µi a)(Σ−1 ab ), where the first equality simply represents a renaming of the indices, and where the second equality holds because the matrix inverse of a symmetric matrix 2
  • 3. is symmetric. So from this point forward, it is justified to replace xb(µj a −µi a) with xa(µj b −µi b) in the summand of Equation (3). The second point is similar: k b=1 k a=1 (µi bµj a − µi aµj b)(Σ−1 ab ) = k b=1 k a=1 (µi bµj a)(Σ−1 ab ) − k b=1 k a=1 (µi aµj b)(Σ−1 ab ) = k b=1 k a=1 (µi bµj a)(Σ−1 ab ) − k b=1 k a=1 (µi bµj a)(Σ−1 ba ) = k b=1 k a=1 (µi bµj a)(Σ−1 ab ) − k b=1 k a=1 (µi bµj a)(Σ−1 ab ) = 0, so the addition of the quantity (µi bµj a − µi aµj b) into the right-most term in the summand of Equation (3) would change absolutely nothing, which turns out to be useful. Using these two insights, Equation (3) can be rewritten as follows: 1 2 k b=1 k a=1 (Σ−1 ab ) 2xa(µj b − µi b) + µi bµj a − µi aµj b + µi aµi b − µj aµj b = k b=1 k a=1 xa − µi a + µj a 2 (Σ−1 ab )(µj b − µi b) = k a=1 xa − µi a + µj a 2 (Σ−1 a1 ) · · · k a=1 xa − µi a + µj a 2 (Σ−1 ak )    µj 1 − µi 1 ... µj k − µi k    = x1 − µi 1 + µj 1 2 · · · xk − µi k + µj k 2      Σ−1 11 Σ−1 12 · · · Σ−1 1k Σ−1 21 Σ−1 22 · · · Σ−1 2k ... ... ... ... Σ−1 k1 Σ−1 k2 · · · Σ−1 kk         µj 1 − µi 1 ... µj k − µi k    = x − µi + µj 2 Σ−1 (µj − µi ). 3