Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Statistics LibreTexts

Order of Operations in Expressions and Formulas

( \newcommand{\kernel}{\mathrm{null}\,}\)

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 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:

s=(36)2+(56)2+(106)231

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:

36=3,56=1,106=4

We can substitute the numbers in to get:

=(3)2+(1)2+(4)231

Next, we exponentiate:

(3)2=9,(1)2=1,42=16

Substitute these in to get:

9+1+1631

We can now perform the addition inside the square root to get:

2631

Next, perform the subtraction of the denominator to get:

262

We can divide to get:

13

We don't want to do this by hand, so in a calculator or computer type in:

130.5=3.61

Example 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:

(4.63)×173

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:

(4.63)×173

Using technology, we get:

(4.63)×173=0.4

Exercise

When finding the upper bound, U, of a confidence interval given the lower bound, L, and the margin of error, E, we use the formula

U=L+2E

Find the upper bound of the confidence interval for the proportion of babies that are born preterm if the lower bound is 0.085 and the margin of error is 0.03.


This page titled Order of Operations in Expressions and Formulas is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Larry Green.

  • Was this article helpful?

Support Center

How can we help?