Variable (mathematics) - General Introduction

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:

    At Hayes’ General Store, west of the cemetery, hangs an old army rifle, used by a discouraged Civil War veteran to end his earthly troubles. The grocer took the rifle as payment ‘on account.’
    —Administration for the State of Con, U.S. public relief program (1935-1943)

    For better or worse, stepparenting is self-conscious parenting. You’re damned if you do, and damned if you don’t.
    —Anonymous Parent. Making It as a Stepparent, by Claire Berman, introduction (1980, repr. 1986)