From Arithmetic to Algebra
Progress can't be saved in this browser, so this lesson's status can't be set.
Learning goals
- Read algebra as arithmetic's move from particular numbers to general claims
- State the familiar laws as claims about every allowed number
- Recognize an identity as an equation true for every allowed value
- Test equivalence by substitution, and say what testing cannot prove
- Disprove a general claim with a single counterexample
Letters can name unknowns or describe patterns
Adding and gives one answer. But why does swapping them leave that answer unchanged, and would the same thing happen with another pair? Algebra lets you ask about the pattern as well as calculate a particular result.
To do that, we use a variable: a letter that stands for a number whose name we do not know yet. Sometimes the name is unknown because we are trying to find it, as when we solve for the one value that fits. Other times the name is unknown on purpose, because we want a single statement to hold true no matter which number replaces the letter.
With the second use, one equation can stand for an endless list. You could check that
and so on, but the list would never end. Or you can write the whole pattern once:
Here and can stand for any two numbers. The equation records a claim about every pair. In , by contrast, we are looking for the particular number that makes the equation true.
The laws every number obeys
The familiar laws of arithmetic still apply when you use letters. They hold for real numbers, the numbers on the number line, including negatives, fractions, and numbers such as . Multiplication’s inverse law has one exception: zero has no reciprocal.
| Law | With addition | With multiplication |
|---|---|---|
| Commutative | ||
| Associative | ||
| Identity | ||
| Inverse | (for ) |
One more law links addition and multiplication, the distributive law:
The commutative law lets you swap the order in a sum or product. The associative law lets you change the grouping. The identity law says that adding or multiplying by leaves a number unchanged: is the additive identity and the multiplicative identity. The inverse law pairs a number with its opposite (its additive inverse), or with its reciprocal (its multiplicative inverse) when the number is nonzero.
These laws describe arithmetic you already use. The next argument shows why addition can be reordered.
Why for every pair of numbers#
Combine stones with stones. You get the same heap whether you begin with the or the . The total is in either order. The same reasoning works for piles of and stones: changing the order does not add or remove a stone, so for whole-number counts.
Adding a number means moving by it on the number line: right for a positive number and left for a negative one. So and describe the same two moves in opposite orders. Both land at : in either order, units of rightward movement cancel units of leftward movement, leaving units to the left.
Now let the two moves have any sizes. If both point the same way, placing their lengths end to end gives the same total distance in either order. If either move is zero, it adds no distance.
For opposite directions, if the shorter move comes second, it walks back over part of the first. If it comes first, the longer move walks back over all of it and keeps going. Either way, the moves cancel over the shorter length. Call the rightward distance and the leftward distance . If , the moves cancel over units, leaving units to the right, whichever comes first. If , they cancel over units, leaving units to the left. When , both orders return to the start.
In every case, the end point depends only on the two distances and their directions, so both orders give the same result. This covers positive, negative, and zero moves, including fractional distances, so and reach the same point for every pair.
Identities: equations that are always true
An equation joins two expressions with an equals sign. Compare:
The first is true only when . Finding the values that make an equation true is called solving. The second is true for every . The third is never true: no number equals one more than itself. Other equations can be true at several values, such as at and .
An identity is an equation true for every allowed value of its variables. The laws above are identities, with zero excluded from the reciprocal rule. Unlike , an identity does not ask us to find a value.
Check your understanding
Which equation states a general arithmetic law, an identity true for every allowed value rather than an equation to solve for one value?
The multiplicative identity law says that multiplying any real number by leaves it unchanged.
Here the letter lets one equation describe every number, not a particular unknown to find. In contrast holds only at , only at , and only at .
Equivalent expressions
Two expressions are equivalent when they give the same value for every allowed input. They form the two sides of an identity. For example, and look different, but the distributive law says they always agree.
Why and are equivalent#
With , two copies of can be regrouped as two ‘s and two ‘s:
We could do the same regrouping with any real number in place of the :
The associative and commutative laws allow the regrouping, so the equality holds for every .
The same picture appears in a rectangle, where the distributive law becomes a statement about area.
Two expressions can look alike without being equivalent. The expressions and differ only in what the parentheses cover. To show they are not equivalent, we only need one value of where they give different answers.
Worked example 1 Are these expressions equivalent?
Start with and . Using the distributive law, multiply the by each term inside the parentheses:
Because the distributive law holds for every number, this equality holds for every , so the two expressions are equivalent.
Now compare with . Here the multiplies only the . Test a single value, say :
The two disagree at , so and are not equivalent.
Substitution and counterexamples
To substitute is to replace a variable with a chosen number and then do the arithmetic. Writing the number in parentheses where the letter used to be keeps the operations and signs intact, so at becomes rather than the meaningless ”.” You can use substitution to test a claimed identity.
Testing numbers can show that a claim is false, but it cannot show that the claim is true for every number. One disagreement disproves an “every number” claim, while agreements at a few numbers leave the other numbers untested.
Why one counterexample disproves a claim but examples cannot prove it#
Suppose someone claims for every number. At , both sides are . But at , they are and . That failure is a counterexample: it disproves the claim about every number.
This works for any claimed identity. If it fails at even one allowed value, it is not an identity, because “every” includes the value where it failed. Checking examples cannot prove it, though: however many numbers you check, there are always others you have not tried, and the claim might fail at one of them.
To prove an identity, we need a reason that works for every allowed value at once. In the earlier proof, the regrouping worked for any , so it proved the identity without testing numbers one by one.
The next example tests a claim that agrees at two values.
Worked example 2 Is an identity?
A claim that two expressions are always equal is a claim about every number, so try a few values and look for one where the two sides do not match.
At the two sides agree:
At they agree again, since and . But two examples are not enough to show that it works for every number. Try :
The disagreement at disproves the claimed identity.
Check your understanding
A student tests at and , and both tests agree. Which response correctly decides whether the equation is an identity?
The successful tests at and leave other numbers untested. Substituting gives a counterexample:
An identity must hold at every allowed input, so this one disagreement disproves the claim. Being between two successful inputs does not make successful, and agreements at other values do not change the result at .
The order of operations does not change
When letters appear in an expression, we use the same order of operations as before. Parentheses come first, then exponents, then multiplication and division from left to right, then addition and subtraction from left to right. So means , with the multiplication done before the addition, and it is a different expression from . When you substitute a number, follow the order of operations to get the right value.
Worked example 3 Evaluate when
Substitute for , in parentheses, then follow the order of operations:
Multiplication comes before subtraction, so multiply first:
The value is . It is not ; the subtraction does not happen first just because it is written first.
Check your understanding
Evaluate when .
Substitute for , then multiply before adding, just as the order of operations requires.
The answer is , not ; the multiplication happens before the addition.
Turning words into algebra
To translate a problem, name the unknown with a letter and turn the relationships into operations. “More than” and “increased by” signal addition; “times” and “the product of” signal multiplication. “Divided by” signals division, as does “per” in a rate such as miles per hour. Watch the order in “less than”: ” less than ” means , because is the starting amount.
A phrase such as “twice a number” names a value, giving the expression . A statement such as “twice a number is ten” says two values are equal, giving the equation . So write an equals sign only when the words say that two things are equal.
Worked example 4 Translate two statements into algebra
Name the unknown number in each, then read carefully for a claim that two amounts are equal.
“Twice a number, decreased by five” is a phrase. Twice the number is , and decreased by five subtracts :
It names a value but does not say that anything is equal, so it is an expression.
“The sum of a number and eight is twenty” is a full statement, and the word is acts as the equals sign. The sum of the number and eight is , set equal to :
That equals sign makes it an equation, a sentence you could later solve to find .