Learning Outcomes
- Draw a continuous probability function for a uniform distribution
- Calculate a probability for a uniform distribution
Recall: Inequality Symbols
An inequality is a mathematical statement that compares two expressions using the ideas of greater than or less than.
Here are some common inequalities seen in statistics:
- < indicates less than, for example x < 5 indicates x is less than 5
- ≤ indicates less than or equal to, for example x ≤ 5 indicates x is less than or equal to 5 (5 is included)
- > indicates greater than, for example x > 5 indicates x is greater than 5
- ≥ indicates greater than or equal to, for example x ≥ 5 indicates x is greater than or equal to 5 (5 is included)
Note: Where you place the variable in the inequality statement can change the symbol you use.
For example:
- x < 5 indicates all possible numbers less than 5.
- 5 < x indicates that 5 is less than x, or we could rewrite this with the x on the left: x > 5.
Note: how the inequality is still pointing the same direction relative to x. This statement represents all the real numbers that are greater than 5, which is easier to interpret than 5 is less than x.
We begin by defining a continuous probability density function. We use the function notation f(x). Intermediate algebra may have been your first formal introduction to functions. In the study of probability, the functions we study are special. We define the function f(x) so that the area between it and the x-axis is equal to a probability. Since the maximum probability is one, the maximum area is also one. For continuous probability distributions, PROBABILITY = AREA.
Recall: Area of a Rectangle
Area is a measure of the surface covered by a figure. A rectangle has four sides, the figure below is an example where [latex]W[/latex] is the width and [latex]L[/latex] is the length.
The area, [latex]A[/latex], of a rectangle is the length times the width.
[latex]A=L \cdot W[/latex]
Example
Consider the function [latex]f(x)\displaystyle\frac{{1}}{{20}}[/latex] is a horizontal line. However, since [latex]0{\leq}x{\leq}20[/latex], f(x) is restricted to the portion between [latex]x=0[/latex] and [latex]x=20[/latex], inclusive.
[latex]f(x)=\frac{{1}}{{20}}[/latex] for [latex]0{\leq}x{\leq}20[/latex].
The graph of [latex]f(x)=\frac{{1}}{{20}}[/latex] is a horizontal line segment when [latex]0{\leq}x{\leq}20[/latex].
The area between [latex]f(x)\frac{{1}}{{20}}[/latex].
[latex]\displaystyle\text{AREA}={20}{(\frac{{1}}{{20}})}={1}[/latex]
Suppose we want to find the area between [latex]f(x)=[/latex] and the x-axis where [latex]0
[latex]\displaystyle\text{AREA}={({2}-{0})}{(\frac{{1}}{{20}})}={0.1}[/latex]
[latex]\displaystyle({2}-{0})={2}=\text{base of a rectangle}[/latex]
Reminder: area of a rectangle = (base)(height).
The area corresponds to a probability. The probability that x is between zero and two is 0.1, which can be written mathematically as [latex]P(0
[latex]\displaystyle\text{AREA}={({15}-{4})}{(\frac{{1}}{{20}})}={0.55}[/latex]
[latex]\displaystyle\text{AREA}={({15}-{4})}{(\frac{{1}}{{20}})}={0.55}[/latex]
[latex]\displaystyle{({15}-{4})}={11}=\text{the base of a rectangle}[/latex]
The area corresponds to the probability [latex]P(4
[latex]P(X{\leq}x)[/latex] (can be written as [latex]P(X
Label the graph with f(x) and x. Scale the x and y axes with the maximum x and y values.f(x) = [latex]\displaystyle\frac{{1}}{{20}}[/latex], [latex]0{\leq}x{\leq}20[/latex].
To calculate the probability that x is between two values, look at the following graph. Shade the region between [latex]x=2.3[/latex] and [latex]x=12.7[/latex]. Then calculate the shaded area of a rectangle.
[latex]\displaystyle{P}{({2.3}{<}{x}{<}{12.7})}={(\text{base})}{(\text{height})}={({12.7}-{2.3})}{(\frac{{1}}{{20}})}={0.52}[/latex]
This video will help you summarize what you just read.
Try It
Consider the function [latex]f(x)\frac{{1}}{{8}}[/latex] for [latex]0{\leq}x{\leq}8[/latex]. Draw the graph of f(x) and find [latex]P(2.5
Candela Citations
- OpenStax, Statistics, Continuous Probability Functions. Provided by: OpenStax. Located at: https://openstax.org/books/statistics/pages/5-1-continuous-probability-functions. License: CC BY: Attribution. License Terms: Access for free at https://openstax.org/books/statistics/pages/1-introduction
- Introductory Statistics. Authored by: Barbara Illowsky, Susan Dean. Provided by: Open Stax. Located at: https://openstax.org/books/introductory-statistics/pages/1-introduction. License: CC BY: Attribution. License Terms: Access for free at https://openstax.org/books/introductory-statistics/pages/1-introduction
- College Algebra. Authored by: Jay Abramson, et al. Provided by: OpenStax. Located at: https://courses.lumenlearning.com/wm-developmentalemporium/chapter/read-describe-solutions-to-inequalities-2/. License: CC BY: Attribution
- Prealgebra. Provided by: OpenStax. Located at: https://openstax.org/books/prealgebra/pages/1-introduction. License: CC BY: Attribution. License Terms: Access for free at https://openstax.org/books/prealgebra/pages/1-introduction
- Continuous Probability distribution intro. Authored by: Khan Academy. Located at: https://www.youtube.com/watch?v=j8XLYFzTJzE. License: Public Domain: No Known Copyright