M4.10.1 Chapter 1
Function notation
My book says f(x) = 2x − 1. Is f a number that multiplies x?
Your guess
Pick one before you read on. It is fine to be wrong.
By the end you can
- Find f(3) when f(x) = 2x − 1
- Solve f(x) = 7 for the same function
A function is a rule. You give it a number, and it gives back one number. The number you give is the input. The number you get back is the output.
We write this rule as f(x) = 2x − 1. Read it as "f of x equals 2 x minus 1". The letter f is the name of the rule. The letter x stands for any input. And f(x) is the output.
The brackets in f(x) are not a multiplication. Do not read f(x) as f times x. They show which number is the input.
In the picture the input 3 goes to the output 5. We write that as f(3) = 5. Notice that each input has one arrow only. That is what makes a rule a function.
Draw it first
From a rule to a graph
1 Work out f(x) for several inputs, and plot each pair (x, f(x)) as a point.
2 The points lie on a straight line. Join them with a ruler.
3 To read f(3), go up from x = 3 to the line, then across to the y axis. You land on 5.
The graph of a function is the set of all points (x, f(x)). That is why we often write y = f(x). The y value of the graph is the output.
Worked example
f(x) = 2x − 1. Find f(3).
- Write the rule: f(x) = 2x − 1.
- Put 3 in place of every x: f(3) = 2 × 3 − 1.
- Multiply first: 2 × 3 = 6.
- Then take away 1: 6 − 1 = 5.
Answer: f(3) = 5.
Now a rule with a square. Take care with a negative input. Put the input in a bracket, then square the whole bracket.
Worked example
f(x) = x² − 3. Find f(−2).
- Write the rule: f(x) = x² − 3.
- Put −2 in a bracket in place of x: f(−2) = (−2)² − 3.
- Square the bracket: (−2) × (−2) = 4.
- Take away 3: 4 − 3 = 1.
Answer: f(−2) = 1.
Sometimes you are told the output and must find the input. Then you write f(x) equal to that number, and solve the equation. This means undoing the rule, step by step, in the opposite order.
Worked example
f(x) = 2x − 1. Solve f(x) = 7.
- Write f(x) = 7 as an equation: 2x − 1 = 7.
- Add 1 to both sides: 2x = 8.
- Divide both sides by 2: x = 4.
- Check by putting 4 in the rule: f(4) = 2 × 4 − 1 = 7.
- The output is 7, as wanted. So the input is 4.
Answer: x = 4.
See it three ways
With things
Amina doubles her number of beans, then gives one bean away. She starts with 3 beans.
As a picture
In words
Double the input, then take away 1. The input 3 gives the output 5.
In symbols
f(x) = 2x − 1, so f(3) = 2 × 3 − 1 = 5.
Try it
A table for f(x) = 2x − 1
You need: paper, a pencil.
- Write the numbers 0, 1, 2, 3 and 4 in a row. These are the inputs.
- Under each one, work out 2x − 1. These are the outputs f(x).
- Look along the outputs. By how much does each one differ from the one before?
What you will see: The outputs go up by 2 each time, the number in front of x. When the input is 0, the output is −1, the number you take away.
A wrong idea many people have
f(3) means f times 3.
Why it feels right: In algebra, letters next to each other multiply, as in 3x. So f(3) looks like a product.
The test that breaks it: Take f(x) = 2x − 1. Then f(1) = 1. If f were a number, f(1) = f × 1 would make f equal to 1. Then f(2) = f × 2 would be 2. But f(2) = 2 × 2 − 1 = 3.
What is true: f is the name of a rule, not a number. The brackets hold the input. f(3) is the output when the input is 3.
A wrong idea many people have
f(x) = 7 means find f(7).
Why it feels right: The number 7 is in the question. The expression f(7) also has a 7 in it, so they seem the same job.
The test that breaks it: For f(x) = 2x − 1, f(7) = 13. But f(4) = 7. The equation f(x) = 7 asks for the input 4.
What is true: In f(7) the 7 is the input. In f(x) = 7 the 7 is the output. Solve the equation to find the input.
Key words
- function
- a rule that gives exactly one output for each input.
- input
- the number you put into the function, shown as x in f(x).
- output
- the number that comes out of the function, written f(x).
Back to your guess
The answer is C: No. f is the name of a rule, and f(3) is what comes out when 3 goes in.
The letter f is a name, like the name of a machine. The brackets do not mean times. They hold the input. So f(3) means: put 3 into the rule f and see what comes out. For f(x) = 2x − 1, double 3, take away 1, and the output is 5.
Check yourself
Try each one before you look. A wrong answer tells you where to go next.
f(x) = 3x + 2. Find f(4).
See the answer
14
Put 4 in place of x: f(4) = 3 × 4 + 2. Multiply first: 12. Then add 2. The output is 14.
f(x) = x² + 1. Find f(−3).
See the answer
10
Put −3 in a bracket: f(−3) = (−3)² + 1. The square is (−3) × (−3) = 9. Then 9 + 1 = 10.
The picture shows a function g as arrows. What is g(4)?
See the answer
11
g(4) is the output for the input 4. Follow the arrow from 4: it ends at 11.
- If you chose A: The number 4 is the input. The answer is the number at the end of the arrow that starts at 4. Go to M4.10.1.
- If you chose B: The number 9 is the output for the input 3, one place higher up. Follow the arrow that starts at 4. Go to M4.10.1.
- If you chose C: You doubled 4. But the arrow from 4 ends at 11, so the rule does more than double. Go to M4.10.1.
f(x) = 4x − 3. Solve f(x) = 17.
See the answer
5
Write 4x − 3 = 17. Add 3 to both sides: 4x = 20. Divide by 4: x = 5. Check: 4 × 5 − 3 = 17.
For f(x) = 2x + 2, we find f(5) = 12. What does this tell you?
See the answer
The input 5 gives the output 12.
In f(5) = 12 the 5 is in the brackets, so it is the input. The 12 is the output. Check: 2 × 5 + 2 = 12.
- If you chose A: The f is not a number to multiply by. It is the name of the rule. Go to M4.10.1.
- If you chose B: The number in the brackets is the input. In f(5) = 12, the input is 5 and the output is 12. Go to M4.10.1.
- If you chose C: The brackets do not mean add. They hold the input of the rule. Go to M4.10.1.
The graph shows y = f(x) for f(x) = x − 2. For which x is f(x) = 1?
See the answer
3
The dashed line is at height 1, so the output is 1. It meets the graph at P. Go straight down from P to the x axis: you land on 3. Check: 3 − 2 = 1.
f(x) = 5 − 3x. Find f(−2).
See the answer
11
Put −2 in place of x: f(−2) = 5 − 3 × (−2). Now 3 × (−2) = −6, and taking away −6 is adding 6. So f(−2) = 5 + 6 = 11.
f(x) = 3x + 4. Solve f(x) = 19.
See the answer
x = 5
Write 3x + 4 = 19. Take away 4 from both sides: 3x = 15. Divide by 3: x = 5. Check: 3 × 5 + 4 = 19.
Keep it
Copy this into your exercise book.
A function is a rule. Each input has one output. f(3) means put 3 in. f(x) = 7 means find the x that gives 7. Undo the rule backwards.
Draw: A machine with the arrows x, then × 2, then − 1, then f(x), and a second row going back.