Skip to main content
K12 LibreTexts

1.4.2: PEMDAS in Numerical Expressions

  • Page ID
    4293
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

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

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

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

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Numerical Expression Evaluation with Grouping Symbols

    Figure \(\PageIndex{1}\)

    Doug is collecting all the ribbon he can find in his house. He receives three 6 ft blue ribbon rolls from his mom, finds 4 ft of orange ribbon in a drawer, and grabs 7 ft of gold ribbon from his little sister, who then comes over with scissors and takes back 2 ft for herself. Doug sits at his desk and starts to measure all his collected ribbon with a measuring tape. Is there an easier way for Doug to figure out how many feet of ribbon he has?

    In this concept, you will learn how to evaluate numerical expressions using powers and grouping symbols.

    Order of Operations

    Parentheses are symbols that group things together. This becomes very important in numerical expressions, because operations inside parentheses are always completed first when evaluating the expression. Let’s review the order of operations.

    Order of Operations:

    P - parentheses

    E - exponents

    MD - multiplication or division, in order from left to right

    AS - addition or subtraction, in order from left to right

    You can see that, according to the order of operations, parentheses come first.

    Let’s see how this works.

    2+(3−1)×2

    In this problem, there are four elements to consider. You have one set of parentheses, addition, subtraction and multiplication. You can evaluate this expression using the order of operations. Here is what the process looks like:.

    2+(3−1)×2

    2+2×2

    2+4=6

    The answer is 6.

    Let's consider a different problem, and take it step by step:

    35+32−(3×2)×7

    First, evaluate parentheses.

    35+32−6×7

    Next, evaluate exponents.

    35+9−6×7

    Then, complete multiplication in order from left to right.

    35+9−42

    Finally, complete addition and/or subtraction in order from left to right.

    44−42=2

    The answer is 2.

    Examples

    Example \(\PageIndex{1}\)

    Earlier, you were given a problem about Doug and his ribbon pile.

    Doug needs to figure out the total length of ribbon he has collected.

    He receives 3 of the 6 ft blue ribbon rolls from his mom, finds 4 ft of orange ribbon in a drawer, and grabs 7 ft of gold ribbon from his little sister, who then comes over with scissors and takes back 2 ft for herself.

    Solution

    First, identify the important information.

    receives 3 6 ft rolls

    finds 4 ft

    takes 7 ft

    gives back 2 ft

    Next, write this as an expression.

    3×6+4+7−2

    Then, use order of operations to evaluate the expression.

    3×6+4+7−2 Multiply 3×6=18

    18+4+7−2 Add 18+4=22

    22+7−2 Add 22+7=29

    29−2 Subtract 29−2=27

    27

    The answer is 27.

    Doug has collected 27 feet of ribbon with which to make mischief

    Example \(\PageIndex{1}\)

    Evaluate the following expression.

    73−32+15×2+(2+3)

    Solution

    First, follow the order of operations and evaluate the parentheses and exponents.

    73=7×7×7=343

    32=3×3=9

    (2+3)=5

    Next, substitute these values back into the original number sentence.

    343−9+15×2+5

    Then, complete the multiplication.

    15×2=30

    Finally, complete the addition and subtraction in order from left to right.

    343−9+30+5

    369

    Example \(\PageIndex{1}\)

    Evaluate the following expression.

    16+23−5+(3×4)

    Solution

    First, evaluate the operations inside of parenthesis.

    16+23−5+(3×4) Evaluate 3×4=12

    Next, evaluate the exponents.

    16+23−5+12 Evaluate 23=8

    16+8−5+12

    Then, complete the addition and subtraction from left to right.

    16+8−5+12 Add 16+8=24

    24−5+12 Subtract 24−5=19

    19+12 Add 19+12=31

    31

    The answer is 31.

    Example \(\PageIndex{1}\)

    Evaluate the following expression.

    92+22−5×(2+3)

    Solution

    First, evaluate the parenthesis.

    92+22−5×(2+3) Evaluate 2+3=5

    92+22−5×5

    Next, evaluate the exponents.

    92+22−5×5 Evaluate 92=81

    81+22−5×5 Evaluate 22=4

    81+4−5×5

    Then, multiply.

    81+4−5×5 Multiply 5×5=25

    81+4−25

    Finally, complete the addition and subtraction operations from left to right.

    81+4−25 Add 81+4=85

    85−25 Subtract 85−25=60

    60

    The solution is 60.

    Example \(\PageIndex{1}\)

    Evaluate the following expression.

    82÷2+4−1×6

    Solution

    First, evaluate the exponent.

    82÷2+4−1×6 Evaluate 82=64

    64÷2+4−1×6

    Then, divide and multiply from left to right.

    64÷2+4−1×6 Divide 64÷2=32

    32+4−1×6 Multiply 1×6=6

    32+4−6

    Next, add and subtract from left to right.

    32+4−6 Add 32+4=36

    36−6 Subtract 36−6=30

    30

    The answer is 30.

    Review

    Evaluate each expression according to the order of operations.

    1. 3+(2+7)−3+5=–––––
    2. 2+(5−3)+72−11=–––––
    3. 4×2+(6−4)−9+5=–––––
    4. 82−4+(9−3)+12=–––––
    5. 73−100+(3+4)−9=–––––
    6. 7+(32+7)−11+5=–––––
    7. 24+(8+7)+13−5=–––––
    8. 3×2+(22+7)−11+15=–––––
    9. 8+(6+7)−2×3=–––––
    10. 22+(34+7)−73+15=–––––
    11. 32+(42−7)−3+25=–––––
    12. 63+(32+17)−73+4=–––––
    13. 243−(53+27)−83+9=–––––
    14. 72+(112+117)−193+75=–––––
    15. 82+(102+130)−303+115=–––––

    Review (Answers)

    To see the Review answers, open this PDF file and look for section 1.11.

    Vocabulary

    Term Definition
    Grouping Symbols Grouping symbols are parentheses or brackets used to group numbers and operations.
    Order of Operations The order of operations specifies the order in which to perform each of multiple operations in an expression or equation. The order of operations is: P - parentheses, E - exponents, M/D - multiplication and division in order from left to right, A/S - addition and subtraction in order from left to right.
    Parentheses Parentheses "(" and ")" are used in algebraic expressions as grouping symbols.

    Additional Resources

    Videos:

    PLIX: Play, Learn, Interact, eXplore: Math Detective

    Practice: PEMDAS in Numerical Expressions

    Real World Application: Spin Cycle


    This page titled 1.4.2: PEMDAS in Numerical Expressions is shared under a CC BY-NC license and was authored, remixed, and/or curated by CK-12 Foundation via source content that was edited to the style and standards of the LibreTexts platform.