Can a probability density function take values greater than 1?
Probability and statistics, Random variables
Level L1 Beginner. Length One-liner. Nature Th Theoretical.
What's being asked
Whether you know the difference between a density and a probability.
Key idea
Yes. A density is probability per unit length, not a probability. The only rule is that the total area is 1, , and probabilities are areas: . For example, Uniform has on its range.
Steps
- Answer yes, and give the reason: a density is not a probability; only its area over an interval is.
- Give an example. Uniform has height 2, because . A normal distribution with standard deviation 0.1 peaks at .
- If asked why it matters in ML: the log-likelihood of continuous data can be positive. Also, a Gaussian fitted to a single point has a likelihood that grows without limit as .
Common mistakes
- Confusing a probability mass function (for discrete variables, each value lies in ) with a density.
- Saying is the probability that . For a continuous variable, that probability is 0.
How long your answer should be
One sentence plus an example.
Last checked on 4 December 2026.
Read this
Previous in Probability and statistics: In statistics and machine learning, what is the difference between probability and likelihood, and what is the idea behind maximum likelihood estimation (MLE)? If you toss a coin 10 times and get 7 heads, what is the MLE of its heads probability?
Next in Probability and statistics: What are the mean and variance of a Poisson random variable, and what kind of data is it used to model?