Chapter 2 ยท Operations with rational numbers

Order of Operations with Rational Numbers

Use the order of operations to find the value of expressions that add, subtract, multiply and divide positive and negative fractions, decimals and mixed numbers.

20 min read

A rational number is any number you can write as a fraction ab\tfrac{a}{b}, where aa and bb are integers and bb is not 00. That includes every integer, every fraction and mixed number built from integers, and every decimal that ends or repeats. A rational number can be positive, negative or zero. For example, โˆ’3-3, 00, 58\tfrac{5}{8}, โˆ’112-1\tfrac{1}{2} and 0.750.75 are all rational numbers.

You already know how to multiply and divide rational numbers. Now you will put all four operations to work in one expression. An expression is a string of numbers and operation signs, such as โˆ’6+4ร—(โˆ’12)-6 + 4 \times \left(-\tfrac{1}{2}\right). Its value is the one number it stands for. To find that value, you need to know which operation to do first.

Try two different orders on โˆ’6+4ร—(โˆ’12)-6 + 4 \times \left(-\tfrac{1}{2}\right).

  • Multiply first: 4ร—(โˆ’12)=โˆ’24 \times \left(-\tfrac{1}{2}\right) = -2, and then โˆ’6+(โˆ’2)=โˆ’8-6 + (-2) = -8.
  • Add first: โˆ’6+4=โˆ’2-6 + 4 = -2, and then โˆ’2ร—(โˆ’12)=1-2 \times \left(-\tfrac{1}{2}\right) = 1.

Two orders give two different results, โˆ’8-8 and 11. An expression should have the same value for everyone who reads it, so everyone has to use the same order. That shared order is called the order of operations.

Which order makes sense? Look at what the symbols mean. The product 4ร—(โˆ’12)4 \times \left(-\tfrac{1}{2}\right) means 44 copies of โˆ’12-\tfrac{1}{2}. That is one quantity, โˆ’2-2. A multiplication or a division builds one quantity. Addition and subtraction then combine those quantities. So the shared order builds first and combines second.

In the expression above, the parentheses hold a single number, โˆ’12-\tfrac{1}{2}, so there is nothing to work out inside them. You multiply first and then add, so the value of the expression is โˆ’8-8.

Key concept

The order of operations with rational numbers

For an expression made of grouping symbols and the four operations, work in this order:

  1. Grouping symbols. Parentheses or brackets around an operation mark one quantity, so find its value first. Inside a group, use steps 2 and 3.
  2. Multiplication and division, in the order they appear from left to right.
  3. Addition and subtraction, in the order they appear from left to right.

The order is the same for every rational number. A negative sign, a fraction or a decimal changes the arithmetic inside a step, but never the order of the steps. At each step you replace the operation that is next with its result. The result equals the part it replaces, so the whole expression keeps its value.

Each step in the order is one operation on two rational numbers, so you need all four operations ready. Below, pp and qq stand for any rational numbers.

Adding. Think of numbers as points on a number line. The absolute value of qq, written โˆฃqโˆฃ|q|, is the distance from 00 to qq. The sum p+qp + q is the number โˆฃqโˆฃ|q| units from pp in the direction of qq: the positive direction when qq is positive, and the negative direction when qq is negative. When q=0q = 0 you do not move, so the sum is pp. For example, โˆ’3.5+2-3.5 + 2 is 22 units from โˆ’3.5-3.5 in the positive direction, so โˆ’3.5+2=โˆ’1.5-3.5 + 2 = -1.5.

Subtracting. The additive inverse of qq, also called its opposite, is the number โˆ’q-q for which q+(โˆ’q)=0q + (-q) = 0. Opposites always sum to 00. Subtracting qq undoes adding qq, and adding โˆ’q-q undoes it too. So subtracting qq means adding its additive inverse: pโˆ’q=p+(โˆ’q)p - q = p + (-q). For example, 2โˆ’(โˆ’1.5)=2+1.5=3.52 - (-1.5) = 2 + 1.5 = 3.5.

Multiplying and dividing follow rules you already know, so here is only a short reminder of the words. In a product, the numbers you multiply are the factors. In a quotient pรทqp \div q, the number qq that you divide by is the divisor. The reciprocal of a nonzero number qq is 1q\tfrac{1}{q}, the number whose product with qq is 11. For example, the reciprocal of โˆ’34-\tfrac{3}{4} is โˆ’43-\tfrac{4}{3}, because โˆ’34ร—(โˆ’43)=1212=1-\tfrac{3}{4} \times \left(-\tfrac{4}{3}\right) = \tfrac{12}{12} = 1. Zero has no reciprocal, because 00 times any number is 00, never 11. Dividing by a nonzero number means multiplying by its reciprocal.

The table collects all four operations with their conditions.

The four operations and their conditions
OperationHow to do itConditionsExample
Add: p+qp + q
Go โˆฃqโˆฃ\lvert q \rvert units from pp in the direction of qq.
Works for any pp and qq. If q=0q = 0, the sum is pp.
1.2+(โˆ’2)=โˆ’0.81.2 + (-2) = -0.8
Subtract: pโˆ’qp - q
Add the additive inverse of qq: pโˆ’q=p+(โˆ’q)p - q = p + (-q).
Works for any pp and qq.
โˆ’12โˆ’34=โˆ’24+(โˆ’34)=โˆ’54-\tfrac{1}{2} - \tfrac{3}{4} = -\tfrac{2}{4} + \left(-\tfrac{3}{4}\right) = -\tfrac{5}{4}
Multiply: pร—qp \times q
Multiply the absolute values. The product is negative when the count of negative factors is odd, positive when even.
The sign rule needs every factor to be nonzero. If any factor is 00, the product is 00.
โˆ’56ร—(โˆ’310)=1560=14-\tfrac{5}{6} \times \left(-\tfrac{3}{10}\right) = \tfrac{15}{60} = \tfrac{1}{4}
Divide: pรทqp \div q
Multiply pp by the reciprocal of qq. Find the sign the same way as for a product.
qq must not be 00: dividing by 00 is undefined. If p=0p = 0, the quotient is 00. Sign rule: pp and qq nonzero.
โˆ’35รท910=โˆ’35ร—109=โˆ’3045=โˆ’23-\tfrac{3}{5} \div \tfrac{9}{10} = -\tfrac{3}{5} \times \tfrac{10}{9} = -\tfrac{30}{45} = -\tfrac{2}{3}

Worked example

Multiply before you add or subtract

Find the value of โˆ’4.5+6ร—(โˆ’0.5)โˆ’(โˆ’2)-4.5 + 6 \times (-0.5) - (-2).

  1. Look for groups first. Each pair of parentheses here holds a single number, so there is nothing to work out inside. Multiplication comes next. The factors 6 and negative 0.5 are both nonzero, and one of them is negative. One negative factor is an odd count, so the product is negative. Since 6 times 0.5 is 3, the product is negative 3.

    โˆ’4.5+6ร—(โˆ’0.5)โˆ’(โˆ’2)=โˆ’4.5+(โˆ’3)โˆ’(โˆ’2)-4.5 + 6 \times (-0.5) - (-2) = -4.5 + (-3) - (-2)
  2. Only addition and subtraction are left, so do them as they appear from left to right. The addition is on the left, so it comes first. To add negative 3, start at negative 4.5 and go 3 units in the negative direction. The distance is 3 because the absolute value of negative 3 is 3.

    โˆ’4.5+(โˆ’3)โˆ’(โˆ’2)=โˆ’7.5โˆ’(โˆ’2)-4.5 + (-3) - (-2) = -7.5 - (-2)
  3. Subtracting negative 2 means adding its additive inverse, which is 2. To add 2, start at negative 7.5 and go 2 units in the positive direction.

    โˆ’7.5โˆ’(โˆ’2)=โˆ’7.5+2=โˆ’5.5-7.5 - (-2) = -7.5 + 2 = -5.5

Answer

The value of โˆ’4.5+6ร—(โˆ’0.5)โˆ’(โˆ’2)-4.5 + 6 \times (-0.5) - (-2) is โˆ’5.5-5.5.

Worked example

Work out a group, then go left to right

Find the value of (14โˆ’32)รท58ร—(โˆ’3)\left(\tfrac{1}{4} - \tfrac{3}{2}\right) \div \tfrac{5}{8} \times (-3).

  1. Work out the group first. Rewrite three halves as six fourths, an equal fraction, so that both fractions count fourths. Subtracting six fourths means adding its additive inverse, negative six fourths. So start at one fourth and go six fourths in the negative direction.

    14โˆ’32=14โˆ’64=14+(โˆ’64)=โˆ’54\tfrac{1}{4} - \tfrac{3}{2} = \tfrac{1}{4} - \tfrac{6}{4} = \tfrac{1}{4} + \left(-\tfrac{6}{4}\right) = -\tfrac{5}{4}
  2. Replace the group with its value. Division and multiplication belong to the same step of the order, so do them as they appear from left to right. The division is on the left, so it comes first.

    โˆ’54รท58ร—(โˆ’3)-\tfrac{5}{4} \div \tfrac{5}{8} \times (-3)
  3. The divisor, five eighths, is not zero, so you can divide. Dividing by five eighths means multiplying by its reciprocal, eight fifths. Both numbers are nonzero and one of them is negative. One negative is an odd count, so the quotient is negative.

    โˆ’54รท58=โˆ’54ร—85=โˆ’4020=โˆ’2-\tfrac{5}{4} \div \tfrac{5}{8} = -\tfrac{5}{4} \times \tfrac{8}{5} = -\tfrac{40}{20} = -2
  4. Multiply last. The factors negative 2 and negative 3 are both nonzero and both negative. Two negative factors is an even count, so the product is positive.

    โˆ’2ร—(โˆ’3)=6-2 \times (-3) = 6

Answer

The value of (14โˆ’32)รท58ร—(โˆ’3)\left(\tfrac{1}{4} - \tfrac{3}{2}\right) \div \tfrac{5}{8} \times (-3) is 66.

Worked example

All four operations in one expression

Find the value of 7.5รท(โˆ’212)+34ร—(113โˆ’2)7.5 \div \left(-2\tfrac{1}{2}\right) + \tfrac{3}{4} \times \left(1\tfrac{1}{3} - 2\right).

  1. Work out the group first. The other parentheses hold a single number, so there is nothing to work out inside them. Write one and one third as four thirds, and write 2 as six thirds. Subtracting six thirds means adding negative six thirds, so start at four thirds and go six thirds in the negative direction.

    113โˆ’2=43โˆ’63=43+(โˆ’63)=โˆ’231\tfrac{1}{3} - 2 = \tfrac{4}{3} - \tfrac{6}{3} = \tfrac{4}{3} + \left(-\tfrac{6}{3}\right) = -\tfrac{2}{3}
  2. Replace the group with its value. The division and the multiplication come next, as they appear from left to right.

    7.5รท(โˆ’212)+34ร—(โˆ’23)7.5 \div \left(-2\tfrac{1}{2}\right) + \tfrac{3}{4} \times \left(-\tfrac{2}{3}\right)
  3. Divide. Write both numbers as fractions: 7.5 is seven and one half, or fifteen halves, and negative two and one half is negative five halves. The divisor is not zero, so multiply by its reciprocal, negative two fifths. One of the two nonzero numbers is negative, an odd count, so the quotient is negative.

    7.5รท(โˆ’212)=152รท(โˆ’52)=152ร—(โˆ’25)=โˆ’3010=โˆ’37.5 \div \left(-2\tfrac{1}{2}\right) = \tfrac{15}{2} \div \left(-\tfrac{5}{2}\right) = \tfrac{15}{2} \times \left(-\tfrac{2}{5}\right) = -\tfrac{30}{10} = -3
  4. Multiply. One of the two nonzero factors is negative, an odd count, so the product is negative. For its size, multiply the absolute values: three fourths times two thirds is six twelfths, which equals one half.

    34ร—(โˆ’23)=โˆ’612=โˆ’12\tfrac{3}{4} \times \left(-\tfrac{2}{3}\right) = -\tfrac{6}{12} = -\tfrac{1}{2}
  5. Add last. To add negative one half, start at negative 3 and go one half of a unit in the negative direction.

    โˆ’3+(โˆ’12)=โˆ’312-3 + \left(-\tfrac{1}{2}\right) = -3\tfrac{1}{2}

Answer

The value of 7.5รท(โˆ’212)+34ร—(113โˆ’2)7.5 \div \left(-2\tfrac{1}{2}\right) + \tfrac{3}{4} \times \left(1\tfrac{1}{3} - 2\right) is โˆ’312-3\tfrac{1}{2}, which you can also write as โˆ’3.5-3.5.

Takeaway. For an expression built from grouping symbols and the four operations, everyone gets the same value because everyone works in the same order: grouping symbols first, then multiplication and division from left to right, then addition and subtraction from left to right. Each step is one operation on rational numbers. To add a number, move by its absolute value in its direction. To subtract a number, add its additive inverse. For a product or quotient of nonzero numbers, an odd count of negatives gives a negative result and an even count gives a positive one. Before you divide, check that the divisor is not 00.

Next, you will use these skills to solve multi-step word problems and to choose the operation that fits a real-world situation.