3.4: Order of Operations in Expressions and Formulas
Learning Outcomes
- Use Order of Operations in Statistics Formulas.
We have already encountered the order of operations: Parentheses, Exponents, Multiplication and Division, Addition and Subtraction. In this section, we will give some additional examples where the order of operations must be used properly to evaluate statistics.
Example 3.4.1
The sample standard deviation asks us to add up the squared deviations, take the square root and divide by one less than the sample size. For example, suppose that there are three data values: 3, 5, 10. The mean of these values is 6. Then the standard deviation is:
Evaluate this number rounded to the nearest hundredth.
Solution
The first thing in the order of operations is to do what is in the parentheses. We must subtract:
We can substitute the numbers in to get:
Next, we exponentiate:
Substitute these in to get:
We can now perform the addition inside the square root to get:
Next, perform the subtraction of the denominator to get:
We can divide to get:
We don’t want to do this by hand, so in a calculator or computer type in:
Example 3.4.2
When calculating the probability that a value will be less than 4.6 if the value is taken randomly from a uniform distribution between 3 and 7, we have to calculate:
Find this probability.
Solution
We can use a calculator or computer, but we must be very careful about the order of operations. Notice that there are implied parentheses due to the fraction bar. The answer is:
Using technology, we get:
Exercise
VIDEO RESOURCES
SECTION WRAP-UP