# Introduction to Arithmetic Operations

## Basic Operations

The basic arithmetic operations for real numbers are addition, subtraction, multiplication, and division.### Learning Objectives

Calculate the sum, difference, product, and quotient of positive whole numbers### Key Takeaways

#### Key Points

- The basic arithmetic operations for real numbers are addition, subtraction, multiplication, and division.
- The basic arithmetic properties are the commutative, associative, and distributive properties.

#### Key Terms

**associative**: Referring to a mathematical operation that yields the same result regardless of the grouping of the elements.**commutative**: Referring to a binary operation in which changing the order of the operands does not change the result (e.g., addition and multiplication).**product**: The result of multiplying two quantities.**quotient**: The result of dividing one quantity by another.**sum**: The result of adding two quantities.**difference**: The result of subtracting one quantity from another.

#### The Four Arithmetic Operations

### Addition

Addition is the most basic operation of arithmetic. In its simplest form, addition combines two quantities into a single quantity, or*sum*. For example, say you have a group of 2 boxes and another group of 3 boxes. If you combine both groups together, you now have one group of 5 boxes. To represent this idea in mathematical terms:

$2+3=5$

### Subtraction

Subtraction is the opposite of addition. Instead of adding quantities together, we are removing one quantity from another to find the*difference*between the two. Continuing the previous example, say you start with a group of 5 boxes. If you then remove 3 boxes from that group, you are left with 2 boxes. In mathematical terms:

$5-3=2$

### Multiplication

Multiplication also combines multiple quantities into a single quantity, called the*product*. In fact, multiplication can be thought of as a consolidation of many additions. Specifically, the product of

$x$

and $y$

is the result of $x$

added together $y$

times. For example, one way of counting four groups of two boxes is to add the groups together:$2+2+2+2=8$

However, another way to count the boxes is to multiply the quantities:

$2 \cdot 4 = 8$

Note that both methods give you the same result—8—but in many cases, particularly when you have large quantities or many groups, multiplying can be much faster.

### Division

Division is the inverse of multiplication. Rather than multiplying quantities together to result in a larger value, you are splitting a quantity into a smaller value, called the*quotient*. Again, to return to the box example, splitting up a group of 8 boxes into 4 equal groups results in 4 groups of 2 boxes:

$8 \div 4 = 2$

### The Basic Arithmetic Properties

### Commutative Property

The commutative property describes equations in which the*order*of the numbers involved does not affect the result. Addition and multiplication are commutative operations:

- $2+3=3+2=5$
- $5 \cdot 2=2 \cdot 5=10$

Subtraction and division, however, are not commutative.

### Associative Property

The associative property describes equations in which the*grouping*of the numbers involved does not affect the result. As with the commutative property, addition and multiplication are associative operations:

- $(2+3)+6=2+(3+6)=11$
- $(4 \cdot 1) \cdot 2=4 \cdot (1 \cdot 2)=8$

Once again, subtraction and division are not associative.

### Distributive Property

The distributive property can be used when the sum of two quantities is then multiplied by a third quantity.- $(2+4) \cdot 3 = 2 \cdot 3+4\cdot 3 = 18$

## Negative Numbers

Arithmetic operations can be performed on negative numbers according to specific rules.### Learning Objectives

Calculate the sum, difference, product, and quotient of negative whole numbers### Key Takeaways

#### Key Points

- The addition of two negative numbers results in a negative; the addition of a positive and negative number produces a number that has the same sign as the number of larger magnitude.
- Subtraction of a positive number yields the same result as the addition of a negative number of equal magnitude, while subtracting a negative number yields the same result as adding a positive number.
- The product of one positive number and one negative number is negative, and the product of two negative numbers is positive.
- The quotient of one positive number and one negative number is negative, and the quotient of two negative numbers is positive.

#### The Four Operations

### Addition

The addition of two negative numbers is very similar to the addition of two positive numbers. For example:$(-3) + (-5) = -8$

The underlying principle is that two debts—negative numbers— can be combined into a single debt of greater magnitude.

When adding together a mixture of positive and negative numbers, another way to write the negative numbers is as positive quantities being subtracted. For example:

$8 + (-3) = 8 - 3 = 5$

Here, a credit of 8 is combined with a debt of 3, which yields a total credit of 5. However, if the negative number has greater magnitude, then the result is negative:

$(-8) + 3 = 3 - 8 = -5$

Similarly:

$(-2) + 7 = 7 - 2 = 5$

Here, a debt of 2 is combined with a credit of 7. The credit has greater magnitude than the debt, so the result is positive. But if the credit is less than the debt, the result is negative:

$2 + (-7) = 2 - 7 = -5$

### Subtraction

Subtracting positive numbers from each other can yield a negative answer. For example, subtracting 8 from 5:$5 - 8 = -3$

Subtracting a positive number is generally the same as adding the negative of that number. That is to say:

$5 - 8 = 5 + (-8) = -3$

and

$(-3) - 5 = (-3) + (-5) = -8$

Similarly,

*subtracting*a negative number yields the same result as

*adding*the positive of that number. The idea here is that

*losing*a debt is the same thing as

*gaining*a credit. Therefore:

$3 - (-5) = 3 + 5 = 8$

and

$(-5) - (-8) = (-5) + 8 = 3$

### Multiplication

When multiplying positive and negative numbers, the sign of the product is determined by the following rules:- The product of two positive numbers is positive.The product of one positive number and one negative number is negative.
- The product of two negative numbers is positive.

For example:

$(-2) × 3 = -6$

This is simply because adding −2 together three times yields −6:

$(-2) × 3 = (-2) + (-2) + (-2) = -6$

However,

$(-2) × (-3) = 6$

The idea again here is that losing a debt is the same thing as gaining a credit. In this case, losing two debts of three each is the same as gaining a credit of six:

$\left (-2\text{ debts } \right ) \times \left ( -3 \text{ each} \right ) = +6\text{ credit}$

### Division

The sign rules for division are the same as for multiplication.- Dividing two positive numbers yields a positive number.
- Dividing one positive number and one negative number yields a negative number.
- Dividing two negative numbers yields a positive number.

If the dividend and the divisor have the same sign, that is to say, the result is always positive. For example:

$8 ÷ (-2) = -4$

and

$(-8) ÷ 2 = -4$

but

$(-8) ÷ (-2) = 4$

.### Additional Considerations

The basic properties of addition (commutative, associative, and distributive) also apply to negative numbers. For example, the following equation demonstrates the distributive property:$-3(2 + 5) = (-3)\cdot 2 + (-3)\cdot 5$

## Fractions

A fraction represents a part of a whole and consists of an integer numerator and a non-zero integer denominator.### Learning Objectives

Calculate the result of operations on fractions### Key Takeaways

#### Key Points

- Addition and subtraction of fractions require "like quantities"—a common denominator. To add or subtract fractions containing unlike quantities (e.g. adding quarters to thirds), it is necessary to convert all amounts to like quantities.
- Multiplication of fractions requires multiplying the numerators by each other and then the denominators by each other. A shortcut is to use the cancellation strategy, which reduces the numbers to the smallest possible values prior to multiplication.
- Division of fractions involves multiplying the first number by the reciprocal of the second number.

#### Key Terms

**numerator**: The number that sits above the fraction bar and represents the part of the whole number.**reciprocal**: A fraction that is turned upside down so that the numerator and denominator have switched places.**denominator**: The number that sits below the fraction bar and represents the whole number.**fraction**: A ratio of two numbers—a numerator and a denominator—usually written one above the other and separated by a horizontal bar.

$\frac{1}{2}$

, $\frac{8}{5}$

, or $\frac{3}{4}$

, consists of an integer numerator (the top number) and a non-zero integer denominator (the bottom number). The numerator represents a certain number of equal parts of the whole, and the denominator indicates how many of those parts are needed to make up one whole. An example can be seen in the following figure, in which a cake is divided into quarters:### Addition

### Adding Like Quantities

The first rule of adding fractions is to start by adding fractions that contain like denominators—for example, multiple fourths, or quarters. A quarter is represented by the fraction$\frac{1}{4}$

, where the numerator, 1, represents the single quarter and the denominator, 4, represents the number of quarters it takes to make a whole, or one dollar.Imagine one pocket containing two quarters, and another pocket containing three quarters. In total, there are five quarters. Since four quarters is equivalent to one (dollar), this can be represented as follows:

$\displaystyle \frac{2}{4}+\frac{3}{4}=\frac{5}{4}=1\frac{1}{4}$

### Adding Unlike Quantities

To add fractions that contain*unlike*denominators (e.g. quarters and thirds), it is necessary to first convert all amounts to like quantities, which means all the fractions must have a common denominator. One easy way to to find a denominator that will give you like quantities is simply to multiply together the two denominators of the fractions. (It is important to remember that each numerator must also be multiplied by the same value its denominator is being multiplied by in order for the fraction to represent the same ratio.)

For example, to add quarters to thirds, both types of fractions are converted to twelfths:

$\displaystyle \frac { 1 }{ 3 } +\frac { 1 }{ 4 } =\frac { 1\cdot 4 }{ 3\cdot4 } +\frac { 1\cdot3 }{ 4\cdot3 } =\frac { 4 }{ 12 } +\frac { 3 }{ 12 } =\frac { 7 }{ 12 }$

This method can be expressed algebraically as follows:

$\displaystyle \frac{a}{b}+\frac{c}{d}=\frac{ad+cb}{bd}$

This method always works. However, sometimes there is a faster way—a smaller denominator, or a least common denominator—that can be used. For example, to add

$\frac{3}{4}$

to $\frac{5}{12}$

, the denominator 48 (the product of 4 and 12, the two denominators) can be used—but the smaller denominator 12 (the least common multiple of 4 and 12) may also be used.### Adding Fractions to Whole Numbers

What if a fraction is being added to a whole number? Simply start by writing the whole number as a fraction (recall that a whole number has a denominator of$1$

), and then continue with the above process for adding fractions.### Subtraction

The process for subtracting fractions is, in essence, the same as that for adding them. Find a common denominator, and change each fraction to an equivalent fraction using that common denominator. Then, subtract the numerators. For instance:$\displaystyle \frac { 2 }{ 3 } -\frac { 1 }{ 2 } =\frac { 2\cdot 2 }{ 3\cdot2 } -\frac { 1\cdot3 }{ 2\cdot3 } =\frac { 4 }{ 6 } -\frac { 3 }{ 6 } =\frac { 1 }{ 6 }$

To subtract a fraction from a whole number or to subtract a whole number from a fraction, rewrite the whole number as a fraction and then follow the above process for subtracting fractions.

### Multiplication

Unlike with addition and subtraction, with multiplication the denominators are not required to be the same. To multiply fractions, simply multiply the numerators by each other and the denominators by each other. For example:$\displaystyle \frac{2}{3}\cdot \frac{3}{4}=\frac{6}{12}$

If any numerator and denominator shares a common factor, the fractions can be reduced to lowest terms before or after multiplying. For example, the resulting fraction from above can be reduced to

$\frac{1}{2}$

because the numerator and denominator share a factor of 6. Alternatively, the fractions in the initial equation could have been reduced, as shown below, because 2 and 4 share a common factor of 2 and 3 and 3 share a common factor of 3:$\displaystyle \frac{2}{3}\cdot \frac{3}{4}=\frac{1}{1} \cdot \frac{1}{2}= \frac{1}{2}$

To multiply a fraction by a whole number, simply multiply that number by the numerator of the fraction:

$\displaystyle \frac {3}{4} \cdot 5= \frac {15}{4}$

A common situation where multiplying fractions comes in handy is during cooking. What if someone wanted to "half" a cookie recipe that called for

$\frac {1}{2}$

of a cup of chocolate chips? To find the proper amount of chocolate chips to use, multiply $\frac {1}{2} \cdot \frac{1}{2}$

. The result is $\frac {1}{4}$

, so the proper amount of chocolate chips is $\frac {1}{4}$

of a cup.### Division

The process for dividing a number by a fraction entails multiplying the number by the fraction's reciprocal. The reciprocal is simply the fraction turned upside down such that the numerator and denominator switch places. For example:$\displaystyle \frac { 1 }{ 2 } \div \frac { 3 }{ 4 } =\frac { 1 }{ 2 } \cdot \frac { 4 }{ 3 } =\frac { 4 }{ 6 } =\frac { 2 }{ 3 }$

To divide a fraction by a whole number, either divide the fraction's numerator by the whole number (if it divides simply):

$\displaystyle \frac { 10 }{ 3 } \div 5= \frac{10 \div 2}{3} = \frac { 2 }{ 3 }$

or multiply the fraction's denominator by the whole number:

$\displaystyle \frac { 10 }{ 3} \div 5 = \displaystyle \frac { 10 }{ 3\cdot5 } =\frac { 10 }{ 15 } =\frac { 2 }{ 3 }$

## Complex Fractions

A complex fraction is one in which the numerator, denominator, or both are fractions, which can contain variables, constants, or both.### Learning Objectives

Simplify complex fractions### Key Takeaways

#### Key Points

- Complex fractions include numbers such as $\frac {\left( \frac {8}{15}\right) }{\left( \frac {2}{3}\right)}$and$\frac {3}{1-\frac{2}{5}}$, where the numerator, denominator, or both include fractions.
- Before solving complex rational expressions, it is helpful to simplify them as much as possible.
- The "combine-divide method" for simplifying complex fractions entails (1) combining the terms in the numerator, (2) combining the terms in the denominator, and finally (3) dividing the numerator by the denominator.

#### Key Terms

**complex fraction**: A ratio in which the numerator, denominator, or both are themselves fractions.

$\frac {\left( \frac {8}{15}\right) }{\left( \frac {2}{3}\right)}$

and $\frac {3}{1-\frac{2}{5}}$

are complex fractions. When dealing with equations that involve complex fractions, it is useful to simplify the complex fraction before solving the equation.The process of simplifying complex fractions, known as the "combine-divide method," is as follows:

- Combine the terms in the numerator.
- Combine the terms in the denominator.
- Divide the numerator by the denominator.

### Example 1

Let's apply this method to the first complex fraction presented above:$\displaystyle{\frac {\left( \frac {8}{15}\right) }{\left( \frac {2}{3}\right)}}$

Since there are no terms that can be combined or simplified in either the numerator or denominator, we'll skip to Step 3, dividing the numerator by the denominator:

$\displaystyle{ \frac {\left( \frac {8}{15}\right) }{\left( \frac {2}{3}\right)} = \frac {8}{15} \div \frac {2}{3}}$

From previous sections, we know that dividing by a fraction is the same as multiplying by the reciprocal of that fraction. Therefore, we use the cancellation method to simplify the numbers as much as possible, and then we multiply by the simplified reciprocal of the divisor, or denominator, fraction:

$\displaystyle {{\frac 8{15}}\cdot {\frac 32} = {\frac 4{5}}\cdot{\frac 11} ={\frac 4{5}}}$

Therefore, the complex fraction

$\frac {\left( \frac {8}{15}\right) }{\left( \frac {2}{3}\right)}$

simplifies to $\frac {4}{5}$

.### Example 2

Let's try another example:$\displaystyle {\frac {\left(\dfrac{1}{2}+\dfrac{2}{3}\right)}{\left(\dfrac{2}{3}\cdot\dfrac{3}{4}\right)}}$

Start with Step 1 of the combine-divide method above: combine the terms in the numerator. You'll find that the common denominator of the two fractions in the numerator is 6, and then you can add those two terms together to get a single fraction term in the larger fraction's numerator:

$\displaystyle \frac {\left(\dfrac{1}{2}+\dfrac{2}{3}\right)}{\left(\dfrac{2}{3}\cdot\dfrac{3}{4}\right)} = \dfrac {\left(\dfrac{3}{6}+\dfrac{4}{6}\right)}{\left(\dfrac{2}{3}\cdot\dfrac{3}{4}\right)} = \dfrac {\left(\dfrac{7}{6}\right)}{\left(\dfrac{2}{3}\cdot\dfrac{3}{4}\right)}$

Let's move on to Step 2: combine the terms in the denominator. To do so, we multiply the fractions in the denominator together and simplify the result by reducing it to lowest terms:

$\dfrac {\left(\dfrac{7}{6}\right)}{\left(\dfrac{2}{3}\cdot\dfrac{3}{4}\right)} =
\dfrac{\left(\dfrac{7}{6}\right)}{\left(\dfrac{6}{12}\right)} =
\dfrac{\left(\dfrac{7}{6}\right)}{\left(\dfrac{1}{2}\right)}$

Let's turn to Step 3: divide the numerator by the denominator. Recall, again, that dividing by a fraction is the same as multiplying by the reciprocal of that fraction:

$\frac{\left(\dfrac{7}{6}\right)}{\left(\dfrac{1}{2}\right)}=
{\dfrac{7}{6}} \cdot {\dfrac{2}{1}} =
\dfrac{14}{6}$

Finally, simplify the resultant fraction:

$\displaystyle \frac{14}{6}=2\frac{2}{6}$

Therefore, ultimately:

$\frac {\left(\dfrac{1}{2}+\dfrac{2}{3}\right)}{ \left(\dfrac{2}{3}\cdot \dfrac{3}{4}\right)} =2\dfrac{2}{6}$

## Introduction to Exponents

Exponential form, written$b^n$

, represents multiplying the base $b$

times itself $n$

times.### Learning Objectives

- Describe exponents as representing repeated multiplication

### Key Takeaways

#### Key Points

- Exponentiation is a mathematical operation that represents repeated multiplication. The exponent $n$in the expression$b^n$represents the number of times the base$b$is multiplied by itself. For example, the expression$b^3$represents$b \cdot b \cdot b$.
- Any number raised to the exponent $1$is the number itself. For example,$b^1=b$.
- Any nonzero number raised to the exponent 0 is 1. That is to say, $b^0=1$.

#### Key Terms

**base**: A number raised to the power of an exponent.**exponent**: The power to which a number, symbol, or expression is to be raised. For example, the 3 in$b^3$.

$n$

in the expression $b^n$

represents the number of times the base $b$

is multiplied by itself.For example, the expression

$b^3$

represents $b \cdot b \cdot b$

. Here, the exponent is 3, and the expression can be read in any of the following ways:- $b$raised to the 3rd power
- $b$raised to the power of$3$
- $b$raised by the exponent of$3$

Some exponents have their own unique pronunciations. For example,

$b^2$

is usually read as "$b$

squared" and $b^3$

as "$b$

cubed."Exponentiation is used frequently in many fields, including economics, biology, chemistry, physics, and computer science, with applications such as compound interest, population growth, chemical reaction kinetics, wave behavior, and public key cryptography.

### Positive Integer Exponents

Now that we understand the basic idea, let's practice simplifying some exponential expressions.### Example 1

Let's look at an exponential expression with 2 as the base and 3 as the exponent:$2^3$

This means that the base 2 gets multiplied by itself 3 times:

$2^3 = 2 \cdot 2 \cdot 2 = 8$

### Example 2

Let's look at another exponential expression, this time with 3 as the base and 5 as the exponent:$3^5$

This means that the base 3 gets multiplied by itself 5 times:

$3^5 = 3 \cdot 3 \cdot 3 \cdot 3 \cdot 3 = 243$

### Exponents of 0 and 1

Any number raised by the exponent$1$

is the number itself. That is to say, $b^1=b$

.Any nonzero number raised by the exponent 0 is 1. That is to say,

$b^0=1$

. For example, $4^0=1$

.## The Order of Operations

The order of operations is an approach to evaluating expressions that involve multiple arithmetic operations.### Learning Objectives

Differentiate between correct and incorrect uses of the order of operations### Key Takeaways

#### Key Points

- The order of operations prevents ambiguity in mathematical expressions.
- The order of operations is as follows: 1) simplify terms inside parentheses or brackets, 2) simplify exponents and roots, 3) perform multiplication and division, 4) perform addition and subtraction.
- Multiplication and division are given equal priority, as are addition and subtraction. This means that multiplication and division operations (and similarly addition and subtraction operations) can be performed in the order in which they appear in the expression.
- A helpful mnemonic to remember the order of operations is PEMDAS, sometimes expanded to "Please Excuse My Dear Aunt Sally."

#### Key Terms

**mathematical operation**: An action or procedure that produces a new value from one or more input values.

For example, when faced with the expression

$4+2\cdot 3$

, how do you proceed?One option is:

$\begin{align}
\displaystyle 4+2\cdot3 &= (4+2)\cdot 3
\\&= 6\cdot 3
\\&= 18
\end{align}$

The other option is:

$\begin{align}
\displaystyle 4+2 \cdot 3 &= 4+(2\cdot 3)
\\ &= 4 + 6
\\ &= 10
\end{align}$

Which one is the correct order of operations?

In order to be able to communicate using mathematical expressions, we must have an agreed-upon order of operations so that each expression is unambiguous. For the above expression, for example, all mathematicians would agree that the correct answer is 10.

The order of operations used throughout mathematics, science, technology, and many computer programming languages is as follows:

- Simplify terms inside parentheses or brackets
- Simplify exponents and roots
- Perform multiplication and division
- Perform addition and subtraction

These rules means that within a mathematical expression, the operation ranking highest on the list should be performed first. Multiplication and division are of equal precedence (tier 3), as are addition and subtraction (tier 4). This means that multiplication and division operations (and similarly addition and subtraction operations) can be performed in the order in which they appear in the expression.

Let's evaluate a few expressions using the order of operations.

### Example 1

$3^2-1\cdot4+2$

In this expression, the following operations are taking place: exponentiation, subtraction, multiplication, and addition. Following the order of operations, we simplify the exponent first and then perform the multiplication; next, we perform the subtraction, and then the addition:

$\begin{align}
\displaystyle 3^2-1\cdot4+2 &= 9-1\cdot4+2
\\ &= 9-4+2
\\ &= 5+2
\\ &= 7
\end{align}$

### Example 2

$6-(5\cdot1)+2^3$

Here we have an expression that involves subtraction, parentheses, multiplication, addition, and exponentiation. Following the order of operations, we simplify the expression within the parentheses first and then simplify the exponent; next, we perform the subtraction and addition operations in the order in which they appear in the expression:

$\begin{align}
\displaystyle 6-(5\cdot1)+2^3 &= 6-5+2^3
\\ &= 6-5+8
\\ &= 1+8
\\ &= 9
\end{align}$

### A Note on Equal Precedence

Since multiplication and division are of equal precedence, it may be helpful to think of dividing by a number as multiplying by the reciprocal of that number. Thus$3 \div 4 = 3 \cdot \frac{1}{4}$

. In other words, the quotient of 3 and 4 equals the product of 3 and $\frac{1}{4}$

.Similarly, as addition and subtraction are of equal precedence, we can think of subtracting a number as the same as adding the negative of that number. Thus

$3-4=3+(-4)$

. In other words, the difference of 3 and 4 equals the sum of positive three and negative four.With this understanding, think of

$1-3+7$

as the sum of 1, negative 3, and 7, and then add these terms together. Now that you've reframed the operations, any order will work:- $(1-3)+7=-2+7=5$
- $(7-3)+1=4+1=5$

The important thing is to keep the negative sign with any negative number (here, the 3).

### Mnemonics

In the United States, the acronym PEMDAS is a common mnemonic for remembering the order of operations. It stands for Parentheses, Exponents, Multiplication, Division, Addition, and Subtraction. PEMDAS is often expanded to "Please Excuse My Dear Aunt Sally."This mnemonic can be misleading, however, because the "MD" implies that multiplication must be performed before division and the "AS" that addition must be performed before subtraction, rather than acknowledging their equal precedence. To illustrate why this is a problem, consider the following:

$10-3+2$

This expression correctly simplifies to 9. However, if you were to add together 2 and 3 first, to give 5, and

*then*performed the subtraction, you would get 5 as your final answer, which is incorrect. To avoid this mistake, is best to think of this problem as the sum of positive ten, negative three, and positive two.

$10+(-3)+2$

To avoid this confusion altogether, an alternative way to write the mnemonic is:

P

E

MD

AS

Or, simply as PEMA, where it is taught that multiplication and division inherently share the same precedence and that addition and subtraction inherently share the same precedence. This mnemonic makes the equivalence of multiplication and division and of addition and subtraction clear.

### Licenses and Attributions

#### More Study Resources for You

Show More