We've updated our

TEXT

# Real Numbers

Because of the evolution of the number system, we can now perform complex calculations using several categories of real numbers. In this section, we will explore sets of numbers, perform calculations with different kinds of numbers, and begin to learn about the use of numbers in algebraic expressions.

## Classify a Real Number

The numbers we use for counting, or enumerating items, are the natural numbers: 1, 2, 3, 4, 5, and so on. We describe them in set notation as {1, 2, 3, ...} where the ellipsis (…) indicates that the numbers continue to infinity. The natural numbers are, of course, also called the counting numbers. Any time we enumerate the members of a team, count the coins in a collection, or tally the trees in a grove, we are using the set of natural numbers. The set of whole numbers is the set of natural numbers plus zero: {0, 1, 2, 3,...}. The set of integers adds the opposites of the natural numbers to the set of whole numbers: {...-3, -2, -1, 0, 1, 2, 3,...}. It is useful to note that the set of integers is made up of three distinct subsets: negative integers, zero, and positive integers. In this sense, the positive integers are just the natural numbers. Another way to think about it is that the natural numbers are a subset of the integers.
$\begin{array}{lll}{\text{negative integers}}\hfill & {\text{zero}}\hfill & {\text{positive integers}}\\{\dots ,-3,-2,-1,}\hfill & {0,}\hfill & {1,2,3,\dots }\end{array}$
The set of rational numbers is written as $\left\{\frac{m}{n}|m\text{ and }{n}\text{ are integers and }{n}\ne{ 0 }\right\}$. Notice from the definition that rational numbers are fractions (or quotients) containing integers in both the numerator and the denominator, and the denominator is never 0. We can also see that every natural number, whole number, and integer is a rational number with a denominator of 1. Because they are fractions, any rational number can also be expressed in decimal form. Any rational number can be represented as either:
1. a terminating decimal: $\frac{15}{8}=1.875$, or
2. a repeating decimal: $\frac{4}{11}=0.36363636\dots =0.\overline{36}$
We use a line drawn over the repeating block of numbers instead of writing the group multiple times.

### Example: Writing Integers as Rational Numbers

Write each of the following as a rational number.
1. 7
2. 0
3. –8

Answer: Write a fraction with the integer in the numerator and 1 in the denominator.

1. $7=\frac{7}{1}$
2. $0=\frac{0}{1}$
3. $-8=-\frac{8}{1}$

### Try It

Write each of the following as a rational number.
1. 11
2. 3
3. –4

1. $\frac{11}{1}$
2. $\frac{3}{1}$
3. $-\frac{4}{1}$

### Example: Identifying Rational Numbers

Write each of the following rational numbers as either a terminating or repeating decimal.
1. $-\frac{5}{7}$
2. $\frac{15}{5}$
3. $\frac{13}{25}$

Answer: Write each fraction as a decimal by dividing the numerator by the denominator.

1. $-\frac{5}{7}=-0.\overline{714285}$, a repeating decimal
2. $\frac{15}{5}=3$ (or 3.0), a terminating decimal
3. $\frac{13}{25}=0.52$, a terminating decimal

### Irrational Numbers

At some point in the ancient past, someone discovered that not all numbers are rational numbers. A builder, for instance, may have found that the diagonal of a square with unit sides was not 2 or even $\frac{3}{2}$, but was something else. Or a garment maker might have observed that the ratio of the circumference to the diameter of a roll of cloth was a little bit more than 3, but still not a rational number. Such numbers are said to be irrational because they cannot be written as fractions. These numbers make up the set of irrational numbers. Irrational numbers cannot be expressed as a fraction of two integers. It is impossible to describe this set of numbers by a single rule except to say that a number is irrational if it is not rational. So we write this as shown.
{h | h is not a rational number}

### Example: Differentiating Rational and Irrational Numbers

Determine whether each of the following numbers is rational or irrational. If it is rational, determine whether it is a terminating or repeating decimal.
1. $\sqrt{25}$
2. $\frac{33}{9}$
3. $\sqrt{11}$
4. $\frac{17}{34}$
5. $0.3033033303333\dots$

1. $\sqrt{25}:$ This can be simplified as $\sqrt{25}=5$. Therefore, $\sqrt{25}$ is rational.
2. $\frac{33}{9}:$ Because it is a fraction, $\frac{33}{9}$ is a rational number. Next, simplify and divide.
$\frac{33}{9}=\frac{{{11}\cdot{3}}}{{{3}\cot{3}}}=\frac{11}{3}=3.\overline{6}$
So, $\frac{33}{9}$ is rational and a repeating decimal.
3. $\sqrt{11}:$ This cannot be simplified any further. Therefore, $\sqrt{11}$ is an irrational number.
4. $\frac{17}{34}:$ Because it is a fraction, $\frac{17}{34}$ is a rational number. Simplify and divide.
$\frac{17}{34}=\frac{{1}{\overline{)17}}}{\underset{2}{\overline{)34}}}=\frac{1}{2}=0.5$
So, $\frac{17}{34}$ is rational and a terminating decimal.
5. 0.3033033303333... is not a terminating decimal. Also note that there is no repeating pattern because the group of 3s increases each time. Therefore it is neither a terminating nor a repeating decimal and, hence, not a rational number. It is an irrational number.

### Real Numbers

Given any number n, we know that n is either rational or irrational. It cannot be both. The sets of rational and irrational numbers together make up the set of real numbers. As we saw with integers, the real numbers can be divided into three subsets: negative real numbers, zero, and positive real numbers. Each subset includes fractions, decimals, and irrational numbers according to their algebraic sign (+ or –). Zero is considered neither positive nor negative. The real numbers can be visualized on a horizontal number line with an arbitrary point chosen as 0, with negative numbers to the left of 0 and positive numbers to the right of 0. A fixed unit distance is then used to mark off each integer (or other basic value) on either side of 0. Any real number corresponds to a unique position on the number line.The converse is also true: Each location on the number line corresponds to exactly one real number. This is known as a one-to-one correspondence. We refer to this as the real number line.
The real number line

### Example: Classifying Real Numbers

Classify each number as either positive or negative and as either rational or irrational. Does the number lie to the left or the right of 0 on the number line?
1. $-\frac{10}{3}$
2. $\sqrt{5}$
3. $-\sqrt{289}$
4. $-6\pi$
5. $0.616161\dots$
6. $0.13$

1. $-\frac{10}{3}$ is negative and rational. It lies to the left of 0 on the number line.
2. $\sqrt{5}$ is positive and irrational. It lies to the right of 0.
3. $-\sqrt{289}=-\sqrt{{17}^{2}}=-17$ is negative and rational. It lies to the left of 0.
4. $-6\pi$ is negative and irrational. It lies to the left of 0.
5. $0.616161\dots$ is a repeating decimal so it is rational and positive. It lies to the right of 0.
6. $0.13$ is a finite decimal and may be written as 13/100.  So it is rational and positive.

### Try It

Classify each number as either positive or negative and as either rational or irrational. Does the number lie to the left or the right of 0 on the number line?
1. $\sqrt{73}$
2. $-11.411411411\dots$
3. $\frac{47}{19}$
4. $-\frac{\sqrt{5}}{2}$
5. $6.210735$

1. positive, irrational; right
2. negative, rational; left
3. positive, rational; right
4. negative, irrational; left
5. positive, rational; right

### Sets of Numbers as Subsets

Beginning with the natural numbers, we have expanded each set to form a larger set, meaning that there is a subset relationship between the sets of numbers we have encountered so far. These relationships become more obvious when seen as a diagram.
Sets of numbers.   N: the set of natural numbers   W: the set of whole numbers   I: the set of integers   Q: the set of rational numbers   : the set of irrational numbers

### A General Note: Sets of Numbers

The set of natural numbers includes the numbers used for counting: $\{1,2,3,\dots\}$. The set of whole numbers is the set of natural numbers plus zero: $\{0,1,2,3,\dots\}$. The set of integers adds the negative natural numbers to the set of whole numbers: $\{\dots,-3,-2,-1,0,1,2,3,\dots\}$. The set of rational numbers includes fractions written as $\{\frac{m}{n}|m\text{ and }n\text{ are integers and }n\ne 0\}$. The set of irrational numbers is the set of numbers that are not rational, are nonrepeating, and are nonterminating: $\{h|h\text{ is not a rational number}\}$.

### Example: Differentiating the Sets of Numbers

Classify each number as being a natural number, whole number, integer, rational number, and/or irrational number.
• $\sqrt{36}$
• $\frac{8}{3}$
• $\sqrt{73}$
• $-6$
• $3.2121121112\dots$

 natural number whole number integer rational number irrational number $\sqrt{36}=6$ yes yes yes yes no $\frac{8}{3}=2.\overline{6}$ no no no yes no $\sqrt{73}$ no no no no yes $–6$ no no yes yes no $3.2121121112\dots$ no no no no yes

### Try It

Classify each number as being a natural number (N), whole number (W), integer (I), rational number (Q), and/or irrational number (Q').
1. $-\frac{35}{7}$
2. $0$
3. $\sqrt{169}$
4. $\sqrt{24}$
5. $4.763763763\dots$

 natural number whole number integer rational number irrational number $-\frac{35}{7}$ yes yes yes yes no $0$ no yes yes yes no $\sqrt{169}$ yes yes yes yes no $\sqrt{24}$ no no no no yes $4.763763763\dots$ no no no yes no

## Properties of Real Numbers

When we multiply a number by itself, we square it or raise it to a power of 2. For example, ${4}^{2}=4\cdot 4=16$. We can raise any number to any power. In general, the exponential notation ${a}^{n}$ means that the number or variable $a$ is used as a factor $n$ times.
$a^{n}=a\cdot a\cdot a\cdot \dots \cdot a$
In this notation, ${a}^{n}$ is read as the nth power of $a$, where $a$ is called the base and $n$ is called the exponent. A term in exponential notation may be part of a mathematical expression, which is a combination of numbers and operations. For example, $24+6\cdot \frac{2}{3}-{4}^{2}$ is a mathematical expression. To evaluate a mathematical expression, we perform the various operations. However, we do not perform them in any random order. We use the order of operations. This is a sequence of rules for evaluating such expressions. Recall that in mathematics we use parentheses ( ), brackets [ ], and braces { } to group numbers and expressions so that anything appearing within the symbols is treated as a unit. Additionally, fraction bars, radicals, and absolute value bars are treated as grouping symbols. When evaluating a mathematical expression, begin by simplifying expressions within grouping symbols. The next step is to address any exponents or radicals. Afterward, perform multiplication and division from left to right and finally addition and subtraction from left to right. Let’s take a look at the expression provided.
$24+6\cdot \frac{2}{3}-{4}^{2}$
There are no grouping symbols, so we move on to exponents or radicals. The number 4 is raised to a power of 2, so simplify ${4}^{2}$ as 16.
$\begin{array}24+6\cdot\frac{2}{3}-4^{2} \\ 24+6\cdot{2}{3}-16\end{array}$
Next, perform multiplication or division, left to right.
$\begin{array}24+6\cdot\frac{2}{3}-16 \\ 24+4-16\end{array}$
Lastly, perform addition or subtraction, left to right.
$\begin{array}24+4-16 \\ 28-16 \\ 12\end{array}$
Therefore, $24+6\cdot \frac{2}{3}-{4}^{2}=12$. For some complicated expressions, several passes through the order of operations will be needed. For instance, there may be a radical expression inside parentheses that must be simplified before the parentheses are evaluated. Following the order of operations ensures that anyone simplifying the same mathematical expression will get the same result.

### A General Note: Order of Operations

Operations in mathematical expressions must be evaluated in a systematic order, which can be simplified using the acronym PEMDAS: P(arentheses) E(xponents) M(ultiplication) and D(ivision) A(ddition) and S(ubtraction)

### How To: Given a mathematical expression, simplify it using the order of operations.

1. Simplify any expressions within grouping symbols.
2. Simplify any expressions containing exponents or radicals.
3. Perform any multiplication and division in order, from left to right.
4. Perform any addition and subtraction in order, from left to right.

### Example: Using the Order of Operations

Use the order of operations to evaluate each of the following expressions.
1. ${\left(3\cdot 2\right)}^{2}-4\left(6+2\right)$
2. $\frac{{5}^{2}-4}{7}-\sqrt{11 - 2}$
3. $6-|5 - 8|+3\left(4 - 1\right)$
4. $\frac{14 - 3\cdot 2}{2\cdot 5-{3}^{2}}$
5. $7\left(5\cdot 3\right)-2\left[\left(6 - 3\right)-{4}^{2}\right]+1$

1. $\begin{array}{cccc}\left(3\cdot 2\right)^{2} \hfill& =\left(6\right)^{2}-4\left(8\right) \hfill& \text{Simplify parentheses} \\ \hfill& =36-4\left(8\right) \hfill& \text{Simplify exponent} \\ \hfill& =36-32 \hfill& \text{Simplify multiplication} \\ \hfill& =4 \hfill& \text{Simplify subtraction}\end{array}$

2. $\begin{array}{cccc}\frac{5^{2}}{7}-\sqrt{11-2} \hfill& =\frac{5^{2}-4}{7}-\sqrt{9} \hfill& \text{Simplify grouping systems (radical)} \\ \hfill& =\frac{5^{2}-4}{7}-3 \hfill& \text{Simplify radical} \\ \hfill& =\frac{25-4}{7}-3 \hfill& \text{Simplify exponent} \\ \hfill& =\frac{21}{7}-3 \hfill& \text{Simplify subtraction in numerator} \\ \hfill& =3-3 \hfill& \text{Simplify division} \\ \hfill& =0 \hfill& \text{Simplify subtraction}\end{array}$

Note that in the first step, the radical is treated as a grouping symbol, like parentheses. Also, in the third step, the fraction bar is considered a grouping symbol so the numerator is considered to be grouped.
3. $\begin{array}{cccc}6-|5-8|+3\left(4-1\right) \hfill& =6-|-3|+3\left(3\right) \hfill& \text{Simplify inside grouping system} \\ \hfill& =6-3+3\left(3\right) \hfill& \text{Simplify absolute value} \\ \hfill& =6-3+9 \hfill& \text{Simplify multiplication} \\ \hfill& =3+9 \hfill& \text{Simplify subtraction} \\ \hfill& =12 \hfill& \text{Simplify addition}\end{array}$
4. $\begin{array}{cccc}\frac{14-3\cdot2}{2\cdot5-3^{2}} \hfill& =\frac{14-3\cdot2}{2\cdot5-9} \hfill& \text{Simplify exponent} \\ \hfill& =\frac{14-6}{10-9} \hfill& \text{Simplify products} \\ \hfill& =\frac{8}{1} \hfill& \text{Simplify quotient} \\ \hfill& =8 \hfill& \text{Simplify quotient}\end{array}$ In this example, the fraction bar separates the numerator and denominator, which we simplify separately until the last step.
5. $\begin{array}{cccc}7\left(5\cdot3\right)-2[\left(6-3\right)-4^{2}]+1 \hfill& =7\left(15\right)-2[\left(3\right)-4^{2}]+1 \hfill& \text{Simplify inside parentheses} \\ \hfill& 7\left(15\right)-2\left(3-16\right)+1 \hfill& \text{Simplify exponent} \\ \hfill& =7\left(15\right)-2\left(-13\right)+1 \hfill& \text{Subtract} \\ \hfill& =105+26+1 \hfill& \text{Multiply} \\ \hfill& =132 \hfill& \text{Add}\end{array}$

### Using Properties of Real Numbers

For some activities we perform, the order of certain operations does not matter, but the order of other operations does. For example, it does not make a difference if we put on the right shoe before the left or vice-versa. However, it does matter whether we put on shoes or socks first. The same thing is true for operations in mathematics.

### Commutative Properties

The commutative property of addition states that numbers may be added in any order without affecting the sum.
$a+b=b+a$
We can better see this relationship when using real numbers.
$\left(-2\right)+7=5\text{ and }7+\left(-2\right)=5$
Similarly, the commutative property of multiplication states that numbers may be multiplied in any order without affecting the product.
$a\cdot b=b\cdot a$
Again, consider an example with real numbers.
$\left(-11\right)\cdot\left(-4\right)=44\text{ and }\left(-4\right)\cdot\left(-11\right)=44$
It is important to note that neither subtraction nor division is commutative. For example, $17 - 5$ is not the same as $5 - 17$. Similarly, $20\div 5\ne 5\div 20$.

### Associative Properties

The associative property of multiplication tells us that it does not matter how we group numbers when multiplying. We can move the grouping symbols to make the calculation easier, and the product remains the same.
$a\left(bc\right)=\left(ab\right)c$
Consider this example.
$\left(3\cdot4\right)\cdot5=60\text{ and }3\cdot\left(4\cdot5\right)=60$
The associative property of addition tells us that numbers may be grouped differently without affecting the sum.
$a+\left(b+c\right)=\left(a+b\right)+c$
This property can be especially helpful when dealing with negative integers. Consider this example.
$[15+\left(-9\right)]+23=29\text{ and }15+[\left(-9\right)+23]=29$
Are subtraction and division associative? Review these examples.
$\begin{array}\text{ }8-\left(3-15\right) \hfill& \stackrel{?}{=}\left(8-3\right)-15 \\ 8-\left(-12\right) \hfill& =5-15 \\ 20 \hfill& \neq 20-10 \\ \text{ }\end{array}$
$\begin{array}\text{ }64\div\left(8\div4\right)\hfill&\stackrel{?}{=}\left(64\div8\right)\div4 \\ 64\div2 \hfill& \stackrel{?}{=}8\div4 \\ 32 \hfill& \neq 2\end{array}$
As we can see, neither subtraction nor division is associative.

### Distributive Property

The distributive property states that the product of a factor times a sum is the sum of the factor times each term in the sum.
$a\cdot \left(b+c\right)=a\cdot b+a\cdot c$
This property combines both addition and multiplication (and is the only property to do so). Let us consider an example. Note that 4 is outside the grouping symbols, so we distribute the 4 by multiplying it by 12, multiplying it by –7, and adding the products. To be more precise when describing this property, we say that multiplication distributes over addition. The reverse is not true, as we can see in this example.
$\begin{array}{ccc}\hfill 6+\left(3\cdot 5\right)& \stackrel{?}{=}& \left(6+3\right)\cdot \left(6+5\right) \\ \hfill 6+\left(15\right)& \stackrel{?}{=}& \left(9\right)\cdot \left(11\right)\hfill \\ \hfill 21& \ne & \text{ }99\hfill \end{array}$
Multiplication does not distribute over subtraction, and division distributes over neither addition nor subtraction. A special case of the distributive property occurs when a sum of terms is subtracted.
$a-b=a+\left(-b\right)$
For example, consider the difference $12-\left(5+3\right)$. We can rewrite the difference of the two terms 12 and $\left(5+3\right)$ by turning the subtraction expression into addition of the opposite. So instead of subtracting $\left(5+3\right)$, we add the opposite.
$12+\left(-1\right)\cdot \left(5+3\right)$
Now, distribute $-1$ and simplify the result.
$\begin{array}12-\left(5+3\right) \hfill& =12+\left(-1\right)\cdot\left(5+3\right) \\ \hfill& =12+[\left(-1\right)\cdot5+\left(-1\right)\cdot3] \\ \hfill& =12+\left(-8\right) \\ \hfill& =4 \end{array}$
This seems like a lot of trouble for a simple sum, but it illustrates a powerful result that will be useful once we introduce algebraic terms. To subtract a sum of terms, change the sign of each term and add the results. With this in mind, we can rewrite the last example.
$\begin{array}12-\left(5+3\right) \hfill& =12+\left(-5-3\right) \\ \hfill& =12+\left(-8\right) \\ \hfill& =4\end{array}$

### Identity Properties

The identity property of addition states that there is a unique number, called the additive identity (0) that, when added to a number, results in the original number.
$a+0=a$
The identity property of multiplication states that there is a unique number, called the multiplicative identity (1) that, when multiplied by a number, results in the original number.
$a\cdot 1=a$
For example, we have $\left(-6\right)+0=-6$ and $23\cdot 1=23$. There are no exceptions for these properties; they work for every real number, including 0 and 1.

### Inverse Properties

The inverse property of addition states that, for every real number a, there is a unique number, called the additive inverse (or opposite), denoted−a, that, when added to the original number, results in the additive identity, 0.
$a+\left(-a\right)=0$
For example, if $a=-8$, the additive inverse is 8, since $\left(-8\right)+8=0$. The inverse property of multiplication holds for all real numbers except 0 because the reciprocal of 0 is not defined. The property states that, for every real number a, there is a unique number, called the multiplicative inverse (or reciprocal), denoted $\frac{1}{a}$, that, when multiplied by the original number, results in the multiplicative identity, 1.
$a\cdot \frac{1}{a}=1$
For example, if $a=-\frac{2}{3}$, the reciprocal, denoted $\frac{1}{a}$, is $-\frac{3}{2}$ because
$a\cdot \frac{1}{a}=\left(-\frac{2}{3}\right)\cdot \left(-\frac{3}{2}\right)=1$

### A General Note: Properties of Real Numbers

The following properties hold for real numbers a, b, and c.
Commutative Property $a+b=b+a$ $a\cdot b=b\cdot a$
Associative Property $a+\left(b+c\right)=\left(a+b\right)+c$ $a\left(bc\right)=\left(ab\right)c$
Distributive Property $a\cdot \left(b+c\right)=a\cdot b+a\cdot c$
Identity Property There exists a unique real number called the additive identity, 0, such that, for any real number a
$a+0=a$
There exists a unique real number called the multiplicative identity, 1, such that, for any real number a
$a\cdot 1=a$
Inverse Property Every real number a has an additive inverse, or opposite, denoted –a, such that
$a+\left(-a\right)=0$
Every nonzero real number a has a multiplicative inverse, or reciprocal, denoted $\frac{1}{a}$, such that
$a\cdot \left(\frac{1}{a}\right)=1$

### Try It

In this interactive, you will sort equations into the property they illustrate, commutative, associative, distributive, inverse, and identity. Click on the "Student Preview" button to get started.

### Example: Using Properties of Real Numbers

Use the properties of real numbers to rewrite and simplify each expression. State which properties apply.
1. $3\cdot 6+3\cdot 4$
2. $\left(5+8\right)+\left(-8\right)$
3. $6-\left(15+9\right)$
4. $\frac{4}{7}\cdot \left(\frac{2}{3}\cdot \frac{7}{4}\right)$
5. $100\cdot \left[0.75+\left(-2.38\right)\right]$

1. $\begin{array}\text{ }3\cdot6+3\cdot4 \hfill& =3\cdot\left(6+4\right) \hfill& \text{Distributive property} \\ \hfill& =3\cdot10 \hfill& \text{Simplify} \\ \hfill& =30 \hfill& \text{Simplify}\end{array}$
2. $\begin{array}\text{ }\left(5+8\right)+\left(-8\right) \hfill& =5+\left[8+\left(-8\right)\right] \hfill& \text{Associative property of addition} \\ &\hfill =5+0 \hfill& \text{Inverse property of addition} \\ \hfill& =5 \hfill& \text{Identity property of addition}\end{array}$
3. $\begin{array}6-\left(15+9\right) \hfill& =6+[15\left(-15\right)+\left(-9\right)] \hfill& \text{Distributive property} \\ \hfill& =6+\left(-24\right) \hfill& \text{Simplify} \\ \hfill& =-18 \hfill& \text{Simplify}\end{array}$
4. $\begin{array}\text{ }\frac{4}{7}\cdot\left(\frac{2}{3}\cdot\frac{7}{4}\right) \hfill& =\frac{4}{7} \cdot\left(\frac{7}{4}\cdot\frac{2}{3}\right) \hfill& \text{Commutative property of multiplication} \\ \hfill& =\left(\frac{4}{7}\cdot\frac{7}{4}\right)\cdot\frac{2}{3}\hfill& \text{Associative property of multiplication} \\ \hfill& =1\cdot\frac{2}{3} \hfill& \text{Inverse property of multiplication} \\ \hfill& =\frac{2}{3} \hfill& \text{Identity property of multiplication}\end{array}$
5. $\begin{array}\text{ }100\cdot[0.75+\left(-2.38\right)] \hfill& =100\cdot0.75+100\cdot\left(-2.38\right)\hfill& \text{Distributive property} \\ \hfill& =75+\left(-238\right) \hfill& \text{Simplify} \\ \hfill& =-163 \hfill& \text{Simplify}\end{array}$

### Try It

Use the properties of real numbers to rewrite and simplify each expression. State which properties apply.
1. $\left(-\frac{23}{5}\right)\cdot \left[11\cdot \left(-\frac{5}{23}\right)\right]$
2. $5\cdot \left(6.2+0.4\right)$
3. $18-\left(7 - 15\right)$
4. $\frac{17}{18}+\cdot \left[\frac{4}{9}+\left(-\frac{17}{18}\right)\right]$
5. $6\cdot \left(-3\right)+6\cdot 3$

1. commutative property of multiplication, associative property of multiplication, inverse property of multiplication, identity property of multiplication;
2. 33, distributive property;
3. 26, distributive property;
4. $\frac{4}{9}$, commutative property of addition, associative property of addition, inverse property of addition, identity property of addition;
5. 0, distributive property, inverse property of addition, identity property of addition

## Evaluate and Simplify Algebraic Expressions

So far, the mathematical expressions we have seen have involved real numbers only. In mathematics, we may see expressions such as $x+5,\frac{4}{3}\pi {r}^{3}$, or $\sqrt{2{m}^{3}{n}^{2}}$. In the expression $x+5$, 5 is called a constant because it does not vary and x is called a variable because it does. (In naming the variable, ignore any exponents or radicals containing the variable.) An algebraic expression is a collection of constants and variables joined together by the algebraic operations of addition, subtraction, multiplication, and division. We have already seen some real number examples of exponential notation, a shorthand method of writing products of the same factor. When variables are used, the constants and variables are treated the same way.
$\begin{array}\text{ }\left(-3\right)^{5}=\left(-3\right)\cdot\left(-3\right)\cdot\left(-3\right)\cdot\left(-3\right)\cdot\left(-3\right) \hfill& x^{5}=x\cdot x\cdot x\cdot x\cdot x\end{array}$
$\begin{array}\text{ }\left(2\cdot7\right)^{3}=\left(2\cdot7\right)\cdot\left(2\cdot7\right)\cdot\left(2\cdot7\right) \hfill& \left(yz\right)^{3}=\left(yz\right)\cdot\left(yz\right)\cdot\left(yz\right)\end{array}$
In each case, the exponent tells us how many factors of the base to use, whether the base consists of constants or variables. Any variable in an algebraic expression may take on or be assigned different values. When that happens, the value of the algebraic expression changes. To evaluate an algebraic expression means to determine the value of the expression for a given value of each variable in the expression. Replace each variable in the expression with the given value, then simplify the resulting expression using the order of operations. If the algebraic expression contains more than one variable, replace each variable with its assigned value and simplify the expression as before.

### Example: Describing Algebraic Expressions

List the constants and variables for each algebraic expression.
1. x + 5
2. $\frac{4}{3}\pi {r}^{3}$
3. $\sqrt{2{m}^{3}{n}^{2}}$

Constants Variables
1. x + 5 5 x
2. $\frac{4}{3}\pi {r}^{3}$ $\frac{4}{3},\pi$ $r$
3. $\sqrt{2{m}^{3}{n}^{2}}$ 2 $m,n$

### Example: Evaluating an Algebraic Expression at Different Values

Evaluate the expression $2x - 7$ for each value for x.
1. $x=0$
2. $x=1$
3. $x=\frac{1}{2}$
4. $x=-4$

1. Substitute 0 for $x$.
$\begin{array}\text{ }2x-7 \hfill& = 2\left(0\right)-7 \\ \hfill& =0-7 \\ \hfill& =-7\end{array}$
2. Substitute 1 for $x$.
$\begin{array}\text{ }2x-7 \hfill& = 2\left(1\right)-7 \\ \hfill& =2-7 \\ \hfill& =-5\end{array}$
3. Substitute $\frac{1}{2}$ for $x$.
$\begin{array}\text{ }2x-7 \hfill& = 2\left(\frac{1}{2}\right)-7 \\ \hfill& =1-7 \\ \hfill& =-6\end{array}$
4. Substitute $-4$ for $x$.
$\begin{array}\text{ }2x-7 \hfill& = 2\left(-4\right)-7 \\ \hfill& =-8-7 \\ \hfill& =-15\end{array}$

### Example: Evaluating Algebraic Expressions

Evaluate each expression for the given values.
1. $x+5$ for $x=-5$
2. $\frac{t}{2t - 1}$ for $t=10$
3. $\frac{4}{3}\pi {r}^{3}$ for $r=5$
4. $a+ab+b$ for $a=11,b=-8$
5. $\sqrt{2{m}^{3}{n}^{2}}$ for $m=2,n=3$

1. Substitute $-5$ for $x$.
$\begin{array}\text{ }x+5\hfill&=\left(-5\right)+5 \\ \hfill&=0\end{array}$
2. Substitute 10 for $t$.
$\begin{array}\text{ }\frac{t}{2t-1}\hfill& =\frac{\left(10\right)}{2\left(10\right)-1} \\ \hfill& =\frac{10}{20-1} \\ \hfill& =\frac{10}{19}\end{array}$
3. Substitute 5 for $r$.
$\begin{array}\text{ }\frac{4}{3}\pi r^{3} \hfill& =\frac{4}{3}\pi\left(5\right)^{3} \\ \hfill& =\frac{4}{3}\pi\left(125\right) \\ \hfill& =\frac{500}{3}\pi\end{array}$
4. Substitute 11 for $a$ and –8 for $b$.
$\begin{array}\text{ }a+ab+b \hfill& =\left(11\right)+\left(11\right)\left(-8\right)+\left(-8\right) \\ \hfill& =11-8-8 \\ \hfill& =-85\end{array}$
5. Substitute 2 for $m$ and 3 for $n$.
$\begin{array}\text{ }\sqrt{2m^{3}n^{2}} \hfill& =\sqrt{2\left(2\right)^{3}\left(3\right)^{2}} \\ \hfill& =\sqrt{2\left(8\right)\left(9\right)} \\ \hfill& =\sqrt{144} \\ \hfill& =12\end{array}$

### Formulas

An equation is a mathematical statement indicating that two expressions are equal. The expressions can be numerical or algebraic. The equation is not inherently true or false, but only a proposition. The values that make the equation true, the solutions, are found using the properties of real numbers and other results. For example, the equation $2x+1=7$ has the unique solution $x=3$ because when we substitute 3 for $x$ in the equation, we obtain the true statement $2\left(3\right)+1=7$. A formula is an equation expressing a relationship between constant and variable quantities. Very often, the equation is a means of finding the value of one quantity (often a single variable) in terms of another or other quantities. One of the most common examples is the formula for finding the area $A$ of a circle in terms of the radius $r$ of the circle: $A=\pi {r}^{2}$. For any value of $r$, the area $A$ can be found by evaluating the expression $\pi {r}^{2}$.

### Example: Using a Formula

A right circular cylinder with radius $r$ and height $h$ has the surface area $S$ (in square units) given by the formula $S=2\pi r\left(r+h\right)$. Find the surface area of a cylinder with radius 6 in. and height 9 in. Leave the answer in terms of $\pi$.
Right circular cylinder

Answer: Evaluate the expression $2\pi r\left(r+h\right)$ for $r=6$ and $h=9$.

$\begin{array}\text{ }S\hfill&=2\pi r\left(r+h\right) \\ \hfill& =2\pi\left(6\right)[\left(6\right)+\left(9\right)] \\ \hfill& =2\pi\left(6\right)\left(15\right) \\ \hfill& =180\pi\end{array}$
The surface area is $180\pi$ square inches.

### Try It

Figure 4
A photograph with length L and width W is placed in a matte of width 8 centimeters (cm). The area of the matte (in square centimeters, or cm2) is found to be $A=\left(L+16\right)\left(W+16\right)-L\cdot W$. Find the area of a matte for a photograph with length 32 cm and width 24 cm.

### Simplify Algebraic Expressions

Sometimes we can simplify an algebraic expression to make it easier to evaluate or to use in some other way. To do so, we use the properties of real numbers. We can use the same properties in formulas because they contain algebraic expressions.

### Example: Simplifying Algebraic Expressions

Simplify each algebraic expression.
1. $3x - 2y+x - 3y - 7$
2. $2r - 5\left(3-r\right)+4$
3. $\left(4t-\frac{5}{4}s\right)-\left(\frac{2}{3}t+2s\right)$
4. $2mn - 5m+3mn+n$

1. $\begin{array}\text{ }3x-2y+x-3y-7 \hfill& =3x+x-2y-3y-7 \hfill& \text{Commutative property of addition} \\ \hfill& =4x-5y-7 \hfill& \text{Simplify}\end{array}$
2. $\begin{array}2r-5\left(3-r\right)+4 \hfill& =2r-15+5r+4 \hfill& \text{Distributive property} \\ \hfill& =2r+5y-15+4 \hfill& \text{Commutative property of addition} \\ \hfill& =7r-11 \hfill& \text{Simplify}\end{array}$
3. $\begin{array}4t-4\left(t-\frac{5}{4}s\right)-\left(\frac{2}{3}t+2s\right) \hfill& =4t-\frac{5}{4}s-\frac{2}{3}t-2s \hfill& \text{Distributive property} \\ \hfill& =4t-\frac{2}{3}t-\frac{5}{4}s-2s \hfill& \text{Commutative property of addition} \\ \hfill& =\text{10}{3}t-\frac{13}{4}s \hfill& \text{Simplify}\end{array}$
4. $\begin{array}\text{ }mn-5m+3mn+n \hfill& =2mn+3mn-5m+n \hfill& \text{Commutative property of addition} \\ \hfill& =5mn-5m+n \hfill& \text{Simplify}\end{array}$

### Example: Simplifying a Formula

A rectangle with length $L$ and width $W$ has a perimeter $P$ given by $P=L+W+L+W$. Simplify this expression.

$\begin{array}\text{ }P=L+W+L+W \\ P=L+L+W+W \hfill& \text{Commutative property of addition} \\ P=2L+2W \hfill& \text{Simplify} \\ P=2\left(L+W\right) \hfill& \text{Distributive property}\end{array}$

### Try It

If the amount $P$ is deposited into an account paying simple interest $r$ for time $t$, the total value of the deposit $A$ is given by $A=P+Prt$. Simplify the expression. (This formula will be explored in more detail later in the course.)

Answer: $A=P\left(1+rt\right)$

## Key Concepts

• Rational numbers may be written as fractions or terminating or repeating decimals.
• Determine whether a number is rational or irrational by writing it as a decimal.
• The rational numbers and irrational numbers make up the set of real numbers. A number can be classified as natural, whole, integer, rational, or irrational.
• The order of operations is used to evaluate expressions.
• The real numbers under the operations of addition and multiplication obey basic rules, known as the properties of real numbers. These are the commutative properties, the associative properties, the distributive property, the identity properties, and the inverse properties.
• Algebraic expressions are composed of constants and variables that are combined using addition, subtraction, multiplication, and division. They take on a numerical value when evaluated by replacing variables with constants.
• Formulas are equations in which one quantity is represented in terms of other quantities. They may be simplified or evaluated as any mathematical expression.

## Glossary

algebraic expression constants and variables combined using addition, subtraction, multiplication, and division associative property of addition the sum of three numbers may be grouped differently without affecting the result; in symbols, $a+\left(b+c\right)=\left(a+b\right)+c$ associative property of multiplication the product of three numbers may be grouped differently without affecting the result; in symbols, $a\cdot \left(b\cdot c\right)=\left(a\cdot b\right)\cdot c$ base in exponential notation, the expression that is being multiplied commutative property of addition two numbers may be added in either order without affecting the result; in symbols, $a+b=b+a$ commutative property of multiplication two numbers may be multiplied in any order without affecting the result; in symbols, $a\cdot b=b\cdot a$ constant a quantity that does not change value distributive property the product of a factor times a sum is the sum of the factor times each term in the sum; in symbols, $a\cdot \left(b+c\right)=a\cdot b+a\cdot c$ equation a mathematical statement indicating that two expressions are equal exponent in exponential notation, the raised number or variable that indicates how many times the base is being multiplied exponential notation a shorthand method of writing products of the same factor formula an equation expressing a relationship between constant and variable quantities identity property of addition there is a unique number, called the additive identity, 0, which, when added to a number, results in the original number; in symbols, $a+0=a$ identity property of multiplication there is a unique number, called the multiplicative identity, 1, which, when multiplied by a number, results in the original number; in symbols, $a\cdot 1=a$ integers the set consisting of the natural numbers, their opposites, and 0: $\{\dots ,-3,-2,-1,0,1,2,3,\dots \}$ inverse property of addition for every real number $a$, there is a unique number, called the additive inverse (or opposite), denoted $-a$, which, when added to the original number, results in the additive identity, 0; in symbols, $a+\left(-a\right)=0$ inverse property of multiplication for every non-zero real number $a$, there is a unique number, called the multiplicative inverse (or reciprocal), denoted $\frac{1}{a}$, which, when multiplied by the original number, results in the multiplicative identity, 1; in symbols, $a\cdot \frac{1}{a}=1$ irrational numbers the set of all numbers that are not rational; they cannot be written as either a terminating or repeating decimal; they cannot be expressed as a fraction of two integers natural numbers the set of counting numbers: $\{1,2,3,\dots \}$ order of operations a set of rules governing how mathematical expressions are to be evaluated, assigning priorities to operations rational numbers the set of all numbers of the form $\frac{m}{n}$, where $m$ and $n$ are integers and $n\ne 0$. Any rational number may be written as a fraction or a terminating or repeating decimal. real number line a horizontal line used to represent the real numbers. An arbitrary fixed point is chosen to represent 0; positive numbers lie to the right of 0 and negative numbers to the left. real numbers the sets of rational numbers and irrational numbers taken together variable a quantity that may change value whole numbers the set consisting of 0 plus the natural numbers: $\{0,1,2,3,\dots \}$

### CC licensed content, Shared previously

• Question ID 92383, 109700, 110263, 109667. Authored by: Alyson Day. License: CC BY: Attribution. License terms: IMathAS Community License CC-BY + GPL.