PEMDAS & BODMAS Learning Tool

Trace one operation at a time and compare how different groupings change the answer.

Quick Answer

Use PEMDAS, BODMAS, BIDMAS, or GEMA language, evaluate parentheses, brackets, braces, exponents, multiplication, division, addition, and subtraction, then practice with instant feedback.

Arithmetic grouping tiles and pencil on squared paper

PEMDAS & BODMAS Learning Tool

Learn the order of operations with a safe step-by-step expression solver. Use PEMDAS, BODMAS, BIDMAS, or GEMA language, evaluate parentheses, brackets, braces, exponents, multiplication, division, addition, and subtraction, then practice with instant feedback.

Step-by-step solver PEMDAS BODMAS BIDMAS GEMA Parentheses / brackets / braces Exponents Left-to-right rule Practice generator Batch solver CSV export MathJax formulas

1. Enter an Expression

Supported symbols: +, -, ×, *, ÷, /, ^, parentheses (), brackets [], and braces {}.

Batch Solver

2. Answer

Final value 33

The expression is evaluated using grouping, exponents, multiplication/division, then addition/subtraction.

System PEMDAS
Exact / Numeric 33
Approx. Fraction 33/1
Steps 4

Order Ladder

Expression Summary

3. Step-by-Step Work

\[ \text{Grouping}\rightarrow\text{Exponents}\rightarrow\text{Multiplication/Division}\rightarrow\text{Addition/Subtraction} \]
Step Rule Used Before Operation After

Batch Results

Expression Answer Steps Status

4. Practice Generator

Practice problem Click New Practice Problem

Solve using order of operations, then check your answer.

PEMDAS and BODMAS Formulas

PEMDAS, BODMAS, BIDMAS, and GEMA are memory tools for the same central idea: evaluate mathematical expressions in a conventional order so that everyone gets the same result.

\[ \text{Grouping first} \] \[ \text{Exponents / Orders next} \] \[ \text{Multiplication and Division from left to right} \] \[ \text{Addition and Subtraction from left to right} \]

Multiplication and division share the same priority:

\[ a\div b\times c=\left(a\div b\right)\times c \] \[ \text{not always }a\div(b\times c) \]

Addition and subtraction also share the same priority:

\[ a-b+c=\left(a-b\right)+c \] \[ \text{not always }a-(b+c) \]

Exponents are usually evaluated before multiplication and division:

\[ 2+3^2=2+9=11 \] \[ (2+3)^2=5^2=25 \]

Grouping symbols override the normal order:

\[ 6+3\times4=18 \] \[ (6+3)\times4=36 \]

Complete Guide to PEMDAS and BODMAS

PEMDAS and BODMAS are memory devices for the order of operations. They help students decide which operation to perform first when an expression contains more than one operation. Without an agreed order, an expression such as \(6+3\times4\) could be misunderstood. One person might add first and get 36. Another person might multiply first and get 18. The conventional order tells us to multiply before adding, so the correct value is 18.

PEMDAS stands for Parentheses, Exponents, Multiplication, Division, Addition, and Subtraction. BODMAS stands for Brackets, Orders, Division, Multiplication, Addition, and Subtraction. BIDMAS uses Indices instead of Orders. GEMA uses Grouping, Exponents, Multiplication/Division, and Addition/Subtraction. These names look different, but they describe the same practical structure. Grouping comes first, powers come next, multiplication and division are handled together from left to right, and addition and subtraction are handled together from left to right. Use the subtraction methods and examples to compare taking away with finding a difference.

The most important teaching point is that multiplication does not always come before division. They have the same priority. The same is true for addition and subtraction. Students who treat PEMDAS as six separate steps sometimes make mistakes. For example, \(18\div3\times2\) should be evaluated from left to right. First \(18\div3=6\), then \(6\times2=12\). It is not \(18\div(3\times2)=3\).

Addition and subtraction also move left to right. For example, \(10-4+2\) becomes \(6+2=8\). It is not \(10-(4+2)=4\). This is why many teachers prefer phrasing the rule as “grouping, exponents, multiplication/division left to right, addition/subtraction left to right.” That version is longer than PEMDAS, but it is harder to misread.

Grouping symbols include parentheses, brackets, braces, and sometimes fraction bars or radicals. Parentheses are the most familiar, but brackets and braces work the same way in arithmetic expressions. A grouped expression must be evaluated before it is used by the outside expression. In \(5+[12\div(3+1)]\times2\), the \(3+1\) must be evaluated first because it is inside parentheses.

Exponents are repeated multiplication. In \(3^2\), the base is 3 and the exponent is 2, so the value is \(3\times3=9\). Exponents are evaluated before multiplication, division, addition, and subtraction unless grouping says otherwise. That is why \(2+3^2=11\), while \((2+3)^2=25\). The grouping changes what the exponent applies to.

Expressions with nested grouping are solved from the inside out. If an expression has parentheses inside brackets, evaluate the innermost grouping first. For example, in \(5+[12\div(3+1)]\times2\), calculate \(3+1=4\), then \(12\div4=3\), then \(3\times2=6\), and finally \(5+6=11\). The visual steps in this tool are designed to show that chain clearly.

A common confusion appears with calculators and typed expressions. Some calculators support implicit multiplication, so \(2(3+4)\) means \(2\times(3+4)\). Other systems require the multiplication sign. This tool can allow implicit multiplication, but students should understand that the multiplication is still present. Writing \(2(3+4)\) means two groups of the quantity \(3+4\).

Another common issue is exponent association. Many mathematical systems treat exponent towers as right-associative, so 2^3^2 means \(2^{(3^2)}=2^9=512\). Some learners expect \((2^3)^2=64\). This tool includes an exponent rule option so teachers can demonstrate the difference. In early classroom work, grouping can remove ambiguity: write \(2^{(3^2)}\) or \((2^3)^2\).

Order of operations is not just a trick. It is a convention that makes mathematical communication precise. Algebra, computer science, spreadsheets, physics formulas, chemistry calculations, finance formulas, coding expressions, and graphing tools all rely on expression structure. A small change in grouping can completely change the result.

Students should learn to read an expression before calculating. First find grouping. Next identify exponents. Then scan for multiplication and division from left to right. Finally scan for addition and subtraction from left to right. This process is slower at first, but it builds accuracy. Rushing straight into computation often creates avoidable mistakes.

Word problems can also involve order of operations. A question might say: “A ticket costs $8. A service fee of $3 is added to each order. How much do 5 tickets plus the service fee cost?” If the fee is per order, the expression is \(5\times8+3\). If the fee is per ticket, the expression is \(5\times(8+3)\). These expressions have different values. The order of operations helps evaluate them, but understanding the context helps write them correctly.

In algebra, order of operations becomes even more important. An expression such as \(2x+5\) means multiply \(x\) by 2, then add 5. The expression \(2(x+5)\) means add first, then multiply the entire group by 2. These are not equivalent in general. Understanding PEMDAS and BODMAS prepares students for simplifying expressions, solving equations, factoring, expanding, and evaluating formulas.

In spreadsheets, order of operations appears in formulas such as =A1+B1*C1. The multiplication happens before addition. If the user wants addition first, the formula must be written as =(A1+B1)*C1. In programming languages, expressions follow precedence rules too. The exact rules may vary by language, so grouping is often the safest way to make intent clear.

This learning tool does not use unsafe code evaluation. It tokenizes the expression, normalizes symbols such as \(×\) and \(÷\), handles grouping, and then applies the order rules step by step. This makes the tool suitable for teaching because students can see each operation rather than receiving only a final answer.

The tool also includes a batch solver. Teachers can paste several expressions and quickly create answer keys. Students can compare similar expressions that differ only by grouping. For example, \(6+3\times4\), \((6+3)\times4\), and \(6+(3\times4)\) are useful comparison problems because they show exactly why grouping matters.

The practice generator gives students immediate feedback. Easy problems focus on the left-to-right rule for multiplication, division, addition, and subtraction. Medium problems add grouping. Challenge problems add exponents and nested structure. Students should write their steps on paper before checking the answer. Use the addition rules and examples to see what combining two quantities looks like in words and symbols.

This page is not an official exam score calculator. There is no universal score guideline, score table, or next exam timetable for PEMDAS and BODMAS. This is a learning and practice page. It supports classroom instruction, tutoring, homework review, parent support, homeschool practice, and independent learning. For official exam dates and scoring rules, students must check their school, district, state, or exam-board sources.

Teaching note: PEMDAS and BODMAS are memory aids, not separate mathematical laws. The clearest rule is: grouping first, exponents next, multiplication/division left to right, and addition/subtraction left to right.

Reference Links

Useful curriculum references: Common Core Grade 5 Operations & Algebraic Thinking, Common Core Grade 6 Expression Evaluation.

How to Use This PEMDAS & BODMAS Tool

  1. Enter an expression. Use numbers, parentheses, brackets, braces, exponents, multiplication, division, addition, and subtraction.
  2. Choose the learning name. Select PEMDAS, BODMAS, BIDMAS, GEMA, or plain order of operations.
  3. Set options. Choose decimal precision, implicit multiplication, exponent rule, and whether to show work.
  4. Click Solve Expression. The tool evaluates grouping, exponents, multiplication/division, and addition/subtraction.
  5. Study the steps. Each row shows the expression before the step, the operation performed, and the expression after the step.
  6. Use practice mode. Generate a new expression, solve it yourself, and check your answer.
  7. Export results. Copy the solution, download CSV, or print the page for a worksheet or classroom note.
Rule What It Means Common Mistake
Grouping Evaluate parentheses, brackets, braces, fraction bars, and other grouped parts first. Ignoring parentheses and doing multiplication first.
Exponents / Orders Evaluate powers before multiplication/division and addition/subtraction. Adding before applying the exponent.
Multiplication and Division Same priority. Work from left to right. Always multiplying before dividing.
Addition and Subtraction Same priority. Work from left to right. Always adding before subtracting.
Grouping for clarity Use parentheses when an expression could be misunderstood. Writing ambiguous expressions without grouping.

Score, Course, and Exam Table Note

Requested Item Status for This Learning Tool Correct Guidance
Score guidelines Not applicable This is a math learning and practice tool, not an official score calculator.
Score table Not applicable There is no universal score table for PEMDAS or BODMAS practice.
Next exam timetable Not applicable Use official school, district, state, or exam-board sources for course-specific exam dates.
Course relevance Highly relevant for upper elementary, middle school, and pre-algebra Supports numerical expressions, grouping symbols, exponents, algebra readiness, and expression evaluation.

PEMDAS & BODMAS FAQ

What is PEMDAS?

PEMDAS stands for Parentheses, Exponents, Multiplication, Division, Addition, and Subtraction. It is a memory aid for the order of operations.

What is BODMAS?

BODMAS stands for Brackets, Orders, Division, Multiplication, Addition, and Subtraction. It describes the same core order as PEMDAS.

Do you multiply before dividing?

Not always. Multiplication and division have the same priority, so solve them from left to right.

Do you add before subtracting?

Not always. Addition and subtraction have the same priority, so solve them from left to right.

What comes first: parentheses or exponents?

Grouping comes first. Evaluate the expression inside parentheses, brackets, or braces before applying outside operations.

Why can two expressions with the same numbers have different answers?

Grouping and operation order can change the structure. For example, \(6+3\times4=18\), but \((6+3)\times4=36\).

What grade level learns PEMDAS or BODMAS?

Students commonly begin formal expression evaluation with grouping symbols around Grade 5 and extend the skill with exponents and algebraic expressions in Grade 6 and beyond.

Advertisement

Break a tie between division and multiplication

For 48 divided by four times three, division and multiplication have equal priority. Work from the left to obtain twelve times three, or 36. Putting parentheses around four times three changes the divisor to twelve and produces four. Write down the replacement for each completed step so the two versions can be compared without relying on the mnemonic alone.

Simplify Expressions Using Order of Operations

The order in which mathematical operations is performed is a convention that makes it easier for anyone to correctly calculate. They follow the acronym EMDAS:
E Exponents
M/D Multiplication and division
A/S Addition and Subtraction
So, what does EMDAS tell us to do? In an equation, moving left to right, we begin by calculating all the exponents first. Once the exponents have been calculated, we again move left to right, calculating the multiplications and divisions, one at a time. Multiplication and division hold the same position in the ordering, so when you encounter one or the other at this step, do it. Once the multiplications and divisions have been calculated, we again move left to right, calculating the additions and subtractions, one at a time. Additions and subtractions hold the same position in the ordering, so when you encounter one or the other at this step, do it. (You may have previously learned the order of operations as PEMDAS, with parentheses first; we will add that aspect later on.) We’ll explore this as we work an example.

Using Two Order of Operations

Calculate 21−4×13.
Solution
There are no exponents in this expression, so the next operations to check are multiplication and division.
Step 1: Moving left to right, the first multiplication encountered is 4 multiplied by 13. We perform that operation first.
21−4×13=21−52
Step 2: The only operation remaining is the subtraction.
21−52=−31.
So, 21−4×13=−31.

Using Two Order of Operations

Calculate 4×83.
Solution
Step 1: Moving left to right, we see there is an exponent. We calculate the exponent first.
4×83=4×(8×8×8)=4×512
Step 2: The only operation remaining is the multiplication.
4×512=2,048
So, 4×83=2,048.

Using Three Order of Operations

Calculate 2+32×4.
Solution
Step 1: To calculate this, move left to right, and compute all the exponents first. The only exponent we see is the squaring of the 3, so that is calculated first.
2+32×4=2+(3×3)×4=2+9×4
Step 2: Since the exponents are all calculated, now calculate all the multiplications and divisions moving left to right. The only multiplication or division present is 9 times 4.
2+9×4=2+36
Step 3: Moving left to right, perform the additions and subtractions. There is only one such operation, 2 plus 36.
2+36=38
So, 2+32×4=38.
Even if the expression being calculated gets more complicated, we perform the operations in the order: EMDAS.

Using Eight Order of Operations

Correctly apply the order of operations to compute the following:
4−25×6/10×32+7×23.
Solution
Step 1: To do so, calculate the exponents first, moving left to right. There are two occurrences of exponents in the expression, 3 squared and 2 cubed.
4−25×6/10×32+7×23=4−25×6/10×9+7×8
Step 2: Now that the exponents are calculated, perform the multiplication and division, moving left to right. The first is the product of 25 and 6.
4−25×6/10×9+7×8=4−150/10×9+7×8
Step 3: Next is the 150 divided by 10.
4−150/10×9+7×8=4−15×9+7×8
Step 4: Next is 15 multiplied by 9.
4−15×9+7×8=4−135+7×8
Step 5: Finally, multiply the 7 and 8.
4−135+7×8=4−135+56
As all the multiplications and divisions have been calculated, the additions and subtractions are performed, moving left to right.
4−135+56=−131+56=−131+56=−75
The computed value is −75.

Using Six Order of Operations

Correctly apply the rules for the order of operations to accurately compute the following:
10−3×53/15+56/4.
Solution
Step 1: Calculate exponents first, moving left to right:
10−3×53/15+56/4=10−3×125/15+56/4
Step 2: Multiply and divide, moving left to right:
10−3×125/15+56/4=10−375/15+56/4=10−25+56/4=10−25+14
Step 3: Add and subtract, moving left to right:
10−25+14=−15+14=−1

Using Order of Operations

Correctly apply the rules for the order of operations to accurately compute the following: (−8)/2×3−9×24/12+9×(−4)2/23.
Solution
Step 1: Calculate the exponents first, moving left to right:
(−8)/2×3−9×24/12+9×(−4)2/23=(−8)/2×3−9×16/12+9×122/23=(−8)/2×3−9×16/12+9×144/23=(−8)/2×3−9×16/12+9×144/8
Step 2: Multiply and divide, moving left to right:
=(−8)/2×3−9×16/12+9×144/8=(−4)×3−9×16/12+9×144/8=(−12)−9×16/12+9×144/8=(−12)−144/12+9×144/8=(−12)−12+9×144/8=(−12)−12+1,296/8=(−12)−12+162
Step 3: Add and subtract, moving left to right:
=(−12)−12+162=(−24)+162=138

Using the Order of Operations Involving Grouping Symbols

We have examined how to use the order of operations, denoted by EMDAS, to correctly calculate expressions. However, there may be expressions where a multiplication should happen before an exponent, or a subtraction before a division. To indicate an operation should be performed out of order, the operation is placed inside parentheses. When parentheses are present, the operations inside the parentheses are performed first. Adding the parentheses to our list, we now have PEMDAS, as shown below.
P Parentheses
E Exponents
M/D Multiplication and division (division is just the multiplication by the reciprocal)
A/S Addition and subtraction (subtraction is just the addition of the negative)
As said previously, parentheses indicate that some operation or operations will be performed outside the standard order of operation rules. For instance, perhaps you want to multiply 4 and 7 before squaring. To indicate that the multiplication happens before the exponent, the multiplication is placed inside parentheses: (4×7)2.
This means operations inside the parentheses take precedence, or happen before other operations. Now, the first step in calculating arithmetic expressions using the order of operations is to perform operations inside parentheses first. Inside the parentheses, you follow the order of operation rules EMDAS.

Prioritizing Parentheses in the Order of Operations

Correctly apply the rules for the order of operations to accurately compute the following:
(10−3)×53.
Solution
Step 1: Perform all calculations within the parentheses before all other operations.
(10−3)×53=7×53
Step 2: Since all parentheses have been cleared, move left to right, and compute all the exponents next.
7×53=7×125
Step 3: Perform all multiplications and divisions moving left to right.
7×125=875
Be aware that there can be more than one set of parentheses, and parentheses within parentheses. When one set of parentheses is inside another set, do the innermost set first, and then work outward.

Working Innermost Parentheses in the Order of Operations

Correctly apply the rules for order of operations to accurately compute the following:
4+2×(32−(2+5)2×4)/(3+8).
Solution
Step 1: Perform all calculations within the parentheses before other operations. Evaluate the innermost parentheses first. We can work separate parentheses expressions at the same time. The innermost set of parentheses has the 2 + 5 inside. The 3 + 8 is in a separate set of parentheses, so that addition can occur at the same time as the 2 + 5.
4+2×(32−(2+5)2×4)/(3+8)=4+2×(32−(7)2×4)/(11)
Step 2: Now that those parentheses have been handled, move on to the next set of parentheses. Applying the order of operation rules inside that set of parentheses, the exponent is evaluated first, then the multiplication, and then the addition.
4+2×(32−72×4)/11=4+2×(32−49×4)/11=4+2×(−187)/11
Step 3: Since all parentheses have been cleared, apply the EMDAS rules to finish the calculation.
4+2×(−187)/11=4−374/11=4−34=−30

Simplify Expressions with Exponents

To simplify a numerical expression means to do all the math possible. For example, to simplify 4·2+1 we’d first multiply 4·2 to get 8 and then add the 1 to get 9. A good habit to develop is to work down the page, writing each step of the process below the previous step. The example just described would look like this:
4·2+1
8+1
9
Suppose we have the expression 2·2·2·2·2·2·2·2·2. We could write this more compactly using exponential notation. Exponential notation is used in algebra to represent a quantity multiplied by itself several times. We write 2·2·2 as 23 and 2·2·2·2·2·2·2·2·2 as 29. In expressions such as 23, the 2 is called the base and the 3 is called the exponent. The exponent tells us how many factors of the base we have to multiply.
The image shows the number two with the number three, in superscript, to the right of the two. The number two is labeled as “base” and the number three is labeled as “exponent”.
means multiply three factors of 2
We say 23 is in exponential notation and 2·2·2 is in expanded notation.
For powers of n=2 and n=3, we have special names.
a2is read as"asquared"a3is read as"acubed"
table lists some examples of expressions written in exponential notation.
Exponential Notation In Words
72 7 to the second power, or 7 squared
53 5 to the third power, or 5 cubed
94 9 to the fourth power
125 12 to the fifth power
Write each expression in exponential form:
  1. ⓐ 16·16·16·16·16·16·16
  2. ⓑ 9·9·9·9·9
  3. ⓒ x·x·x·x
  4. ⓓ a·a·a·a·a·a·a·a
Solution

Solution

ⓐ The base 16 is a factor 7 times. 167
ⓑ The base 9 is a factor 5 times. 95
ⓒ The base x is a factor 4 times. x4
ⓓ The base a is a factor 8 times. a8
Write each exponential expression in expanded form:
  1. ⓐ 86
  2. ⓑ x5
Solution

Solution

ⓐ The base is 8 and the exponent is 6, so 86 means 8·8·8·8·8·8
ⓑ The base is x and the exponent is 5, so x5 means x·x·x·x·x
To simplify an exponential expression without using a calculator, we write it in expanded form and then multiply the factors.
Simplify: 34.
Solution

Solution

34
Expand the expression. 3⋅3⋅3⋅3
Multiply left to right. 9⋅3⋅3
27⋅3
Multiply. 81

Simplify Expressions Using the Order of Operations

We’ve introduced most of the symbols and notation used in algebra, but now we need to clarify the order of operations. Otherwise, expressions may have different meanings, and they may result in different values.
For example, consider the expression:
4+3·7
Some students say it simplifies to 49.Some students say it simplifies to 25.4+3·7Since4+3gives 7.7·7And7·7is 49.494+3·7Since3·7is 21.4+21And21+4makes 25.25
Imagine the confusion that could result if every problem had several different correct answers. The same expression should give the same result. So mathematicians established some guidelines called the order of operations, which outlines the order in which parts of an expression must be simplified.
Students often ask, “How will I remember the order?” Here is a way to help you remember: Take the first letter of each key word and substitute the silly phrase. Please Excuse My Dear Aunt Sally.
Order of Operations
Please Parentheses
Excuse Exponents
My Dear Multiplication and Division
Aunt Sally Addition and Subtraction
It’s good that ‘My Dear’ goes together, as this reminds us that multiplication and division have equal priority. We do not always do multiplication before division or always do division before multiplication. We do them in order from left to right.
Similarly, ‘Aunt Sally’ goes together and so reminds us that addition and subtraction also have equal priority and we do them in order from left to right.
Simplify the expressions:
  1. ⓐ 4+3·7
  2. ⓑ (4+3)·7
Solution

Solution

ⓐ
.
Are there any parentheses? No.
Are there any exponents? No.
Is there any multiplication or division? Yes.
Multiply first. .
Add. .
.
ⓑ
.
Are there any parentheses? Yes. .
Simplify inside the parentheses. .
Are there any exponents? No.
Is there any multiplication or division? Yes.
Multiply. .
Simplify:
  1. ⓐ 18÷9·2
  2. ⓑ 18·9÷2
Solution

Solution

ⓐ
.
Are there any parentheses? No.
Are there any exponents? No.
Is there any multiplication or division? Yes.
Multiply and divide from left to right. Divide. .
Multiply. .
ⓑ
.
Are there any parentheses? No.
Are there any exponents? No.
Is there any multiplication or division? Yes.
Multiply and divide from left to right.
Multiply. .
Divide. .
Simplify: 18÷6+4(5−2).
Solution

Solution

.
Parentheses? Yes, subtract first. .
Exponents? No.
Multiplication or division? Yes.
Divide first because we multiply and divide left to right. .
Any other multiplication or division? Yes.
Multiply. .
Any other multiplication or division? No.
Any addition or subtraction? Yes. .
When there are multiple grouping symbols, we simplify the innermost parentheses first and work outward.
Simplify:5+23+3[ 6−3(4−2) ].
Solution

Solution

.
Are there any parentheses (or other grouping symbol)? Yes.
Focus on the parentheses that are inside the brackets. .
Subtract. .
Continue inside the brackets and multiply. .
Continue inside the brackets and subtract. .
The expression inside the brackets requires no further simplification.
Are there any exponents? Yes.
Simplify exponents. .
Is there any multiplication or division? Yes.
Multiply. .
Is there any addition or subtraction? Yes.
Add. .
Add. .
.
Simplify: 23+34÷3−52.
Solution

Solution

.
If an expression has several exponents, they may be simplified in the same step.
Simplify exponents. .
Divide. .
Add. .
Subtract. .
.

Applying the Order of Operations to Simplify Expressions

The order of operations for rational numbers is the same as for integers, as discussed in Order of Operations. The order of operations makes it easier for anyone to correctly calculate and represent. The order follows the well-known acronym PEMDAS:
P Parentheses
E Exponents
M/D Multiplication and division
A/S Addition and subtraction
The first step in calculating using the order of operations is to perform operations inside the parentheses. Moving down the list, next perform all exponent operations moving from left to right. Next (left to right once more), perform all multiplications and divisions. Finally, perform the additions and subtractions.

Applying the Order of Operations with Rational Numbers

Correctly apply the rules for the order of operations to accurately compute (57−27)×23.
Solution
Step 1: To calculate this, perform all calculations within the parentheses before other operations.
(57−27)×23=(37)×23
Step 2: Since all parentheses have been cleared, we move left to right, and compute all the exponents next.
(37)×23=(37)×8
Step 3: Now, perform all multiplications and divisions, moving left to right.
(37)×8=247

Applying the Order of Operations with Rational Numbers

Correctly apply the rules for the order of operations to accurately compute 4+23÷((59)2−(23+5))2.
Solution
To calculate this, perform all calculations within the parentheses before other operations. Evaluate the innermost parentheses first. We can work separate parentheses expressions at the same time.
Step 1: The innermost parentheses contain 23+5. Calculate that first, dividing after finding the common denominator.
4+23÷((59)2−(23+5))2=4+23÷((59)2−(23+51))2=4+23÷((59)2−(23+153))2=4+23÷((59)2−(173))2
Step 2: Calculate the exponent in the parentheses, (59)2.
4+23÷((59)2−(173))2=4+23÷((2581)−(173))2
Step 3: Subtract inside the parentheses is done, using a common denominator.
4+23÷((2581)−(173))24+23÷((2581)−(17×273×27))24+23÷((2581)−(45981))24+23÷((−43481))2
Step 4: At this point, evaluate the exponent and divide.
4+23÷((−43481))24+23÷(188,3566,561)=4+23×(6,561188,356)=4+2,18794,178
Step 5: Add.
4+2,18794,178=378,89994,178
Had this been done on a calculator, the decimal form of the answer would be 4.0232 (rounded to four decimal places).

Simplifying and Evaluating Algebraic Expressions

To simplify an expression means to do all the math possible. For example, to simplify 4•2+1 we would first multiply 4•2 to get 8 and then add 1 to get 9. We have introduced most of the symbols and notation used in algebra, but now we need to clarify the order of operations. Otherwise, expressions may have different meanings, and they may result in different values. Consider 2+7•3. Do you add first or multiply first? Do you get different answers?
Add first: 9•3=27 Multiply first: 2+21=23 Which one is correct?
Early on, mathematicians realized the need to establish some guidelines when performing arithmetic operations to ensure that everyone would get the same answer. Those guidelines are called the order of operations and are listed in the table below.
Step 1: Parentheses and Other Grouping Symbols Simplify all expressions inside the parentheses or other grouping symbols, working on the innermost parentheses first.
Step 2: Exponents Simplify all expressions with exponents.
Step 3: Multiplication and Division Perform all multiplication and division in order from left to right. These operations have equal priority.
Step 4: Addition and Subtraction Perform all addition and subtraction in order from left to right. These operations have equal priority.

Making a Numerical Equation True Using the Order of Operations

Use parentheses to make the following statements true.
  1. 17−10+3=10
  2. 2•26−7=38
  3. 8+12÷5−3=14
  4. 5+23•7=91
Solution
  1. Add the parentheses around the 17−10. Then you have (17−10)+3=7+3=10.
  2. Add the parentheses around the 26−7. Then you have 2•(26−7)=2•19=38.
  3. Add the parentheses around the 5−3. Then you have 8+12÷(5−3)=8+12÷2=8+6=14.
  4. Add the parentheses around the 5+23. Then you have (5+23)•7=(5+8)•7=13•7=91.
In the last example, we simplified expressions using the order of operations. Now we'll evaluate some expressions—again following the order of operations. To evaluate an expression means to find the value of the expression when the variable is replaced by a given number.

Evaluating and Simplifying an Expression

  1. Evaluate 3x+5 when x=2.
  2. Evaluate x2+3x+1 when x=2.
Solution
  1. To evaluate, let x=2 in the expression, and then simplify: 3(2)+5=6+5=11.
  2. To evaluate, let x=2 in the expression, and then simplify: 22+3(2)+1=4+6+1=11.

Operations of Algebraic Expressions

Algebraic expressions are made up of terms. A term is a constant or the product of a constant and one or more variables. Examples of terms are 7, y, 5x2, 9a, and b5. The constant that multiplies the variable is called the coefficient. Think of the coefficient as the number in front of the variable. Consider the algebraic expressions 5x2, which has a coefficient of 5, and 9a, which has a coefficient of 9. If there is no number listed in front of the variable, then the coefficient is 1 since x=1•x.
Some terms share common traits. When two terms are constants or have the same variable and exponent, we say they are like terms. If there are like terms in an expression, you can simplify the expression by combining the like terms. We add the coefficients and keep the same variable.

Adding Algebraic Expressions

Add (x2+4x−9)+(3x2−x+12).
Solution
Step 1: Add the terms in any order and get the same result (think: 2+3=3+2 ) and drop the parentheses:
x2+4x−9+3x2−x+12
Step 2: Group like terms together:
x2+3x2+4x−x−9+12
Step 3: Combine the like terms:
4x2+3x+3

Subtracting Algebraic Expressions

Subtract (5x2+4x−9)−(3x2−x+12).
Solution
Step 1: Distribute the negative inside the parentheses (think: 2−(3−4)=2−3+4=−1+4=3, which is the correct answer). You cannot just drop the parentheses (for example, 2−3−4=−1−4=−5, which is not correct as we have already verified the answer is 3):
5x2+4x−9−3x2+x−12
Step 2: Group like terms together:
5x2−3x2+4x+x−9−12
Step 3: Combine the like terms:
2x2+x−21
Before looking at multiplying algebraic expressions we look at the Distributive Property, which says that to multiply a sum, first you multiply each term in the sum and then you add the products. For example, 5(4+3)=5(4)+5(3)=20+15=35 can also be solved as 5(4+3)=5(7)=35. If we use a variable, then 5(x+3)=5x+15.
We can extended this example to (5+2)(4+3)=(5)(4)+(5)(3)+(2)(4)+(2)(3)=20+15+8+6=49, which can also be solved as (5+2)(4+3)=(7)(7)=49. If we use variables, then (x+5)(x+4)=(x)(x)+(x)(4)+(5)(x)+(5)(4)=x2+4x+5x+20=x2+9x+20.

Simplifying an Expression Using the Order of Operations

Simplify each expression.
  1. (x−3)5
  2. (−3)(x+y−2)
  3. 52(7+3)(x)
  4. 4+x•5
  5. (4+x)•5
Solution
  1. 5x−3•5=5x−15
  2. (−3)•x+(−3)•y−(−3)•2=−3x−3y+6
  3. 25(7+3)(x)=25(10)(x)=250x
  4. 4+5x
  5. (4)•(5)+(x)•(5)=20+5x

Multiplying Algebraic Expressions

Multiply (4x−9)(x+2).
Solution
Step 1: Use the Distributive Property:
(4x)(x)+(4x)(2)−(9)(x)−(9)(2)
Step 2: Multiply:
4x2+8x−9x−18
Step 3: Combine the like terms:
4x2−x−18

Dividing Algebraic Expressions

Divide (8x2+4x−16)÷(4x).
Solution
Divide EACH term by 4x:
(8x2÷4x)+(4x÷4x)−(16÷4x)=2x+1−4x
In 2012, Andrew Hacker wrote an opinion piece in the New York Times Magazine suggesting that teaching algebra in high school was a waste of time. Keith Devlin, a British mathematician, was asked to comment on Hacker's article by his students in his Stanford University Continuing Studies course "Mathematics: Making the Invisible Visible" on iTunes University. Devlin concludes that Hacker was displaying his ignorance of what algebra is.