Consider the following arithmetic calculations
Here we see a pattern. To achieve generality we may use letters to
represent unspecified numbers, and write
While arithmetic deals with calculations of specified numbers, in
algebra and calculus to express universal facts, we often use letters
to denote numbers in general, not particular numbers.
If the letter represents a specific number that does not change during
a problem, it is called a constant. But if the letter is allowed
to represent different numbers during a single problem, it is called
a variable. Of course, numbers like are
also constants.
In equations, the unknown is also called the variable. For example,
in the equation , the letter is called the variable
although the equation implies that can take only one value .
But in an equation like , and represent infinitely
many numbers. It is easier to always call the unknown a variable although
it sometimes represents a single value.
If in a single discussion, both constants and variables appear, constants
are usually denoted by the first letters of the alphabet as
and variables often by the last letters of the alphabet as .
But this is not a hard-and-fast rule, and for example, the following
statements have the same meaning:
The fact that a letter is a constant or a variable should be easily
understood from the context of the problem.
Exercises
Check the pattern shown at the start of this section for the numbers and . That is, work out and work out , and see whether the two results agree.
Answer
Both sides equal .
Solution
We work out each side separately and only compare at the very end.
Left side. First do the subtraction and the addition inside the parentheses, because parentheses are worked out before multiplying:
So the left side is
Right side. The symbol means , and means :
So the right side is
Both sides came out to , so the two agree. This is one more case of the pattern
with and .
A warning about a common slip: is , not . The little tells you to multiply by itself, not to double it.
In the equation , which letter is the variable, and which numbers are the constants?
Answer
The variable is ; the constants are , and .
Solution
This section explains that in an equation, the unknown letter is called the variable, and that a number or a letter standing for a fixed number is called a constant.
In the only letter is , and is the unknown we would want to find. So is the variable.
Everything else in the equation is a specific number that does not change: , and . Numbers like these are constants, exactly as the section says about .
One point that confuses many students: here can only be one number, namely , because putting into the left side gives
which matches the right side. So does not really "vary" at all. But we still call it the variable. The section makes this exact point about the equation , where can only be and is still called the variable. The word "variable" is a naming habit, not a promise that the letter takes many values.
Use the formula with and to work out the product .
Answer
Solution
The formula has a factor and a factor . To use it we must first see our product in that shape.
We are told to take and . Then
So the product really is for these values of and . That is what allows us to use the formula; without this matching step the formula would not apply.
Now replace the left side by the right side of the formula:
Work out the two squares:
Check. Multiplying directly, . The two answers agree.
The section states the same fact in two ways, once with the letters and once with the letters . Write that same fact a third time using the letters and . Does the new version say anything different from the first two?
Answer
. It says exactly the same thing.
Solution
Replace every by and every by in
to get
The new version says nothing new. The section explains why: the letters are only stand-ins for unspecified numbers. The statement is a claim about every pair of numbers, and which letters we use to point at those two numbers has no effect on the claim.
Here is the test that makes this concrete. Pick any two numbers, say and . All three versions tell you the same thing:
that is, , or .
Notice also the habit the section describes: are usually used for constants and for variables. That is only a habit, not a rule, and it does not change the meaning of the formula.
Work out without doing long multiplication, by first writing the two numbers in the form and .
Answer
Solution
The formula in this section handles a product of the shape : two numbers that sit the same distance on either side of some middle number. So the first job is to find that middle number.
Both and are away from :
So we may take and . This matching step is what lets us use the formula.
Now rewrite the product and apply :
Work out the two squares:
Check. Doing it the long way,
The answers agree.
Note that the order of the two factors does not matter: and are the same product, since multiplication can be done in either order.
A square lawn measures metres on each side. A square patio measuring metres on each side is built in one corner of it. How many square metres of lawn are left? Use the formula of this section rather than working out the two squares.
Answer
square metres.
Solution
The area of a square is the side multiplied by itself, that is, the side squared.
Area of the whole lawn:
Area taken up by the patio:
The lawn that is left is the whole lawn minus the patio:
This is exactly the right side of the formula
with and . The formula can be read from right to left just as well as from left to right, since it says the two sides are equal. Reading it from right to left:
Now the arithmetic is easy:
So square metres of lawn are left.
Check. The long way round: and , and . The answers agree, and the short way avoided both large squares.
Two whole numbers and satisfy and , with larger than . Find and , then work out .
Answer
and ; and .
Solution
This problem runs the formula backwards: we are given the answer and asked for the numbers.
Step 1: find . We are told
and we are also told that . Putting in place of :
So the number , when multiplied by , gives . The only such number is , because . Hence
Step 2: find the two numbers. We now need two whole numbers that add up to and differ by . Try the pairs adding to , starting near the middle:
- and differ by — too small a difference;
- and differ by — this works;
- and differ by — too large.
Since is the larger one, and .
Step 3: work out . By the formula,
Check. Directly, and , and . This matches, and it also matches the we were given at the start, as it should.
A student writes the following two lines:
One line is correct and one is wrong. Say which is which, work out the correct value of the wrong line, and explain what went wrong.
Solution
The first line is correct. The second line is wrong.
Why the first line is correct. It is the formula
used with and . The two factors are and , which is exactly the shape the formula asks for. And the arithmetic checks out: , , and .
Why the second line is wrong. The symbol means multiplied by itself:
Here both factors are . But the formula needs one factor to be and the other to be — a minus in one and a plus in the other. Since is not , the formula simply does not apply to this expression, so the student was not allowed to use it.
The correct value:
not .
The lesson. Before using a formula, check that what you have really has the shape the formula describes. Here the student saw a subtraction and two squares and reached for the formula without checking the second factor. This particular mistake — treating as though it equalled — is one of the most common errors in all of algebra, so it is worth remembering that
Is the following statement always true, sometimes true, or never true? Justify your answer with examples from this section. "A letter that is called the variable stands for more than one number."
Answer
Sometimes true.
Solution
The answer is sometimes true. To justify this we need one case where the statement holds and one case where it fails.
A case where it holds. In
the letter may be given any number at all, and each choice produces a matching . For instance gives ; gives ; gives . So here really does stand for infinitely many numbers, and the statement is true.
A case where it fails. In
the letter is still called the variable, but as the section points out, the equation forces to be and nothing else. Putting into the left side gives , which matches the right side; any other value of would not. So here the variable stands for exactly one number, and the statement is false.
Since we have found a case where it is true and a case where it is false, the statement is sometimes true.
What this shows is that "variable" is a name we give to the unknown letter out of convenience, as the section says, and not a guarantee about how many values that letter can take. Compare this with a constant, such as the and the in , which is fixed for the whole problem by definition.