<< Chapter < Page | Chapter >> Page > |
A variable is a letter that stands for a number you don’t know, or a number that can change.
A few examples:
In each case, the letter stands for a very specific number. However, we use a letter instead of a number because we don’t know the specific number. In the first example above, different classrooms will have different numbers of people (so p can be different numbers in different classes); in the second example, John’s age is a specific and well-defined number, but we don’t know what it is (at least not yet); and in the third example, h will actually change its value every hour. In all three cases, we have a good reason for using a letter: it represents a number, but we cannot use a specific number such as “–3” or “ ”.
The first error is by far the most common. Remember that a variable always stands for a number. “The nickels” are not a number. Better definitions would be: “Let be the number of nickels” or “Let be the total value of the nickels, measured in cents” or “Let be the total mass of the nickels, measured in grams.”
The second example is better, because “number of minutes in an hour” is a number. But there is no reason to call it “The Mysterious Mr. M” because we already know what it is. Why use a letter when you just mean “60”?
Bad variable definitions are one of the most common reasons that students get stuck on word problems—or get the wrong answer. The first type of error illustrated above leads to variable confusion: n will end up being used for “number of nickels” in one equation and “total value of the nickels” in another, and you end up with the wrong answer. The second type of error is more harmless—it won’t lead to wrong answers—but it won’t help either. It usually indicates that the student is asking the wrong question (“What can I assign a variable to?”) instead of the right question (“What numbers do I need to know?”)
Many students expect all variables to be named , with possibly an occasional guest appearance by . In fact, variables can be named with practically any letter. Uppercase letters, lowercase letters, and even Greek letters are commonly used for variable names. Hence, a problem might start with “Let be the home team’s score and be the visiting team’s score.”
If you attempt to call both of these variables , it just won’t work. You could in principle call one of them and the other , but that would make it more difficult to remember which variable goes with which team. It is important to become comfortable using a wide range of letters. (I do, however, recommend avoiding the letter o whenever possible, since it looks like the number 0.)
Notification Switch
Would you like to follow the 'Precalculus with engineering applications' conversation and receive update notifications?