\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)

Functions

Definition

Definition Function
A function is a rule that assigns to each input exactly one output. You can think of a function as a machine: for every input you give it, the machine produces an output according to a specific rule.
Example
  • The rule is: \(\textcolor{olive}{\text{add 2}}\).
  • The input is: \(\textcolor{colordef}{3}\).
  • The output is: \(\textcolor{colordef}{3}\textcolor{olive}{+2} =\textcolor{colorprop}{5}\).

Table of values

Definition Table of values
A table of values is a table that shows several pairs of input and output values for a function.
Example
Here is a table of values for the rule "add 2":
Input 2 3 4
Output 4 5 6