Language of Functions (DP IB Analysis & Approaches (AA): SL): 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

Language of Functions Notes Diagram 4
  • 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=x2 and any vertical line x=k pass the test

What notation is used for functions?

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

    • If x is the input

      • then  f(x) is the output of the function f

  • e.g. if f=5 when x=2, then  f(2)=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.  x2

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

    • The range depends on the domain

    • Ranges are expressed in terms of f(x)

      • e.g.  f(x)0

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

    •  f(2)=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:

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

      • x means xis a real number

    • represents all the rational numbers abwhere a and b are integers and b0

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

      • + represents positive integers

    • 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, unless the function has a restriction, e.g. for x it is x0 or for 1x it is x0.

What are piecewise functions?

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

    • E.g.  f(x)={x+12x4x2       x55<x<1010x20

      • so f(1)=1+1=2

      • whereas f(11)=112=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=5 as both sides match: 5+1=2(5)4

      • not continuous at x=10 as 2(10)4102

Worked Example

For the function f(x)=x3+1,  2x10:

(a) find the value of f(7).

Answer:

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

(b) find the range of f(x).

Answer:

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

Unlock more, it's free!

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

the (exam) results speak for themselves:

Build on this topic

Dan Finlay

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

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.