Difference between revisions of "Argument of a function"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(First)
 
(External links)
Line 23: Line 23:
  
 
* [https://en.wikipedia.org/wiki/Argument_of_a_function Argument of a function] @ Wikipedia
 
* [https://en.wikipedia.org/wiki/Argument_of_a_function Argument of a function] @ Wikipedia
 +
* [http://rosettacode.org/wiki/Parameter_passing Parameter passing] @ rosettacode.org

Revision as of 07:54, 22 October 2015

In mathematics, an argument of a function is a specific input in the function, also known as an independent variable.

When it is clear from the context which argument is meant, the argument is often denoted by the abbreviation arg.

Discussion

A mathematical function has one or more arguments in the form of independent variables designated in the function's definition, which can also contain parameters.

The independent variables are mentioned in the list of arguments that the function takes, whereas the parameters are not. For example, in the logarithmic function f(x) = \log_b (x), the base b is considered a parameter.

A function that takes a single argument as input (such as f(x) = x^2) is called a unary function. A function of two or more variables is considered to have a domain consisting of ordered pairs or tuples of argument values.

For example, the binary function f(x,y) = x^2 + y^2 has two arguments, x and y, in an ordered pair (x, y).

The hypergeometric function is an example of a four-argument function. The number of arguments that a function takes is called the arity of the function.

See also

External links