For a continuous variable, is the area under the density to the left of . You find it by integrating the pdf from the left end of the support up to .
| Step | On on | |
|---|---|---|
| 1 | Write down the support. Find where . Outside it the density is . | support |
| 2 | Integrate from the left end up to x. Rename the integration variable so it does not clash with the limit . Evaluate with the Fundamental Theorem of Calculus. | for |
| 3 | Add the pieces outside the support. left of the support and right of it. Check that the middle piece reaches at the right end. | for , on , for ; ✓ |
| 4 | Use the CDF for probabilities. Subtract two values: . For a continuous variable and give the same answer. |