Function Notation f(x) (SQA National 5 Maths): Revision Note

Exam code: X847 75

Roger B

Written by: Roger B

Reviewed by: Dan Finlay

Updated on

Using functional notation

What is a function?

  • A function is a combination of one or more mathematical operations that takes a set of numbers and changes them into another set of numbers

  • The numbers being put into the function are often called the inputs

  • The numbers coming out of the function are often called the outputs

  • A function may be thought of as a mathematical “machine

    • For example, for the function “double the number and add 1”, the two mathematical operations are "multiply by 2 (×2)" and "add 1 (+1)"  

      • Putting 3 in to the function would give 2 × 3 + 1 = 7

      • Putting -5 in would give 2 × (-5) + 1 = -9 

      • Putting x in would give 2x+1

What is function notation?

  • A function,  f, with input x can be written as  f(x)=...

    • Letters other than  f can be used

      • The letters g, h and  j are common but any letter can be used

      • Typically, a new letter will be used to define a new function in a question

  • For example, the function with the rule “triple the number and subtract 4” would be written

    •  f(x)=3x4 

  • In such cases, "x" is the input and " f(x)" is the output

  • Sometimes functions don’t have names like  f and are just written as  y=

    • E.g.  y=3x4

How does a function work?

  • A function has an input x and an output  f(x)

    • If the input is 2, then the output is  f(2)

    • If the input is m, then the output is  f(m)

    • If the input is t+5, then the output is  f(t+5)

      • You cannot simplify this output any further

Examiner Tips and Tricks

Be careful with the brackets when using function notation.

  •  f(t+5) here means the output of function  f when the input is t+5

  • It does not mean  f times t+5

    • so it is not equal to  ft+5f!

  • If the function is known, the output can be calculated

    • For example, given the function  f(x)=2x+1

      •  f(3)=2×3+1=7

      •  f(4)=2×(4)+1=7

      •  f(a)=2a+1

  • If the output is known, an equation can be formed and solved to find the input

    • For example, given the function  f(x)=2x+1

      • If  f(x)=15, then form an equation by replacing  f(x) with 2x+1

      • 2x+1=15

      • Solving this equation gives an input of x=7

  • Note that  f(x)=15 and  f(15) are very different things:

    •  f(x)=15 means an input of x gives an output of 15

    •  f(15) means substitute the input 15 into the function

Worked Example

A function is defined as  f(x)=4x+5.

(a) Evaluate  f(6).

(b) Given that  f(p)=3, find the value of  p.

Answer:

Part (a)

The input is x=6, so substitute 6 into the expression everywhere you see an x

 f(6)=4(6)+5  

Evaluate the right hand side

 f(6)=24+5=29

 f(6)=29

Part (b)

Be careful here

  •  f(p)=3 is not saying substitute -3 into the function

  • It is saying that an input  p is substituted into  f giving the output -3

  • To find the input, form an equation by replacing  f(p) with 4p+5

4p+5=3

Solve the equation (for example, by subtracting 5 from both sides, then dividing by 4)

4p+5=34p=8p=84

 p=2

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Roger B

Author: Roger B

Expertise: Development Editor

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.