Log in Sign up
Back to Discover
🔢

Probability density function

math Maturity 9-11

We can guess what might happen.

4 continuous probability density functions.png
4 continuous probability density functions.png
Some things happen more often. Some things happen less often. This helps us see what is likely. It is like a map for guessing. Can you guess what comes next?

41 words

Imagine you are watching tiny germs.

4 continuous probability density functions.png
4 continuous probability density functions.png
Some germs live for a short time. Others live for a long time. We cannot pick one exact moment when a germ dies. Instead, we look at a range of time.
visualisation mode median mean.svg
visualisation mode median mean.svg
We use a special curve to show this. The curve shows where things are likely to happen. A tall part of the curve means many things happen there. A low part means fewer things happen there. The whole area under the curve is always one. This helps us know what to expect.

95 words

Imagine you are watching tiny bacteria.

4 continuous probability density functions.png
4 continuous probability density functions.png
Some live for a short time. Others live for a long time. We cannot name one exact moment when a single bacterium dies. There are too many tiny moments to count. Instead, we look at a range of time.

To show this, we use a probability density function. This is a special curve. The curve shows how likely an event is to happen. A tall part of the curve means things are very likely to happen there. A low part means they are less likely.

visualisation mode median mean.svg
visualisation mode median mean.svg

We use the area under the curve to find the chance of something happening. For example, we can find the chance a bacterium dies between five and six hours. We do this by measuring the area in that range. The total area under the whole curve is always equal to one. This means there is a 100% chance that something will happen.

Boxplot vs PDF.svg
Boxplot vs PDF.svg
This tool helps us understand many things in the world of math.

174 words

Imagine you are watching a group of tiny bacteria.

4 continuous probability density functions.png
4 continuous probability density functions.png
Most of these bacteria live for about 20 to 30 hours. However, it is impossible to name the exact moment a single bacterium dies. Because time is continuous, there are infinite tiny moments to choose from. If you picked one exact time, like exactly five hours, the chance of a bacterium dying at that precise instant is zero. Instead, mathematicians look at a range of time to find a real answer. We use a tool called a probability density function to describe these chances.
visualisation mode median mean.svg
visualisation mode median mean.svg

A probability density function is a special kind of curve. The value of the curve at any point tells us the relative likelihood of an event. A tall part of the curve means the event is more likely to happen near that value. A low part means it is less likely. To find the actual probability of an event, we look at the area under the curve.

Boxplot vs PDF.svg
Boxplot vs PDF.svg
If we want to know the chance a bacterium dies between five and six hours, we measure the area in that specific range. The total area under the entire curve must always equal one. This represents a 100% chance that the event will happen eventually.

There are different ways to talk about these math ideas. Some people use the term probability distribution function. Others might use the term probability function. However, these names can be confusing because they are not always used the same way. In many books, a probability mass function is used for discrete things that can be counted. A probability density function is used for continuous things like time or length. This distinction helps scientists and statisticians keep their work clear and organized.

Math experts use specific rules to define these functions. For example, the density must always be a non-negative number. This means the curve can never go below the bottom line of a graph. In some cases, the density value can actually be larger than one. This happens in a continuous uniform distribution. The standard normal distribution is another famous example used in math. These different shapes help us model many different things in the real world.

We can even use these tools to study many things at once. If we have two different variables, we can use a joint probability density function. This shows how two things might relate to each other. We can also find a marginal density to look at just one variable. This is like looking at one piece of a larger puzzle. Whether we study one thing or many, these curves help us understand the patterns of life.

visualisation mode median mean.svg
visualisation mode median mean.svg

448 words

A probability density function (PDF) is a mathematical tool used to describe continuous random variables. In probability theory, a continuous variable can take on an infinite set of possible values. Because there are infinite values, the absolute likelihood of a variable equaling one exact, specific point is zero. Instead, the PDF provides a way to understand relative likelihood. It tells us how much more likely a variable is to fall near one value compared to another.

4 continuous probability density functions.png
4 continuous probability density functions.png

The mechanism of a PDF relies on the concept of density per unit. You can think of the value of the PDF at a specific point as the probability per unit length. To find the actual probability of an event, you must look at a range of values rather than a single point. This is done by calculating the integral of the function over that specific range. The resulting probability is represented by the non-negative area under the curve between the lowest and highest values of the range.

visualisation mode median mean.svg
visualisation mode median mean.svg

There are distinct types of functions used depending on the nature of the data. A probability mass function (PMF) is used for discrete random variables. These are variables that take values on a countable set, like counting individual objects. In contrast, the PDF is used for continuous random variables, such as time or height. While some sources use the term "probability distribution function" to refer to a PDF, this can be confusing. In many contexts, that term might instead refer to a cumulative distribution function (CDF) or a PMF.

Boxplot vs PDF.svg
Boxplot vs PDF.svg

Historically and mathematically, the relationship between these functions is very precise. If a distribution has a density, the probability of every one-point set is zero. This is because the probability is tied to the area under the curve, and a single point has no width. A distribution has a density function if its cumulative distribution function is absolutely continuous. In these cases, the PDF is the derivative of the cumulative distribution function. This mathematical connection allows scientists to move between total accumulated probability and local density.

Specific numbers and properties define how these functions behave in the real world. The PDF must be non-negative everywhere, meaning the curve never drops below the horizontal axis. The total area under the entire curve must always equal exactly one. This represents a 100% probability that the variable will fall within the set of all possible values. Interestingly, the value of the PDF itself can be greater than one. For example, a continuous uniform distribution can have a density value higher than one if the interval is very small.

Consider the example of bacteria life spans to deepen your understanding. If a species of bacteria typically lives between 20 and 30 hours, the probability of one dying at exactly 5 hours is zero. However, the probability of it dying between 5 and 5.01 hours might be 0.02, or 2%. If you shorten that window to 5 to 5.001 hours, the probability drops to 0.002. The ratio of the probability to the duration of the interval remains constant. In this case, the density is 2 per hour.

4 continuous probability density functions.png
4 continuous probability density functions.png

Probability density functions also connect to broader, more complex systems. When studying multiple variables at once, mathematicians use a joint probability density function. This describes the probability of a set of variables falling within a specific multi-dimensional domain. From a joint density, you can derive a marginal density function. This is done by integrating over the values of the other variables to focus on just one. This allows researchers to study how different parts of a complex system relate to one another or act independently.

614 words
🖼️ Images & Media (3)
File:Boxplot vs PDF.svg
Boxplot vs PDF.svg
File:visualisation_mode_median_mean.svg
visualisation_mode_median_mean.svg
File:4 continuous probability density functions.png
4 continuous probability density functions.png
Up Next
🔢
Probability mass function
Math
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.