What Makes a Function: Domain, Range, One-One and Many-One | Applications and Interpretation IB Maths notes
Free preview: What Makes a Function: Domain, Range, One-One and Many-One
Mappings and Functions
Analysis and approaches and Applications and interpretation: SL and HL (common content, SL 2.2)
You've used for years. 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.
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 Straight lines, functions and graphs (SL 2.1โ2.4)
- Equations of Straight Lines: Gradient, y โ yโ = m(x โ xโ) and ax + by + d = 0
- Graphing with the GDC: Drawing, Sketching and Key Features
- Straight-Line Models: Using y = mx + c in Real Contexts
- Using Points of Intersection to Solve Equations
- What Makes a Function: Domain, Range, One-One and Many-One
- Inverse Functions and Their Graphs: Reflecting in y = x
What's inside for this topic
6 teacher notes, 53 practice questions, 33 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Using Points of Intersection to Solve Equations Next note: Inverse Functions and Their Graphs: Reflecting in y = x
What Makes a Function: Domain, Range, One-One and Many-One on other exam boards
All Applications and Interpretation IB Maths topics ยท IB Maths