What Makes a Function: Domain, Range, One-One and Many-One | Edexcel A Level Maths notes
Free preview: What Makes a Function: Domain, Range, One-One and Many-One
Mappings and Functions
Year 2 (A level only)
You've used since GCSE. 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.
Horizontal line test
- If any horizontal line meets the graph of a function more than once, the function is many-one (two inputs share an output).
- If every horizontal line meets it at most once, it is one-one.
- Why? A horizontal line is a single output value. Two meeting points means two inputs share it.
๐ก In plain words
- Vertical ruler: "is it a function at all?"
- Horizontal ruler: "one-one or many-one?"
๐ Watch me do it: test the graph of
| What I write | Why I do it |
|---|---|
| Every vertical line (except , not in the domain) meets it once. | So it is a function. |
| Every horizontal line meets it at most once. doesn't meet it at all. | Each branch only goes down, and the branches are on opposite sides of the axis. |
| One-one. | Different inputs always give different outputs. |
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 and Graphs
- Sketching Cubic and Quartic Graphs from Their Factors
- Reciprocal Graphs y = a/x and y = a/xยฒ and Their Asymptotes
- Using Points of Intersection to Solve Equations
- Direct and Inverse Proportion and Their Graphs
- 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
- 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
- The Modulus Function and the Graph of y = |ax + b|
- Modelling with Functions: Limitations and Refinements
- Move Up a Grade: A Level Maths Functions and Graphs
- Tricky Bits: A Level Maths Functions and Graphs
What's inside for this topic
14 teacher notes, 229 practice questions, 60 flashcards, 7 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Combining Transformations of Graphs Next note: Composite Functions: Finding fg(x) and Its Domain