tetthetsfunksjonen
Tetthetsfunksjonen, also known as the density function, is a nonnegative function f that describes the distribution of a continuous random variable X. It satisfies P(a ≤ X ≤ b) = ∫_a^b f(x) dx for any real numbers a < b. The density is with respect to Lebesgue measure, and the corresponding distribution is absolutely continuous. The total probability is 1, so ∫_{-∞}^{∞} f(x) dx = 1. The function itself is not a probability, but a density used to compute probabilities by integration over sets.
If F(x) = P(X ≤ x) is the cumulative distribution function, then F(x) = ∫_{-∞}^x f(t) dt. Conversely, when
Common examples include: the normal density f(x) = (1/(σ√(2π))) exp(-(x-μ)²/(2σ²)); the exponential density f(x) = λ e^{-λx} for x
Properties and uses: the density is nonnegative, integrates to 1, and probabilities are obtained by integrating