Variable

This is an old revision of this page, as edited by TankutO (talk | contribs) at 15:47, October 4, 2008. It may differ significantly from current revision.

In mathematics, a variable is a value which usually is the subject or part of a function and must be subject to change while not affecting the structure behind the function in which it acts.

For example, if we have a function: , then Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x,y} are said to be the variables of the function, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f} .

Further, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(1,2)=(1)^{2}+3(2)=1+6=7} . We change the variable and thus alter the value of the function.

Sometimes a function can have also a parameter. A parameter is similar to a variable, but is not written like a variable and is thus more similar to a constant. For example, if we a function: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x,y) = x^2 + ay} , then Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a} is said to be a parameter. It does not change like the variables x and y, but it can nonetheless take different values. It is important to clearly distinguish the two concepts.

The set of all variables upon which a function acts is said to be the domain. The set of all values that a function can take due to its domain is called its range.