Introduction to Functions (Cambridge (CIE) IGCSE Maths)

Revision Note

Did this video help you?

Introduction to Functions

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 -4 in would give 2 × (-4) + 1 = -7 

      • Putting x in would give 2 x plus 1

What is function notation?

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

    • 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

    • straight f left parenthesis x right parenthesis equals 3 x – 4 

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

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

    • E.g. y equals 3 x – 4

How does a function work?

  • A function has an input x and an output straight f open parentheses x close parentheses

    • If the input is 2, then the output is straight f open parentheses 2 close parentheses

    • If the input is m, then the output is straight f open parentheses m close parentheses

    • If the input is t plus 5, then the output is straight f open parentheses t plus 5 close parentheses

      • You cannot simplify this output any further

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

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

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

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

      • straight 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 straight f left parenthesis x right parenthesis equals 2 x plus 1

      • If straight f left parenthesis x right parenthesis equals 15, then form an equation by replacing straight f open parentheses x close parentheses with 2 x plus 1

      • 2 x plus 1 equals 15

      • Solving this equation gives an input of 7

  • Note that straight f open parentheses x close parentheses equals 15 and straight f open parentheses 15 close parentheses are very different things:

    • straight f open parentheses x close parentheses equals 15 means an input of x gives an output of 15

    • straight f open parentheses 15 close parentheses means substitute the input 15 into the function

What is a mapping diagram?

  • A mapping diagram shows a set of different inputs going into the function to become a set of different outputs

    • Transforming inputs into outputs is called mapping

  • For example, a mapping diagram for the function straight f open parentheses x close parentheses equals x plus 3 where x greater or equal than 3 could be shown as:

Diagram showing a set of input numbers being mapped over to a set of output values.

Worked Example

A function is defined as straight f open parentheses x close parentheses equals 3 x squared minus 2 x plus 1.

(a) Find straight f open parentheses 7 close parentheses.

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

straight f open parentheses 7 close parentheses equals 3 open parentheses 7 close parentheses squared minus 2 open parentheses 7 close parentheses plus 1  

Calculate

table row cell straight f open parentheses 7 close parentheses end cell equals cell 3 open parentheses 49 close parentheses minus 14 plus 1 end cell row blank equals cell 147 minus 14 plus 1 end cell end table

Error converting from MathML to accessible text.

(b) Find straight f open parentheses x plus 3 close parentheses, giving your answer in the form a x squared plus b x plus c where a, b and c are integers to be found.

The input is open parentheses x plus 3 close parentheses so substitute space open parentheses x plus 3 close parentheses into the expression everywhere you see an x
This is like replacing x with open parentheses x plus 3 close parentheses

straight f open parentheses x plus 3 close parentheses equals 3 open parentheses x plus 3 close parentheses squared minus 2 open parentheses x plus 3 close parentheses plus 1

Expand the brackets and simplify
Use that open parentheses x plus 3 close parentheses squared equals open parentheses x plus 3 close parentheses open parentheses x plus 3 close parentheses
Be careful with negative signs

table row cell straight f open parentheses x plus 3 close parentheses end cell equals cell 3 open parentheses x squared plus 6 x plus 9 close parentheses minus 2 open parentheses x plus 3 close parentheses plus 1 end cell row blank equals cell 3 x squared plus 18 x plus 27 minus 2 x minus 6 plus 1 end cell row blank equals cell 3 x squared plus 16 x plus 22 end cell end table

Error converting from MathML to accessible text.

(a = 3, b = 16, c = 22)

A second function is defined by straight g open parentheses x close parentheses equals 3 x – 4.

(c) Find the value of x for which straight g open parentheses x close parentheses equals negative 16.

This is not saying substitute 16 into the function
It says that an input x is substituted into straight g giving the output -16
To find the input, form an equation by replacing straight g open parentheses x close parentheses with 3 x minus 4

table row cell 3 x minus 4 end cell equals cell negative 16 end cell end table

Solve the equation (for example, by adding 4 to both sides, then dividing by 3)

table row cell 3 x minus 4 end cell equals cell negative 16 end cell row cell 3 x end cell equals cell negative 12 end cell row x equals cell negative 12 over 3 end cell end table

bold italic x bold equals bold minus bold 4

Last updated:

You've read 0 of your 5 free revision notes this week

Sign up now. It’s free!

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

the (exam) results speak for themselves:

Did this page help you?

Mark Curtis

Author: Mark Curtis

Expertise: Maths

Mark graduated twice from the University of Oxford: once in 2009 with a First in Mathematics, then again in 2013 with a PhD (DPhil) in Mathematics. He has had nine successful years as a secondary school teacher, specialising in A-Level Further Maths and running extension classes for Oxbridge Maths applicants. Alongside his teaching, he has written five internal textbooks, introduced new spiralling school curriculums and trained other Maths teachers through outreach programmes.

Dan Finlay

Author: Dan Finlay

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