Ginny walked into Math class and saw the following question on the board:

Find the value of the following expression when :

Can you answer this question?

### Order of Operations with Negative Numbers

The standard order of operations involves specific steps for performing the mathematical calculations presented in a mathematical statement. These steps are represented by the letters PEMDAS.

P – Parentheses – Do all the calculations within parentheses.

E – Exponents – Do all calculations that involve exponents.

M/D – Multiplication/Division – Do all multiplication and division, in the order it occurs, working from left to right.

A/S – Addition/Subtraction – Do all addition and subtraction, in the order it occurs, working from left to right.

These steps do not change whether they are being applied to positive real numbers or to negative real numbers. The rules for adding, subtracting, multiplying and dividing real negative numbers must be applied when evaluating expressions that require PEMDAS to be used. A good way to learn the order of operations is to observe examples where it is correctly applied. The majority of this lesson is a number of problems that you should follow step-by-step in order to help cement the order in your memory.

**Let's complete the following problems using PEMDAS: **

- Simplify the expression:

There are no calculations inside parentheses. The first step is to evaluate the number with the exponent.

The next step is to perform any division or multiplication, working from left to right.

The final step is to rewrite the expression as an addition problem and to change the sign of the original number being subtracted.

When adding two numbers with unlike signs, subtract the smaller number from the larger, then the sign of the number with the greater magnitude will be the sign of the answer.

- Find the value of the following expression when

Begin by substituting the variables with the given values. Use brackets to group the operations with parentheses.

In the first set of brackets, do the calculations with exponents.

In the second set of brackets, do the calculations with exponents.

In the first set of brackets, do the multiplication. The brackets can now be removed.

In the second set of brackets, do the multiplication. The brackets can now be removed.

Subtract the numbers.

- What is the value of ?

Simplify within the brackets first:

Rewrite subtraction as addition of the opposite:

### Examples

#### Example 1

Earlier, you read about the math question that Ginny saw written on the board in her math class:

Find the value of the following expression when :

Ginny felt good about answering the problem because she remembered the steps involved in the standard order of operations. When she noticed that the values for two of the variables were negative numbers, she realized that she would have to be careful doing the calculations because she would also have to apply the rules that she had learned for adding, subtracting, multiplying and dividing negative real numbers.

Ginny began by substituting the variables with the given values.

To reduce errors in her calculations, Ginny wrote all of the values in parentheses. The statement now has parentheses within parentheses. This may seem confusing and the order in which to perform the operations may become skewed. Ginny asked her teacher about writing the expression another way. Her teacher advised her to replace the outer parentheses with brackets [ ]. Brackets are another type of grouping symbol. When evaluating an expression that has grouping symbols (parentheses) within grouping symbols (brackets), perform the operations within the innermost set of symbols first.

Ginny rewrote the expression using both brackets and parentheses.

Then it was easier to keep track of the steps and the proper order to simplify the expression:

#### Example 2

Perform the following operations:

#### Example 3

Simplify:

#### Example 4

A formula from geometry is . Find when .

### Review

- If and , what is the value of ? _______
- 221
- 59
- –49
- 43

- Evaluate when and : _______
- 1

- Evaluate: when and : _______
- 75
- 2
- 3
- 4

- Simplify the following: = _______
- –6
- –2
- 2
- –19

- Perform the following operations and evaluate: = _______
- 109
- 5
- 11
- 25

Perform the indicated calculations.

- Which expression has the greatest value if and ?

### Review (Answers)

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