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 2 x plus 1

What is function notation?

  • A function, space f, with input x can be written as italic space f open parentheses x close parentheses equals...

    • Letters other than space f can be used

      • The letters g, h and space 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

    • italic space f left parenthesis x right parenthesis equals 3 x – 4 

  • In such cases, "x" is the input and "italic space f open parentheses x close parentheses" is the output

  • Sometimes functions don’t have names like space f and are just written as space y equals horizontal ellipsis

    • E.g. space y equals 3 x – 4

How does a function work?

  • A function has an input x and an output italic space f stretchy left parenthesis x stretchy right parenthesis

    • If the input is 2, then the output is italic space f stretchy left parenthesis 2 stretchy right parenthesis

    • If the input is m, then the output is italic space f stretchy left parenthesis m stretchy right parenthesis

    • If the input is t plus 5, then the output is italic space f stretchy left parenthesis t plus 5 stretchy right parenthesis

      • You cannot simplify this output any further

Examiner Tips and Tricks

Be careful with the brackets when using function notation.

  • italic space f stretchy left parenthesis t plus 5 stretchy right parenthesis here means the output of function space f when the input is t plus 5

  • It does not mean space f times t plus 5

    • so it is not equal to space f t plus 5 f!

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

    • For example, given the function italic space f left parenthesis x right parenthesis equals 2 x plus 1

      • italic space f left parenthesis 3 right parenthesis equals 2 cross times 3 plus 1 equals 7

      • space f left parenthesis negative 4 right parenthesis equals 2 cross times left parenthesis negative 4 right parenthesis plus 1 equals negative 7

      • italic space f left parenthesis a right parenthesis equals 2 a plus 1

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

    • For example, given the function italic space f left parenthesis x right parenthesis equals 2 x plus 1

      • If space f left parenthesis x right parenthesis equals 15, then form an equation by replacing space f stretchy left parenthesis x stretchy right parenthesis with 2 x plus 1

      • 2 x plus 1 equals 15

      • Solving this equation gives an input of x equals 7

  • Note that space f left parenthesis x right parenthesis equals 15 and Error converting from MathML to accessible text. are very different things:

    • space f left parenthesis x right parenthesis equals 15 means an input of x gives an output of 15

    • Error converting from MathML to accessible text. means substitute the input 15 into the function

Worked Example

A function is defined as space f open parentheses x close parentheses equals 4 x plus 5.

(a) Evaluate italic space f stretchy left parenthesis straight 6 stretchy right parenthesis.

(b) Given that space f open parentheses p close parentheses equals negative 3, find the value of space p.

Answer:

Part (a)

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

space f open parentheses 6 close parentheses equals 4 open parentheses 6 close parentheses plus 5  

Evaluate the right hand side

table row cell space f open parentheses 6 close parentheses end cell equals cell 24 plus 5 end cell row blank equals 29 end table

space f stretchy left parenthesis 6 stretchy right parenthesis equals 29

Part (b)

Be careful here

  • space f open parentheses p close parentheses equals negative 3 is not saying substitute -3 into the function

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

  • To find the input, form an equation by replacing Error converting from MathML to accessible text. with 4 p plus 5

table row cell 4 p plus 5 end cell equals cell negative 3 end cell end table

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

table row cell 4 p plus 5 end cell equals cell negative 3 end cell row cell 4 p end cell equals cell negative 8 end cell row p equals cell negative 8 over 4 end cell end table

space p equals negative 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: Maths Content Creator

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: Maths Subject 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.