General Introduction
Variables are used in open sentences. For instance, in the formula x + 1 = 5, x is a variable which represents an "unknown" number. Variables are often represented by Greek or Roman letters and may be used with other special symbols.
In mathematics, variables are essential because they allow quantitative relationships to be stated in a general way. If we were forced to use actual values, then the relationships would only apply in a more narrow set of situations. For example:
-
- State a mathematical definition for finding the number twice that of ANY other finite number:
-
- 2(x) = x + x or x * 2
-
- Now, all we need to do to find the double of a number is replace x with any number we want.
-
-
- 2(1) = 1 + 1 = 2 or 1 * 2
- 2(3) = 3 + 3 = 6 or 3 * 2
- 2(55) = 55 + 55 = 110 or 55 * 2
- etc.
-
So in this example, the variable x is a "placeholder" for any number—that is to say, a variable. One important thing we assume is that the value of x does not change, even though we do not know what x is. But in some algorithms, obviously, will change x, and there are various ways to then denote if we mean its old or new value—again, generally not knowing either, but perhaps (for example) that one is less than the other.
Read more about this topic: Variable (mathematics)
Famous quotes containing the words general and/or introduction:
“He who never sacrificed a present to a future good or a personal to a general one can speak of happiness only as the blind do of colors.”
—Olympia Brown (18351900)
“Do you suppose I could buy back my introduction to you?”
—S.J. Perelman, U.S. screenwriter, Arthur Sheekman, Will Johnstone, and Norman Z. McLeod. Groucho Marx, Monkey Business, a wisecrack made to his fellow stowaway Chico Marx (1931)