Lessons › math · taught by Ada
Functions and function notation explained
Learn what a function is, how f(x) works, and how to evaluate outputs from function rules and graphs.
Learn this with Ada, freeA voiced lesson with a live whiteboard, quizzes and a tutor you can call, at tutelage.appA function gives one output per input
Think of a function like a machine. You put in one input, and it gives one output.
The key rule is this: each input can match to only one output.
That is what makes a relation a function.
Why function notation uses f(x)
Function notation is a name for the output that comes from a chosen input.
The symbol f of x means the output of function f when the input is x.
So x is the input, and f of x is the result.
You can also see g of x or h of x. The letter names the function.
Predict the output rule
If f(x) = 2x + 3, what is f(4)?
- 11
- 8
- 14
Show answer
11: Yes. Substitute 4 for x, then simplify.
Evaluate f(4) step by step
Let’s work one example slowly.
First, replace x with 4. That gives two times four plus three.
Then simplify step by step until you get the output.
Do the substitution next
If g(x) = x − 5, what should you do next to find g(9)?
- Replace x with 9
- Subtract 5 from x only after plugging in 9
- Set g(9) = 9 − g
Show answer
Replace x with 9: Correct. The next move is to plug 9 into the input spot.
A function is a pairing rule
A function is not just a list of outputs. It is a rule that pairs each input to exactly one output.
This is why tables, graphs, and equations can all describe functions.
If one x value gives two different y values, that is not a function.
So always ask: does each input have exactly one output?
Graph test: vertical lines fail
On a graph, a function passes the vertical line test.
A vertical line would hit the graph in more than one place if it is not a function.
That means one input is trying to give two outputs.
Watch out: input and output mix-up
A common mistake is mixing up x and f of x.
x is the input. f of x is the answer after the rule works.
Keep that order straight, and the notation stays clear.
Your turn: find the output
If h(x) = 3x − 1, what is h(2)?
- 5
- 1
- 7
Show answer
5: Nice. Substitute 2, then simplify: three times two minus one.
Recap: use the function recipe
Here is your checklist.
First, identify the input.
Second, substitute it. Third, simplify. Fourth, read the output.