Probability Density Integrator
Math Calculus • Applications of Integrals
Frequently Asked Questions
What does a probability density integrator calculate?
It evaluates integrals of a PDF f(x) over [a,b], including the normalization I0 = ∫[a,b] f(x) dx, the mean μ, the variance, and the CDF value F(x0). These quantities describe total probability, average value, spread, and cumulative probability.
How is the expected value computed from a PDF?
The mean is computed as μ = (∫[a,b] x f(x) dx) / (∫[a,b] f(x) dx). If the PDF is not perfectly normalized, dividing by the normalization integral renormalizes the result.
Why does the normalization integral sometimes not equal 1?
For a valid PDF, the integral over its support should be 1, but numeric integration, sharp peaks, long tails, or an incorrect formula/bounds can produce I0 ≠ 1. The tool warns based on a tolerance and uses a renormalized density f(x)/I0 for moments and CDF values.
How does the calculator handle infinite bounds like -inf to inf?
It supports ±infinity bounds by applying numeric transforms that map infinite intervals to finite ones for integration. This is useful for distributions such as the normal distribution on (-inf, inf) or exponential tails on [0, inf).
When should I use Composite Simpson vs Adaptive Simpson?
Composite Simpson uses a fixed even number of segments N and works well for smooth functions over finite intervals. Adaptive Simpson refines intervals based on a tolerance ε and is often better for sharp peaks, discontinuities in derivatives, or heavy tails.