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:

    The bond between a man and his profession is similar to that which ties him to his country; it is just as complex, often ambivalent, and in general it is understood completely only when it is broken: by exile or emigration in the case of one’s country, by retirement in the case of a trade or profession.
    Primo Levi (1919–1987)

    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)