Variable (mathematics)

In elementary mathematics, a variable is an alphabetic character representing a number, called the value of the variable, which is either arbitrary, not fully specified, or unknown. Making algebraic computations with variables as if they were explicit numbers allows one to solve a range of problems in a single computation. A typical example is the quadratic formula, which allows one to solve every quadratic equation by simply substituting the numeric values of the coefficients of the given equation to the variables that represent them.

The concept of a variable is also fundamental in calculus. Typically, a function y = f(x) involves two variables, y and x, representing respectively the value and the argument of the function. The term "variable" comes from the fact that, when the argument (also called the "variable of the function") varies, then the value varies accordingly.[1]

In more advanced mathematics, a variable is a symbol that denotes a mathematical object, which could be a number, a vector, a matrix, or even a function. In this case, the original property of "variability" of a variable is not kept (except, sometimes, for informal explanations).

Similarly, in computer science, a variable is a name (commonly an alphabetic character or a word) representing some value represented in computer memory. In mathematical logic, a variable is either a symbol representing an unspecified term of the theory, or a basic object of the theory, which is manipulated without referring to its possible intuitive interpretation.

Etymology

"Variable" comes from a Latin word, variābilis, with "vari(us)"' meaning "various" and "-ābilis"' meaning "-able", meaning "capable of changing".[2]

Genesis and evolution of the concept

François Viète introduced at the end of 16th century the idea of representing known and unknown numbers by letters, nowadays called variables, and of computing with them as if they were numbers, in order to obtain, at the end, the result by a simple replacement. François Viète's convention was to use consonants for known values and vowels for unknowns.[3]

In 1637, René Descartes "invented the convention of representing unknowns in equations by x, y, and z, and knowns by a, b, and c".[4] Contrarily to Viète's convention, Descartes' one is still commonly in use.

Starting in the 1660s, Isaac Newton and Gottfried Wilhelm Leibniz independently developed the infinitesimal calculus, which essentially consists of studying how an infinitesimal variation of a variable quantity induces a corresponding variation of another quantity which is a function of the first variable (quantity). Almost a century later Leonhard Euler fixed the terminology of infinitesimal calculus and introduced the notation y = f(x) for a function f, its variable x and its value y. Until the end of the 19th century, the word variable referred almost exclusively to the arguments and the values of functions.

In the second half of the 19th century, it appeared that the foundation of infinitesimal calculus was not formalized enough to deal with apparent paradoxes such as a continuous function which is nowhere differentiable. To solve this problem, Karl Weierstrass introduced a new formalism consisting of replacing the intuitive notion of limit by a formal definition. The older notion of limit was "when the variable x varies and tends toward a, then f(x) tends toward L", without any accurate definition of "tends". Weierstrass replaced this sentence by the formula

in which none of the five variables is considered as varying.

This static formulation led to the modern notion of variable which is simply a symbol representing a mathematical object which either is unknown or may be replaced by any element of a given set; for example, the set of real numbers.

Specific kinds of variables

It is common that many variables appear in the same mathematical formula, which play different roles. Some names or qualifiers have been introduced to distinguish them. For example, the general cubic equation

is interpreted to have five variables, four of which, a, b, c, d are taken to be given numbers. The fifth variable, x, is understood to be an unknown number, the solution of the equation, which one wishes to solve for. To distinguish them, the variable x is called an unknown, and the other variables are called parameters or coefficients, or sometimes constants, although this last terminology is incorrect for an equation and should be reserved for the function defined by the left-hand side of this equation.

In the context of functions, the term variable refers commonly to the arguments of the functions. This is typically the case in sentences like "function of a real variable", "x is the variable of the function f: xf(x)", "f is a function of the variable x" (meaning that the argument of the function is referred to by the variable x).

In the same context, the variables that are independent of x define constant functions and are therefore called constant. For example, a constant of integration is an arbitrary constant function that is added to a particular antiderivative to obtain the other antiderivatives. Because the strong relationship between polynomials and polynomial function, the term "constant" is often used to denote the coefficients of a polynomial, which are constant functions of the indeterminates.

This use of "constant" as an abbreviation of "constant function" must be distinguished from the normal meaning of the word in mathematics. A constant, or mathematical constant is a well and unambiguously defined number or other mathematical object, as, for example, the numbers 0, 1, π and the identity element of a group.

Other specific names for variables are:

It should be emphasized that all these denominations of variables are of semantic nature and that the way of computing with them (syntax) is the same for all.

Dependent and independent variables

In calculus and its application to physics and other sciences, it is rather common to consider a variable, say y, whose possible values depend on the value of another variable, say x. In mathematical terms, the dependent variable y represents the value of a function of x. To simplify formulas, it is often useful to use the same symbol for the dependent variable y and the function mapping x onto y. For example, the state of a physical system depends on measurable quantities such as the pressure, the temperature, the spatial position, ..., and all these quantities vary when the system evolves, that is, they are function of the time. In the formulas describing the system, these quantities are represented by variables which are dependent on the time, and thus considered implicitly as functions of the time.

Therefore, in a formula, a dependent variable is a variable that is implicitly a function of another (or several other) variables. An independent variable is a variable that is not dependent.[5]

The property of a variable to be dependent or independent depends often of the point of view and is not intrinsic. For example, in the notation f(x, y, z), the three variables may be all independent and the notation represents a function of three variables. On the other hand, if y and z depend on x (are dependent variables) then the notation represents a function of the single independent variable x.[6]

Examples

If one defines a function f from the real numbers to the real numbers by

then x is a variable standing for the argument of the function being defined, which can be any real number. In the identity

the variable i is a summation variable which designates in turn each of the integers 1, 2, ..., n (it is also called index because its variation is over a discrete set of values) while n is a parameter (it does not vary within the formula).

In the theory of polynomials, a polynomial of degree 2 is generally denoted as ax2 + bx + c, where a, b and c are called coefficients (they are assumed to be fixed, i.e., parameters of the problem considered) while x is called a variable. When studying this polynomial for its polynomial function this x stands for the function argument. When studying the polynomial as an object in itself, x is taken to be an indeterminate, and would often be written with a capital letter instead to indicate this status.

Notation

In mathematics, the variables are generally denoted by a single letter. However, this letter is frequently followed by a subscript, as in x2, and this subscript may be a number, another variable (xi), a word or the abbreviation of a word (xin and xout), and even a mathematical expression. Under the influence of computer science, one may encounter in pure mathematics some variable names consisting in several letters and digits.

Following the 17th century French philosopher and mathematician, René Descartes, letters at the beginning of the alphabet, e.g. a, b, c are commonly used for known values and parameters, and letters at the end of the alphabet, e.g. x, y, z, and t are commonly used for unknowns and variables of functions.[7] In printed mathematics, the norm is to set variables and constants in an italic typeface.[8]

For example, a general quadratic function is conventionally written as:

where a, b and c are parameters (also called constants, because they are constant functions), while x is the variable of the function. A more explicit way to denote this function is

which makes the function-argument status of x clear, and thereby implicitly the constant status of a, b and c. Since c occurs in a term that is a constant function of x, it is called the constant term.[9]:18

Specific branches and applications of mathematics usually have specific naming conventions for variables. Variables with similar roles or meanings are often assigned consecutive letters. For example, the three axes in 3D coordinate space are conventionally called x, y, and z. In physics, the names of variables are largely determined by the physical quantity they describe, but various naming conventions exist. A convention often followed in probability and statistics is to use X, Y, Z for the names of random variables, keeping x, y, z for variables representing corresponding actual values.

There are many other notational usages. Usually, variables that play a similar role are represented by consecutive letters or by the same letter with different subscript. Below are some of the most common usages.

See also

Bibliography

References

  1. Syracuse University. "Appendix One Review of Constants and Variables". cstl.syr.edu. Archived from the original on 2014-01-16.
  2. ""Variable" Origin". dictionary.com. Retrieved 18 May 2015.
  3. Fraleigh, John B. (1989). A First Course in Abstract Algebra (4 ed.). United States: Addison-Wesley. p. 276. ISBN 0-201-52821-5.
  4. Tom Sorell, Descartes: A Very Short Introduction, (2000). New York: Oxford University Press. p. 19.
  5. Edwards Art. 5
  6. Edwards Art. 6
  7. Edwards Art. 4
  8. William L. Hosch (editor), The Britannica Guide to Algebra and Trigonometry, Britannica Educational Publishing, The Rosen Publishing Group, 2010, ISBN 1615302190, 9781615302192, page 71
  9. Foerster, Paul A. (2006). Algebra and Trigonometry: Functions and Applications, Teacher's Edition (Classics ed.). Upper Saddle River, NJ: Prentice Hall. ISBN 0-13-165711-9.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.