Variable (mathematics)
创始人
2024-03-14 21:16:09
0

In mathematics, a variable (from Latin variabilis, “changeable”) is a symbol and placeholder for any mathematical object. In particular, a variable may represent a number, a vector, a matrix, a function, the argument of a function, a set, or an element of a set.[1]

Algebraic computations with variables as if they were explicit numbers solve a range of problems in a single computation. For example, the quadratic formula solves any quadratic equation by substituting the numeric values of the coefficients of that equation for the variables that represent them in the quadratic formula. In mathematical logic, a variable is either a symbol representing an unspecified term of the theory (a meta-variable), or a basic object of the theory that is manipulated without referring to its possible intuitive interpretation.

Contents

  • 1 History
  • 2 Notation
  • 3 Specific kinds of variables
    • 3.1 Dependent and independent variables
    • 3.2 Examples
      • 3.2.1 Example: the ideal gas law
  • 4 Moduli spaces
  • 5 Conventional variable names
  • 6 See also

1 History

In ancient works such as Euclid’s Elements, single letters refer to geometric points and shapes. In the 7th century, Brahmagupta used different colours to represent the unknowns in algebraic equations in the Brāhmasphuṭasiddhānta. One section of this book is called “Equations of Several Colours”.[2]

At the end of the 16th century, François Viète introduced the idea of representing known and unknown numbers by letters, nowadays called variables, and the idea of computing with them as if they were numbers—in order to obtain the result by a simple replacement. 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’ is still commonly in use. The history of the letter x in math was discussed in a 1887 Scientific American article.[5]

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. 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 nowhere differentiable continuous function. 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

{\displaystyle (\forall \epsilon >0)(\exists \eta >0)(\forall x);|x-a|<\eta \Rightarrow |L-f(x)|<\epsilon ,}(\forall \epsilon >0) (\exists \eta >0) (\forall x) ;|x-a|<\eta \Rightarrow |L-f(x)|<\epsilon,
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 that either is unknown, or may be replaced by any element of a given set (e.g., the set of real numbers).

2 Notation

Variables are generally denoted by a single letter, most often from the Latin alphabet and less often from the Greek, which may be lowercase or capitalized. The letter may be followed by a subscript: a number (as in x2), another variable (xi), a word or abbreviation of a word (xtotal) or a mathematical expression (x2i + 1). Under the influence of computer science, some variable names in pure mathematics consist of several letters and digits. Following René Descartes (1596–1650), letters at the beginning of the alphabet such as a, b, c are commonly used for known values and parameters, and letters at the end of the alphabet such as (x, y, z) are commonly used for unknowns and variables of functions.[6] In printed mathematics, the norm is to set variables and constants in an italic typeface.[7]

For example, a general quadratic function is conventionally written as {\textstyle ax^{2}+bx+c,}{\textstyle ax^{2}+bx+c,}, 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 {\textstyle x\mapsto ax^{2}+bx+c,}{\textstyle x\mapsto ax^{2}+bx+c,}, which clarifies the function-argument status of x and 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.[8]

Specific branches and applications of mathematics have specific naming conventions for variables. Variables with similar roles or meanings are often assigned consecutive letters or the same letter with different subscripts. 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 better-defined values.

3 Specific kinds of variables

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

{\displaystyle ax{3}+bx{2}+cx+d=0,}ax3+bx2+cx+d=0,
is interpreted as having five variables: four, a, b, c, d, which are taken to be given numbers and the fifth variable, x, is understood to be an unknown number. 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: x ↦ f(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, 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. Since a variable may represent any mathematical object, a letter that represents a constant is often called a variable. This is, in particular, the case of e and π, even when they represents Euler’s number and 3.14159…

Other specific names for variables are:

An unknown is a variable in an equation which has to be solved for.
An indeterminate is a symbol, commonly called variable, that appears in a polynomial or a formal power series. Formally speaking, an indeterminate is not a variable, but a constant in the polynomial ring or the ring of formal power series. However, because of the strong relationship between polynomials or power series and the functions that they define, many authors consider indeterminates as a special kind of variables.
A parameter is a quantity (usually a number) which is a part of the input of a problem, and remains constant during the whole solution of this problem. For example, in mechanics the mass and the size of a solid body are parameters for the study of its movement. In computer science, parameter has a different meaning and denotes an argument of a function.
Free variables and bound variables
A random variable is a kind of variable that is used in probability theory and its applications.
All these denominations of variables are of semantic nature, and the way of computing with them (syntax) is the same for all.

3.1 Dependent and independent variables

Main article: 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.[9]

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.[10]

3.2 Examples

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

{\displaystyle f(x)=x^{2}+\sin(x+4)}{\displaystyle f(x)=x^{2}+\sin(x+4)}
then x is a variable standing for the argument of the function being defined, which can be any real number.

In the identity

{\displaystyle \sum _{i=1}^{n}i={\frac {n^{2}+n}{2}}}{\displaystyle \sum _{i=1}^{n}i={\frac {n^{2}+n}{2}}}
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.

3.2.1 Example: the ideal gas law

Consider the equation describing the ideal gas law,

{\displaystyle PV=Nk_{B}T.}{\displaystyle PV=Nk_{B}T.}
This equation would generally be interpreted to have four variables, and one constant. The constant is {\displaystyle k_{B}}k_{B}, the Boltzmann constant. One of the variables, {\displaystyle N}N, the number of particles, is a positive integer (and therefore a discrete variable), while the other three, {\displaystyle P,V}{\displaystyle P,V} and {\displaystyle T}T, for pressure, volume and temperature, are continuous variables.
One could rearrange this equation to obtain {\displaystyle P}P as a function of the other variables,

{\displaystyle P(V,N,T)={\frac {Nk_{B}T}{V}}.}{\displaystyle P(V,N,T)={\frac {Nk_{B}T}{V}}.}
Then {\displaystyle P}P, as a function of the other variables, is the dependent variable, while its arguments, {\displaystyle V,N}{\displaystyle V,N} and {\displaystyle T}T, are independent variables. One could approach this function more formally and think about its domain and range: in function notation, here {\displaystyle P}P is a function {\displaystyle P:\mathbb {R} _{>0}\times \mathbb {N} \times \mathbb {R} _{>0}\rightarrow \mathbb {R} }{\displaystyle P:\mathbb {R} _{>0}\times \mathbb {N} \times \mathbb {R} _{>0}\rightarrow \mathbb {R} }.
However, in an experiment, in order to determine the dependence of pressure on a single one of the independent variables, it is necessary to fix all but one of the variables, say {\displaystyle T}T. This gives a function

{\displaystyle P(T)={\frac {Nk_{B}T}{V}},}{\displaystyle P(T)={\frac {Nk_{B}T}{V}},}
where now {\displaystyle N}N and {\displaystyle V}V are also regarded as constants. Mathematically, this constitutes a partial application of the earlier function {\displaystyle P}P.
This illustrates how independent variables and constants are largely dependent on the point of view taken. One could even regard {\displaystyle k_{B}}k_{B} as a variable to obtain a function

{\displaystyle P(V,N,T,k_{B})={\frac {Nk_{B}T}{V}}.}{\displaystyle P(V,N,T,k_{B})={\frac {Nk_{B}T}{V}}.}

4 Moduli spaces

See also: moduli spaces
Considering constants and variables can lead to the concept of moduli spaces. For illustration, consider the equation for a parabola,

{\displaystyle y=ax^{2}+bx+c,}{\displaystyle y=ax^{2}+bx+c,}
where {\displaystyle a,b,c,x}{\displaystyle a,b,c,x} and {\displaystyle y}y are all considered to be real. The set of points {\displaystyle (x,y)}(x,y) in the 2D plane satisfying this equation trace out the graph of a parabola. Here, {\displaystyle a,b}a,b and {\displaystyle c}c are regarded as constants, which specify the parabola, while {\displaystyle x}x and {\displaystyle y}y are variables.
Then instead regarding {\displaystyle a,b}a,b and {\displaystyle c}c as variables, we observe that each set of 3-tuples {\displaystyle (a,b,c)}(a,b,c) corresponds to a different parabola. That is, they specify coordinates on the ‘space of parabolas’: this is known as a moduli space of parabolas.

5 Conventional variable names

a, b, c, d (sometimes extended to e, f) for parameters or coefficients
a0, a1, a2, … for situations where distinct letters are inconvenient
ai or ui for the i-th term of a sequence or the i-th coefficient of a series
e for Euler’s number
f, g, h for functions (as in {\displaystyle f(x)}f(x))
i for the imaginary unit
i, j, k (sometimes l or h) for varying integers or indices in an indexed family, or unit vectors
l and w for the length and width of a figure
l also for a line, or in number theory for a prime number not equal to p
n (with m as a second choice) for a fixed integer, such as a count of objects or the degree of an equation
p for a prime number or a probability
q for a prime power or a quotient
r for a radius, a remainder or a correlation coefficient
t for time
x, y, z for the three Cartesian coordinates of a point in Euclidean geometry or the corresponding axes
z for a complex number, or in statistics a normal random variable
α, β, γ, θ, φ for angle measures
ε (with δ as a second choice) for an arbitrarily small positive number
λ for an eigenvalue
Σ (capital sigma) for a sum, or σ (lowercase sigma) in statistics for the standard deviation[11]
μ for a mean

6 See also

Lambda calculus
Observable variable
Physical constant
Propositional variable

相关内容

热门资讯

航天精神的介绍 航天精神的介绍 载人航天工稿袜轿程是当今世界高新技术发展水平的集中体现,是衡量一个国家综合国力的重要...
奇迹笨小孩男主被骗了吗 奇迹笨小孩男主被骗了吗 没有,刚开始和老总谈成了但是没有定金,自己找工人,厂房,白天去兼职高空作...
印第安人从哪里来? 印第安人从哪里来?做个科学鉴定就知道是哪里的人
反义词是什么 反义词是什么 向左转|向右转
大器晚成的含义 大器晚成的含义【解释】:大器:比喻大才。指能担当重任的人物要经过长期的锻炼,所以成就较晚。也用做对长...
《仙逆》作者耳根是什么地方人?... 《仙逆》作者耳根是什么地方人?老家什么地方?男,黑龙江 - 牡丹江中文名刘勇
一辈子爱静 (翻译成藏文)。感... 一辈子爱静 (翻译成藏文)。感谢大家帮帮忙。  चुप की एक जीवन भर प्यार
6月有什么节日? 6月有什么节日?1日儿童节 端午节是每年的农历五月初五,今年是公历6月8日.已经过了. 今天是6月1...
2021能回到原来高中复读吗? 2021能回到原来高中复读吗?只要你原来的高中招收复读的考生,那么你就可以回到你的原高中去复读。一般...
郑大圣的电影《村戏》资源 郑大圣的电影《村戏》资源点头像...
小朋友参加唱歌比赛的视频怎么拍 小朋友参加唱歌比赛的视频怎么拍小朋友参加唱歌比赛的视频怎么拍:直接用爱剪辑就好直接在主界面就能看到给...
训练宠物日记 训练宠物日记宠物日记 看了这个标题可别以为我要写的宠物是猫啊狗啊的,我的宠物是两只可爱的小乌龟哦!真...
魅魔哪个游戏或动漫里的? 魅魔哪个游戏或动漫里的?东方project里的
宝地的含义 宝地的含义释义:1、指地势优越或物资丰富的地方:这个县是种植水稻的宝地。2、敬辞,称对方所在的地方:...
《虎口拔牙》充溢着刀光剑影的智... 《虎口拔牙》充溢着刀光剑影的智齿规划吗?《虎口拔牙全集在线观看》 李乃文将胆怯如鼠却又不得不与日统交...
疑犯追踪 佐伊谁演的 疑犯追踪 佐伊谁演的佩姬·图柯(Paige Turco) - 柔依·摩根(Zoe Morgan)...
形容登场的成语 形容登场的成语横空出世、应运而生、抛头露面、崛地而起、焕然一新、春回大地、昙花一现、层出不穷、风起云...
第九首签诗:尘暗秦时镜。珉含卞... 第九首签诗:尘暗秦时镜。珉含卞氏瑗。所居石窟内。何日见光辉。这4句什么意思?镜面被灰尘覆盖,玉石被石...
狐狸和乌鸦的成语 狐狸和乌鸦的成语狐狸和乌鸦的成语狐狸和乌鸦一天,乌鸦得到了一块肉,被狐狸看到了。狐狸很想从乌鸦嘴里得...
赤壁之战时,火烧连环船这计策是... 赤壁之战时,火烧连环船这计策是谁想出来的?三国志讲是周瑜的计策。三国演义不是历史。