Inputs and Outputs: Using f(x)
Maths has a short way to say "put 3 into the rule". It is written f(3), and it saves a lot of words.
Function notation
We name a function with a letter, often f. The rule is read "f of x equals plus 1". The x is the input. The whole f(x) is the output.
To find f(4), replace every x with 4: . So the input 4 gives the output 9.
Evaluating with care
Brackets matter. For , the value g(−2) is (−2)² − 3 = 4 − 3 = 1. Square the −2 first, then take away 3.
Write the rule once with an empty pair of brackets, like ( )² − 3, and put the input inside. That keeps the signs right.
Going the other way
Sometimes you know the output and want the input. If and , then . Take away 1, then halve: .
So f(5) = 11. The input 5 is the one that gives output 11.
Careful
F(3) does not mean f times 3. It means the output when the input is 3.
Try it at home
- Write your own function, like .
- Find f(0), f(1) and f(−2).
- Pick an output and work out which input gives it.
Words in this lesson
- function notation - writing a function as f(x), where x is the input and f(x) is the output.
- evaluate - to put an input into a rule and work out the output.
Big idea
F(x) is the output for the input x: replace x with the number and work it out.