Constant (mathematics)
{{Short description|Function or value which does not change}}
{{for|a narrower treatment related to this subject|Mathematical constant}}
{{CS1 config|mode=cs1}}
In mathematics, the word constant conveys multiple meanings. As an adjective, it refers to non-variance (i.e. unchanging with respect to some other value); as a noun, it has two different meanings:
- A fixed and well-defined number or other non-changing mathematical object, or the symbol denoting it.{{SpringerEOM|title=Constant|oldid=37036|last=Sobolev|first=S. K.|date=December 20, 2015}}{{SpringerEOM|title=Individual constant|oldid=55830|last=Sobolev|first=S. K.|date=July 2, 2024}} The terms mathematical constant or physical constant are sometimes used to distinguish this meaning.{{Cite web|title=Definition of CONSTANT|url=https://www.merriam-webster.com/dictionary/constant|access-date=2021-11-09|website=www.merriam-webster.com|language=en}}
- A function whose value remains unchanged (i.e., a constant function).{{MathWorld|Constant}} Such a constant is commonly represented by a variable which does not depend on the main variable(s) in question.
For example, a general quadratic function is commonly written as:
:
where {{mvar|a}}, {{mvar|b}} and {{mvar|c}} are constants (coefficients or parameters), and {{mvar|x}} a variable—a placeholder for the argument of the function being studied. A more explicit way to denote this function is
:
which makes the function-argument status of {{mvar|x}} (and by extension the constancy of {{mvar|a}}, {{mvar|b}} and {{mvar|c}}) clear. In this example {{mvar|a}}, {{mvar|b}} and {{mvar|c}} are coefficients of the polynomial. Since {{mvar|c}} occurs in a term that does not involve {{mvar|x}}, it is called the constant term of the polynomial and can be thought of as the coefficient of {{math|x0}}. More generally, any polynomial term or expression of degree zero (no variable) is a constant.{{cite book | last = Foerster | first = Paul A. | title = Algebra and Trigonometry: Functions and Applications, Teacher's Edition | edition = Classics | year = 2006 | isbn = 0-13-165711-9 | publisher = Prentice Hall | location = Upper Saddle River, NJ | url-access = registration | url = https://archive.org/details/algebratrigonome00paul_0 }}{{rp|18}}
Constant function
{{Main|Constant function|Nullary}}
A constant may be used to define a constant function that ignores its arguments and always gives the same value.{{Cite book|last=Tanton|first=James|url=https://www.worldcat.org/oclc/56057904|title=Encyclopedia of mathematics|date=2005|publisher=Facts on File|isbn=0-8160-5124-0|location=New York|oclc=56057904}} A constant function of a single variable, such as , has a graph of a horizontal line parallel to the x-axis.{{Cite web|title=Algebra|url=https://tutorial.math.lamar.edu/Classes/Alg/Alg.aspx|access-date=2021-11-09|website=tutorial.math.lamar.edu}} Such a function always takes the same value (in this case 5), because the variable does not appear in the expression defining the function.
Context-dependence
The context-dependent nature of the concept of "constant" can be seen in this example from elementary calculus:
:
\frac{d}{dx} 2^x & = \lim_{h\to 0} \frac{2^{x+h} - 2^x} h = \lim_{h\to 0} 2^x\frac{2^h - 1} h \\[8pt]
& = 2^x \lim_{h\to 0} \frac{2^h - 1} h & & \text{since } x \text{ is constant (i.e. does not depend on } h\text{)} \\[8pt]
& = 2^x \cdot\mathbf{constant,} & & \text{where }\mathbf{constant}\text{ means not depending on } x.
\end{align}
"Constant" means not depending on some variable; not changing as that variable changes. In the first case above, it means not depending on h; in the second, it means not depending on x. A constant in a narrower context could be regarded as a variable in a broader context.
Notable mathematical constants
{{main|Mathematical constant}}
Some values occur frequently in mathematics and are conventionally denoted by a specific symbol. These standard symbols and their values are called mathematical constants. Examples include:
- 0 (zero).
- 1 (one), the natural number after zero.
- {{pi}} (pi), the constant representing the ratio of a circle's circumference to its diameter, approximately equal to 3.141592653589793238462643.{{cite book | last1 = Arndt | first1 = Jörg | last2 = Haenel | first2 = Christoph | title = Pi – Unleashed | url = https://archive.org/details/piunleashed00jarn | url-access = limited | page = [https://archive.org/details/piunleashed00jarn/page/n253 240] | year = 2001 | publisher = Springer | isbn = 978-3540665724}}
- {{mvar|e}}, approximately equal to 2.718281828459045235360287.{{MathWorld|e|title=e}}
- {{mvar|i}}, the imaginary unit such that {{math|i2 {{=}} −1}}.{{MathWorld|i|title=i}}
- (square root of 2), the length of the diagonal of a square with unit sides, approximately equal to 1.414213562373095048801688.{{MathWorld|PythagorassConstant|title=Pythagoras's Constant}}
- {{mvar|φ}} (golden ratio), approximately equal to 1.618033988749894848204586, or algebraically, .{{MathWorld|GoldenRatio|title=Golden Ratio}}
Constants in calculus
In calculus, constants are treated in several different ways depending on the operation. For example, the derivative (rate of change) of a constant function is zero. This is because constants, by definition, do not change. Their derivative is hence zero.
Conversely, when integrating a constant function, the constant is multiplied by the variable of integration.
During the evaluation of a limit, a constant remains the same as it was before and after evaluation.
Integration of a function of one variable often involves a constant of integration. This arises because the integral is the inverse (opposite) of the derivative meaning that the aim of integration is to recover the original function before differentiation. The derivative of a constant function is zero, as noted above, and the differential operator is a linear operator, so functions that only differ by a constant term have the same derivative. To acknowledge this, a constant of integration is added to an indefinite integral; this ensures that all possible solutions are included. The constant of integration is generally written as 'c', and represents a constant with a fixed but undefined value.
=Examples=
If {{math|f}} is the constant function such that for every {{math|x}} then
:
f'(x) &= 0 \\
\int f(x) \,dx &= 72x + c\\
\lim_{x\rarr0}f(x)&=72
\end{align}
See also
References
{{reflist}}