 Last updated
 Save as PDF
 Page ID
 163000
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)
\( \newcommand{\vecd}[1]{\overset{\!\!\rightharpoonup}{\vphantom{a}\smash{#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\ #1 \}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\ #1 \}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)
\( \newcommand{\vectorC}[1]{\textbf{#1}}\)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}}\)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}}\)
\( \newcommand{\vectE}[1]{\overset{\!\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)
\( \newcommand{\vecd}[1]{\overset{\!\!\rightharpoonup}{\vphantom{a}\smash{#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left#1\right}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
Learning Objectives
 Classify a real number as a natural, whole, integer, rational, or irrational number.
 Perform calculations using order of operations.
 Use the following properties of real numbers: commutative, associative, distributive, inverse, and identity.
 Evaluate algebraic expressions.
 Simplify algebraic expressions.
It is often said that mathematics is the language of science. If this is true, then the language of mathematics is numbers. The earliest use of numbers occurred \(100\) centuries ago in the Middle East to count, or enumerate items. Farmers, cattlemen, and tradesmen used tokens, stones, or markers to signify a single quantity—a sheaf of grain, a head of livestock, or a fixed length of cloth, for example. Doing so made commerce possible, leading to improved communications and the spread of civilization.
Three to four thousand years ago, Egyptians introduced fractions. They first used them to show reciprocals. Later, they used them to represent the amount when a quantity was divided into equal parts.
But what if there were no cattle to trade or an entire crop of grain was lost in a flood? How could someone indicate the existence of nothing? From earliest times, people had thought of a “base state” while counting and used various symbols to represent this null condition. However, it was not until about the fifth century A.D. in India that zero was added to the number system and used as a numeral in calculations.
Clearly, there was also a need for numbers to represent loss or debt. In India, in the seventh century A.D., negative numbers were used as solutions to mathematical equations and commercial debts. The opposites of the counting numbers expanded the number system even further.
Because of the evolution of the number system, we can now perform complex calculations using these and other categories of real numbers. In this section, we will explore sets of numbers, calculations with different kinds of numbers, and the use of numbers in expressions.
Classifying 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 \((\cdots)\) 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: \(\{\cdots,3,2,1,0,1,2,3,\cdots\}\). 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.
\[ \overbrace{\cdots, 3,2,1}^{\text{negative integers}}, \underbrace{0}_{\text{zero}}, \overbrace{1,\, 2,\,3,\, \cdots}^{\text{positive integers}} \nonumber\]
The set of rational numbers is written as \(\{\frac{m}{n} \text{m and n are integers and } n \neq 0\}\).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:
 a terminating decimal: \(\frac{15}{8} =1.875\), or
 a repeating decimal: \(\frac{4}{11} =0.36363636\cdots = 0.\bar{36}\)
We use a line drawn over the repeating block of numbers instead of writing the group multiple times.
Example \(\PageIndex{1}\): Writing Integers as Rational Numbers
Write each of the following as a rational number. Write a fraction with the integer in the numerator and \(1\) in the denominator.
 \(7\)
 \(0\)
 \(8\)
Solution
a. \(7= \frac{7}{1}\)
b. \(0= \frac{0}{1}\)
c. \(8= \frac{8}{1}\)
Exercise \(\PageIndex{1}\)
Write each of the following as a rational number.
 \(11\)
 \(3\)
 \(4\)
 Answer

 \(\frac{11}{1}\)
 \(\frac{3}{1}\)
 \(\frac{4}{1}\)
Example \(\PageIndex{2}\): Identifying Rational Numbers
Write each of the following rational numbers as either a terminating or repeating decimal.
 \(\frac{5}{7}\)
 \(\frac{15}{5}\)
 \(\frac{13}{25}\)
Solution
a. a repeating decimal
b. \(\frac{15}{5} = 3\)(or \(3.0\)), a terminating decimal
c. \(\frac{13}{25} =0.52\), a terminating decimal
Exercise \(\PageIndex{2}\)
Write each of the following rational numbers as either a terminating or repeating decimal.
 \(\frac{68}{17}\)
 \(\frac{8}{13}\)
 \(\frac{13}{25}\)
 Answer

 \(4\) (or \(4.0\)), terminating
 \(0.\overline{615384}\), repeating
 \(0.85\), terminating
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 \(32\), 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\mid h \text {is not a rational number}\}\]
Example \(\PageIndex{3}\): 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.
 \(\sqrt{25}\)
 \(\frac{33}{9}\)
 \(\sqrt{11}\)
 \(\frac{17}{34}\)
 \(0.3033033303333…\)
Solution
 \(\sqrt{25}\): This can be simplified as \(\sqrt{25} = 5\). Therefore,\(\sqrt{25}\)is rational.
 \(\frac{33}{9}\): Because it is a fraction,\(\frac{33}{9}\) is a rational number. Next, simplify and divide. \[\frac{33}{9}=\cancel{\frac{33}{9}} \nonumber\] So, \(\frac{33}{9}\) is rational and a repeating decimal.
 \(\sqrt{11}\): This cannot be simplified any further. Therefore, \(\sqrt{11}\) is an irrational number.
 \(\frac{17}{34}\): Because it is a fraction, \(\frac{17}{34}\) is a rational number. Simplify and divide. \[\frac{17}{34} = 0.5 \nonumber\] So, \(\frac{17}{34}\) is rational and a terminating decimal.
 \(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.
Exercise \(\PageIndex{3}\)
Determine whether each of the following numbers is rational or irrational. If it is rational, determine whether it is a terminating or repeating decimal.
 \(\frac{7}{77}\)
 \(\sqrt{81}\)
 \(4.27027002700027…\)
 \(\frac{91}{13}\)
 \(\sqrt{39}\)
 Answer

 rational and repeating;
 rational and terminating;
 irrational;
 rational and terminating;
 irrational
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 onetoone correspondence. We refer to this as the real number line as shown in Figure (\(\PageIndex{1}\).
Example \(\PageIndex{4}\): 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?
 \(\frac{10}{3}\)
 \(\sqrt{5}\)
 \(\sqrt{289}\)
 \(6π\)
 \(0.615384615384…\)
Solution
 \(\frac{10}{3}\) is negative and rational. It lies to the left of \(0\) on the number line.
 \(\sqrt{5}\) is positive and irrational. It lies to the right of \(0\).
 \(\sqrt{289} = \sqrt{17^2} = 17\) is negative and rational. It lies to the left of \(0\).
 \(6π\) is negative and irrational. It lies to the left of \(0\).
 \(0.615384615384…\) is a repeating decimal so it is rational and positive. It lies to the right of \(0\).
Exercise \(\PageIndex{4}\)
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?
 \(\sqrt{73}\)
 \(11.411411411…\)
 \(\frac{47}{19}\)
 \(\frac{\sqrt{5}}{2}\)
 \(6.210735\)
 Answer

 positive, irrational;right
 negative, rational;left
 positive, rational;right
 negative, irrational;left
 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, such as Figure(\(\PageIndex{2}\)).
SETS OF NUMBERS
The set of natural numbers includes the numbers used for counting: \(\{1,2,3,...\}\).
The set of whole numbers is the set of natural numbers plus zero: \(\{0,1,2,3,...\}\).
The set of integers adds the negative natural numbers to the set of whole numbers: \(\{...,3,2,1,0,1,2,3,...\}\).
The set of rational numbers includes fractions written as \(\{\frac{m}{n}  \text{m and n are integers and } n \neq 0\}\).
The set of irrational numbers is the set of numbers that are not rational, are nonrepeating, and are nonterminating: \(\{h\parallel \text{h is not a rational number}\}\).
Example \(\PageIndex{5}\): Differentiating the Sets of Numbers
Classify each number as being a natural number (N), whole number (W), integer (I), rational number (Q), and/or irrational number (Q′).
 \(\sqrt{36}\)
 \(\frac{8}{3}\)
 \(\sqrt{73}\)
 \(6\)
 \(3.2121121112…\)
Solution
N  W  I  Q  Q'  

a. \(\sqrt{36} = 6\)  X  X  X  X  
b. \(\frac{8}{3} =2.\overline{6}\)  X  
c. \(\sqrt{73}\)  X  
d. \(6\)  X  X  
e. \(3.2121121112...\)  X 
Exercise \(\PageIndex{5}\)
Classify each number as being a natural number (N), whole number (W), integer (I), rational number (Q), and/or irrational number (Q′).
 \(\frac{35}{7}\)
 \(0\)
 \(\sqrt{169}\)
 \(\sqrt{24}\)
 \(4.763763763...\)
 Answer

N W I Q Q' a. \(\frac{35}{7}\) X X b. \(0\) X X X c. \(\sqrt{169}\) X X X X d. \(\sqrt{24}\) X e. \(4.763763763...\) X
Performing Calculations Using the Order of Operations
When we multiply a number by itself, we square it or raise it to a power of \(2\). For example, \(4^2 =4\times4=16\). We can raise any number to any power. In general, the exponential notation an means that the number or variable \(a\) is used as a factor \(n\) times.
\[a^n=a\cdot a\cdot a\cdots a \qquad \text{ n factors} \nonumber \]
In this notation, \(a^n\) is read as the \(n^{th}\) 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 \times \dfrac{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 \times \dfrac{2}{3} − 4^2 \nonumber\]
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\).
\[24+6 \times \dfrac{2}{3} − 4^2 \nonumber \]
\[24+6 \times \dfrac{2}{3} − 16 \nonumber\]
Next, perform multiplication or division, left to right.
\[24+6 \times \dfrac{2}{3} − 16 \nonumber\]
\[24+416 \nonumber\]
Lastly, perform addition or subtraction, left to right.
\[24+4−16 \nonumber\]
\[28−16 \nonumber\]
\[12 \nonumber\]
Therefore,
\[24+6 \times \dfrac{2}{3} − 4^2 =12 \nonumber\]
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.
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.
 Simplify any expressions within grouping symbols.
 Simplify any expressions containing exponents or radicals.
 Perform any multiplication and division in order, from left to right.
 Perform any addition and subtraction in order, from left to right.
Example \(\PageIndex{6}\): Using the Order of Operations
Use the order of operations to evaluate each of the following expressions.
 \((3\times2)^24\times(6+2)\)
 \(\dfrac{5^24}{7} \sqrt{112}\)
 \(6\mid 58\mid +3\times(41)\)
 \(\dfrac{143 \times2}{2 \times53^2}\)
 \(7\times(5\times3)−2\times[(6−3)−4^2]+1\)
Solution
\(\begin{align*} (3\times2)^24\times(6+2)&=(6)^24\times(8) && \qquad \text{Simplify parentheses}\\ &=364\times8 && \qquad \text{Simplify exponent}\\ &=3632 && \qquad \text{Simplify multiplication}\\ &=4 && \qquad \text{Simplify subtraction}\\ \end{align*}\)
\(\begin{align*} \dfrac{5^24}{7} \sqrt{112}&= \dfrac{5^24}{7}\sqrt{9} && \qquad \text{Simplify grouping symbols (radical)}\\ &=\dfrac{5^24}{7}3 && \qquad \text{Simplify radical}\\ &=\dfrac{254}{7}3 && \qquad \text{Simplify exponent}\\ &=\dfrac{21}{7}3 && \qquad \text{Simplify subtraction in numerator}\\ &=33 && \qquad \text{Simplify division}\\ &=0 && \qquad \text{Simplify subtraction} \end{align*}\)
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.
\(\begin{align*} 6\mid 58\mid +3\times(41)&=63+3\times3 && \qquad \text{Simplify inside grouping symbols}\\ &=63+3\times3 && \qquad \text{Simplify absolute value}\\ &=63+9 && \qquad \text{Simplify multiplication}\\ &=3+9 && \qquad \text{Simplify subtraction}\\ &=12 && \qquad \text{Simplify addition}\\ \end{align*}\)
\(\begin{align*} \dfrac{143 \times2}{2 \times53^2}&=\dfrac{143 \times2}{2 \times59} && \qquad \text{Simplify exponent}\\ &=\dfrac{146}{109} && \qquad \text{Simplify products}\\ &=\dfrac{8}{1} && \qquad \text{Simplify differences}\\ &=8 && \qquad \text{Simplify quotient}\\ \end{align*}\)
In this example, the fraction bar separates the numerator and denominator, which we simplify separately until the last step.
\(\begin{align*} 7\times(5\times3)2\times[(63)4^2]+1&=7\times(15)2\times[(3)4^2]+1 && \qquad \text{Simplify inside parentheses}\\ &=7\times(15)2\times(316)+1 && \qquad \text{Simplify exponent}\\ &=7\times(15)2\times(13)+1 && \qquad \text{Subtract}\\ &=105+26+1 && \qquad \text{Multiply}\\ &=132 && \qquad \text{Add} \end{align*}\)
Exercise \(\PageIndex{6}\)
Use the order of operations to evaluate each of the following expressions.
 \(\sqrt{5^24^2}+7\times(54)^2\)
 \(1+\dfrac{7\times58\times4}{96}\)
 \(1.84.3+0.4\times\sqrt{15+10}\)
 \(\dfrac{1}{2}\times[5\times3^27^2]+\dfrac{1}{3}\times9^2\)
 \([(38^2)4](38)\)
 Answer

 \(10\)
 \(2\)
 \(4.5\)
 \(25\)
 \(60\)
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 viceversa. 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.
\((−2)+7 = 5 \text{ and } 7+(−2)=5\)
Similarly, the commutative property of multiplication states that numbers may be multiplied in any order without affecting the product.
\[a\times b=b\times a\]
Again, consider an example with real numbers.
\((−11)\times(−4)=44\) and \((−4)\times(−11)=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÷5≠5÷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(bc)=(ab)c\]
Consider this example.
\((3\times4)\times5=60 \text{ and } 3\times(4\times5)=60\)
The associative property of addition tells us that numbers may be grouped differently without affecting the sum.
\[a+(b+c)=(a+b)+c\]
This property can be especially helpful when dealing with negative integers. Consider this example.
\([15+(−9)]+23=29 \text{ and } 15+[(−9)+23]=29\)
Are subtraction and division associative? Review these examples.
\[\begin{align*} 8(315)\overset{?}{=}&(83)15\\ 8(12)\overset{?}{=}&515\\ 20 \neq&10\\ 64\div (8\div 4)\overset{?}{=}&(64\div 8)\div 4\\ 64\div 2\overset{?}{=}&8\div 4\\ 32 \neq & 2 \end{align*}\]
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\times(b+c)=a\times b+a\times 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.
Example \(\PageIndex{7}\)
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{align*} 6+(3\times5)\overset{?}{=}&(6+3)\times(6\times5)\\ 6+(15)\overset{?}{=}&(9)\times(11)\\ 21 \neq &99 \end{align*}\]
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+(−b)\]
For example, consider the difference \(12−(5+3)\). We can rewrite the difference of the two terms \(12\) and \((5+3)\) by turning the subtraction expression into addition of the opposite. So instead of subtracting \( (5+3)\), we add the opposite.
\(12+(−1)\times(5+3)\)
Now, distribute \(1\) and simplify the result.
\[\begin{align*} 12(5+3)&=12+(1)\times(5+3)\\ &=12+[(1)\times5+(1)\times3]\\ &=12+(8)\\ &=4 \end{align*}\]
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{align*} 12(5+3)&=12+(53)\\ &=128\\ &=4 \end{align*}\]
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\times 1=a\]
For example, we have \( (−6)+0=−6\) and \( 23\times1=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+(−a)=0\]
For example, if \(a =−8\), the additive inverse is \(8\), since \((−8)+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 \(1a\), that, when multiplied by the original number, results in the multiplicative identity, \(1\).
\[a\times \dfrac{1}{a}=1\]
For example, if \(a =−\dfrac{2}{3}\), the reciprocal, denoted \(\dfrac{1}{a}\), is \(\dfrac{3}{2}\) because
\[a⋅\dfrac{1}{a}=\left(−\dfrac{2}{3}\right)\times\left(−\dfrac{3}{2}\right)=1 \nonumber\]
PROPERTIES OF REAL NUMBERS
The following properties hold for real numbers \(a\), \(b\), and \(c\).
Addition  Multiplication  

Commutative Property  \(a+b=b+a\)  \(a\times b=b\times a\) 
Associative Property  \(a+(b+c)=(a+b)+c\)  \(a(bc)=(ab)c\) 
Distributive Property  \(a\times (b+c)=a\times b+a\times 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\times 1=a\) 
Inverse Property  Every real number a has an additive inverse, or opposite, denoted –a, such that \(a+(−a)=0\)  Every nonzero real number a has a multiplicative inverse, or reciprocal, denoted 1a , such that \(a\times \left(\dfrac{1}{a}\right)=1\) 
Example \(\PageIndex{8}\): Using Properties of Real Numbers
Use the properties of real numbers to rewrite and simplify each expression. State which properties apply.
 \(3\times 6+3\times 4\)
 \((5+8)+(−8)\)
 \(6−(15+9)\)
 \(\dfrac{4}{7}\times\left(\dfrac{2}{3}\times \dfrac{7}{4}\right)\)
 \(100\times[0.75+(−2.38)]\)
Solution
\(\begin{align*} 3\times6+3\times4&=3\times(6+4) & &\text{Distributive property}\\ &=3\times10 & &\text{Simplify}\\ &=30 & &\text{Simplify}\\ \end{align*}\)
\(\begin{align*} (5+8)+(8)&=5+[8+(8)] & & \text{Associative property of addition}\\ &=5+0 & & \text{Inverse property of addition}\\ &=5 & & \text{Identity property of addition}\\ \end{align*}\)
\(\begin{align*} 6(15+9)&=6+[(15)+(9)] & & \text{Distributive property}\\ &=6+(24) & & \text{Simplify}\\ &=18 & & \text{Simplify}\\ \end{align*}\)
\(\begin{align*} \dfrac{4}{7}\times\left(\dfrac{2}{3}\times\dfrac{7}{4}\right)&=\dfrac{4}{7}\times\left(\dfrac{7}{4}\times\dfrac{2}{3}\right) & & \text{Commutative property of multiplication}\\ &=\left(\dfrac{4}{7}\times\dfrac{7}{4}\right)\times\dfrac{2}{3} & & \text{Associative property of multiplication}\\ &=1\times\dfrac{2}{3} & & \text{Inverse property of multiplication}\\ &=\dfrac{2}{3} & & \text{Identity property of multiplication}\\ \end{align*}\)
\(\begin{align*} 100\times[0.75+(2.38)]&=100\times0.75+100\times(2.38) & & \text{Distributive property}\\ &=75+(238) & & \text{Simplify}\\ &=163 & & \text{Simplify} \end{align*}\)
Exercise \(\PageIndex{7}\)
Use the properties of real numbers to rewrite and simplify each expression. State which properties apply.
 \(\left(\dfrac{23}{5}\right)\times\left[11\times\left(\dfrac{5}{23}\right)\right]\)
 \(5\times(6.2+0.4)\)
 \(18(715)\)
 \(\dfrac{17}{18}+\left[\dfrac{4}{9}+\left(\dfrac{17}{18}\right)\right]\)
 \(6\times(3)+6\times3\)
 Answer

 \(11\), commutative property of multiplication
 \(33\), distributive property
 \(26\), distributive property
 \(\dfrac{4}{9}\), commutative property of addition, associative property of addition, inverse property of addition, identity property of addition
 \(0\), distributive property, inverse property of addition, identity property of addition
Evaluating 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\), \(\dfrac{4}{3}\pi r^3\), or \(\sqrt{2m^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{align*} (3)^5 &=(3)\times(3)\times(3)\times(3)\times(3)\Rightarrow x^5=x\times x\times x\times x\times x\\ (2\times7)^3&=(2\times7)\times(2\times7)\times(2\times7)\qquad \; \; \Rightarrow (yz)^3=(yz)\times(yz)\times(yz) \end{align*}\]
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 \(\PageIndex{9}\): Describing Algebraic Expressions
List the constants and variables for each algebraic expression.
 \(x + 5\)
 \(\dfrac{4}{3}\pi r^3\)
 \(\sqrt{2m^3 n^2}\)
Solution
Constants  Variables  

a. \(x + 5\)  \(5\)  \(x\) 
b. \(\dfrac{4}{3}\pi r^3\)  \(\dfrac{4}{3}\), \(\pi\)  \(r\) 
c. \(\sqrt{2m^3 n^2}\)  \(2\)  \(m\),\(n\) 
Exercise \(\PageIndex{8}\)
List the constants and variables for each algebraic expression.
 \(2(L + W)\)
 \(4y^3+y\)
 Answer

Constants Variables a. \(2\pi r(r+h)\) \(2\),\(\pi\) \(r\),\(h\) b. \(2(L + W)\) \(2\) \(L\), \(W\) c. \(4y^3+y\) \(4\) \(y\)
Example \(\PageIndex{10}\): Evaluating an Algebraic Expression at Different Values
Evaluate the expression \(2x−7\) for each value for \(x\).
 \(x=0\)
 \(x=1\)
 \(x=12\)
 \(x=−4\)
Solution
 Substitute \(0\) for \(x\). \[\begin{align*} 2x7 &= 2(0)7 \\ &= 07\\ &= 7\\ \end{align*}\]
 Substitute \(1\) for \(x\). \[\begin{align*} 2x7 &= 2(1)7 \\ &= 27\\ &= 5\\ \end{align*}\]
 Substitute \(\dfrac{1}{2}\) for \(x\). \[\begin{align*} 2x7 &= 2\left (\dfrac{1}{2} \right )7 \\ &= 17\\ &= 6\\ \end{align*}\]
 Substitute \(4\) for \(x\). \[\begin{align*} 2x7 &= 2(4)7 \\ &= 87\\ &= 15\\ \end{align*}\]
Exercise \(\PageIndex{9}\)
Evaluate the expression \(11−3y\) for each value for \(y\).
 \(y=2\)
 \(y=0\)
 \(y=\dfrac{2}{3}\)
 \(y=−5\)
 Answer

 \(11\)
 \(26\)
Example \(\PageIndex{11}\): Evaluating Algebraic Expressions
Evaluate each expression for the given values.
 \(x+5\) for \(x=5\)
 \(\dfrac{t}{2t1}\) for \(t=10\)
 \(\dfrac{4}{3}\pi r^3\) for \(r=5\)
 \(a+ab+b\) for \(a=11\), \(b=8\)
 \(\sqrt{2m^3 n^2}\) for \(m=2\), \(n=3\)
Solution
 Substitute
\(5\) for \(x\). \[\begin{align*} x+5 &= (5)+5 \\ &= 0\\ \end{align*}\]  Substitute \(10\) for \(t\). \[\begin{align*} \dfrac{t}{2t1} &= \dfrac{(10)}{2(10)1} \\ &= \dfrac{10}{201}\\ &= \dfrac{10}{19}\\ \end{align*}\]
 Substitute \(5\) for \(r\)
. \[\begin{align*} \dfrac{4}{3} \pi r^3 &= \dfrac{4}{3}\pi (5)^3 \\ &= \dfrac{4}{3}\pi (125)\\ &= \dfrac{500}{3}\pi\\ \end{align*}\]  Substitute \(11\) for \(a\) and \(8\) for \(b\)
. \[\begin{align*} a+ab+b &= (11)+(11)(8)+(8) \\ &= 11888 \\ &= 85\\ \end{align*}\]  Substitute \(2\) for \(m\) and \(3\) for \(n\). \[\begin{align*} \sqrt{2m^3 n^2} &= \sqrt{2(2)^3 (3)^2} \\ &= \sqrt{2(8)(9)} \\ &= \sqrt{144} \\ &= 12 \end{align*}\]
Exercise \(\PageIndex{10}\)
Evaluate each expression for the given values.
 \(\dfrac{y+3}{y3}\) for \(y=5\)
 \(72t\) for \(t=2\)
 \(\dfrac{1}{3}\pi r^2\) for \(r=11\)
 \((p^2 q)^3\) for \(p=2\), \(q=3\)
 \(4(mn)5(nm)\) for \(m=\dfrac{2}{3}\) \(n=\dfrac{1}{3}\)
 Answer

 \(4\)
 \(11\)
 \(\dfrac{121}{3}\pi\)
 \(1728\)
 \(3\)
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 of \(3\) because when we substitute \(3\) for \(x\) in the equation, we obtain the true statement \(2(3)+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 \(\PageIndex{12}\): 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(r+h)\). See Figure \(\PageIndex{3}\). Find the surface area of a cylinder with radius \(6\) in. and height \(9\) in. Leave the answer in terms of \(\pi\).
Evaluate the expression \(2\pi r(r+h)\) for \(r=6\) and \(h=9\).
Solution
\[\begin{align*} S &= 2\pi r(r+h) \\ &= 2\pi (6)[(6)+(9)] \\ &= 2\pi(6)(15) \\ &= 180\pi \end{align*}\]
The surface area is \(180\pi\) square inches.
Exercise \(\PageIndex{11}\)
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 \(cm^2\) is found to be \(A=(L+16)(W+16)  L\)⋅W
 Answer

\(1152cm^2\)
Simplifying 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 \(\PageIndex{13}\): Simplifying Algebraic Expressions
Simplify each algebraic expression.
 \(3x2y+x3y7\)
 \(2r5(3r)+4\)
 \(\left(4t\dfrac{5}{4}s\right)\left(\dfrac{2}{3}t+2s\right)\)
 \(2mn5m+3mn+n\)
Solution
 \[\begin{align*} 3x2y+x3y7&=3x+x2y3y7 && \qquad \text{Commutative property of addition}\\ &=4x5y7 && \qquad \text{Simplify}\\ \end{align*}\]
 \[\begin{align*} 2r5(3r)+4&=2r15+5r+4 && \qquad \qquad \qquad \text {Distributive property}\\ &=2r+5y15+4 && \qquad \qquad \qquad \text{Commutative property of addition}\\ &=7r11 && \qquad \qquad \qquad \text{Simplify}\\ \end{align*}\]
 \[\begin{align*} \left(4t\dfrac{5}{4}s\right)\left(\dfrac{2}{3}t+2s\right)&=4t\dfrac{5}{4}s\dfrac{2}{3}t2s && \qquad \text{Distributive property}\\ &=4t\dfrac{2}{3}t\dfrac{5}{4}s2s && \qquad \text{Commutative property of addition}\\ &=\dfrac{10}{3}t\dfrac{13}{4}s && \qquad \text{Simplify}\\ \end{align*}\]
 \[\begin{align*} 2mn5m+3mn+n&=2mn+3mn5m+n && \qquad \text{Commutative property of addition}\\ &=5mn5m+n && \qquad \text{Simplify}\\ \end{align*}\]
Exercise \(\PageIndex{12}\)
Simplify each algebraic expression.
 \(\dfrac{2}{3}y−2\left(\dfrac{4}{3}y+z\right)\)
 \(\dfrac{5}{t}−2−\dfrac{3}{t}+1\)
 \(4p(q−1)+q(1−p)\)
 \(9r−(s+2r)+(6−s)\)
 Answer

 \(−2y−2z\) or \(−2(y+z)\)
 \(\dfrac{2}{t}−1\)
 \(3pq−4p+q\)
 \(7r−2s+6\)
Example \(\PageIndex{14}\): 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.
Solution
\[\begin{align*} P &=L+W+L+W\\ P &=L+L+W+W && \qquad \text{Commutative property of addition}\\ P &=2L+2W && \qquad \text{Simplify}\\ P &=2(L+W) && \qquad \text{Distributive property} \end{align*}\]
Exercise \(\PageIndex{13}\)
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(1+rt)\)
Access these online resources for additional instruction and practice with real numbers.
Key Concepts
 Rational numbers may be written as fractions or terminating or repeating decimals. See Example and Example.
 Determine whether a number is rational or irrational by writing it as a decimal. See Example.
 The rational numbers and irrational numbers make up the set of real numbers. See Example. A number can be classified as natural, whole, integer, rational, or irrational. See Example.
 The order of operations is used to evaluate expressions. See Example.
 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. See Example.
 Algebraic expressions are composed of constants and variables that are combined using addition, subtraction, multiplication, and division. See Example. They take on a numerical value when evaluated by replacing variables with constants. See Example,Example, and Example
 Formulas are equations in which one quantity is represented in terms of other quantities. They may be simplified or evaluated as any mathematical expression. See Example and Example.
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+(b+c)=(a+b)+c
 associative property of multiplication
 the product of three numbers may be grouped differently without affecting the result; in symbols,a⋅(b⋅c)=(a⋅b)⋅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⋅b=b⋅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⋅(b+c)=a⋅b+a⋅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⋅1=a
 integers
 the set consisting of the natural numbers, their opposites, and 0:{…,−3,−2,−1,0,1,2,3,…}
 inverse property of addition
 for every real numbera,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+(−a)=0
 inverse property of multiplication
 for every nonzero real numbera,there is a unique number, called the multiplicative inverse (or reciprocal), denoted1a,which, when multiplied by the original number, results in the multiplicative identity, 1; in symbols,a⋅1a=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,…}
 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 formmn,wheremandnare integers andn≠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,…}