Functions as Mappings: Domain, Range and Excluded Values | Cambridge IGCSE Maths notes

Free preview: Functions as Mappings: Domain, Range and Excluded Values

A Function Is a Mapping Between Two Sets

Edexcel: Higher only · Cambridge: Extended only

Think of a school register. Every student in the class is matched to exactly one seat number. Nobody has two seats, and nobody is left without one. That kind of matching, from one set to another, is exactly what a function is.

Words you must know

  • A mapping matches each member of one set (the inputs) to a member of another set (the outputs).
  • A function is a mapping where every input has exactly one output.
  • The output for an input is called its image. If f(2)=5, we say "the image of 2 is 5", or "f maps 2 to 5".
  • The set of inputs is the domain. The set of outputs that actually come out is the range. (More on these on the next page.)

Functions as Mappings: Domain, Range and Excluded Values diagram

What the picture shows

  1. The left oval is the set of inputs {1, 2, 3}. The right oval is the set of outputs {3, 5, 7}.
  2. The rule is f(x)=2x+1. Each arrow is one use of the rule: 2×1+1=3, and so on.
  3. Exactly one arrow leaves each input. That is what makes it a function.

Which mappings are functions?

Type of mappingExampleA function?
one-to-one: each input to its own outputx↦2x+1yes
many-to-one: different inputs can share an outputx↦x2 (both 3 and −3 go to 9)yes
one-to-many: one input goes to two or more outputsx↦±x (9 goes to 3 and to −3)no

💡 In plain words

  • Two arrows may arrive at the same output. That is fine.
  • Two arrows may never leave the same input. That breaks the rule.

👀 Watch me do it: the function g:x↦x2 acts on the set {−2, −1, 0, 1, 2}. List the set of outputs.

What I writeWhy I do it
g(−2)=4, g(−1)=1, g(0)=0Put each input through the rule, one at a time.
g(1)=1, g(2)=4Same rule for every input.
Outputs: {0, 1, 4}List each output once, even if several arrows reach it. Five inputs, but only three outputs.
Many-to-one, but still a function.−2 and 2 share the output 4, yet each input has only one output.

✏️ YOUR TURN 1

Try this first:

The function f:x↦3x−1 acts on the set {0, 1, 2, 3}.

  1. List the set of outputs.
  2. What is the image of 2?
  3. Which input has the image 8?

Answer:

  1. {−1, 2, 5, 8}.
  2. f(2)=6−1=5.
  3. 3x−1=8 gives x=3.

✏️ YOUR TURN 2

Try this first:

Decide whether each mapping is a function. Give a reason.

  1. Each person is mapped to their date of birth.
  2. Each whole number is mapped to its factors.
  3. x↦7 for every number x.

Answer:

  1. Yes: each person has exactly one date of birth (two people sharing one is fine: many-to-one).
  2. No: 6 maps to 1, 2, 3 and 6, so one input has several outputs.
  3. Yes: every input has exactly one output, 7. A function can send everything to the same place.

Domain and Range

A function is not only its rule. It also comes with a set of inputs you are allowed to use. Change that set and the outputs change too.

Words you must know

  • The domain is the set of all inputs (x-values) the function is allowed to take.
  • The range is the set of all outputs (values of f(x)) that actually come out.
  • A domain is written with x, for example x⩾0 or −2⩽x⩽3. If no domain is given, take it to be all numbers that work in the rule.
  • A range is written with f(x) (or y), for example f(x)⩾1.

Functions as Mappings: Domain, Range and Excluded Values diagram

What the picture shows

  1. The domain lives on the x-axis: here every x can go in, so the green bar runs the whole way along.
  2. The range lives on the y-axis: the curve never goes below its lowest point, (0, 1).
  3. So for f(x)=x2+1 the range is f(x)⩾1. A squared number is never negative, so x2+1 is never less than 1.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in Functions

  1. Functions as Mappings: Domain, Range and Excluded Values
  2. Function Notation f(x) and f: x ↦
  3. Composite and Inverse Functions

What's inside for this topic

3 teacher notes, 51 practice questions, 45 flashcards, 3 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Next note: Function Notation f(x) and f: x ↦

Functions as Mappings: Domain, Range and Excluded Values on other exam boards

All Cambridge IGCSE Maths topics · IGCSE Maths