Distributive property of matrix multiplication help

24 Views Asked by At

$$a = {-\frac12(x-μ_1)^{T}Σ^{-1}(x-μ_1)}{ + (\frac12(x-μ_2)^{T}Σ^{-1}(x-μ_2))}$$

$$solution = (μ_2-μ_1)^TΣ^{−1}x-\frac12(μ_2^{T}Σ^{−1}μ_2-μ_1^{T}Σ^{−1}μ_1)$$ Simplify the following equation so that it matches the solution. I've attempted to simplify the problem using the distributive property of matrix multiplication for $(x − μ)^T(x − μ)$ but I can't reach the correct solution.

Can I please get a step by step approach to help me solve this problem?

\Thanks in advance.