What Makes a Function: Domain, Range, One-One and Many-One | Cambridge A Level Maths notes

Free preview: What Makes a Function: Domain, Range, One-One and Many-One

Mappings and Functions

9709 Paper 1: Pure Mathematics 1 (AS and A Level)

Watch: 1-minute explainer

You've used f(x) since IGCSE or O Level. Now we pin down exactly what a function is. Why bother? Because the next notes build composite functions and inverse functions, and both only work if we're precise about which inputs are allowed and what comes out.

  • A mapping is any rule that takes an input and gives one or more outputs.
  • A function is a special mapping: every allowed input gives exactly one output.
  • Think of a vending machine: press one button, get one item. A button that gave two different items would not be a function. (Two buttons giving the same item is fine.)

We write functions in two ways, both meaning the same thing:

f(x)=2x+1, x∈ℝorf:x↦2x+1, x∈ℝ

๐Ÿ’ก In plain words

  • f is the name of the function. ↦ is read "maps to".
  • ∈ means "is a member of", and ℝ is the set of all real numbers.
  • So x∈ℝ says the input can be any real number.

Three mapping diagrams: one-one (1โ†’5, 2โ†’7, 3โ†’9), many-one (โˆ’2โ†’4, 2โ†’4, 3โ†’9) and one-many (4โ†’โˆ’2, 4โ†’2, 9โ†’3), the last marked not a function

Following the diagram

  • One-one: each input has one output, and different inputs always give different outputs. This is a function (here x↦2x+3).
  • Many-one: each input has one output, but two inputs share an output (−2 and 2 both go to 4). This is still a function (here x↦x2).
  • One-many: the input 4 has two outputs, −2 and 2. This is not a function: 4 is sent to both of its square roots.
  • Every function is either one-one or many-one.

Recipe: deciding the type

  1. Does any input give two outputs? If yes: not a function. Stop.
  2. Can two different inputs give the same output? Try a pair like x and −x. If yes: many-one.
  3. If no two inputs ever share an output: one-one.

๐Ÿ‘€ Watch me do it: classify f(x)=x2+1, x∈ℝ and g(x)=5−x, x∈ℝ

What I writeWhy I do it
f: one output for each x.Step 1: squaring then adding 1 gives a single number.
f(1)=f(−1)=2Step 2: two inputs, one output.
f is many-one.One example is enough.
g: if 5−a=5−b then a=b.Step 3: equal outputs force equal inputs.
g is one-one.Its graph is a straight line that isn't horizontal.

โœ๏ธ YOUR TURN 1

Try this first:

Classify each as one-one, many-one or not a function (all for real x).

  1. x↦x3
  2. x↦±x for x⩾0
  3. x↦x2−2x

Answer:

  1. One-one: different numbers have different cubes.
  2. Not a function: 9 gives 3 and −3.
  3. Many-one: 0 and 2 both give 0.

โœ๏ธ YOUR TURN 2

Try this first:

f(x)=3x−2, x∈ℝ. Find f(4) and the value of a for which f(a)=13.

Answer:

  • f(4)=12−2=10.
  • 3a−2=13, so a=5.

Testing a Graph: Vertical and Horizontal Lines

A graph shows every input and output at once, so we can test for a function just by looking.

Vertical line test

  • If any vertical line meets the graph more than once, it is not a function.
  • Why? A vertical line is a single x-value. Two meeting points means one x has two outputs.

Diagram: Left: the sideways parabola y = x. The vertical line x = 4 meets it at (4, 2) and (4, โˆ’2). One input, two outputs, so it is not a function.

What the picture shows

  • Left: the sideways parabola y=±x. The vertical line x = 4 meets it at (4, 2) and (4, โˆ’2). One input, two outputs, so it is not a function.
  • Right: y=x2. Wherever you draw a vertical line, it meets the curve exactly once, so it is a function.
  • Imagine sliding a ruler, held upright, across the graph. If it ever touches twice, it is not a function.

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.2)

  1. What Makes a Function: Domain, Range, One-One and Many-One
  2. Composite Functions: Finding fg(x) and Its Domain
  3. Inverse Functions and Their Graphs: Reflecting in y = x
  4. Translating Graphs: y = f(x) + a and y = f(x + a)
  5. Stretching and Reflecting Graphs: y = af(x), y = f(ax), y = โˆ’f(x) and y = f(โˆ’x)
  6. Combining Transformations of Graphs

Video

What's inside for this topic

6 teacher notes, 161 practice questions, 40 flashcards, 2 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: Composite Functions: Finding fg(x) and Its Domain

What Makes a Function: Domain, Range, One-One and Many-One on other exam boards

All Cambridge A Level Maths topics ยท A Level Maths