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:
“It has been an unchallengeable American doctrine that cranberry sauce, a pink goo with overtones of sugared tomatoes, is a delectable necessity of the Thanksgiving board and that turkey is uneatable without it.... There are some things in every country that you must be born to endure; and another hundred years of general satisfaction with Americans and America could not reconcile this expatriate to cranberry sauce, peanut butter, and drum majorettes.”
—Alistair Cooke (b. 1908)
“We used chamber-pots a good deal.... My mother ... loved to repeat: When did the queen reign over China? This whimsical and harmless scatological pun was my first introduction to the wonderful world of verbal transformations, and also a first perception that a joke need not be funny to give pleasure.”
—Angela Carter (19401992)