Validate whether a proposed continuous PDF is legitimate on \([a,b]\): checks non-negativity and whether \(\int_a^b f(x)\,dx \approx 1\). Optionally normalize it, and compute \(E[X]\), \(Var(X)\).
PDF plot (area and validity)
The badge inside the plot box shows the computed area \(\int_a^b f(x)\,dx\) (or \(\int_a^b g(x)\,dx\) if normalized). The vertical bounds show \(a\) and \(b\) with their numeric values.