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:
“The man who would change the name of Arkansas is the original, iron-jawed, brass-mouthed, copper-bellied corpse-maker from the wilds of the Ozarks! He is the man they call Sudden Death and General Desolation! Sired by a hurricane, damd by an earthquake, half-brother to the cholera, nearly related to the smallpox on his mothers side!”
—Administration in the State of Arka, U.S. public relief program (1935-1943)
“My objection to Liberalism is thisthat it is the introduction into the practical business of life of the highest kindnamely, politicsof philosophical ideas instead of political principles.”
—Benjamin Disraeli (18041881)