What is a Function?
A function is a mathematical rule that takes an input value and produces exactly one output value. Think of it as a machine: you feed in a number , and the machine applies a rule to produce an output .
Function: A function is a rule that assigns to each input value in its domain exactly one output value, written .
The critical requirement is the one output per input rule. If a single input could produce two different outputs , for example, , then the relationship is merely a relation, not a function.
A function can map different inputs to the same output. For example, maps both and to the output . This is perfectly fine , it's only a problem if one input gives two different outputs.
Think of a function like a vending machine. Each button press (input) gives you exactly one product (output). Different buttons might give the same snack, but pressing one button can never give you two different snacks at once.

Function Notation
The standard way to write a function is , where:
- is the name of the function
- is the input variable (also called the argument)
- The expression defining the rule is written on the right-hand side of an equation
Other letters are commonly used depending on context. For instance:
- , velocity as a function of time
- , cost as a function of number of items
- , height as a function of time
Exam questions often use , , and to label different functions in the same problem. Keep track of which letter refers to which rule!
An alternative notation you may encounter is the mapping notation:
This means exactly the same as , the function maps input to output .
Evaluating a function means substituting a specific number in place of :
Let .
Find :
Find :