Functions
Function notation: evaluating and solving
In this note
- 2.12Use f(x) notation: a function gives exactly one output for each input.
- 2.12Evaluate \(f(5)\), \(f(-2)\) and expressions such as \(f(x-2)\), \(g(2x)\).
- 2.12Solve \(f(x)=25\), \(f(x)=g(x)\) and inequalities like \(f(x)<13\).
Before you start: Substitution and expanding. Next: Inverse functions.
Formula bank
A function is a machine
\(f(x)=4x-3\) means: the function \(f\) multiplies its input by 4 and subtracts 3. \(x\) just stands for 'whatever goes in'. So \(f(5)=4(5)-3=17\): put 5 in, 17 comes out.
Evaluating
General methodHow to evaluate a function
- Write the rule again with every \(x\) replaced by the input IN BRACKETS.
- A number: work it out (BIDMAS; square negatives in brackets).
- An expression (like x − 2 or 2x): expand and simplify.
Example \(f(x)=4x-3\). Find \(f(x-2)\) in its simplest form.
Replace \(x\) by \((x-2)\), then expand.
- \(4(x-2)-3\)
- \(=4x-8-3\)
Answer \(4x-11\)
Try it yourself
Show answer
Answer −11
Show answer
Answer 10
Hint
Show answer
Answer \(4x^{2}+1\)
Solving with functions
General methodHow to solve an equation with functions
- Write the rule(s) out: \(f(x)=k\) becomes 'rule = k'; \(f(x)=g(x)\) becomes 'rule = rule'.
- Solve as a normal equation (a squared x gives two answers).
- For an inequality, solve it the same way and keep the sign.
Example \(f(x)=4x-3\). Solve \(f(x)=2x+9\).
Set the rule equal to 2x + 9.
- \(4x-3=2x+9\)
- \(2x=12\)
Answer \(x=6\)
Try it yourself
Show answer
Answer 7
Show answer
Answer 7, −7
Ways they test it
Type 1 Find f(number)
"Find \(f(-8)\)." (1 mark)
Spot it a number in the brackets.
- Substitute in brackets.
- BIDMAS.
Type 2 Find f(expression)
"Find \(f(x-2)\) in its simplest form." (2 marks)
Spot it an expression in the brackets.
- Replace x by the whole bracket.
- Expand and simplify.
For example \(f(x)=4x-3\)
- \(4(x-2)-3\)
Answer \(4x-11\)
Type 3 Solve f(x) = k
"Solve \(k(x)=70\)" with \(k(x)=3x^{2}-5\). (2 marks)
Spot it 'solve' with an output given.
- Rule = k.
- Solve (± for a square).
For example \(3x^{2}-5=70\)
- \(x^{2}=25\)
Answer \(x=\pm5\)
Type 4 Fraction rule
"\(h(x)=\dfrac{2x+1}3\). Solve \(h(x)=x-4\)." (2 marks)
Spot it a rule with a denominator.
- Multiply both sides by the denominator.
- Solve.
For example \(2x+1=3(x-4)\)
- \(2x+1=3x-12\)
Answer \(x=13\)
Mistakes to avoid
- ✗ \(g(2x)=2x^{2}+1\)✓ \(4x^{2}+1\)Square the whole input.
- ✗ \(f(x-2)=4x-5\)✓ \(4x-11\)The input changes BEFORE the rule acts.
- ✗ \(g(x)=50\Rightarrow x=7\)✓ \(x=\pm7\)Two square roots.
- ✗ \(k(-1)=3(-1)^{2}-5=-8\)✓ −2\((-1)^{2}=+1\).
Summary
- f(a) = the output when a goes in: replace x by (a).
- f(x) = k: solve rule = k.
- f(expression): substitute, then expand and simplify.
- One input → exactly one output.
If you see …
- "find f(…)"substitute.
- "solve f(x) = …"make an equation and solve it.
Practice
Practice: easy, medium, hard
Easy
Show answer
Answer −3
Show answer
Answer 15
Show answer
Answer 3
Medium
Guide me
What is it asking? an expression
What do we know? replace x by \((x-1)\)
Plan expand the square
Show working
- \((x-1)^{2}+1\)
- \(x^{2}-2x+1+1\)
Answer \(x^{2}-2x+2\)
Guide me
What is it asking? x
What do we know? × 3
Plan \(2x+1=3x-12\)
Show working
- \(2x+1=3x-12\)
- \(x=13\)
Answer 13
Guide me
What is it asking? x
What do we know? \(3x^{2}-5=70\)
Plan \(x^{2}=25\)
Show working
- \(3x^{2}=75\)
- \(x=\pm5\)
Answer 5, −5
Hard
Guide me
What is it asking? a number
What do we know? \(f(x+1)=4x+1\)
Plan \(f(x-1)=4x-7\)
Show working
- \((4x+1)-(4x-7)=8\)
Answer 8
| Part | Answer / working | Marks | Guidance |
|---|---|---|---|
| both expressions | M1 | ||
| 8 | A1 | ||
| Total: 2 marks | |||
Guide me
What is it asking? an expression
What do we know? \(g(x+3)=x^{2}+6x+10\)
Plan subtract \(x^{2}+1\)
Show working
- \(x^{2}+6x+10-x^{2}-1\)
- \(6x+9\)
Answer \(6x+9\)
| Part | Answer / working | Marks | Guidance |
|---|---|---|---|
| \(x^{2}+6x+10\) | M1 | ||
| \(6x+9\) | A1 | ||
| Total: 2 marks | |||
Guide me
What is it asking? an integer
What do we know? \(4x-3<13\)
Plan \(x<4\)
Show working
- \(4x<16\)
- \(x<4\)
- largest integer 3
Answer 3
| Part | Answer / working | Marks | Guidance |
|---|---|---|---|
| \(x<4\) | M1 | ||
| 3 | A1 | ||
| Total: 2 marks | |||
Can I do this?
- I understand f(x) notation.
- I can evaluate a function for numbers and expressions.
- I can solve f(x) = k, f(x) = g(x) and inequalities.
Anything unticked: revise that section first. All ticked: take the quiz.
Quiz
The multiple-choice and guided questions need JavaScript. The concept checks and exam practice below work without it.
Your progress on this note is saved when JavaScript is on.