Member-only story

Understanding the Bivariate Normal Distribution

Irene Markelic, PhD
20 min read4 days ago

A Mathematical Derivation of its Probability Density Function

A bivariate normal distribution with its according marginals in red and blue.
A bivariate normal distribution with its according marginals in red and blue.

1 Introduction

Have you ever wondered where the cryptic formula of the multivariate normal distribution (MVN) comes from and what all its components mean? In this article, which is also available at markelic.de, you’ll learn exactly that by using the bivariate normal distribution (BVN) as an example. The normal distribution is a cornerstone of various disciplines including statistics, machine learning, and finance; therefore, understanding this distribution is crucial for many applications in these fields. We can categorize the normal distribution into three cases: The

  1. univariate case: The probability density function (pdf) of a single normally distributed random variable (r.v.).
  2. multivariate case: The pdf over the joint distribution of multiple r.v.s that fulfill specific criteria, which will be stated later.
  3. bivariate case: A special subcase of the multivariate, involving exactly two r.v.s.

The formula for the normal distribution may seem complex at first, especially compared to the more straightforward univariate case. I have explored this topic in depth here.

In this article, we will understand the formula for the bivariate normal distribution by deriving it mathematically, which will also enhance our understanding of the general multivariate case.

I aimed to make this article as accessible and clearly structured as possible, but it assumes some prior knowledge of probability, basic linear algebra, and multivariate analysis (partial derivatives). Additionally, there are two topics that I will explain as detailed as necessary for this text, but if you seek a deeper understanding, you might want to look at:

This text is meant to be gentle in the sense that I’ll walk you through all the involved steps very explicitly. If you are looking for a more concise text you can…

Irene Markelic, PhD
Irene Markelic, PhD

Written by Irene Markelic, PhD

on a mission to make math for machine learning accessible

Responses (3)

To respond to this story,
get the free Medium app.

Irene, this is such a nice and useful post. Another good reference for the multivariate normal will be Tong's Book:
The Multivariate Normal Distribution
Excellent presentation! Saving a PDF (no pun intended) for my files
Charles Conrad
This article helps a lot ✅🤘👍 I really love it but I found that you still been having low engagement on your articles and what you need to do is that to get your article promoted to get more views and engagement to your article, so click on the…