Websink Prep UKGCSE MathsTextbook contentsMaths textbooksYear 1Year 2Year 4Year 5Year 6GCSEBrowse allPast papersFind a tutorBecome a tutor
GCSE Maths · EdexcelChapter 25 · Functions and advanced graphs
GCSE Maths · Functions and Advanced Graphs · Higher · Lesson 25.1

GCSE Maths: Function notation (Higher)

Part of the GCSE Maths functions and advanced graphs chapter (Higher). Chapter overview · whole chapter on one page · Download worksheet (PDF) · Answers (PDF)

Download worksheet (PDF)Answers (PDF)
25.1

Function notation

Edexcel 1MA1: A7
Grade 5-8

A function is a rule that takes an input number, does something to it, and gives exactly one output number. You already know functions as function machines: put a number in, the machine follows its instructions, and a number comes out. The machine below multiplies the input by 3 and then subtracts 5.

x× 3− 5f(x)
The function machine for f(x) = 3x − 5. The input is x and the output is f(x).

Mathematicians give a function a name, usually a single letter such as f, g or h, and write the rule with function notation:

f(x) = 3x − 5

This is read “f of x equals 3x minus 5”. The letter x is a placeholder for whatever number goes in. The bracket is not a multiplication: f(x) does not mean f times x. It means “the output of f when the input is x”.

Finding an output. To find f(4) we put 4 in wherever the x was: f(4) = 3 × 4 − 5 = 7. So the function turns 4 into 7. Use brackets for negative inputs: f(−2) = 3 × (−2) − 5 = −11.

Finding an input. Sometimes we are told the output and must find the input. To solve f(x) = 19 we write the rule in place of f(x) and solve the equation: 3x − 5 = 19, so 3x = 24 and x = 8. For a quadratic function the equation may have two answers. For example, if g(x) = x2, then g(x) = 9 gives x = 3 or x = −3, because two different inputs can give the same output.

Other inputs. The input does not have to be a number. If f(x) = 3x − 5, then f(a + 2) means put the whole expression a + 2 in place of x: f(a + 2) = 3(a + 2) − 5 = 3a + 1. Always put brackets round the input before you expand.

Which inputs are allowed? The set of allowed inputs is called the domain. For f(x) = 12 ÷ x we cannot divide by 0, so x = 0 is not allowed, and for g(x) = √x negative inputs are not allowed (at GCSE). Functions also appear in real life: a taxi fare C(d) = 2.5 + 1.8d gives the cost in pounds for a journey of d miles.

Key ideas

  • A function is a rule: each input gives exactly one output. f(x) is the output when the input is x.
  • f(a) means: replace every x in the rule by a (use brackets), then work it out.
  • To solve f(x) = k, write the rule in place of f(x) and solve the equation. A quadratic can have two solutions.
  • f(a + 2) or f(2a): put the whole expression in brackets in place of x, then expand and simplify.
  • Any letter can name a function (f, g, h, C, P …).
Worked example 25.1.1
f(x) = 5 − 3x. Work out f(−2).

Key words. A function is a rule that turns each input into one output. f(x) is read “f of x” and means the output when the input is x.

Method. To find f(a), substitute the number a for x everywhere in the rule, then work out the answer.

  1. Write down the function. f(x) is a rule that says what to do to the input x. The letter x is a placeholder for whichever number we put in.
    f(x) = −3x + 5
  2. Replace every x with −2, using brackets. The number inside the bracket of f(−2) is the input, so it goes where the x was. Brackets matter with negative numbers.
    f(−2) = −3 × (−2) + 5
  3. Work out each part separately (powers first, then multiplying). BIDMAS: indices before multiplication, then add or subtract.
    = 5 + 6
  4. Add and subtract. Work from left to right.
    = 11

Check. Work it out again on a calculator, typing the brackets exactly as shown: the result is 11. ✓

Watch out. Put brackets round negative inputs. For example (−3)² = 9 but −3² = −9.

Worked example 25.1.2
g(x) = x2 − 4x + 1. Work out g(−3).

Key words. A function is a rule that turns each input into one output. f(x) is read “f of x” and means the output when the input is x.

Method. To find f(a), substitute the number a for x everywhere in the rule, then work out the answer.

  1. Write down the function. g(x) is a rule that says what to do to the input x. The letter x is a placeholder for whichever number we put in.
    g(x) = x2 − 4x + 1
  2. Replace every x with −3, using brackets. The number inside the bracket of g(−3) is the input, so it goes where the x was. Brackets matter with negative numbers.
    g(−3) = (−3)2 − 4 × (−3) + 1
  3. Work out each part separately (powers first, then multiplying). BIDMAS: indices before multiplication, then add or subtract.
    = 9 + 12 + 1
  4. Add and subtract. Work from left to right.
    = 22

Check. Use a different arrangement: x(x − 4) + 1 with x = −3 gives (−3) × ((−3) − 4) + 1 = 22. ✓

Watch out. Put brackets round negative inputs. For example (−3)² = 9 but −3² = −9.

Worked example 25.1.3
f(x) = 3x + 4. Solve f(x) = 19.

Key words. The input is the number that goes into the function and the output is the number that comes out.

Method. To solve f(x) = 19, put the rule in for f(x) and solve the equation for x.

  1. Write the equation. We are told that the output is 19, so f(x) = 19. Put the rule in for f(x).
    3x + 4 = 19
  2. Subtract 4 from both sides. The last thing that happens to the x-part is that 4 is added. The opposite of adding 4 is subtracting 4. Do it to both sides to keep the equation balanced.
    3x = 15
  3. Divide both sides by 3. The unknown part is being multiplied by 3. The opposite of multiplying by 3 is dividing by 3.
    x = 5
  4. Write the answer. x is now on its own.
    x = 5

Check. Put each solution back into the function: f(5) = 3 × 5 + 4 = 19. ✓

Watch out. Do not confuse the two jobs: finding f(3) means put 3 in and get an output; solving f(x) = 3 means the output is 3 and you must find the input.

Worked example 25.1.4
g(x) = x2 − 2x. Solve g(x) = 8.

Key words. The input is the number that goes into the function and the output is the number that comes out.

Method. To solve g(x) = 8, put the rule in for g(x) and solve the equation for x.

  1. Write the equation. We are told that the output is 8, so g(x) = 8. Put the rule in for g(x).
    x2 − 2x = 8
  2. Move everything to one side so that the other side is 0. To factorise, a quadratic equation must equal 0. Subtract 8 from both sides.
    x2 − 2x − 8 = 0
  3. Factorise the quadratic. If two things multiply to give 0, at least one of them must be 0. Factorising turns the equation into a product that equals 0.
    (x − 4)(x + 2) = 0
  4. Set each bracket equal to 0 and solve. One bracket must be 0.
    x − 4 = 0  ⇒  x = 4
    x + 2 = 0  ⇒  x = −2
  5. Write the solutions. A quadratic equation can have two solutions, so give both.
    x = −2 or x = 4

Check. Put each solution back into the function: g(−2) = (−2)2 − 2 × (−2) = 8; g(4) = 42 − 2 × 4 = 8. ✓

Watch out. Do not confuse the two jobs: finding f(3) means put 3 in and get an output; solving f(x) = 3 means the output is 3 and you must find the input.

Worked example 25.1.5
f(x) = x2 + 3x. Write f(a + 2) in the form a2 + pa + q.

Method. To find f(a + 2), replace x in the rule by a + 2 (in brackets) and simplify.

  1. Write the function. f(x) is a rule for the input x. If the input is something else, we put that in the same places.
    f(x) = x2 + 3x
  2. Replace every x with a + 2. The whole expression in the brackets of f(a + 2) is the input. Use brackets round it.
    f(a + 2) = (a + 2)2 + 3(a + 2)
  3. Expand any brackets. Multiply out each bracket, one term at a time. For a squared bracket, multiply the bracket by itself.
    (a + 2)2 = a2 + 4a + 4
    3(a + 2) = 3a + 6
  4. Collect like terms. Add together the terms with the same power of the letter.
    f(a + 2) = a2 + 7a + 10

Check. Test with a = 2: the input is 2 + 2 = 4, and the original rule gives 28. The answer gives 22 + 7 × 2 + 10 = 28. They agree. ✓

Watch out. Replace every x, and expand squares properly: (x + 1)² is (x + 1)(x + 1), not x² + 1.

Watch out

f(x) is not f multiplied by x. Also keep the two jobs apart: finding f(3) means put 3 in and get an output; solving f(x) = 3 means the output is 3 and you must find the input. And with negative inputs always use brackets: if f(x) = x2, then f(−3) = (−3)2 = 9, not −9.

Exercise 25A  Function notation

Non-calculator
1
Ff(x) = 4x − 3. Work out
(a)f(2)
(b)f(0)
(c)f(−3)
(d)f(10)
2
Fg(x) = x2 + 1. Work out
(a)g(3)
(b)g(−4)
(c)g(0)
(d)g(0.5)
3
FHere is a function machine for f. (a) Write f(x) in the form f(x) = … (b) Work out f(5) and f(−2).
x× 4+ 3f(x)
4
Fh(x) = 20 ÷ x. Work out
(a)h(4)
(b)h(−5)
(c)h(0.5)
(d)h(0.25)
5
Fp(x) = 2x2 − 5x + 3. Work out
(a)p(1)
(b)p(−2)
(c)p(3)
6
Ff(x) = x + 62. Work out
(a)f(8)
(b)f(−4)
(c)f(0)
7
Ff(x) = √(x + 9). Work out
(a)f(16)
(b)f(0)
(c)f(−5)
8
Fg(x) = x3 − 2x. Work out g(−3).
9
Ff(x) = 2x + 5. Solve
(a)f(x) = 17
(b)f(x) = −3
(c)f(x) = 0
(d)f(x) = 4.5
10
Fg(x) = x2 − 7. Solve
(a)g(x) = 18
(b)g(x) = 9
(c)g(x) = −7
11
PSf(x) = x2 + 3x. Solve f(x) = 10.
12
Ff(x) = 24 ÷ x. Solve
(a)f(x) = 6
(b)f(x) = −3
(c)f(x) = 0.5
13
PSA taxi fare, in pounds, for a journey of d miles is C(d) = 2.5 + 1.8d. (a) Work out C(7). (b) A fare is £24.10. How far was the journey? (In your working, write the function as C(x) = 1.8x + 2.5.)
(a)The cost of a 7-mile journey, in pounds
(b)The distance for a fare of £24.10, in miles
14
PSThe temperature in degrees Fahrenheit is given by F(C) = 1.8C + 32, where C is the temperature in degrees Celsius. (In your working use F(x) = 1.8x + 32.)
(a)Work out F(100)
(b)Work out F(−10)
(c)Solve F(x) = 50. What does the answer mean?
15
Fg(x) = 3x − 1. Write each of these as simply as possible.
(a)g(a + 2)
(b)g(2a)
(c)g(a2)
16
RDev says: “For f(x) = x2 + 2 I find f(−3) = f(3), but for g(x) = x3 I find g(−3) = −g(3).” Show that Dev is correct.
17
Rf(x) = 2x + 3. Show that f(a + 2) − f(a) = 4 for every value of a.
18
Rg(x) = x2 + 1. Explain why there is no value of x for which g(x) = 0.
19
Rf(x) = ax + b, where a and b are numbers. f(2) = 7 and f(5) = 16. Find the values of a and b.

Websink Prep UK is an independent site. It is not affiliated with, endorsed by or sponsored by AQA, Pearson Edexcel, OCR, WJEC, Eduqas, CCEA, SQA, GL Assessment, CEM or the Department for Education. All exam board names and trademarks belong to their owners. Past papers are linked from the exam boards' own websites and are not hosted here.

About Websink Prep UK · Find a tutor · Privacy · Terms · Cookie settings