Section 0.0 Preliminaries
¶Objectives
Subsection 0.0.1 Integer Addition and Subtraction
¶Here is a picture of the integers on a number line:
The number line actually goes on forever in both directions. We designate one point to represent “zero”, \(0,\) and use it as a reference point. Next, we choose a “unit” of measure. The number \(1\) is one “unit” to the right of zero. The number \(2\) is a distance of two units to the right of zero and so on. The positive integers, \(1, 2, 3, \dots\text{,}\) represent whole units of distances to the right of \(0.\) The negative integers, \(-1, -2, -3, \dots\text{,}\) represent whole units of distances to the left of \(0.\) Some facts to note are:
- The integer \(0\) is neither positive nor negative. It is not to the right or left of itself.
-
As we move to the right on the number line, the integers increase in value.
- \(3\) is greater than \(2\text{.}\) Note that it is to the right of \(2\) on the number line.
- But \(-2\) is greater than \(-3\) since it is to the right of \(-3\) on the number line.
Recall that adding a positive integer results in moving to the right \(\rightarrow\) on the number line.
Example 0.0.1. Add \(3\) to \(1\).
Plot \(1+3\text{:}\) Start at \(1\) on the number line
Move three places to the right
Our Solution: \(4\checkmark\) (We knew that!)
Similarly, adding a negative integer results in moving to the left \(\leftarrow\) on the number line.
Example 0.0.2. Add \(-2\) to \(-1\).
Plot \((-1)+(-2)\text{:}\) Start at \(-1\) on the number line
Move two places to left
Our Solution: \(-3\,\checkmark\)
Notice in Example 0.0.2 that adding two negative numbers is equivalent to adding the two corresponding positive numbers, but the final result is negative: \(1+2=3\) and \(-1+(-2)=-3\text{.}\)
Example 0.0.3. Add Two Negative Integers.
If you were to sketch out a number line to solve Example 0.0.3, you would start at \(-4\) then move left \(11\) positions. The result would end up at \(-15\text{.}\)
Now let's consider adding two numbers with opposite signs.
Example 0.0.4. Add \(-3\) to \(1\).
Plot \(1+(-3)\text{:}\) Start at \(1\) on the number line
Move three places to left
Our Solution: \(-2\checkmark\)
When adding integers with opposite signs use the corresponding positive integers, we subtract the smaller from the larger, then use the sign from the larger number in our result. This means if the larger number is positive, the answer is positive. If the larger number is negative, the answer is negative. Consider the following examples:
Example 0.0.5. Add Integers of Different Signs.
Example 0.0.6. Add Integers of Different Signs.
To subtract a signed number, we add the opposite of the number after the subtraction sign using the rules for addition described above.
Example 0.0.7. Subtract Integers: add the opposite.
Example 0.0.8. Subtract Integers: add the opposite.
Checkpoint 0.0.9.
Subsection 0.0.2 Integer Multiplication and Division
Think of multiplying positive integers as repeated addition. Note that we could add \(4\) three times:
Or add \(3\) four times:
How does this work with negative integers? Think of repeated subtraction. We could subtract \(2\) five times
or add \(-5\) two times
With two negative integers, we could either subtract \(-4\) twice
or
Notice the pattern when multiplying: The product of two numbers with the same sign is positive. The product of two numbers with opposite signs is negative. We do not need to do the multiplcation by writing out the additions or subtractions. Just multiply the numbers and make the result negative if one number is positive and the other negative. Otherwise, the result is positive.
Example 0.0.10. Multiply.
Example 0.0.11. Multiply.
The rules for division are the same as for multiplication. To see why, consider \(6 \div -2.\) The result of the division is the integer which when multiplied by \(-2\) produces \(6.\) To get a positive integer when multiplying a negative integer requires multiplication by another negative integer. Since \(-2 \cdot -3 = 6,\) the answer to the division is \(6 \div -2 = -3.\) Similarily, \(-6 \div -2 = 3\) since \(-2 \cdot 3 = -6.\)
Hence, the quotient of two numbers with the same sign is positive. The quotient of two numbers with opposite signs is negative.
Example 0.0.12. Divide.
Example 0.0.13. Divide.
Checkpoint 0.0.14.
There is a special case we must consider. The integer zero is neither positive nor negative. It is neither to the right nor left of itself. When we consider multiplication by zero, it means add the other integer to itself zero times. If there is nothing to add, the result is zero. For example: \(0 \cdot 3 = 0.\) Or we could add zero to itself \(3\) times, \(3 \cdot 0 = 0 + 0 + 0 = 0.\) Either way, multiplication by zero results in zero.
What about dividing with zero? For \(0 \div 5,\) since \(5 \cdot 0 = 0\) the answer is \(0 \div 5 = 0.\) However, if we divide by zero we have a problem. Consider \(8 \div 0.\) The answer must be the integer that multiplies zero to give \(8.\) No number can multiply \(0\) to give \(8.\) Since there is no answer for \(8 \div 0,\) it is customary to say expression is not defined.
Checkpoint 0.0.15.
Exponents are used to denote repeated multiplication of a number times itself. We call the number the base of the exponent.
Example 0.0.16. Exponents: Evaluate \(6^2\).
Example 0.0.17. Exponents: Evaluate \((-5)^4\).
Compare the example above with the next example and note the difference the parentheses make.
Example 0.0.18. Exponents: Evaluate \(-5^4\).
Be careful when working with integers. For example, compare the expression \(-3-8\) with \(-3(-8)\text{.}\) The second expression is a product. If there is no operation symbol between parentheses, we assume we are multiplying. On the other hand, the expression \(-3-8\) is subtraction.
Also, be careful not to mix up the rules for adding and subtracting integers with the rules for multiplying and dividing integers. For example, \(-3+(-7)=-10\text{,}\) but \((-3)(-7)=21\text{.}\)
Subsection 0.0.3 Operations of Numbers
When simplifying an expression it is important that we perform the operations in the correct order. Consider the following problem done two different ways:
Example 0.0.19. WARNING! 0nly one below solution is correct:.
The previous Example 0.0.19 illustrates that if the same problem is done two different ways we will arrive at two different solutions. However, only one method can be correct. It turns out the second method, with solution \(17\text{,}\) is the correct method. This list then is the order of operations we will use to simplify expressions.
Order of Operations: |
parentheses (Grouping) |
Exponents |
Multiply and Divide (Left to Right) |
Add and Subtract (Left to Right) |
Multiply and Divide are on the same level because they are the same operation (division is just multiplying by the reciprocal). This means they must be done left to right, so some problems we will divide first, others we will multiply first. The same is true for adding and subtracting (subtracting is just adding the opposite). Often students use the word PEMDAS to remember the order of operations, as the first letter of each operation creates the word PEMDAS. However, it is the author's suggestion to think about PEMDAS as a vertical word written as:
\(P\) |
\(E\) |
\(M\) |
\(D\) |
\(A\) |
\(S\) |
so we don't forget that multiplication and division are done left to right (same with addition and subtraction). Another way students remember the order of operations is to think of a phrase such as “Please Excuse My Dear Aunt Sally” where each word starts with the same letters as the order of operations start with.
Example 0.0.20. Order of Operations.
The most common mistake to make on a problem like this is to add the \(2\) and \(3\) first. Keep in mind that multiplication must be done before addition.
Checkpoint 0.0.21.
As the next example shows, it is very important to remember to multiply and divide from from left to right!
Example 0.0.22. Order of Operations.
Example 0.0.23. Order of Operations: Exponents and Minus Signs.
This example illustrates an important point about exponents. Exponents apply only to the number they are attached to. This means when we see \(- 4^2\text{,}\) only the \(4\) is squared, giving us \(-(4^2)\) or \(-16\text{.}\) But when the negative is in parentheses, such as \((-5)^2\) the negative is part of the number and is also squared giving us a positive solution, \(25\text{.}\)
If there are several parentheses in a problem we will start with the inner most parentheses and work our way out.
Example 0.0.24. Order of Operations.
As the above example illustrates, it can take several steps to simplify an expression. The key to follow the order of operations successfully is to take the time to show your work and do one step at a time. This will reduce the chance of making a mistake along the way.
In algebra we will often need to simplify an expression to make it easier to use. There are three basic forms of simplifying which we will review here.
Subsection 0.0.4 Working with Variables
We can evaluate an expresson when we know what number each variable in the expression represents. We replace each variable with the equivalent number and simplify what remains using order of operations.
Example 0.0.25. Evaluate Expression.
When a negative number is substituted into an expression, it may be helpful to put it in parenthesis so that the steps for simplying are clear.
Example 0.0.26. Evaluate Expression.
Checkpoint 0.0.27.
It will be more common in our study of algebra that we do not know the value of the variables. In this case, we will have to simplify what we can and leave the variables in our final solution.
One way we can simplify expressions is to combine like terms. “Like terms” are terms where the variables match exactly (exponents included). For example, \(3x^2y\) and \(-7x^2y\) are like terms since the variables and their powers are the same, but \(4xy\) does not have the same powers and is not a like term with the others. Note that \(3x^2y\) means there are three \(x^2y\)s and \(-7x^2y\) means negative seven \(x^2y\)s. If we combine the like terms, there are negative four \(x^2y\)s: \(3x^2y + (-7x^2y) = -4x^2y\text{.}\)
To combine like terms add (or subtract) the numbers in front of the variables, then keep the variables the same. This is shown in the following examples:
Example 0.0.28. Combine Like Terms.
Example 0.0.29. Combine Like Terms.
WeBWorK: Entering Exponents.
Type x^2
for \(x^2\)
When we combine like terms we interpret minus signs as part of the term. This means the following term is a negative term, the sign always stays with the term. We then add the terms together.
Another simplification technique uses the distributive property.
Several examples of using the distributive property are given below.
Example 0.0.30. Distribute a Positive.
Example 0.0.31. Distribute a Negative.
In the previous Example 0.0.31 we again use the fact that the sign applies to the following number. This means we treat the \(-6\) as a negative number, this gives \((-7)(-6) = 42\text{,}\) a positive number. The most common error in distributing is a sign error. Be very careful with your signs!
It is possible to distribute just a negative through parentheses. If we have a negative in front of parentheses we can think of it like a \(-1\) in front and distribute the \(-1\) through.
Example 0.0.32. Distribute a Negative.
We may need to use both the distributive property and combining like terms to simplify an expression. Order of operations tells us to multiply (distribute) first then add or subtract last (combine like terms). Thus we simplify in two steps, distribute then combine.
Example 0.0.33. Simplify.
Example 0.0.34. Simplify.
In the previous Example 0.0.34 we distributed \(-2\text{,}\) not just \(2\text{.}\) This is because a negative sign goes with the number after it. Note that \(-2\) times \(-5\) is positive \(10.\)
Checkpoint 0.0.35.
Following are more involved examples of distributing and combining like terms.