Language of Functions (DP IB Analysis & Approaches (AA)): Revision Note

Language of functions

What is a mapping?

  • A mapping transforms one set of values (inputs) into another set of values (outputs)

  • Mappings can be:

    • One-to-one

      • Each input gets mapped to exactly one unique output

      • No two inputs are mapped to the same output

    • For example: A mapping that cubes the input

      • {1, 2, 3, ...} maps to {1, 8, 27, ...}

    • Many-to-one

      • Each input gets mapped to exactly one output

      • Multiple inputs can be mapped to the same output

    • For example: A mapping that squares the input

      • {±1, ±2, ±3, ...} map to {1, 4, 16, ...}

    • One-to-many

      • An input can be mapped to more than one output

      • No two inputs are mapped to the same output

    • For example: A mapping that gives the numbers which when squared equal the input

      • {1, 4, 16, ...} maps to {±1, ±2, ±3, ...}

    • Many-to-many

      • An input can be mapped to more than one output

      • Multiple inputs can be mapped to the same output

    • For example: A mapping that gives the factors of the input

      • e.g. the factors of {2, 3} are {1, 2, 3}

      • one input, e.g. {2}, has many outputs, e.g. {1, 2}

      • one output, e.g. {1}, has many inputs, e.g. {2, 3}

Diagram showing a mapping from input numbers 3, 4, x to output numbers 6, 7, y. Arrows illustrate the transformation process.

What is a function?

  • A function is a mapping between two sets of numbers where each input gets mapped to exactly one output

    • The output does not need to be unique

  • This means a function can be

    • one-to-one

    • or many-to-one

  • A sketch of the function must pass the vertical line test

    • Any vertical line will intersect with the graph at most once

      • e.g. y equals x squared and any vertical line x equals k pass the test

Diagram showing sets of numbers: natural numbers, integers, rational numbers, and real numbers, including examples like 0, π, e, and fractions.

What notation is used for functions?

  • Functions are denoted using letters (such as space f comma space v comma space g comma etc)

    • If x is the input

      • then space f left parenthesis x right parenthesis is the output of the function f

  • e.g. ifspace f equals 5 whenspace x equals 2, then space f left parenthesis 2 right parenthesis equals 5

What are the domain and range of a function?

  • The domain of a function is the set of all inputs

  • A domain should be stated with a function

    • If a domain is not stated then it is assumed the domain is all the real values

    • Domains are expressed in terms of x

      • e.g. space x less or equal than 2

  • The range of a function is the set of all outputs

    • The range depends on the domain

    • Ranges are expressed in terms of f open parentheses x close parentheses

      • e.g. space f stretchy left parenthesis x right parenthesis greater or equal than 0

  • To graph a function we use the inputs as the x-coordinates and the outputs as the y-coordinates

    • space f left parenthesis 2 right parenthesis equals 5 corresponds to the coordinates (2, 5)

Examiner Tips and Tricks

If you are given the domain of a function, sketching a graph of the function often helps to find its range.

What sets of numbers do I need to know?

  • Common sets of numbers have special symbols:

    • straight real numbers represents all the real numbers that can be placed on a number line

      • x element of straight real numbers means xis a real number

    • straight rational numbers represents all the rational numbers a over bwhere a and b are integers and b not equal to 0

    • straight integer numbers represents all the integers (positive, negative and zero)

      • straight integer numbers to the power of plus represents positive integers

    • straight natural numbers represents the natural numbers (0,1,2,3...)

2-3-1-sets-of-numbers-diagram

Examiner Tips and Tricks

If a question refers to the largest possible domain, it is usually all real numbers, x element of straight real numbers, unless the function has a restriction, e.g. for square root of x it is x greater or equal than 0 or for 1 over x it is x not equal to 0.

What are piecewise functions?

  • Piecewise functions are defined by different functions depending on which interval the input is in

    • E.g. space f open parentheses x close parentheses equals open curly brackets table row cell x plus 1 end cell row cell 2 x minus 4 end cell row cell x squared end cell end table blank table row cell x less or equal than 5 end cell row cell 5 less than x less than 10 end cell row cell 10 less or equal than x less or equal than 20 end cell end table close

      • so f open parentheses 1 close parentheses equals 1 plus 1 equals 2

      • whereas f open parentheses 11 close parentheses equals 11 squared equals 121

  • The region for the individual functions cannot overlap

  • The function may or may not be continuous at the ends of the intervals

    • In the example above the function is

      • continuous at x equals 5 as both sides match: 5 plus 1 equals 2 left parenthesis 5 right parenthesis minus 4

      • not continuous at x equals 10 as 2 left parenthesis 10 right parenthesis minus 4 not equal to 10 squared

Worked Example

For the function f open parentheses x close parentheses equals x cubed plus 1 comma blank 2 less or equal than x less or equal than 10:

(a) find the value of f left parenthesis 7 right parenthesis.

2-2-1-ib-ai-sl-language-of-functions-a-we-solution

(b) find the range of f left parenthesis x right parenthesis.

2-2-1-ib-ai-sl-language-of-functions-b-we-solution

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

Unlock more, it's free!

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

the (exam) results speak for themselves:

Dan Finlay

Author: 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.

Mark Curtis

Reviewer: Mark Curtis

Expertise: Maths Content Creator

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.