Table of Contents |
A function is a relation between two variables in which an input variable corresponds to exactly one output variable. These variables can be referred to as inputs and outputs because the value for one variable is "put in" to a function, and then the function provides a specific set of operations to "output" a specific value for another variable.
EXAMPLE
Suppose you have the following rule, which would read as: "Take the input, multiply by 2, and add 3."Input | Output | Explanation |
---|---|---|
If you use the input 5 with this rule, the output would be 13 because 5 times 2 is 10 and 10 plus 3 is 13. | ||
Similarly, if you use the input 8 with this rule, the output would be 19 because 8 times 2 is 16 and 16 plus 3 is 19. | ||
Finally, if you use the input -10, the output would be -17 because -10 times 2 is -20 and -20 plus 3 is -17. |
The expression “f(x)” is commonly used for function notation. It is read "f of x" and does not mean f multiplied by x. Function notation is used to name a function where x is the independent variable or the input. The expression f(x) is used to represent the dependent variable or output of the function; therefore, it is the same as the variable y.
EXAMPLE
Another example of function notation would be g(t), where t is the independent variable or the input of the function g(t).To evaluate a function means to find the value of the output f(x) for a given input x. To evaluate a function, you replace each x in the function with the input value and use order of operations to simplify the expression to determine the output value.
EXAMPLE
Evaluate the function for x equals 10.Source: This work is adapted from Sophia author Colleen Atakpu.