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 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:
๐ก In plain words
- is the name of the function. is read "maps to".
- means "is a member of", and is the set of all real numbers.
- So says the input can be any real number.

Following the diagram
- One-one: each input has one output, and different inputs always give different outputs. This is a function (here ).
- Many-one: each input has one output, but two inputs share an output ( and both go to 4). This is still a function (here ).
- One-many: the input 4 has two outputs, and . 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
- Does any input give two outputs? If yes: not a function. Stop.
- Can two different inputs give the same output? Try a pair like and . If yes: many-one.
- If no two inputs ever share an output: one-one.
๐ Watch me do it: classify and
| What I write | Why I do it |
|---|---|
| f: one output for each x. | Step 1: squaring then adding 1 gives a single number. |
| Step 2: two inputs, one output. | |
| f is many-one. | One example is enough. |
| g: if then . | 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).
- for
Answer:
- One-one: different numbers have different cubes.
- Not a function: 9 gives 3 and .
- Many-one: and both give 0.
โ๏ธ YOUR TURN 2
Try this first:
. Find and the value of a for which .
Answer:
- .
- , so .
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 has two outputs.

What the picture shows
- Left: the sideways parabola . The vertical line x = 4 meets it at (4, 2) and (4, โ2). One input, two outputs, so it is not a function.
- Right: . 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)
- What Makes a Function: Domain, Range, One-One and Many-One
- Composite Functions: Finding fg(x) and Its Domain
- Inverse Functions and Their Graphs: Reflecting in y = x
- Translating Graphs: y = f(x) + a and y = f(x + a)
- Stretching and Reflecting Graphs: y = af(x), y = f(ax), y = โf(x) and y = f(โx)
- 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.
Next note: Composite Functions: Finding fg(x) and Its Domain